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