![]() | Slider Class |
Namespace: ImmerseSDK.Interaction
public class Slider : EngageableObject
The Slider type exposes the following members.
Name | Description | |
---|---|---|
![]() | CurrentValue |
Current Value of the slider
|
![]() | Sensitivity |
Sensitivity of movement that is applied (acts like a dampener).
Note this is applied to both angular movement and positional movement.
(Overrides EngageableObjectSensitivity.) |
Name | Description | |
---|---|---|
![]() | Awake | (Overrides EngageableObjectAwake.) |
![]() | FixedUpdate |
Unity Component Method
(Overrides EngageableObjectFixedUpdate.) |
![]() | LateUpdate |
Unity Component Method
(Overrides EngageableObjectLateUpdate.) |
![]() | RestrictMovement |
Override this to restrict movement direction in some way. Default behavior is to return the direction unmodified.
(Overrides EngageableObjectRestrictMovement(Vector3).) |
![]() | RestrictPosition |
Override this to restrict an object's position in some way. Default behavior is to return the target position unmodified.
(Overrides EngageableObjectRestrictPosition(Vector3).) |
![]() | SetValue |
Sets the current slider value along the movement axis
|
![]() | Start | |
![]() | Update |
Unity Component Method
(Overrides EngageableObjectUpdate.) |
Name | Description | |
---|---|---|
![]() | OnValueChanged |
Fired when the value changes. Value is (0..1)
|
Name | Description | |
---|---|---|
![]() | _invertDirection |
Default direction is from min to max. If the slider's value should be inverted, set this flag
|
![]() | _max |
Maximum value for the movement axis
|
![]() | _min |
Minimum value for the movement axis
|
![]() | _movementAxis |
The axis along which the slider moves
|
![]() | _sensitivity |
Sensitivity of movement that is applied (acts like a dampener).
Note this is applied to both angular movement and positional movement.
|
Name | Description | |
---|---|---|
![]() | GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) |
![]() | WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |