captureObject static method

Future<UArObjectCaptureResult?> captureObject({
  1. UArObjectCaptureOptions options = const UArObjectCaptureOptions(),
})

Walks the user around a real object and reconstructs it as a USDZ model on the device (iOS 17+ Object Capture, LiDAR devices).

Implementation

static Future<UArObjectCaptureResult?> captureObject({UArObjectCaptureOptions options = const UArObjectCaptureOptions()}) async {
  final Map<Object?, Object?>? raw = await UArChannel.invokeMap("captureObject", options.toMap());
  return raw == null ? null : UArObjectCaptureResult.fromMap(raw);
}