SLayerMask

Index

Functions Index

Function

void SetLayers (params string[] layerNames) void SetLayers (Table layerNames)

void AddLayer (string layerName)

void RemoveLayer (string layerName)

Static Functions

static SLayerMask New (Table layerNames) static SLayerMask New (params string[] layerNames)

Properties Index

Property
Description

bool Inverted get set

Is the mask exclusionary or not.

string[] Layers get set

The layer names represented in this layer mask

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?