API

Interface IWebXRControllerOptions

Configuration options for the WebXR controller creation

interface IWebXRControllerOptions {
    disableMotionControllerAnimation?: boolean;
    doNotLoadControllerMesh?: boolean;
    forceControllerProfile?: string;
    renderingGroupId?: number;
}
Index
disableMotionControllerAnimation?: boolean

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

doNotLoadControllerMesh?: boolean

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

forceControllerProfile?: string

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

renderingGroupId?: number

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