InverseMask
Class in Zigurous.UI
Declaration
public sealed class InverseMask : MonoBehaviour
Description
Applies materials to the image and its children to create an inverse mask.
Static Properties
cutoutMaterial | The shared material applied to an image that is masking another image. This image acts as a cutout, thus its contents are not visible. |
contentMaterial | The shared material applied to the children images being masked. The content of these images will be visible in the shape of the parent cutout mask. |