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

Represents the tab buttons on top of a tab. More...

Inheritance diagram for CellexalVR.Menu.Buttons.TabButton:
CellexalVR.Interaction.CellexalRaycastable CellexalVR.Menu.Buttons.Networks.ArcsTabButton

Public Member Functions

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...
 
virtual void SetHighlighted (bool h)
 Changes the color of the button to either its highlighted color or standard color. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.CellexalRaycastable
virtual void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 

Public Attributes

ReferenceManager referenceManager
 
Tab tab
 
MenuWithTabs Menu
 
- Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable
UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 

Protected Member Functions

virtual void Start ()
 

Protected Attributes

bool controllerInside = false
 

Detailed Description

Represents the tab buttons on top of a tab.

Member Function Documentation

◆ OnRaycastEnter()

override void CellexalVR.Menu.Buttons.TabButton.OnRaycastEnter ( )
virtual

Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast.

Reimplemented from CellexalVR.Interaction.CellexalRaycastable.

◆ OnRaycastExit()

override void CellexalVR.Menu.Buttons.TabButton.OnRaycastExit ( )
virtual

Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore.

Reimplemented from CellexalVR.Interaction.CellexalRaycastable.

◆ SetHighlighted()

virtual void CellexalVR.Menu.Buttons.TabButton.SetHighlighted ( bool  h)
virtual

Changes the color of the button to either its highlighted color or standard color.

Parameters
highlightTrue if the button should be highlighted, false otherwise.

Reimplemented in CellexalVR.Menu.Buttons.Networks.ArcsTabButton.


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