Enum SpriteMaskInteraction | 2D Entities | 0.31.0-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Enum SpriteMaskInteraction

    Enum that controls the mode under which the Sprite will interact with Sprite Masks.

    Namespace: Unity.U2D.Entities
    Syntax
    public enum SpriteMaskInteraction

    Fields

    Name Description Value
    None

    The Sprite will not interact with the masking system.

    0
    VisibleInsideMask

    The Sprite will be visible only in areas where a mask is present.

    1
    VisibleOutsideMask

    The Sprite will be visible only in areas where no mask is present.

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 30 October 2020