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

Reperesents a target that can be raycasted against by CellexalRaycast. More...

Inheritance diagram for CellexalVR.Interaction.CellexalRaycastable:
CellexalVR.AnalysisLogic.BoxPlot CellexalVR.AnalysisObjects.EnvironmentMenuWithTabs CellexalVR.AnalysisObjects.EnvironmentTab CellexalVR.Interaction.ClickablePanel CellexalVR.Interaction.HeatmapRaycast CellexalVR.Interaction.LegendRaycaster CellexalVR.Interaction.PresetClickablePanelRaycaster CellexalVR.Menu.Buttons.CellexalButton CellexalVR.Menu.Buttons.ColorPicker.ColorPickerPopout CellexalVR.Menu.Buttons.TabButton

Public Member Functions

virtual void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 
virtual void OnRaycastEnter ()
 Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast. More...
 
virtual void OnRaycastExit ()
 Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore. More...
 

Public Attributes

UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 

Detailed Description

Reperesents a target that can be raycasted against by CellexalRaycast.

Member Function Documentation

◆ OnRaycastEnter()

virtual void CellexalVR.Interaction.CellexalRaycastable.OnRaycastEnter ( )
virtual

◆ OnRaycastExit()

virtual void CellexalVR.Interaction.CellexalRaycastable.OnRaycastExit ( )
virtual

◆ OnRaycastHit()

virtual void CellexalVR.Interaction.CellexalRaycastable.OnRaycastHit ( RaycastHit  hitInfo,
CellexalRaycast  raycaster 
)
virtual

Called by CellexalRaycast.Update every frame that a raycast hit this target.

Parameters
hitInfoThe RaycastHit from the Physics.Raycast call.
raycasterThe CellexalRaycast that made the Physics.Raycast call.

Reimplemented in CellexalVR.AnalysisObjects.GeneExpressionHistogram, CellexalVR.Interaction.ClickablePanel, CellexalVR.Interaction.HeatmapRaycast, CellexalVR.Menu.Buttons.ColorPicker.ColorPickerPopout, CellexalVR.Interaction.LegendRaycaster, and CellexalVR.Interaction.PresetClickablePanelRaycaster.


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