WanaPlan

API Docs for: 2.7.0
Show:

MobileVRComponent

Extends BaseVRComponent3D
Module: Component
Parent Module: Wanaplan

Summary

The MobileVRComponent is responsible to enable VRMode for mobile devices.

Item Index

Methods

_onTouchDown

Syntax

_onTouchDown

(
  • event
)

Summary

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

Parameters:

  • event Event

    The event.

start.

Syntax

start.

()

Summary

Start the VR view.

stop

Syntax

stop

()

Summary

Stop the VR view.

update

Syntax

update

(
  • deltaTime
)

Summary

Update the Y position and rotation of the camera.

Parameters:

  • deltaTime Number

    The delta time.