docs.unity3d.com
    目次を表示する/隠す

    Struct CharacterPart

    Data structure representing a character part

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEditor.U2D.Animation
    Syntax
    [Serializable]
    [MovedFrom("UnityEditor.U2D.Experimental.Animation")]
    public struct CharacterPart : ICharacterOrder

    Fields

    bones

    Bones influencing the Sprite

    Declaration
    public int[] bones
    Field Value
    Type Description
    Int32[]

    parentGroup

    CharacterGroup that the part belongs to

    Declaration
    public int parentGroup
    Field Value
    Type Description
    Int32

    spriteId

    Sprite ID

    Declaration
    public string spriteId
    Field Value
    Type Description
    String

    spritePosition

    Position for the Sprite in the character

    Declaration
    public RectInt spritePosition
    Field Value
    Type Description
    RectInt

    Properties

    order

    The order of the part in the list

    Declaration
    public int order { get; set; }
    Property Value
    Type Description
    Int32
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)