Neuro-VISOR  0.2.0
Visualize and interact with computational simulations using a virtual reality interface
C2M2.Interaction.UI.RaycastToggle Class Referenceabstract

Inherits MonoBehaviour.

Inherited by C2M2.NeuronalDynamics.Interaction.UI.NDFeatureToggle.

Public Member Functions

void Toggle (RaycastHit hit)
 
void Toggle (RaycastHit hit, bool toggle)
 
abstract void OnToggle (RaycastHit hit, bool toggled)
 

Public Attributes

Image enabledImg = null
 
Image disabledImg = null
 
RaycastToggleGroup group = null
 

Properties

bool toggled = false [get, private set]
 
int groupId = -1 [get, set]
 

Member Function Documentation

◆ OnToggle()

abstract void C2M2.Interaction.UI.RaycastToggle.OnToggle ( RaycastHit  hit,
bool  toggled 
)
pure virtual

◆ Toggle() [1/2]

void C2M2.Interaction.UI.RaycastToggle.Toggle ( RaycastHit  hit)

◆ Toggle() [2/2]

void C2M2.Interaction.UI.RaycastToggle.Toggle ( RaycastHit  hit,
bool  toggle 
)

Member Data Documentation

◆ disabledImg

Image C2M2.Interaction.UI.RaycastToggle.disabledImg = null

◆ enabledImg

Image C2M2.Interaction.UI.RaycastToggle.enabledImg = null

◆ group

RaycastToggleGroup C2M2.Interaction.UI.RaycastToggle.group = null

Property Documentation

◆ groupId

int C2M2.Interaction.UI.RaycastToggle.groupId = -1
getset

◆ toggled

bool C2M2.Interaction.UI.RaycastToggle.toggled = false
getprivate set

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