Appearance
pixi-hm05 (player) / pixi-hm05 / createMaskNode
Function: createMaskNode()
ts
function createMaskNode(mode, art): Container;The node masking with a mask layer's art (add the node to the tree, then maskWith the masked containers): a plain container for a shape mask, a SoftMask for alpha / luminance.
Parameters
| Parameter | Type |
|---|---|
mode | LayerMaskMode | undefined |
art | Container |
Returns
Container