ARFrame
A video image captured as part of a session with position-tracking information.
Declaration
class ARFrameMentioned in
Overview
A running session continuously captures video frames from the device’s camera while ARKit analyzes the captures to determine the user’s position in the world. ARKit can provide this information to you in the form of an ARFrame in two ways:
Occasionally, by accessing an ARSession object’s currentFrame
Constantly, as a stream of frames through the session(_:didUpdate:) callback
To automatically receive all frames as ARKit captures them, make one of your objects the delegate of your app’s ARSession.
Each frame can contain additional data, for example, EXIF (exifData), or data based on any particular frameSemantics that you enable.
Topics
Accessing camera data
Accessing scene data
lightEstimatedisplayTransform(for:viewportSize:)rawFeaturePointscapturedDepthDatacapturedDepthDataTimestampsceneDepthsmoothedSceneDepth