SLayerMask
Index
Functions Index
Properties Index
Functions
SetLayers
void SetLayers (params string[] layerNames) void SetLayers (Table layerNames)
_Function that changes an existing layer mask _
Parameter
Type
Description
AddLayer
void AddLayer (string layerName)
Add a new layer to an existing layer mask.
Parameter
Type
Description
RemoveLayer
void RemoveLayer (string layerName)|
Remove a new layer from an existing layer mask.
Parameter
Type
Description
New
static SLayerMask New (Table layerNames) static SLayerMask New (params string[] layerNames)
Static function that creates a new layer mask
Parameter
Type
Description
Properties
Inverted
bool Inverted get set
Is the mask exclusionary or not.
Layers
string[] Layers get set
The layer names represented in this layer mask
Last updated
Was this helpful?

