Class SliderEventData
Inheritance
SliderEventData
Assembly: cs.temp.dll.dll
public class SliderEventData
Constructors
Declaration
public SliderEventData(float o, float n, IMixedRealityPointer pointer, PinchSlider slider)
Parameters
Properties
The current value of the slider
Declaration
public float NewValue { get; }
Property Value
The previous value of the slider
Declaration
public float OldValue { get; }
Property Value
The currently active pointer manipulating / hovering the slider,
or null if no pointer is manipulating the slider.
Note: OnSliderUpdated is called with .Pointer == null
OnStart, so always check if this field is null before using!
Declaration
public IMixedRealityPointer Pointer { get; set; }
Property Value
Type |
Description |
IMixedRealityPointer |
|
The slider that triggered this event
Declaration
public PinchSlider Slider { get; }
Property Value