@@ -12,8 +12,6 @@ declare const ARBlendShapeLocationMouthFrownRight: string;
1212
1313declare const ARSCNDebugOptionShowFeaturePoints : interop . Enum < typeof SCNDebugOptions > ;
1414
15- declare const ARSCNDebugOptionShowWorldOrigin : interop . Enum < typeof SCNDebugOptions > ;
16-
1715declare const ARReferenceObjectArchiveExtension : string ;
1816
1917declare const ARBlendShapeLocationTongueOut : string ;
@@ -70,6 +68,8 @@ declare const ARSkeletonJointNameRightFoot: string;
7068
7169declare const ARSkeletonJointNameLeftHand : string ;
7270
71+ declare const ARSCNDebugOptionShowWorldOrigin : interop . Enum < typeof SCNDebugOptions > ;
72+
7373declare const ARSkeletonJointNameHead : string ;
7474
7575declare const ARBlendShapeLocationEyeLookDownRight : string ;
@@ -259,13 +259,6 @@ declare const ARTrackingState: {
259259 Normal : 2 ,
260260} ;
261261
262- declare const ARPlaneClassificationStatus : {
263- NotAvailable : 0 ,
264- Undetermined : 1 ,
265- Unknown : 2 ,
266- Known : 3 ,
267- } ;
268-
269262declare const ARConfidenceLevel : {
270263 Low : 0 ,
271264 Medium : 1 ,
@@ -300,6 +293,13 @@ declare const ARSceneReconstruction: {
300293 MeshWithClassification : 3 ,
301294} ;
302295
296+ declare const ARPlaneClassificationStatus : {
297+ NotAvailable : 0 ,
298+ Undetermined : 1 ,
299+ Unknown : 2 ,
300+ Known : 3 ,
301+ } ;
302+
303303declare const ARMeshClassification : {
304304 None : 0 ,
305305 Wall : 1 ,
@@ -407,7 +407,7 @@ declare interface ARSessionObserver extends NSObjectProtocol {
407407
408408 sessionShouldAttemptRelocalization ?( session : ARSession ) : boolean ;
409409
410- sessionDidOutputAudioSampleBuffer ?( session : ARSession , audioSampleBuffer : interop . PointerConvertible ) : void ;
410+ sessionDidOutputAudioSampleBuffer ?( session : ARSession , audioSampleBuffer : interop . Object ) : void ;
411411
412412 sessionDidOutputCollaborationData ?( session : ARSession , data : ARCollaborationData ) : void ;
413413
@@ -442,12 +442,6 @@ declare interface ARSessionProviding extends NSObjectProtocol {
442442declare class ARSessionProviding extends NativeObject implements ARSessionProviding {
443443}
444444
445- declare class ARLightEstimate extends NSObject {
446- readonly ambientIntensity : number ;
447-
448- readonly ambientColorTemperature : number ;
449- }
450-
451445declare class ARMatteGenerator extends NSObject {
452446 initWithDeviceMatteResolution ( device : MTLDevice , matteResolution : interop . Enum < typeof ARMatteResolution > ) : this;
453447
@@ -456,6 +450,80 @@ declare class ARMatteGenerator extends NSObject {
456450 generateDilatedDepthFromFrameCommandBuffer ( frame : ARFrame , commandBuffer : MTLCommandBuffer ) : MTLTexture ;
457451}
458452
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+
459527declare class ARCoachingOverlayView extends UIView {
460528 delegate : ARCoachingOverlayViewDelegate ;
461529
@@ -629,9 +697,9 @@ declare class ARReferenceImage extends NSObject {
629697
630698 validateWithCompletionHandler ( completionHandler : ( p1 : NSError ) => void | null ) : void ;
631699
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;
633701
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;
635703
636704 static referenceImagesInGroupNamedBundle ( name : string , bundle : NSBundle | null ) : NSSet ;
637705
@@ -762,7 +830,7 @@ declare class ARDirectionalLightEstimate extends ARLightEstimate {
762830declare class ARFrame extends NSObject implements NSCopying {
763831 readonly timestamp : number ;
764832
765- readonly capturedImage : interop . Pointer ;
833+ readonly capturedImage : interop . Object ;
766834
767835 readonly exifData : NSDictionary ;
768836
@@ -784,9 +852,9 @@ declare class ARFrame extends NSObject implements NSCopying {
784852
785853 readonly worldMappingStatus : interop . Enum < typeof ARWorldMappingStatus > ;
786854
787- readonly segmentationBuffer : interop . Pointer ;
855+ readonly segmentationBuffer : interop . Object ;
788856
789- readonly estimatedDepthData : interop . Pointer ;
857+ readonly estimatedDepthData : interop . Object ;
790858
791859 readonly detectedBody : ARBody2D ;
792860
@@ -1114,9 +1182,9 @@ declare class ARSkeletonDefinition extends NSObject {
11141182}
11151183
11161184declare class ARDepthData extends NSObject {
1117- readonly depthMap : interop . Pointer ;
1185+ readonly depthMap : interop . Object ;
11181186
1119- readonly confidenceMap : interop . Pointer ;
1187+ readonly confidenceMap : interop . Object ;
11201188}
11211189
11221190declare class ARAnchor extends NSObject implements ARAnchorCopying , NSSecureCoding {
@@ -1545,74 +1613,6 @@ declare class ARSkeleton3D extends ARSkeleton {
15451613 localTransformForJointName ( jointName : string ) : simd_float4x4 ;
15461614}
15471615
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-
16161616declare class ARWorldMap extends NSObject implements NSCopying , NSSecureCoding {
16171617 readonly center : unknown /* ext vector */ ;
16181618
0 commit comments