ViewingDirection

ViewingDirection

class ViewingDirection(pitch: Double, roll: Double, yaw: Double)

The direction in which the viewport of the VR player is or should be looking.

Constructors

ViewingDirectionconstructor(pitch: Double, roll: Double, yaw: Double)

Properties

NameSummary
pitchval pitch: Double
The rotation around the horizontal axis in degrees.
rollval roll: Double
The rotation around the depth axis in degrees.
yawval yaw: Double
The rotation around the vertical axis in degrees.