Bone
A tracked bone on the device at an XRNode in the XR input subsystem.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
- Implements: IEquatable<Bone>
public struct Bone : IEquatable<Bone>
Remarks
The Bone type is a general purpose structure that represents a part of a specific body element hierarchy. such as Hand, Eyes, or Skeleton.
Methods
Method | Description |
|---|---|
| TryGetChildBones | Get the child bones of this bone. |
| TryGetParentBone | Gets the parent of this bone. |
| TryGetPosition | Gets the world position of the bone |
| TryGetRotation | Gets the world rotation of the bone. |