Struct DirectionOfView

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll
API Level:
5

Represents properties for the spherical video direction of view.

C#
Copy
public struct DirectionOfView

Constructors

View Source

DirectionOfView(Single, Single)

Initializes a new instance of the struct with the specified direction of view for the spherical video.

Declaration
C#
Copy
public DirectionOfView(float yaw, float pitch)
Parameters
Type Name Description
System.Single yaw

Pointer to store current value of direction of view angle around vertical axis. valid range is [-3.141593, 3.141593]. value will be rounded off to 6 decimal places. Default value is 0.

System.Single pitch

Pointer to store current value of direction of view angle around lateral axis. valid range is [-1.570796, 1.570796]. value will be rounded off to 6 decimal places. Default value is 0.

API Level: 5

Properties

View Source

Pitch

Gets or sets the Pitch.

Declaration
C#
Copy
public float Pitch { get; set; }
Property Value
Type Description
System.Single
API Level: 5
View Source

Yaw

Gets or sets the Yaw.

Declaration
C#
Copy
public float Yaw { get; set; }
Property Value
Type Description
System.Single
API Level: 5

Methods

View Source

ToString()

Returns a string that represents the current object.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
System.ValueType.ToString()
API Level: 5