Struct DirectionOfView

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll

Represents properties for the spherical video direction of view.

C#
Copy
public struct DirectionOfView

Constructors

View Source

DirectionOfView(float, float)

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
float 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.

float 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.

Properties

View Source

Pitch

Gets or sets the Pitch.

Declaration
C#
Copy
public float Pitch { readonly get; set; }
Property Value
Type Description
float
View Source

Yaw

Gets or sets the Yaw.

Declaration
C#
Copy
public float Yaw { readonly get; set; }
Property Value
Type Description
float

Methods

View Source

ToString()

Returns a string that represents the current object.

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

A string that represents the current object.

Overrides
System.ValueType.ToString()