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

A base class that can be used with MenuWithTabs to create menus with tabs. More...

Inheritance diagram for CellexalVR.Menu.SubMenus.Tab:

Public Member Functions

virtual void SetTabActive (bool active)
 Show or hides all buttons that this tab contains. More...
 
void AddButton (CellexalButton button)
 Adds a button to this tab. More...
 

Public Attributes

ReferenceManager referenceManager
 
Buttons.TabButton tabButton
 
TextMeshPro TabName
 

Protected Member Functions

virtual void Awake ()
 

Protected Attributes

int buttonIndex = 0
 
Vector3 buttonPos = new Vector3(-.396f, .77f, .182f)
 
Vector3 buttonPosOriginal = new Vector3(-.396f, .77f, .182f)
 
Vector3 buttonPosInc = new Vector3(.25f, 0, 0)
 
Vector3 buttonPosNewRowInc = new Vector3(0, 0, -.15f)
 

Properties

bool Active [get]
 

Detailed Description

A base class that can be used with MenuWithTabs to create menus with tabs.

Member Function Documentation

◆ AddButton()

void CellexalVR.Menu.SubMenus.Tab.AddButton ( CellexalButton  button)

Adds a button to this tab.

◆ SetTabActive()

virtual void CellexalVR.Menu.SubMenus.Tab.SetTabActive ( bool  active)
virtual

Show or hides all buttons that this tab contains.

Parameters
activeTrue if this tab should be shown, false if hidden.

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