PlaybackFrameMetadata
Declaration
struct PlaybackFrameMetadataSummary
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
| Name | Type | Summary |
|---|---|---|
| let compassData | NSDKFrameData.CompassData? | Recorded compass sample, stamped with its clock base; nil when the frame has none. |
| let depthResolution | SIMD2<UInt32>? | Depth buffer (width, height) in pixels; nil when the frame has no depth. |
| let gpsData | NSDKFrameData.GpsData? | Recorded GPS fix; nil when the frame has none. |
| let imageResolution | SIMD2<UInt32> | Image (width, height) in pixels. |
| let intrinsics | NSDKFrameData.CameraIntrinsics | - |
| let orientation | NSDKScreenOrientation | Screen orientation the frame was recorded in; .unknown when not recorded. |
| let sequence | Int | Recorded frame sequence number. |
| let timestampMs | UInt64 | Camera timestamp in milliseconds, on the recording's clock. |
| let trackingState | NsdkTrackingState | - |
| let transform | simd_float4x4 | Camera-to-world. |
Operators
| Name | Type | Summary |
|---|---|---|
| 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 != bimplies 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