文档

Unity Engine

Unity Engine

TryGetParentBone(out Bone)

Gets the parent of this bone.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

TryGetParentBone(Bone)

public bool TryGetParentBone(out Bone parentBone)

Parameters

parentBone

Bone struct that receives the parent bone of this bone.

Returns

Type

Description

booltrue if the rotation was retrieved, false otherwise.