The schema of motion controller layout. No object will be initialized using this interface This is used just to define the profile.


  • IMotionControllerLayout




Find examples in Playground
components: object

Available components (unsorted)

Type declaration

Optional gamepad

Find examples in Playground
gamepad: object

An optional gamepad object. If no gamepad object is not defined, no models will be loaded

Type declaration

  • axes: Array<object | null>

    Definition of the axes of the gamepad input, sorted Correlates to componentIds in the components map

  • buttons: Array<string | null>

    The buttons available in this input in the right order index of this button will be the index in the gamepadObject.buttons array correlates to the componentId in components

  • mapping: "" | "xr-standard"

    Is the mapping based on the xr-standard defined here:


Find examples in Playground
selectComponentId: string

Defines the main button component id

Generated using TypeDoc