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

The console for executing commands from the desktop. More...

Inheritance diagram for CellexalVR.DesktopUI.ConsoleManager:

Public Member Functions

void TraverseHistory (bool goBack)
 Goes one step forward or backward in the history of all written commands. More...
 
void AppendOutput (string output)
 Appends some output to the console's output window More...
 
void EnterCommand (string command)
 Called when a command is entered. Checks that the command syntax is correct and executes the command. More...
 
void ClearAndHideSuggestions ()
 Clears and hides the bar that show suggestions below the input field. More...
 
void ListAllCommands ()
 Lists all available commands. More...
 
void ParameterInfo (string command)
 Displays information about the arguments of a command. Semi-helpful. More...
 
void ClearConsole ()
 Clears the console. More...
 
void Quit ()
 Asks for a confirmation and eventually quits CellexalVR. More...
 
void ShowFPS (bool b)
 Shows or hides a little fps counter in the top left corner of the desktop display. More...
 
void RunCommandFile (string filename)
 Runs multiple commands written in a file. More...
 

Public Attributes

ReferenceManager referenceManager
 
GameObject consoleGameObject
 
TMPro.TMP_InputField inputField
 
TMPro.TMP_InputField outputField
 
ScrollRectWithoutDragging outputScrollRect
 
TMPro.TMP_Text suggestionField
 

Detailed Description

The console for executing commands from the desktop.

Member Function Documentation

◆ AppendOutput()

void CellexalVR.DesktopUI.ConsoleManager.AppendOutput ( string  output)

Appends some output to the console's output window

Parameters
outputThe string to append.

◆ ClearAndHideSuggestions()

void CellexalVR.DesktopUI.ConsoleManager.ClearAndHideSuggestions ( )

Clears and hides the bar that show suggestions below the input field.

◆ ClearConsole()

void CellexalVR.DesktopUI.ConsoleManager.ClearConsole ( )

Clears the console.

◆ EnterCommand()

void CellexalVR.DesktopUI.ConsoleManager.EnterCommand ( string  command)

Called when a command is entered. Checks that the command syntax is correct and executes the command.

◆ ListAllCommands()

void CellexalVR.DesktopUI.ConsoleManager.ListAllCommands ( )

Lists all available commands.

◆ ParameterInfo()

void CellexalVR.DesktopUI.ConsoleManager.ParameterInfo ( string  command)

Displays information about the arguments of a command. Semi-helpful.

Parameters
commandThe command to show arguemnt information about.

◆ Quit()

void CellexalVR.DesktopUI.ConsoleManager.Quit ( )

Asks for a confirmation and eventually quits CellexalVR.

◆ RunCommandFile()

void CellexalVR.DesktopUI.ConsoleManager.RunCommandFile ( string  filename)

Runs multiple commands written in a file.

Parameters
filename

◆ ShowFPS()

void CellexalVR.DesktopUI.ConsoleManager.ShowFPS ( bool  b)

Shows or hides a little fps counter in the top left corner of the desktop display.

Parameters
bTrue to show hte fps coutner, false to hide it.

◆ TraverseHistory()

void CellexalVR.DesktopUI.ConsoleManager.TraverseHistory ( bool  goBack)

Goes one step forward or backward in the history of all written commands.

Parameters
goBackTrue for going back in history, false for going forward.

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