Version: 2022.1
언어: 한국어

SpriteBone

struct in UnityEngine.U2D

매뉴얼로 전환

설명

Stores a set of information that describes the bind pose of this Sprite.

This struct describes the hierarchy and other spatial relationships between the bones of this Sprite.

변수

colorShows the color set for the bone in the Editor.
guidThe Unique GUID of this bone.
lengthThe length of the bone. This is important for the leaf bones to describe their length without needing another bone as the terminal bone.
nameThe name of the bone. This is useful when recreating bone hierarchy at editor or runtime. You can also use this as a way of resolving the bone path when a Sprite is bound to a more complex or richer hierarchy.
parentIdThe ID of the parent of this bone.
positionThe position in local space of this bone.
rotationThe rotation of this bone in local space.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961