Represents a button that colors all graphs according to an attribute.
More...
|
enum | Mode { SINGLE,
BOOLEAN_EXPR
} |
|
|
override void | Click () |
| Handles what happens when the user points the controller towards the button and presses the trigger. More...
|
|
void | ColourAttribute (bool toggle) |
| Called when toggling all attributes using the select all button. More...
|
|
void | SetAttribute (string attribute, Color color) |
| To synchronise the outline in multi-user mode. So the outline doesnt get active if the other users menu or tab is active. More...
|
|
void | SetAttribute (string attribute, string displayedName, Color color) |
| Sets which attribute this button should show when pressed. More...
|
|
void | SwitchMode () |
| Switches between boolean expression mode and normal mode. More...
|
|
override void | SetHighlighted (bool highlight) |
|
|
TMPro.TextMeshPro | description |
|
Color | booleanNotIncludedColor |
|
Color | booleanYesColor |
|
Color | booleanNoColor |
|
bool | colored = false |
|
AttributeSubMenu | parentMenu |
|
|
string | Attribute [get, set] |
|
Mode | CurrentMode = Mode.SINGLE [get, set] |
|
AttributeLogic | CurrentBooleanExpressionState = AttributeLogic.NOT_INCLUDED [get] |
|
override string | Description [get] |
|
Represents a button that colors all graphs according to an attribute.
◆ Click()
override void CellexalVR.Menu.Buttons.Attributes.ColorByAttributeButton.Click |
( |
| ) |
|
|
virtual |
◆ ColourAttribute()
void CellexalVR.Menu.Buttons.Attributes.ColorByAttributeButton.ColourAttribute |
( |
bool |
toggle | ) |
|
Called when toggling all attributes using the select all button.
◆ SetAttribute() [1/2]
void CellexalVR.Menu.Buttons.Attributes.ColorByAttributeButton.SetAttribute |
( |
string |
attribute, |
|
|
Color |
color |
|
) |
| |
To synchronise the outline in multi-user mode. So the outline doesnt get active if the other users menu or tab is active.
Sets which attribute this button should show when pressed.
- Parameters
-
attribute | The name of the attribute. |
color | The color that the cells in possesion of the attribute should get. |
◆ SetAttribute() [2/2]
void CellexalVR.Menu.Buttons.Attributes.ColorByAttributeButton.SetAttribute |
( |
string |
attribute, |
|
|
string |
displayedName, |
|
|
Color |
color |
|
) |
| |
Sets which attribute this button should show when pressed.
- Parameters
-
attribute | The name of the attribute. |
displayedName | The text that should be displayed on the button. |
color | The color that the cells in possesion of the attribute should get. |
◆ SwitchMode()
void CellexalVR.Menu.Buttons.Attributes.ColorByAttributeButton.SwitchMode |
( |
| ) |
|
Switches between boolean expression mode and normal mode.
The documentation for this class was generated from the following file:
- Assets/Scripts/Menu/Buttons/Attributes/ColorByAttributeButton.cs