Search Results for

    Show / Hide Table of Contents

    Class LayersAndTagsSettings

    Layers and objects tags settings.

    Inheritance
    System.Object
    SettingsBase
    LayersAndTagsSettings
    Namespace: FlaxEditor.Content.Settings
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public sealed class LayersAndTagsSettings : SettingsBase

    Constructors

    LayersAndTagsSettings()

    Initializes a new instance of the LayersAndTagsSettings.

    Declaration
    public 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.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat