A type that defines various anchor tracking capabilities.
Members (9)
get · iOS 18.0+
description
TypeScript
get description(): string
Swift declaration
var description: String { get }
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 to
`CustomStringConvertible`:
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 the
`Point` type's `description` property.
get · iOS 18.0+
debugDescription
TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }
A human-readable description of the anchor capability.
get · iOS 18.0+
body
TypeScript
static get body(): SpatialTrackingSession_Configuration_AnchorCapability
Swift declaration
static let body: SpatialTrackingSession.Configuration.AnchorCapability
The anchor capability that enables body tracking.
get · iOS 18.0+
face
TypeScript
static get face(): SpatialTrackingSession_Configuration_AnchorCapability
Swift declaration
static let face: SpatialTrackingSession.Configuration.AnchorCapability
The anchor capability that enables face tracking.
It enables the tracking of the face anchoring target as well as the face entity in the scene.
get · iOS 18.0+
image
TypeScript
static get image(): SpatialTrackingSession_Configuration_AnchorCapability
Swift declaration
static let image: SpatialTrackingSession.Configuration.AnchorCapability
The anchor capability that enables image tracking.
get · iOS 18.0+
plane
TypeScript
static get plane(): SpatialTrackingSession_Configuration_AnchorCapability
Swift declaration
static let plane: SpatialTrackingSession.Configuration.AnchorCapability
The anchor capability that enables plane detection.
get · iOS 18.0+
world
TypeScript
static get world(): SpatialTrackingSession_Configuration_AnchorCapability
Swift declaration
static let world: SpatialTrackingSession.Configuration.AnchorCapability
The anchor capability that enables world tracking.
get · iOS 18.0+
camera
TypeScript
static get camera(): SpatialTrackingSession_Configuration_AnchorCapability
Swift declaration
static let camera: SpatialTrackingSession.Configuration.AnchorCapability
The anchor capability that enables camera anchoring.
get · iOS 18.0+
object
TypeScript
static get object(): SpatialTrackingSession_Configuration_AnchorCapability
Swift declaration
static let object: SpatialTrackingSession.Configuration.AnchorCapability
The anchor capability that enables object tracking.