CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
Reperesents a target that can be raycasted against by CellexalRaycast. More...
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 |
Reperesents a target that can be raycasted against by CellexalRaycast.
|
virtual |
Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast.
Reimplemented in CellexalVR.AnalysisLogic.BoxPlot, CellexalVR.Interaction.ClickablePanel, CellexalVR.Menu.Buttons.CellexalButton, and CellexalVR.Menu.Buttons.TabButton.
|
virtual |
Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore.
Reimplemented in CellexalVR.Interaction.HeatmapRaycast, CellexalVR.AnalysisLogic.BoxPlot, CellexalVR.Interaction.ClickablePanel, CellexalVR.Menu.Buttons.CellexalButton, and CellexalVR.Menu.Buttons.TabButton.
|
virtual |
Called by CellexalRaycast.Update every frame that a raycast hit this target.
hitInfo | The RaycastHit from the Physics.Raycast call. |
raycaster | The 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.