CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.DesktopUI.ColorPickerButton Class Reference

A button in the settings menu that picks a color using the ColorPicker. More...

Inheritance diagram for CellexalVR.DesktopUI.ColorPickerButton:
CellexalVR.DesktopUI.ColorPickerButtonBase

Public Member Functions

void SummonColorPicker ()
 Summons the color picker to this buttons postition. More...
 
override void FinalizeChoice ()
 Finalizes the color selection. Should be called when the user is done selection a color to set the internal value. More...
 

Public Attributes

GameObject parentGroup
 
Image image
 
- Public Attributes inherited from CellexalVR.DesktopUI.ColorPickerButtonBase
ReferenceManager referenceManager
 
GradientColor gradientColor
 
GameObject gradient
 
ConfigColor colorField
 
int selectionToolColorIndex
 

Properties

override Color Color [get, set]
 
- Properties inherited from CellexalVR.DesktopUI.ColorPickerButtonBase
virtual Color Color [get, set]
 Updates the choice of color. Setting this property does not update the internal value. Make sure to call FinalizeChoice for that. More...
 

Additional Inherited Members

- Public Types inherited from CellexalVR.DesktopUI.ColorPickerButtonBase
enum  GradientColor { COLOR1, COLOR2, COLOR3 }
 
enum  ConfigColor {
  NONE, HEATMAP_HIGH, HEATMAP_MID, HEATMAP_LOW,
  GRAPH_HIGH, GRAPH_MID, GRAPH_LOW, GRAPH_ZERO,
  GRAPH_DEFAULT, SELECTION, NETWORK_POSITIVE_HIGH, NETWORK_POSITIVE_LOW,
  NETWORK_NEGATIVE_HIGH, NETWORK_NEGATIVE_LOW, VELOCITY_HIGH, VELOCITY_LOW,
  SKYBOX_TINT
}
 
- Protected Member Functions inherited from CellexalVR.DesktopUI.ColorPickerButtonBase
void OnValidate ()
 
void Start ()
 
- Protected Attributes inherited from CellexalVR.DesktopUI.ColorPickerButtonBase
Color color
 
Material gradientMaterial
 
ColorPicker colorPicker
 
HeatmapGenerator heatmapGenerator
 
GraphGenerator graphGenerator
 
NetworkGenerator networkGenerator
 
SelectionToolCollider selectionToolCollider
 
SettingsMenu settingsMenu
 

Detailed Description

A button in the settings menu that picks a color using the ColorPicker.

Member Function Documentation

◆ FinalizeChoice()

override void CellexalVR.DesktopUI.ColorPickerButton.FinalizeChoice ( )
virtual

Finalizes the color selection. Should be called when the user is done selection a color to set the internal value.

Reimplemented from CellexalVR.DesktopUI.ColorPickerButtonBase.

◆ SummonColorPicker()

void CellexalVR.DesktopUI.ColorPickerButton.SummonColorPicker ( )

Summons the color picker to this buttons postition.


The documentation for this class was generated from the following file: