API

Type Alias XrControllerMeshFactory

XrControllerMeshFactory: (
    engine: EngineContext,
    scene: SceneContext,
    handedness: XrHandedness,
) => Mesh

Builds the mesh drawn for one controller. The mesh should be pre-scaled to its real-world size (metres); the feature only positions/orients it at the grip pose.

Type Declaration