Interface VRExperienceHelperOptions
Hierarchy
-
WebVROptions
- VRExperienceHelperOptions
Index
Properties
Properties
Optional controller MeshesSearch playground for controllerMeshes
Should the native controller meshes be initialized. (default: true)
Optional create Device Orientation CameraSearch playground for createDeviceOrientationCamera
Create a DeviceOrientationCamera to be used as your out of vr camera. (default: true)
Optional create FallbackVRDevice Orientation Free CameraSearch playground for createFallbackVRDeviceOrientationFreeCamera
Create a VRDeviceOrientationFreeCamera to be used for VR when no external HMD is found. (default: true)
Optional customVRButtonSearch playground for customVRButton
If you'd like to provide your own button to the VRHelper. (default: standard babylon vr button)
Optional default HeightSearch playground for defaultHeight
To change the default offset from the ground to account for user's height in meters. Will be scaled by positionScale. (default: 1.7)
Optional default Lighting OnControllersSearch playground for defaultLightingOnControllers
Creating a default HemiLight only on controllers. (default: true)
Optional display NameSearch playground for displayName
If there are more than one VRDisplays, this will choose the display matching this name. (default: pick first vrDisplay)
Optional floor MeshesSearch playground for floorMeshes
A list of meshes to be used as the teleportation floor. If specified, teleportation will be enabled (default: undefined)
Optional laser ToggleSearch playground for laserToggle
Uses the main button on the controller to toggle the laser casted. (default: true)
Optional position ScaleSearch playground for positionScale
Sets the scale of the vrDevice in babylon space. (default: 1)
Optional ray LengthSearch playground for rayLength
To change the length of the ray for gaze/controllers. Will be scaled by positionScale. (default: 100)
Optional track PositionSearch playground for trackPosition
Sets if the webVR camera should be tracked to the vrDevice. (default: true)
Optional use CustomVRButtonSearch playground for useCustomVRButton
If you don't want to use the default VR button of the helper. (default: false)
Optional use MultiviewSearch playground for useMultiview
If multiview should be used if availible (default: false)
Optional useXRSearch playground for useXR
Defines if WebXR should be used instead of WebVR (if available)
Optional vr Device Orientation Camera MetricsSearch playground for vrDeviceOrientationCameraMetrics
Distortion metrics for the fallback vrDeviceOrientationCamera (default: VRCameraMetrics.Default)
Options to modify the vr experience helper's behavior.