HandState constructor

HandState({
  1. required ControllerHand hand,
  2. Map<HandJoint, Vector3>? joints,
  3. Map<HandJoint, Quaternion>? orientations,
  4. bool tracked = false,
})

Implementation

HandState({
  required this.hand,
  Map<HandJoint, Vector3>? joints,
  Map<HandJoint, Quaternion>? orientations,
  this.tracked = false,
})  : joints = joints ?? {},
      orientations = orientations ?? {};