Skip to content

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 ​

ParameterType
modeLayerMaskMode | undefined
artContainer

Returns ​

Container

HereSplash — 2D animation for the web