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

interface ViewingDirection {
    pitch: number;
    roll: number;
    yaw: number;
}

Properties

Properties

pitch: number

Rotation around the horizontal axis in degrees.

roll: number

Rotation around the depth axis in degrees.

yaw: number

Rotation around the vertical axis in degrees.