docs.unity.cn
    Show / Hide Table of Contents

    Enum SpriteSkinState

    The state of the Sprite Skin.

    Namespace: UnityEngine.U2D.Animation
    Syntax
    public enum SpriteSkinState

    Fields

    Name Description Value
    SpriteNotFound

    Sprite Renderer doesn't contain a sprite.


    0
    SpriteHasNoSkinningInformation

    Sprite referenced in the Sprite Renderer doesn't have skinning information.


    1
    SpriteHasNoWeights

    Sprite referenced in the Sprite Renderer doesn't have weights.


    2
    RootTransformNotFound

    Root transform is not assigned.


    3
    InvalidTransformArray

    Bone transform array is not assigned.


    4
    InvalidTransformArrayLength

    Bone transform array has incorrect length.


    5
    TransformArrayContainsNull

    One or more bone transforms is not assigned.


    6
    InvalidBoneWeights

    Bone weights are invalid.


    7
    Ready

    Sprite Skin is ready for deformation.


    8
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023