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 |