![]() |
Rubber Hand VR
V1.0
Toolkit for developing VR neuroplasticity experiments relying on the leap motion hand tracker
|
Example setup for a test object - Creates a variety of colored blocks which the user must then sort into various matching receptacles More...
Public Member Functions | |
void | SetNumTests (int numTests) |
Sets how many trials the user must perform - Use set minutes instead More... | |
void | SetNumMinutes (float numMins) |
Sets how long the test lasts for. Once numMins have elapsed, no more trials will be started More... | |
IEnumerator | StartTest () |
Begins a test. Trials will continue to be created until numMins has elapsed More... | |
void | StopTest () |
Ends test early More... | |
IEnumerator | Trial () |
Single instance of a trial - spawns in a set number of blocks, which users must then sort into matching receptacles. Trial ends when no active blocks are left in the scene More... | |
Properties | |
IList< ITestData > | Results [get] |
Returns array of all output results More... | |
bool | IsRunning = false [get] |
True if test is in progress More... | |
![]() | |
IList< ITestData > | Results [get] |
Returns results of test More... | |
bool | IsRunning [get] |
Returns true if the test is in progress More... | |
Example setup for a test object - Creates a variety of colored blocks which the user must then sort into various matching receptacles
Definition at line 13 of file BlockGameManager.cs.
void HandVR.BlockGame.BlockGameManager.SetNumMinutes | ( | float | numMins | ) |
Sets how long the test lasts for. Once numMins have elapsed, no more trials will be started
numMins |
Implements HandVR.ITest.
Definition at line 64 of file BlockGameManager.cs.
void HandVR.BlockGame.BlockGameManager.SetNumTests | ( | int | numTests | ) |
Sets how many trials the user must perform - Use set minutes instead
numTests |
Implements HandVR.ITest.
Definition at line 55 of file BlockGameManager.cs.
IEnumerator HandVR.BlockGame.BlockGameManager.StartTest | ( | ) |
Begins a test. Trials will continue to be created until numMins has elapsed
Implements HandVR.ITest.
Definition at line 73 of file BlockGameManager.cs.
void HandVR.BlockGame.BlockGameManager.StopTest | ( | ) |
IEnumerator HandVR.BlockGame.BlockGameManager.Trial | ( | ) |
Single instance of a trial - spawns in a set number of blocks, which users must then sort into matching receptacles. Trial ends when no active blocks are left in the scene
Definition at line 113 of file BlockGameManager.cs.
|
get |
True if test is in progress
Definition at line 25 of file BlockGameManager.cs.
|
get |
Returns array of all output results
Definition at line 20 of file BlockGameManager.cs.