AnchorTrackingState
Declaration
enum AnchorTrackingStateSummary
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.
Note: tracked can persist while a device is disturbed, such as a covered camera or a
dark room, and persists indefinitely while the device stays still. It changes once
confidence drops low enough. Use VpsAnchorUpdate.TrackingData.confidence and the
Reason on this state to react more sensitively to device disturbances.
Cases
| Name | Type | Summary |
|---|---|---|
| case limited | Reason?) | |
| case notTracked | Reason?) | The anchor is not currently being tracked. |
| case tracked | tracked | The anchor is being tracked with full accuracy. |
Properties
| Name | Type | Summary |
|---|---|---|
| var description | String | A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(describing:)initializer. This initializer works with any type, and uses the custom description property for types that conform toCustomStringConvertible:struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of p to a string in the assignment to s uses thePoint type's description property. |
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. |
Nested Types
Enums
| Name | Type | Summary |
|---|---|---|
| Reason | Reason | Provides additional context about why an anchor is in either the notTrackedor limited tracking states. |
Relationships
conforms to: Swift.Equatable
conforms to: Swift.CustomStringConvertible
Tracking information is available, but is of poor quality and should
not be relied upon at close distances.