@@ -12,8 +12,6 @@ declare const ARBlendShapeLocationMouthFrownRight: string;
12
12
13
13
declare const ARSCNDebugOptionShowFeaturePoints : interop . Enum < typeof SCNDebugOptions > ;
14
14
15
- declare const ARSCNDebugOptionShowWorldOrigin : interop . Enum < typeof SCNDebugOptions > ;
16
-
17
15
declare const ARReferenceObjectArchiveExtension : string ;
18
16
19
17
declare const ARBlendShapeLocationTongueOut : string ;
@@ -70,6 +68,8 @@ declare const ARSkeletonJointNameRightFoot: string;
70
68
71
69
declare const ARSkeletonJointNameLeftHand : string ;
72
70
71
+ declare const ARSCNDebugOptionShowWorldOrigin : interop . Enum < typeof SCNDebugOptions > ;
72
+
73
73
declare const ARSkeletonJointNameHead : string ;
74
74
75
75
declare const ARBlendShapeLocationEyeLookDownRight : string ;
@@ -259,13 +259,6 @@ declare const ARTrackingState: {
259
259
Normal : 2 ,
260
260
} ;
261
261
262
- declare const ARPlaneClassificationStatus : {
263
- NotAvailable : 0 ,
264
- Undetermined : 1 ,
265
- Unknown : 2 ,
266
- Known : 3 ,
267
- } ;
268
-
269
262
declare const ARConfidenceLevel : {
270
263
Low : 0 ,
271
264
Medium : 1 ,
@@ -300,6 +293,13 @@ declare const ARSceneReconstruction: {
300
293
MeshWithClassification : 3 ,
301
294
} ;
302
295
296
+ declare const ARPlaneClassificationStatus : {
297
+ NotAvailable : 0 ,
298
+ Undetermined : 1 ,
299
+ Unknown : 2 ,
300
+ Known : 3 ,
301
+ } ;
302
+
303
303
declare const ARMeshClassification : {
304
304
None : 0 ,
305
305
Wall : 1 ,
@@ -407,7 +407,7 @@ declare interface ARSessionObserver extends NSObjectProtocol {
407
407
408
408
sessionShouldAttemptRelocalization ?( session : ARSession ) : boolean ;
409
409
410
- sessionDidOutputAudioSampleBuffer ?( session : ARSession , audioSampleBuffer : interop . PointerConvertible ) : void ;
410
+ sessionDidOutputAudioSampleBuffer ?( session : ARSession , audioSampleBuffer : interop . Object ) : void ;
411
411
412
412
sessionDidOutputCollaborationData ?( session : ARSession , data : ARCollaborationData ) : void ;
413
413
@@ -442,12 +442,6 @@ declare interface ARSessionProviding extends NSObjectProtocol {
442
442
declare class ARSessionProviding extends NativeObject implements ARSessionProviding {
443
443
}
444
444
445
- declare class ARLightEstimate extends NSObject {
446
- readonly ambientIntensity : number ;
447
-
448
- readonly ambientColorTemperature : number ;
449
- }
450
-
451
445
declare class ARMatteGenerator extends NSObject {
452
446
initWithDeviceMatteResolution ( device : MTLDevice , matteResolution : interop . Enum < typeof ARMatteResolution > ) : this;
453
447
@@ -456,6 +450,80 @@ declare class ARMatteGenerator extends NSObject {
456
450
generateDilatedDepthFromFrameCommandBuffer ( frame : ARFrame , commandBuffer : MTLCommandBuffer ) : MTLTexture ;
457
451
}
458
452
453
+ declare class ARWorldTrackingConfiguration extends ARConfiguration {
454
+ autoFocusEnabled : boolean ;
455
+
456
+ environmentTexturing : interop . Enum < typeof AREnvironmentTexturing > ;
457
+
458
+ wantsHDREnvironmentTextures : boolean ;
459
+
460
+ planeDetection : interop . Enum < typeof ARPlaneDetection > ;
461
+
462
+ initialWorldMap : ARWorldMap ;
463
+
464
+ detectionImages : NSSet ;
465
+
466
+ automaticImageScaleEstimationEnabled : boolean ;
467
+
468
+ maximumNumberOfTrackedImages : number ;
469
+
470
+ detectionObjects : NSSet ;
471
+
472
+ collaborationEnabled : boolean ;
473
+
474
+ static readonly supportsUserFaceTracking : boolean ;
475
+
476
+ userFaceTrackingEnabled : boolean ;
477
+
478
+ appClipCodeTrackingEnabled : boolean ;
479
+
480
+ static readonly supportsAppClipCodeTracking : boolean ;
481
+
482
+ static supportsSceneReconstruction ( sceneReconstruction : interop . Enum < typeof ARSceneReconstruction > ) : boolean ;
483
+
484
+ sceneReconstruction : interop . Enum < typeof ARSceneReconstruction > ;
485
+
486
+ init ( ) : this;
487
+
488
+ static new < This extends abstract new ( ...args : any ) => any > ( this : This ) : InstanceType < This > ;
489
+
490
+ isAutoFocusEnabled ( ) : boolean ;
491
+
492
+ setAutoFocusEnabled ( autoFocusEnabled : boolean ) : void ;
493
+
494
+ setEnvironmentTexturing ( environmentTexturing : interop . Enum < typeof AREnvironmentTexturing > ) : void ;
495
+
496
+ setWantsHDREnvironmentTextures ( wantsHDREnvironmentTextures : boolean ) : void ;
497
+
498
+ setPlaneDetection ( planeDetection : interop . Enum < typeof ARPlaneDetection > ) : void ;
499
+
500
+ setInitialWorldMap ( initialWorldMap : ARWorldMap ) : void ;
501
+
502
+ setDetectionImages ( detectionImages : NSSet | null ) : void ;
503
+
504
+ setAutomaticImageScaleEstimationEnabled ( automaticImageScaleEstimationEnabled : boolean ) : void ;
505
+
506
+ setMaximumNumberOfTrackedImages ( maximumNumberOfTrackedImages : number ) : void ;
507
+
508
+ setDetectionObjects ( detectionObjects : NSSet ) : void ;
509
+
510
+ isCollaborationEnabled ( ) : boolean ;
511
+
512
+ setCollaborationEnabled ( collaborationEnabled : boolean ) : void ;
513
+
514
+ setUserFaceTrackingEnabled ( userFaceTrackingEnabled : boolean ) : void ;
515
+
516
+ setAppClipCodeTrackingEnabled ( appClipCodeTrackingEnabled : boolean ) : void ;
517
+
518
+ setSceneReconstruction ( sceneReconstruction : interop . Enum < typeof ARSceneReconstruction > ) : void ;
519
+ }
520
+
521
+ declare class ARLightEstimate extends NSObject {
522
+ readonly ambientIntensity : number ;
523
+
524
+ readonly ambientColorTemperature : number ;
525
+ }
526
+
459
527
declare class ARCoachingOverlayView extends UIView {
460
528
delegate : ARCoachingOverlayViewDelegate ;
461
529
@@ -629,9 +697,9 @@ declare class ARReferenceImage extends NSObject {
629
697
630
698
validateWithCompletionHandler ( completionHandler : ( p1 : NSError ) => void | null ) : void ;
631
699
632
- initWithCGImageOrientationPhysicalWidth ( image : interop . PointerConvertible , orientation : interop . Enum < typeof CGImagePropertyOrientation > , physicalWidth : number ) : this;
700
+ initWithCGImageOrientationPhysicalWidth ( image : interop . Object , orientation : interop . Enum < typeof CGImagePropertyOrientation > , physicalWidth : number ) : this;
633
701
634
- initWithPixelBufferOrientationPhysicalWidth ( pixelBuffer : interop . PointerConvertible , orientation : interop . Enum < typeof CGImagePropertyOrientation > , physicalWidth : number ) : this;
702
+ initWithPixelBufferOrientationPhysicalWidth ( pixelBuffer : interop . Object , orientation : interop . Enum < typeof CGImagePropertyOrientation > , physicalWidth : number ) : this;
635
703
636
704
static referenceImagesInGroupNamedBundle ( name : string , bundle : NSBundle | null ) : NSSet ;
637
705
@@ -762,7 +830,7 @@ declare class ARDirectionalLightEstimate extends ARLightEstimate {
762
830
declare class ARFrame extends NSObject implements NSCopying {
763
831
readonly timestamp : number ;
764
832
765
- readonly capturedImage : interop . Pointer ;
833
+ readonly capturedImage : interop . Object ;
766
834
767
835
readonly exifData : NSDictionary ;
768
836
@@ -784,9 +852,9 @@ declare class ARFrame extends NSObject implements NSCopying {
784
852
785
853
readonly worldMappingStatus : interop . Enum < typeof ARWorldMappingStatus > ;
786
854
787
- readonly segmentationBuffer : interop . Pointer ;
855
+ readonly segmentationBuffer : interop . Object ;
788
856
789
- readonly estimatedDepthData : interop . Pointer ;
857
+ readonly estimatedDepthData : interop . Object ;
790
858
791
859
readonly detectedBody : ARBody2D ;
792
860
@@ -1114,9 +1182,9 @@ declare class ARSkeletonDefinition extends NSObject {
1114
1182
}
1115
1183
1116
1184
declare class ARDepthData extends NSObject {
1117
- readonly depthMap : interop . Pointer ;
1185
+ readonly depthMap : interop . Object ;
1118
1186
1119
- readonly confidenceMap : interop . Pointer ;
1187
+ readonly confidenceMap : interop . Object ;
1120
1188
}
1121
1189
1122
1190
declare class ARAnchor extends NSObject implements ARAnchorCopying , NSSecureCoding {
@@ -1545,74 +1613,6 @@ declare class ARSkeleton3D extends ARSkeleton {
1545
1613
localTransformForJointName ( jointName : string ) : simd_float4x4 ;
1546
1614
}
1547
1615
1548
- declare class ARWorldTrackingConfiguration extends ARConfiguration {
1549
- autoFocusEnabled : boolean ;
1550
-
1551
- environmentTexturing : interop . Enum < typeof AREnvironmentTexturing > ;
1552
-
1553
- wantsHDREnvironmentTextures : boolean ;
1554
-
1555
- planeDetection : interop . Enum < typeof ARPlaneDetection > ;
1556
-
1557
- initialWorldMap : ARWorldMap ;
1558
-
1559
- detectionImages : NSSet ;
1560
-
1561
- automaticImageScaleEstimationEnabled : boolean ;
1562
-
1563
- maximumNumberOfTrackedImages : number ;
1564
-
1565
- detectionObjects : NSSet ;
1566
-
1567
- collaborationEnabled : boolean ;
1568
-
1569
- static readonly supportsUserFaceTracking : boolean ;
1570
-
1571
- userFaceTrackingEnabled : boolean ;
1572
-
1573
- appClipCodeTrackingEnabled : boolean ;
1574
-
1575
- static readonly supportsAppClipCodeTracking : boolean ;
1576
-
1577
- static supportsSceneReconstruction ( sceneReconstruction : interop . Enum < typeof ARSceneReconstruction > ) : boolean ;
1578
-
1579
- sceneReconstruction : interop . Enum < typeof ARSceneReconstruction > ;
1580
-
1581
- init ( ) : this;
1582
-
1583
- static new < This extends abstract new ( ...args : any ) => any > ( this : This ) : InstanceType < This > ;
1584
-
1585
- isAutoFocusEnabled ( ) : boolean ;
1586
-
1587
- setAutoFocusEnabled ( autoFocusEnabled : boolean ) : void ;
1588
-
1589
- setEnvironmentTexturing ( environmentTexturing : interop . Enum < typeof AREnvironmentTexturing > ) : void ;
1590
-
1591
- setWantsHDREnvironmentTextures ( wantsHDREnvironmentTextures : boolean ) : void ;
1592
-
1593
- setPlaneDetection ( planeDetection : interop . Enum < typeof ARPlaneDetection > ) : void ;
1594
-
1595
- setInitialWorldMap ( initialWorldMap : ARWorldMap ) : void ;
1596
-
1597
- setDetectionImages ( detectionImages : NSSet | null ) : void ;
1598
-
1599
- setAutomaticImageScaleEstimationEnabled ( automaticImageScaleEstimationEnabled : boolean ) : void ;
1600
-
1601
- setMaximumNumberOfTrackedImages ( maximumNumberOfTrackedImages : number ) : void ;
1602
-
1603
- setDetectionObjects ( detectionObjects : NSSet ) : void ;
1604
-
1605
- isCollaborationEnabled ( ) : boolean ;
1606
-
1607
- setCollaborationEnabled ( collaborationEnabled : boolean ) : void ;
1608
-
1609
- setUserFaceTrackingEnabled ( userFaceTrackingEnabled : boolean ) : void ;
1610
-
1611
- setAppClipCodeTrackingEnabled ( appClipCodeTrackingEnabled : boolean ) : void ;
1612
-
1613
- setSceneReconstruction ( sceneReconstruction : interop . Enum < typeof ARSceneReconstruction > ) : void ;
1614
- }
1615
-
1616
1616
declare class ARWorldMap extends NSObject implements NSCopying , NSSecureCoding {
1617
1617
readonly center : unknown /* ext vector */ ;
1618
1618
0 commit comments