Struct DirectionOfView
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
- API Level:
- 5
Represents properties for the spherical video direction of view.
C#Copypublic 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#Copypublic 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
Declaration
C#Copypublic float Pitch { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
API Level: 5
Declaration
C#Copypublic float Yaw { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
API Level: 5
Methods
Declaration
C#Copypublic override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.ValueType.ToString()