Skip to main content
←API Reference ←NSDK

PlaybackFrameMetadata


Declaration​

struct PlaybackFrameMetadata

Summary​

One frame's recorded data, without its image or depth buffers. Mirrors the frame native playback returns from ARDK_PlaybackDataset_GetFrameMetadata; transform is in the recorded (ARKit) convention.


Properties​

NameTypeSummary
let compassDataNSDKFrameData.CompassData?
Recorded compass sample, stamped with its clock base; nil when the frame has none.
let depthResolutionSIMD2<UInt32>?
Depth buffer (width, height) in pixels; nil when the frame has no depth.
let gpsDataNSDKFrameData.GpsData?
Recorded GPS fix; nil when the frame has none.
let imageResolutionSIMD2<UInt32>
Image (width, height) in pixels.
let intrinsicsNSDKFrameData.CameraIntrinsics
-
let orientationNSDKScreenOrientation
Screen orientation the frame was recorded in; .unknown when not recorded.
let sequenceInt
Recorded frame sequence number.
let timestampMsUInt64
Camera timestamp in milliseconds, on the recording's clock.
let trackingStateNsdkTrackingState
-
let transformsimd_float4x4
Camera-to-world.

Operators​

NameTypeSummary
static func != Bool
Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.

Relationships​

conforms to: Swift.Equatable