TrackingConfidence
XRPose.swift:22enum TrackingConfidenceenum TrackingConfidenceimport SwiftGodotFramework to write Godot Game Extensions using the Swift Programming Language.
class XRPoseThis object contains all data related to a pose on a tracked object.
case noneNo tracking information is available for this pose.
case lowTracking information may be inaccurate or estimated. For example, with inside out tracking this would indicate a controller may be (partially) obscured.
case highTracking information is considered accurate and up to date.
override class var godotClassName: StringName { get }final var angularVelocity: Vector3 { get set }The angular velocity for this pose.
final var hasTrackingData: Bool { get set }If true our tracking data is up to date. If false we’re no longer receiving new tracking data and our state is whatever that last valid state was.
final var linearVelocity: Vector3 { get set }The linear velocity of this pose.
final var name: StringName { get set }The name of this pose. Pose names are often driven by an action map setup by the user. Godot does suggest a number of pose names that it expects XRInterfaces to implement:
final var trackingConfidence: XRPose.TrackingConfidence { get set }The tracking confidence for this pose, provides insight on how accurate the spatial positioning of this record is.
final var transform: Transform3D { get set }The transform containing the original and transform as reported by the XR runtime.
final func getAdjustedTransform() -> Transform3D Returns the transform with world scale and our reference frame applied. This is the transform used to position XRNode3D objects.
protocol CaseIterableA type that provides a collection of all of its values.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
init?(rawValue: Int64) var debugDescription: String { get }A textual representation of this instance, suitable for debugging
var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)