BoneUpdate
XRHandModifier3D.swift:24enum BoneUpdate
enum BoneUpdate
import SwiftGodot
Framework to write Godot Game Extensions using the Swift Programming Language.
class XRHandModifier3D
A node for driving hand meshes from XRHandTracker
data.
case full
The skeleton’s bones are fully updated (both position and rotation) to match the tracked bones.
case rotationOnly
The skeleton’s bones are only rotated to align with the tracked bones, preserving bone length.
case max
Represents the size of the BoneUpdate
enum.
override class var godotClassName: StringName { get }
final var boneUpdate: XRHandModifier3D.BoneUpdate { get set }
Specifies the type of updates to perform on the bones.
final var handTracker: StringName { get set }
The name of the XRHandTracker
registered with XRServer
to obtain the hand tracking data from.
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 : Equatable
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.
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)