Version: 2022.3
言語: 日本語

SkeletonBone

struct in UnityEngine

マニュアルに切り替える

説明

Details of the Transform name mapped to the skeleton bone of a model and its default position and rotation in the T-pose.

The skeleton models used in Unity have multiple bones. The SkeletonBone struct has properties that are used to describe the position, rotation and scale of each bone. The bones are not shown. A MonoBehaviour.OnDrawGizmosSelected tool can be created to view the skeleton. An array of SkeletonBone positions can be used to make a line model using Gizmos.DrawLine.

An array of SkeletonBones are used in HumanDescription.skeleton.

変数

nameボーンがマッピングされているトランスフォーム名
positionローカル空間でボーンの T ポーズの位置
rotationローカル空間でボーンの T ポーズの角度
scaleローカル空間でボーンの T ポーズのスケール