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

Example of a hand modification - scales the given hand to the value in scaleFactor. All actual scaling functionality is in HandModifierManager More...

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

Public Member Functions

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

Properties

bool IsStarted [get]
 
string Label [get]
 
float Value [get, set]
 
bool IsFinished [get]
 
- 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 - scales the given hand to the value in scaleFactor. All actual scaling functionality is in HandModifierManager

Definition at line 14 of file HandScaler.cs.

Member Function Documentation

◆ Reset()

IEnumerator HandVR.ModificationExamples.HandScaler.Reset ( )

Resets the modification to its initial position

Returns

Implements HandVR.IHand.

Definition at line 41 of file HandScaler.cs.

◆ StartEffect()

IEnumerator HandVR.ModificationExamples.HandScaler.StartEffect ( )

Begins the modification effect

Returns

Implements HandVR.IHand.

Definition at line 31 of file HandScaler.cs.

Property Documentation

◆ IsFinished

bool HandVR.ModificationExamples.HandScaler.IsFinished
get

Definition at line 24 of file HandScaler.cs.

◆ IsStarted

bool HandVR.ModificationExamples.HandScaler.IsStarted
get

Definition at line 18 of file HandScaler.cs.

◆ Label

string HandVR.ModificationExamples.HandScaler.Label
get

Definition at line 21 of file HandScaler.cs.

◆ Value

float HandVR.ModificationExamples.HandScaler.Value
getset

Definition at line 22 of file HandScaler.cs.


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