Class SpaceControl
Represents an empty space.
Namespace: VRLabs.SimpleShaderInspectors.Controls
Syntax
public class SpaceControl : SimpleControl
Remarks
It can be considered the Simple Shader Inspectors equivalent of GUILayout.Space.
It does not need an alias in order to work.
Examples
Example usage:
// Adds a space of 1 line worth of pixels
this.AddSpaceControl();
// adds a space of 15 pixels
this.AddSpaceControl(15);
Constructors
| Name | Description |
|---|---|
| SpaceControl(Int32) | Default constructor of LabelControl. |
Properties
| Name | Description |
|---|---|
| Space | Amount of space in pixels this control has. |
Methods
| Name | Description |
|---|---|
| ControlGUI(MaterialEditor) | Draws the control represented by this object. |