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

General slider script that can be used to change a value that has a max and min value. One or more function(s) being called when the slider handle is grabbed and one or more when the handle is released; More...

Inheritance diagram for CellexalVR.Interaction.VRSlider:

Public Types

enum  SliderType {
  VelocityParticleSize, PDFCurvature, PDFRadius, PDFWidth,
  PDFHeight
}
 

Public Member Functions

void UpdateSliderValue ()
 The position of the handle goes from 0 - 100. This is used to determine the value which depends on the min and max set for the slider. More...
 
void UpdateSliderValue (float value)
 If slider value is to be updated from outside (e.g. multi user) then update handler first then value. More...
 

Properties

float Value [get, set]
 

Detailed Description

General slider script that can be used to change a value that has a max and min value. One or more function(s) being called when the slider handle is grabbed and one or more when the handle is released;

Member Function Documentation

◆ UpdateSliderValue() [1/2]

void CellexalVR.Interaction.VRSlider.UpdateSliderValue ( )

The position of the handle goes from 0 - 100. This is used to determine the value which depends on the min and max set for the slider.

◆ UpdateSliderValue() [2/2]

void CellexalVR.Interaction.VRSlider.UpdateSliderValue ( float  value)

If slider value is to be updated from outside (e.g. multi user) then update handler first then value.

Parameters
value

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