Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
TrackingConfidence
XRPose.swift:22enum TrackingConfidence
Cases
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (8) members.
Type members
Instance members
var angularVelocity: Vector3
The angular velocity for this pose.
var hasTrackingData: Bool
If
true
our tracking data is up to date. Iffalse
we’re no longer receiving new tracking data and our state is whatever that last valid state was.var linearVelocity: Vector3
The linear velocity of this pose.
var name: StringName
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
XRInterface
s to implement:var trackingConfidence: XRPose.TrackingConfidence
The tracking confidence for this pose, provides insight on how accurate the spatial positioning of this record is.
var transform: Transform3D
The transform containing the original and transform as reported by the XR runtime.
func getAdjustedTransform(
) -> Transform3D Returns the
transform
with world scale and our reference frame applied. This is the transform used to positionXRNode3D
objects.
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A 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.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.