Skip to content

Function: composeMaskInfluence() ​

composeMaskInfluence(callerInfluence, partFlags): boolean

Defined in: src/MaskComposition.ts:59

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