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

    Struct CharacterData

    Data structure that represents a character setup

    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 CharacterData

    Fields

    boneReadOnly

    Bones are readonly

    Declaration
    [Obsolete("boneReadOnly is no longer part of CharacterData. To check if character has Main Skeleton assigned to it, please use IMainSkeletonDataProvider instead.")]
    public bool boneReadOnly
    Field Value
    Type Description
    Boolean

    bones

    SpriteBones influencing the Character

    Declaration
    public SpriteBone[] bones
    Field Value
    Type Description
    SpriteBone[]

    characterGroups

    Character grouping information

    Declaration
    public CharacterGroup[] characterGroups
    Field Value
    Type Description
    CharacterGroup[]

    dimension

    The dimension of the character required

    Declaration
    public Vector2Int dimension
    Field Value
    Type Description
    Vector2Int

    parts

    Parts of the character

    Declaration
    public CharacterPart[] parts
    Field Value
    Type Description
    CharacterPart[]

    pivot

    Character pivot. The value is a normalized value between (0,0) and (1,1) where (1,1) represents the value in CharacterData.dimension

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