Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
void | SetLayers (params string[] layerNames) |
void | SetLayers (Table layerNames) |
Set layers with a lua table More... | |
SLayerMask (params string[] layerNames) | |
void | AddLayer (string layerName) |
Add a new layer in LayerMask. More... | |
void | RemoveLayer (string layerName) |
Remove a layer in LayerMask. More... | |
Static Public Member Functions | |
static SLayerMask | New (Table layerNames) |
Returns a new LayerMask with a lua table. More... | |
static SLayerMask | New (params string[] layerNames) |
Properties | |
bool | Inverted [get, set] |
If Inverted is true, the layer mask will act as an exclusionary mask instead of an inclusionary mask. Example: If you have a mask set to "Avatars", inverted == false means you get a mask of ONLY Avatars. If you have a mask set to "Avatars", inverted == true means you get a mask of everything EXCEPT Avatars. More... | |
string[] | Layers [get, set] |
All layers in LayerMask. More... | |
SineSpace.Scripting.Types.SLayerMask.SLayerMask | ( | params string[] | layerNames | ) |
void SineSpace.Scripting.Types.SLayerMask.AddLayer | ( | string | layerName | ) |
Add a new layer in LayerMask.
layerName | The name of layer |
|
static |
|
static |
Returns a new LayerMask with a lua table.
layerNames | The table of layerNames |
void SineSpace.Scripting.Types.SLayerMask.RemoveLayer | ( | string | layerName | ) |
Remove a layer in LayerMask.
layerName | The name of layer |
void SineSpace.Scripting.Types.SLayerMask.SetLayers | ( | params string[] | layerNames | ) |
void SineSpace.Scripting.Types.SLayerMask.SetLayers | ( | Table | layerNames | ) |
Set layers with a lua table
layerNames | The table of layerNames |
|
getset |
If Inverted is true, the layer mask will act as an exclusionary mask instead of an inclusionary mask. Example: If you have a mask set to "Avatars", inverted == false means you get a mask of ONLY Avatars. If you have a mask set to "Avatars", inverted == true means you get a mask of everything EXCEPT Avatars.
|
getset |
All layers in LayerMask.
layerName | The name of layer |