Returns the current viewing direction, if the VRHandler is in the playing state.
Moves the current VR viewing direction in the given direction with the given speed. The speed is determined by the length of the direction vector in degrees / second. The movement will be continued for 110ms, after that period the movement will be dampened and fade out. To sustain a smooth viewport movement, no more than 100ms must pass between consecutive calls to this function.
A three-component vector describing the direction and speed in which the viewing direction shall be moved.
Sets the given viewing direction, if the VRHandler is in the playing state.
The viewing direction to set.
Sets the minimal interval between consecutive VRViewingDirectionChange events. The default value is 250ms.
The minimal interval between consecutive VRViewingDirectionChange events.
Sets the number of degrees that the viewport can change before the VRViewingDirectionChange event is triggered. The default value is 5°.
The threshold in degrees that the viewport can change before the VRViewingDirectionChange event is triggered.
Returns true, if a permission is required to access device orientation data.