models/controller/index library

Classes

MotionController
@description Builds a motion controller with components and visual responses based on the supplied profile description. Data is polled from the xrInputSource's gamepad. @author Nell Waliczek / https://github.com/NellWaliczek
VisualResponse
XRControllerModel
Represents a XR controller model.
XRControllerModelFactory
Allows to create controller models for WebXR controllers that can be added as a visual representation to your scene. XRControllerModelFactory will automatically fetch controller models that match what the user is holding as closely as possible. The models should be attached to the object returned from getControllerGrip in order to match the orientation of the held device.

Properties

defaultComponentValues Map<String, dynamic>
final