Version: 2017.1

SpriteMaskInteraction

enumeration

切换到手册

描述

此枚举控制精灵与遮罩系统交互时所处的模式。

Sprites by default do not interact with masks SpriteMaskInteraction.None. A sprite can also be setup to be visible in presence of one or more masks SpriteMaskInteraction.VisibleUnderMask or to be visible on areas where no masks are present SpriteMaskInteraction.VisibleOutsideMask.

变量

None精灵将不与遮罩系统交互。
VisibleInsideMask精灵将仅在有遮罩的区域中才可见。
VisibleOutsideMask精灵将仅在没有遮罩的区域中才可见。