Version: 1.4
LanguageEnglish
  • C#

Bone

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

Description

A tracked bone on the device at an XRNode in the XR input subsystem.

The Bone type is a general purpose structure that represents a part of a specific body element hierarchy. such as Hand, Eyes, or Skeleton.

Public Methods

TryGetChildBonesGet the child bones of this bone.
TryGetParentBoneGets the parent of this bone.
TryGetPositionGets the world position of the bone
TryGetRotationGets the world rotation of the bone.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答