set2DMaskFromOverlay
set2DMaskFromOverlay
Description
Set mask for 2d rendering (font and overlays)
Definition
set2DMaskFromOverlay(entityId textureId, boolean maskAlphaOnly, float x, float y, float width, float height)
Arguments
| entityId | textureId | |
|---|---|---|
| boolean | maskAlphaOnly | if true, applies the mask to the alpha channel only, otherwise to all 4 channels |
| float | x | x position |
| float | y | y position |
| float | width | |
| float | height |