Search Results for

    Show / Hide Table of Contents

    Class LabelControl

    Represents a label without any property.

    Inheritance
    Object
    SimpleControl
    LabelControl
    Namespace: VRLabs.SimpleShaderInspectors.Controls
    Syntax
    public class LabelControl : SimpleControl
    Remarks

    It can be seen ad the Simple Shader Inspectors version of EditorGUILayout.LabelField, with the advantage that it uses Simple Shader Inspectors' localization system for the label string.

    It is required to give an alias to the control, since it doesn't have anything that it could use as a default.

    Examples

    Example usage:

    this.AddLabelControl("AliasToUse");

    Constructors

    Name Description
    LabelControl(String)

    Default constructor of LabelControl.

    Properties

    Name Description
    LabelStyle

    Style used for the label control.

    Methods

    Name Description
    ControlGUI(MaterialEditor)

    Draws the control represented by this object.

    Extension Methods

    Chainables.Alias<T>(T, String)
    Chainables.SetVisibility<T>(T, Boolean)
    Chainables.SetEnabled<T>(T, Boolean)
    Chainables.SetLabelStyle<T>(T, GUIStyle)
    In This Article
    Back to top Copyright © VRLabs.
    Generated by DocFX