Vps2AssetTrackingData
Declaration
struct Vps2AssetTrackingDataSummary
Pose of a VPS asset's origin in the device's AR tracking space.
Content authored in the asset's coordinate space is placed with
assetToTrackingTransform. Only served while the asset is fully
tracked; see NSDKVps2Session/assetTrackingData(assetId:).
Properties
| Name | Type | Summary |
|---|---|---|
| let assetId | String | The identifier of the asset. |
| let assetToTrackingTransform | simd_float4x4 | Transform from the asset's coordinate space to the AR session's world space. |
| let confidence | Float | Confidence in the transform, from 0 (none) to 1 (full). |
| var debugDescription | String | A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(reflecting:)initializer. This initializer works with any type, and uses the custom debugDescription property for types that conform toCustomDebugStringConvertible:struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of p to a string in the assignment to s uses thePoint type's debugDescription property. |
| let siteId | String | The identifier of the site the asset belongs to. |
| let timestampMs | UInt64 | Timestamp of the camera frame the transform was last updated from, in monotonic milliseconds. |
Relationships
conforms to: Swift.CustomDebugStringConvertible