|Description:||Controls the visibility of a video mask, and defines its alpha and color settings.|
The mask covers all elements that are defined in setRenderMasked with the specified, solid color. The setting is persistent between mission restarts.
|Syntax:||setRenderMasking [mask, alpha, color]|
Ground is masked in red, and a 0.1 alpha factor applied to the smoke grenade:
Independently from the chosen masking color, there might be some pink edges around objects that cover the masked area, so if detailed edges are required, it is advisable to use the default pink color [255,0,255] for masking, to better blend with these artifacts: