Class ARFrame

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class ARFrame
extends NSObject
Since:
Available in iOS 11.0 and later.
  • Constructor Details

  • Method Details

    • getTimestamp

      public double getTimestamp()
    • getCapturedImage

      public CVPixelBuffer getCapturedImage()
    • getCameraGrainTexture

      public MTLTexture getCameraGrainTexture()
      Since:
      Available in iOS 13.0 and later.
    • getCameraGrainIntensity

      public float getCameraGrainIntensity()
      Since:
      Available in iOS 13.0 and later.
    • getCapturedDepthData

      public AVDepthData getCapturedDepthData()
    • getCapturedDepthDataTimestamp

      public double getCapturedDepthDataTimestamp()
    • getCamera

      public ARCamera getCamera()
    • getAnchors

      public NSArray<ARAnchor> getAnchors()
    • getLightEstimate

      public ARLightEstimate getLightEstimate()
    • getRawFeaturePoints

      public ARPointCloud getRawFeaturePoints()
    • getWorldMappingStatus

      public ARWorldMappingStatus getWorldMappingStatus()
      Since:
      Available in iOS 12.0 and later.
    • getSegmentationBuffer

      public CVPixelBuffer getSegmentationBuffer()
      Since:
      Available in iOS 13.0 and later.
    • getEstimatedDepthData

      public CVPixelBuffer getEstimatedDepthData()
      Since:
      Available in iOS 13.0 and later.
    • getDetectedBody

      public ARBody2D getDetectedBody()
      Since:
      Available in iOS 13.0 and later.
    • getGeoTrackingStatus

      public ARGeoTrackingStatus getGeoTrackingStatus()
      Since:
      Available in iOS 14.0 and later.
    • getSceneDepth

      public ARDepthData getSceneDepth()
      Since:
      Available in iOS 14.0 and later.
    • getSmoothedSceneDepth

      public ARDepthData getSmoothedSceneDepth()
      Since:
      Available in iOS 14.0 and later.
    • hitTest

      @Deprecated public NSArray<ARHitTestResult> hitTest​(CGPoint point, ARHitTestResultType types)
      Deprecated.
      Deprecated in iOS 14.0. Use [ARSession raycast:]
      Since:
      Available in iOS 11.0 and later.
    • raycastQueryFromPoint

      public ARRaycastQuery raycastQueryFromPoint​(CGPoint point, ARRaycastTarget target, ARRaycastTargetAlignment alignment)
      Since:
      Available in iOS 13.0 and later.
    • displayTransform

      public CGAffineTransform displayTransform​(UIInterfaceOrientation orientation, CGSize viewportSize)