MotionController class
@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
- Implementers
Constructors
-
MotionController.new([XRInputSource? xrInputSource, Map<
String, dynamic> ? profile, String? assetUrl]) - @param {Object} xrInputSource - The XRInputSource to build the MotionController around @param {Object} profile - The best matched profile description for the supplied xrInputSource @param {string} assetUrl
Properties
- assetUrl ↔ String?
-
getter/setter pair
- components ↔ Map
-
getter/setter pair
- data → dynamic
-
@description Returns a subset of component data for simplified debugging
no setter
- gripSpace → dynamic
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ dynamic
-
getter/setter pair
- layoutDescription ↔ dynamic
-
getter/setter pair
-
profile
↔ Map<
String, dynamic> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetRaySpace → dynamic
-
no setter
- xrInputSource ↔ XRInputSource?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateFromGamepad(
) → void - @description Poll for updated data based on current gamepad state
-
updateMesh(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited