CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.Interaction.ClickableHistoryPanel Class Reference
Inheritance diagram for CellexalVR.Interaction.ClickableHistoryPanel:
CellexalVR.Interaction.ClickablePanel CellexalVR.Interaction.CellexalRaycastable

Public Member Functions

void SetText (string entryName, Definitions.HistoryEvent type)
 Sets the text and type of this history panel. More...
 
override void Click ()
 Called when the user points the controller towards this panel and presses the trigger. More...
 
void HandleClick ()
 Do actions depending on type of button. Public method so it can be called from multi user message receiver. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.ClickablePanel
virtual void SetMaterials (Material keyNormalMaterial, Material keyHighlightMaterial, Material keyPressedMaterial, Vector4 scaleCorrection)
 Sets this panel's materials. More...
 
override void OnRaycastEnter ()
 Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast. More...
 
override void OnRaycastExit ()
 Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore. More...
 
override void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 
virtual void SetHighlighted (bool highlight)
 Sets this panel to highlighted or not highlighted. More...
 
virtual void SetPressed (bool pressed)
 Sets this panel to pressed or not pressed. More...
 

Public Attributes

TextMeshPro textMesh
 
int _id
 
- Public Attributes inherited from CellexalVR.Interaction.ClickablePanel
ReferenceManager referenceManager
 
KeyboardHandler handler
 
- Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable
UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 

Protected Member Functions

override void Start ()
 
- Protected Member Functions inherited from CellexalVR.Interaction.ClickablePanel
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Properties

Definitions.HistoryEvent Type [get]
 
string NameOfThing = "" [get]
 
int ID [get, set]
 
- Properties inherited from CellexalVR.Interaction.ClickablePanel
Vector2 CenterUV [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
new Renderer renderer
 
Material keyNormalMaterial
 
Material keyHighlightMaterial
 
Material keyPressedMaterial
 
- Static Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
static Vector4 PulseAndLaserCoords
 

Member Function Documentation

◆ Click()

override void CellexalVR.Interaction.ClickableHistoryPanel.Click ( )
virtual

Called when the user points the controller towards this panel and presses the trigger.

Reimplemented from CellexalVR.Interaction.ClickablePanel.

◆ HandleClick()

void CellexalVR.Interaction.ClickableHistoryPanel.HandleClick ( )

Do actions depending on type of button. Public method so it can be called from multi user message receiver.

◆ SetText()

void CellexalVR.Interaction.ClickableHistoryPanel.SetText ( string  entryName,
Definitions.HistoryEvent  type 
)

Sets the text and type of this history panel.

Parameters
entryNameThe name of the entry.
typeThe type of entry.
Exceptions
ArgumentOutOfRangeExceptionThrown if type is not valid.

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