Class: VRManager

Methods

getFieldView() → {number}

Returns the field view.

getNorth() → {number}

Get the angle of the north.

incrementPitch(angle)

Increment the pitch in X angle in degrees.
Parameters:
Name Type Description
angle number

incrementRoll(angle)

Increment the roll in X angle in degrees.
Parameters:
Name Type Description
angle number

incrementYaw(angle)

Increment the yaw in X angle in degrees.
Parameters:
Name Type Description
angle number

isPlayingVR() → {boolean}

Retruns if a VR is supported.

reset()

Reset VR player.

setFieldView(fieldView)

Set the field view.
Parameters:
Name Type Description
fieldView number

toggleStereoscopicMode()

Toggle stereoscopic mode.