CLASSES
TagsA - Z

VRExperienceHelper

Description

class VRExperienceHelper

Constructor

new VRExperienceHelper(scene, webVROptions)

Parameters

Name Type Description
scene Scene
optional webVROptions WebVROptions

Members

webVROptions : WebVROptions

onEnteringVR : () => void

onExitingVR : () => void

onControllerMeshLoaded : WebVRController) => void

position : Vector3

Methods

enterVR() void

Attempt to enter VR. If a headset is connected and ready, will request present on that.

Otherwise, will use the fullscreen API.

exitVR() void

Attempt to exit VR, or fullscreen.

dispose() void

getClassName() string