UArValue constructor

const UArValue({
  1. UArSessionState state = UArSessionState.uninitialized,
  2. UArTrackingState tracking = UArTrackingState.notAvailable,
  3. UArTrackingReason trackingReason = UArTrackingReason.initializing,
  4. UArCapabilities capabilities = const UArCapabilities(),
  5. UArConfig config = const UArConfig(),
  6. Map<String, UArPlane> planes = const <String, UArPlane>{},
  7. Map<String, UArAnchor> anchors = const <String, UArAnchor>{},
  8. Map<String, UArNode> nodes = const <String, UArNode>{},
  9. Map<String, UArTrackedImage> images = const <String, UArTrackedImage>{},
  10. Map<String, UArFace> faces = const <String, UArFace>{},
  11. UArBody? body,
  12. UArFrame frame = const UArFrame(),
  13. int? textureId,
  14. String? viewType,
  15. bool isRecording = false,
  16. bool isXrActive = false,
  17. UArException? error,
})

Implementation

const UArValue({
  this.state = UArSessionState.uninitialized,
  this.tracking = UArTrackingState.notAvailable,
  this.trackingReason = UArTrackingReason.initializing,
  this.capabilities = const UArCapabilities(),
  this.config = const UArConfig(),
  this.planes = const <String, UArPlane>{},
  this.anchors = const <String, UArAnchor>{},
  this.nodes = const <String, UArNode>{},
  this.images = const <String, UArTrackedImage>{},
  this.faces = const <String, UArFace>{},
  this.body,
  this.frame = const UArFrame(),
  this.textureId,
  this.viewType,
  this.isRecording = false,
  this.isXrActive = false,
  this.error,
});