Represents a legend that contains GroupingLegendEntry.
More...
|
ReferenceManager | referenceManager |
|
GameObject | entryPrefab |
|
GameObject | extraColumn |
|
TMPro.TextMeshPro | pageNumberText |
|
EnvironmentTabButton | tabButton |
|
GameObject | contentParent |
|
EnvironmentMenuWithTabs | parentMenu |
|
UnityEvent | OnActivate |
|
UnityEvent | RaycastEnter |
|
UnityEvent | RaycastExit |
|
bool | canBePushedAndPulled = true |
|
bool | active = true |
|
Represents a legend that contains GroupingLegendEntry.
◆ AddEntry()
void CellexalVR.AnalysisObjects.GroupingLegend.AddEntry |
( |
string |
groupName, |
|
|
int |
numberOfCells, |
|
|
Color |
color |
|
) |
| |
Adds a new group to the legend.
- Parameters
-
groupName | The name of the group. |
numberOfCells | The number of cells the group has. |
color | The color that represents the group. |
◆ AddOrUpdateEntry()
void CellexalVR.AnalysisObjects.GroupingLegend.AddOrUpdateEntry |
( |
string |
groupName, |
|
|
int |
numberOfCellsToAdd, |
|
|
Color |
color |
|
) |
| |
Updates an existing group or, if no group with the specified name exists, creates a new group.
- Parameters
-
groupName | The name of the group. |
numberOfCellsToAdd | The number of cells to add or remove from the group. |
color | The color the group should have if it is created. If numberOfCellsToAdd is negative (cells are removed from the group), this parameter does not matter. |
◆ ChangePage()
void CellexalVR.AnalysisObjects.GroupingLegend.ChangePage |
( |
bool |
incrementPageNbr | ) |
|
Changes the current page.
- Parameters
-
incrementPageNbr | True if the page number should be incremented by one, false if it should be decremented by one. |
◆ ClearLegend()
void CellexalVR.AnalysisObjects.GroupingLegend.ClearLegend |
( |
| ) |
|
Clears the legend of all data.
◆ RemoveEntry()
void CellexalVR.AnalysisObjects.GroupingLegend.RemoveEntry |
( |
string |
groupName | ) |
|
Removes a group from the legend.
- Parameters
-
groupName | The name of the group to remove. |
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/AnalysisObjects/GroupingLegend.cs