Skip to main content

CLASS

AwarenessResult

public class AwarenessResult

Base class for awarness results such as depth and segmentation. Provides common properties like frame ID, timestamp, camera pose, and intrinsics.

Properties​

frameId​

public let frameId: UInt64

Unique identifier for the processed frame

timestampMs​

public let timestampMs: UInt64

The timestamp of the AR frame that this awareness result was generated from.

pose​

public let pose: simd_float4x4

The camera pose matrix when the depth data was captured.

This 4x4 transformation matrix represents the camera's position and orientation in the world coordinate system. Use this for coordinate transformations between camera and world spaces.

intrinsics​

public let intrinsics: simd_float3x3

The camera intrinsic parameters.

This 3x3 matrix contains the camera's focal length, principal point, and other intrinsic parameters needed for coordinate transformations between image and camera coordinate systems.