CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
Abstract class that all panels around the keyboard should inherit. More...
Public Member Functions | |
virtual void | SetMaterials (Material keyNormalMaterial, Material keyHighlightMaterial, Material keyPressedMaterial, Vector4 scaleCorrection) |
Sets this panel's materials. More... | |
virtual void | Click () |
Called when the user points the controller towards this panel and presses the trigger. More... | |
override void | OnRaycastEnter () |
Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast. More... | |
override void | OnRaycastExit () |
Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore. More... | |
override void | OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster) |
Called by CellexalRaycast.Update every frame that a raycast hit this target. More... | |
virtual void | SetHighlighted (bool highlight) |
Sets this panel to highlighted or not highlighted. More... | |
virtual void | SetPressed (bool pressed) |
Sets this panel to pressed or not pressed. More... | |
Public Attributes | |
ReferenceManager | referenceManager |
KeyboardHandler | handler |
Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable | |
UnityEvent | OnActivate |
UnityEvent | RaycastEnter |
UnityEvent | RaycastExit |
bool | canBePushedAndPulled = true |
bool | active = true |
Protected Member Functions | |
virtual void | Start () |
virtual void | OnEnable () |
virtual void | OnDisable () |
Protected Attributes | |
new Renderer | renderer |
Material | keyNormalMaterial |
Material | keyHighlightMaterial |
Material | keyPressedMaterial |
Static Protected Attributes | |
static Vector4 | PulseAndLaserCoords |
Properties | |
Vector2 | CenterUV [get, set] |
Abstract class that all panels around the keyboard should inherit.
|
virtual |
Called when the user points the controller towards this panel and presses the trigger.
Reimplemented in CellexalVR.Interaction.ClickableHistoryPanel, CellexalVR.Interaction.ClickableTextPanel, CellexalVR.Interaction.KeyboardPanel, CellexalVR.Interaction.ClickableReportPanel, CellexalVR.Interaction.CorrelatedGenesPanel, CellexalVR.Interaction.PreviousSearchesLock, CellexalVR.Interaction.PresetClickableTextPanel, CellexalVR.Interaction.ColoringOptionsPanel, CellexalVR.Interaction.ClearExpressionColoursPanel, CellexalVR.Interaction.ExportAnnotationPanel, CellexalVR.Interaction.ClearAnnotationsPanel, and CellexalVR.Interaction.AnnotatePanel.
|
virtual |
Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast.
Reimplemented from CellexalVR.Interaction.CellexalRaycastable.
|
virtual |
Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore.
Reimplemented from CellexalVR.Interaction.CellexalRaycastable.
|
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 from CellexalVR.Interaction.CellexalRaycastable.
|
virtual |
Sets this panel to highlighted or not highlighted.
highlight | True for highlighted, false for not highlighted. |
|
virtual |
Sets this panel's materials.
keyNormalMaterial | The normal material. |
keyHighlightMaterial | The material that should be used when the laser pointer is pointed at the button. |
keyPressedMaterial | The material that should be used when the panel is pressed. |
Reimplemented in CellexalVR.Interaction.PreviousSearchesLock.
|
virtual |
Sets this panel to pressed or not pressed.
pressed | True for pressed, false for not pressed. |