VRDirection
@objc(THEOplayerVRDirection)
public class VRDirection : NSObjectThe direction the user is facing.
- 
                  
                  The rotational pitch value in the range of -180 to 180. Remark The pitch axis is the axis going through both cheeks. Looking up and down affects the pitch value.DeclarationSwift @objc public var pitch: Double
- 
                  
                  The rotational roll value in the range of -180 to 180. Remark The roll axis is the axis going through nose and back of the head. Tilting head left and right affects the roll value.DeclarationSwift @objc public var roll: Double
- 
                  
                  The rotational yaw value in the range of -180 to 180. Remark The yaw axis is the axis going through chin and scalp. Looking left and right affects the yaw value.DeclarationSwift @objc public var yaw: Double
- 
                  
                  Construct a VRDirection object to set to the player.vr.directionproperty.DeclarationSwift public init(pitch: Double? = 0, roll: Double? = 0, yaw: Double? = 0)ParameterspitchThe rotational pitch value in the range of -180 to 180. rollThe rotational roll value in the range of -180 to 180. yawThe rotational yaw value in the range of -180 to 180. 
 VRDirection Class Reference
      VRDirection Class Reference