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

Represents the locks next to the previous searches. Pressing one of the locks makes the gene name next to it not move when a new gene is searched for. More...

Inheritance diagram for CellexalVR.Interaction.PreviousSearchesLock:
CellexalVR.Interaction.ClickablePanel CellexalVR.Interaction.CellexalRaycastable

Public Member Functions

override void Click ()
 Called when the user points the controller towards this panel and presses the trigger. More...
 
override void SetMaterials (Material keyNormalMaterial, Material keyHighlightMaterial, Material keyPressedMaterial, Vector4 scaleCorrection)
 Do not use. Use SetMaterials(Material, Material, Material, Material, Material, Material) More...
 
void SetMaterials (Material unlockedNormalMaterial, Material unlockedHighlightMaterial, Material unlockedPressedMaterial, Material lockedNormalMaterial, Material lockedHighlightMaterial, Material lockedPressedMaterial, Vector4 scaleCorrection)
 Set the materials used by this lock. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.ClickablePanel
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

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

Properties

bool? Locked [get, set]
 
- Properties inherited from CellexalVR.Interaction.ClickablePanel
Vector2 CenterUV [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from CellexalVR.Interaction.ClickablePanel
virtual void Start ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 
- Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
new Renderer renderer
 
Material keyNormalMaterial
 
Material keyHighlightMaterial
 
Material keyPressedMaterial
 
- Static Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
static Vector4 PulseAndLaserCoords
 

Detailed Description

Represents the locks next to the previous searches. Pressing one of the locks makes the gene name next to it not move when a new gene is searched for.

Member Function Documentation

◆ Click()

override void CellexalVR.Interaction.PreviousSearchesLock.Click ( )
virtual

Called when the user points the controller towards this panel and presses the trigger.

Reimplemented from CellexalVR.Interaction.ClickablePanel.

◆ SetMaterials() [1/2]

override void CellexalVR.Interaction.PreviousSearchesLock.SetMaterials ( Material  keyNormalMaterial,
Material  keyHighlightMaterial,
Material  keyPressedMaterial,
Vector4  scaleCorrection 
)
virtual

Do not use. Use SetMaterials(Material, Material, Material, Material, Material, Material)

Reimplemented from CellexalVR.Interaction.ClickablePanel.

◆ SetMaterials() [2/2]

void CellexalVR.Interaction.PreviousSearchesLock.SetMaterials ( Material  unlockedNormalMaterial,
Material  unlockedHighlightMaterial,
Material  unlockedPressedMaterial,
Material  lockedNormalMaterial,
Material  lockedHighlightMaterial,
Material  lockedPressedMaterial,
Vector4  scaleCorrection 
)

Set the materials used by this lock.


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