Class KeywordToggleListControl
Represents a control with a checkbox for setting a keyword.
Also shows and hides a list of controls based on its state.
Implements
Namespace: VRLabs.SimpleShaderInspectors.Controls
Syntax
public class KeywordToggleListControl : KeywordToggleControl, IControlContainer
Remarks
it's effectively a combination of KeywordToggleControl and ControlContainer, where the controls list is enabled based on the keyword enable state.
Examples
Example usage:
this.AddKeywordToggleListControl("KEYWORD_TO_TOGGLE");
Constructors
| Name | Description |
|---|---|
| KeywordToggleListControl(String) | Default constructor of KeywordToggleListControl |
Properties
| Name | Description |
|---|---|
| Controls | List of controls under this control. |
Methods
| Name | Description |
|---|---|
| AddControl(SimpleControl) | Implementation needed by IControlContainer to add controls. All controls added are stored in Controls |
| ControlGUI(MaterialEditor) | Draws the control represented by this object. |
| GetControlList() | Implementation needed by IControlContainer to get the object's controls list. |