Struct Bone
Represents a 3 dimensional, tracked bone within a hierarchy of other bones.
Namespace: UnityEngine.InputSystem.XR
Syntax
public struct Bone
Properties
parentBoneIndex
The index with the device's controls array where the parent bone resides.
Declaration
public uint parentBoneIndex { get; set; }
Property Value
Type | Description |
---|---|
UInt32 |
position
The tracked position of the bone.
Declaration
public Vector3 position { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
rotation
The tracked rotation of the bone.
Declaration
public Quaternion rotation { get; set; }
Property Value
Type | Description |
---|---|
Quaternion |