AlphaMask is an effect that applies a mask to a container using a sprite texture.
By default, the red channel of the mask texture controls visibility. Set channel to 'alpha'
to use the alpha channel instead, which is useful for masks defined by transparency.
The mask can be inverted, and non-sprite masks are rendered to a texture automatically.
AlphaMask is an effect that applies a mask to a container using a sprite texture. By default, the red channel of the mask texture controls visibility. Set
channelto'alpha'to use the alpha channel instead, which is useful for masks defined by transparency. The mask can be inverted, and non-sprite masks are rendered to a texture automatically.