Configuration options for the WebXR controller creation


  • IWebXRControllerOptions



Optional disableMotionControllerAnimation

Find examples in Playground
disableMotionControllerAnimation: boolean

Should the controller mesh be animated when a user interacts with it The pressed buttons / thumbstick and touchpad animations will be disabled

Optional doNotLoadControllerMesh

Find examples in Playground
doNotLoadControllerMesh: boolean

Do not load the controller mesh, in case a different mesh needs to be loaded.

Optional forceControllerProfile

Find examples in Playground
forceControllerProfile: string

Force a specific controller type for this controller. This can be used when creating your own profile or when testing different controllers

Optional renderingGroupId

Find examples in Playground
renderingGroupId: number

Defines a rendering group ID for meshes that will be loaded. This is for the default controllers only.

Generated using TypeDoc