VpsAnchorUpdate
Contains the latest tracking information for a VPS anchor....
Declaration
struct VpsAnchorUpdateSummary
Contains the latest tracking information for a VPS anchor.
Anchor updates are retrieved via anchorUpdate(anchorId:) and provide the
most current information about an anchor's position, orientation, and tracking status. This
is a snapshot of the anchor, and the latest anchor update should be used every frame.
Properties
| Name | Type | Summary |
|---|---|---|
| let anchorId | NSDKVpsAnchorId | The unique identifier of the anchor. |
| 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 trackingData | TrackingData? | Pose, confidence, and timestamp data available when an anchor is in .limited or.tracked states, |
| let trackingState | AnchorTrackingState | The current tracking state of the anchor, and associated data. Anchors in .notTracked and .limited states have an associatedvalue of type AnchorTrackingState.Reason which explains why the anchoris in its current state. |
Nested Types
Structs
| Name | Type | Summary |
|---|---|---|
| TrackingData | TrackingData | - |
Enums
| Name | Type | Summary |
|---|---|---|
| AnchorTrackingState | AnchorTrackingState | Represents the current tracking state of a VPS anchor. The tracking state indicates how well the system is able to track an anchor's position and orientation in the current environment. |
Relationships
conforms to: Swift.CustomDebugStringConvertible