Version: 2021.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 ポーズのスケール
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961