Struct DirectionOfView
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
Represents properties for the spherical video direction of view.
public struct DirectionOfView
Constructors
View SourceDirectionOfView(float, float)
Initializes a new instance of the struct with the specified direction of view for the spherical video.
Declaration
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 SourcePitch
Gets or sets the Pitch.
Declaration
public float Pitch { get; set; }
Property Value
Type | Description |
---|---|
float |
Yaw
Gets or sets the Yaw.
Declaration
public float Yaw { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
System.ValueType.ToString()