mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class EditorLayerExtensions

    Inheritance
    Object
    EditorLayerExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public static class EditorLayerExtensions

    Properties

    TagManagerLayers

    The current layers defined in the Tag Manager.

    Declaration
    public static UnityEditor.SerializedProperty TagManagerLayers { get; }
    Property Value
    Type Description
    UnityEditor.SerializedProperty

    TagManagerLayers

    The current layers defined in the Tag Manager.

    Declaration
    public static UnityEditor.SerializedProperty TagManagerLayers { get; }
    Property Value
    Type Description
    UnityEditor.SerializedProperty

    Methods

    RemoveLayer(String)

    Attempts to remove the layer from the Project Settings Tag Manager.

    Declaration
    public static void RemoveLayer(string layerName)
    Parameters
    Type Name Description
    String layerName

    RemoveLayer(String)

    Attempts to remove the layer from the Project Settings Tag Manager.

    Declaration
    public static void RemoveLayer(string layerName)
    Parameters
    Type Name Description
    String layerName

    SetupLayer(Int32, String)

    Attempts to set the layer in Project Settings Tag Manager.

    Declaration
    public static bool SetupLayer(int layerId, string layerName)
    Parameters
    Type Name Description
    Int32 layerId

    The layer Id to attempt to set the layer on.

    String layerName

    The layer name to attempt to set the layer on.

    Returns
    Type Description
    Boolean

    True if the specified layerId was newly configured, false otherwise.

    SetupLayer(Int32, String)

    Attempts to set the layer in Project Settings Tag Manager.

    Declaration
    public static bool SetupLayer(int layerId, string layerName)
    Parameters
    Type Name Description
    Int32 layerId

    The layer Id to attempt to set the layer on.

    String layerName

    The layer name to attempt to set the layer on.

    Returns
    Type Description
    Boolean

    True if the specified layerId was newly configured, false otherwise.

    In This Article
    • Properties
      • TagManagerLayers
      • TagManagerLayers
    • Methods
      • RemoveLayer(String)
      • RemoveLayer(String)
      • SetupLayer(Int32, String)
      • SetupLayer(Int32, String)
    Back to top Generated by DocFX