Interface IWebXRControllerOptions
interface IWebXRControllerOptions {
disableMotionControllerAnimation?: boolean;
doNotLoadControllerMesh?: boolean;
forceControllerProfile?: string;
renderingGroupId?: number;
}
disableMotionControllerAnimation?: boolean;
doNotLoadControllerMesh?: boolean;
forceControllerProfile?: string;
renderingGroupId?: number;
}
Properties
Optionaldisable Motion Controller Animation
disableMotionControllerAnimation?: boolean
Should the controller mesh be animated when a user interacts with it The pressed buttons / thumbstick and touchpad animations will be disabled
Optionaldo Not Load Controller Mesh
doNotLoadControllerMesh?: boolean
Do not load the controller mesh, in case a different mesh needs to be loaded.
Optionalforce Controller Profile
forceControllerProfile?: string
Force a specific controller type for this controller. This can be used when creating your own profile or when testing different controllers
Optionalrendering Group Id
renderingGroupId?: number
Defines a rendering group ID for meshes that will be loaded. This is for the default controllers only.
Configuration options for the WebXR controller creation