Version: 2020.1
LanguageEnglish
  • C#

Bone

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.

Did you find this page useful? Please give it a rating: