Skip to content

Function: composeMaskInfluence() ​

composeMaskInfluence(callerInfluence, partFlags): boolean

Defined in: packages/ssplayer-core/dist/index.d.ts:5219

AND-compose a part's mask_influence with what its instance part handed down (ROOT_MASK_INFLUENCE at the root). This is both whether the part is a mask target and, for a writer, which op it writes with (true = invert).

Parameters ​

callerInfluence ​

boolean

partFlags ​

number

Returns ​

boolean