Class: VRManager

Methods

getFieldView() → {number}

Returns the field view. It is not supported in 180 mode.

getNorth() → {number}

Get the angle of the north. It is not supported in 180 mode.

getVRMode() → {string}

Returns the chosen VR mode.

incrementPitch(angle)

Increment the pitch in X angle in degrees. It is not supported in 180 mode.
Parameters:
Name Type Description
angle number

incrementRoll(angle)

Increment the roll in X angle in degrees. It is not supported in 180 mode.
Parameters:
Name Type Description
angle number

incrementYaw(angle)

Increment the yaw in X angle in degrees. It is not supported in 180 mode.
Parameters:
Name Type Description
angle number

isPlayingVR() → {boolean}

Returns if VR is supported.

reset()

Reset VR player. It is not supported in 180 mode.

setFieldView(fieldView)

Set the field view. It is not supported in 180 mode.
Parameters:
Name Type Description
fieldView number

toggleDeviceMotion()

Activates or deactivates the device's motion used to move around the 360 video. It is not supported in 180 mode.

toggleStereoscopicMode()

Toggle the stereoscopic mode.