API Docs for: 2.7.3
Show:

MobileVRComponent Class

Extends BaseVRComponent3D
Module: Component
Parent Module: Wanaplan

The MobileVRComponent is responsible to enable VRMode for mobile devices.

Item Index

Methods

_onTouchDown

(
  • event
)

Stop the VRMode and toggle to windowed mode if 4 fingers touches the screen.

Parameters:

start.

()

Start the VR view.

stop

()

Stop the VR view.

update

(
  • deltaTime
)

Update the Y position and rotation of the camera.

Parameters:

  • deltaTime Number

    The delta time.