Rubber Hand VR  V1.0
Toolkit for developing VR neuroplasticity experiments relying on the leap motion hand tracker
HandVR.ModificationExamples.HandSlider Class Reference

Example of a hand modification - displaces the given hand to the value in displacement. If usePostProcess is checked, actual functionality is in DisplacementPostProcess. Otherwise, functionality is in HandModifierManager. Both illustrate different ways to achieve similar effects. More...

Inheritance diagram for HandVR.ModificationExamples.HandSlider:
Collaboration diagram for HandVR.ModificationExamples.HandSlider:

Public Member Functions

IEnumerator StartEffect ()
 Begins the modification effect More...
 
IEnumerator Reset ()
 Resets the modification to its initial position More...
 

Properties

bool IsStarted [get]
 
bool IsFinished [get]
 
string Label [get]
 
float Value [get, set]
 
- Properties inherited from HandVR.IHand
bool IsStarted [get]
 Returns true if the modification has been started More...
 
bool IsFinished [get]
 Returns true if the modification is over More...
 
string Label [get]
 Label for the modification More...
 
float Value [get, set]
 Target value for the modification. ie. scale factor, etc More...
 

Detailed Description

Example of a hand modification - displaces the given hand to the value in displacement. If usePostProcess is checked, actual functionality is in DisplacementPostProcess. Otherwise, functionality is in HandModifierManager. Both illustrate different ways to achieve similar effects.

Definition at line 15 of file HandSlider.cs.

Member Function Documentation

◆ Reset()

IEnumerator HandVR.ModificationExamples.HandSlider.Reset ( )

Resets the modification to its initial position

Returns

Implements HandVR.IHand.

Definition at line 57 of file HandSlider.cs.

◆ StartEffect()

IEnumerator HandVR.ModificationExamples.HandSlider.StartEffect ( )

Begins the modification effect

Returns

Implements HandVR.IHand.

Definition at line 38 of file HandSlider.cs.

Property Documentation

◆ IsFinished

bool HandVR.ModificationExamples.HandSlider.IsFinished
get

Definition at line 19 of file HandSlider.cs.

◆ IsStarted

bool HandVR.ModificationExamples.HandSlider.IsStarted
get

Definition at line 18 of file HandSlider.cs.

◆ Label

string HandVR.ModificationExamples.HandSlider.Label
get

Definition at line 22 of file HandSlider.cs.

◆ Value

float HandVR.ModificationExamples.HandSlider.Value
getset

Definition at line 23 of file HandSlider.cs.


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