API

Interface IMotionControllerMeshMap

A helper-interface for the 3 meshes needed for controller axis animation. This will be expanded when touchpad animations are fully supported The meshes are provided to the _lerpAxisTransform function to calculate the current position of the value mesh

interface IMotionControllerMeshMap {
    maxMesh?: AbstractMesh;
    minMesh?: AbstractMesh;
    valueMesh?: AbstractMesh;
}
Index
maxMesh?: AbstractMesh

the mesh that defines the maximum value mesh position.

minMesh?: AbstractMesh

the mesh that defines the minimum value mesh position.

valueMesh?: AbstractMesh

The mesh that will be changed when axis value changes