Class LayersAndTagsSettings
Layers and objects tags settings.
Namespace: FlaxEditor.Content.Settings
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class LayersAndTagsSettings : SettingsBase
Constructors
LayersAndTagsSettings()
Fields
Layers
The layer names.
Declaration
[EditorOrder(10)]
[EditorDisplay("Layers", "__inline__")]
[Collection]
public string[] Layers
Field Value
System.String[]
|
Tags
The tag names.
Declaration
[EditorOrder(10)]
[EditorDisplay("Tags", "__inline__")]
public List<string> Tags
Field Value
System.Collections.Generic.List<System.String>
|
TerrainLayers
The layer names.
Declaration
[EditorOrder(10)]
[EditorDisplay("Terrain Layers", "__inline__")]
[Collection]
public string[] TerrainLayers
Field Value
System.String[]
|
Methods
GetCurrentLayers()
Gets the current layer names (max 32 items but trims last empty items).
Declaration
public static string[] GetCurrentLayers()
Returns
System.String[]
The layers. |
GetCurrentTerrainLayers()
Gets the current terrain layer names. Returns "Layer" + index for layers without a name.
Declaration
public static string[] GetCurrentTerrainLayers()
Returns
System.String[]
The layer names. |