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

Responds to raycasting from a CellexalRaycast onto a group of PresetClickableTextPanel. Used for creating demo scenes. More...

Inheritance diagram for CellexalVR.Interaction.PresetClickablePanelRaycaster:
CellexalVR.Interaction.CellexalRaycastable

Public Member Functions

override void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.CellexalRaycastable
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

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

Detailed Description

Responds to raycasting from a CellexalRaycast onto a group of PresetClickableTextPanel. Used for creating demo scenes.

Member Function Documentation

◆ OnRaycastHit()

override void CellexalVR.Interaction.PresetClickablePanelRaycaster.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 from CellexalVR.Interaction.CellexalRaycastable.


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