Skip to main content

Table 3 Event logging and description

From: Psychometric assessment and behavioral experiments using a free virtual reality platform and computational science

Event keyword Parameters Description
CHANGE_SCENARIO Scene unique The first scenario is loaded or the current scenario is changed
QUIT, USER - The NeuroVR session is closed
PLAYER_MOVED Transformation matrix:
\( \left(\begin{array}{c}\hfill {r}_x\hfill \\ {}\hfill {f}_x\hfill \\ {}\hfill {u}_x\hfill \\ {}\hfill {p}_x\hfill \end{array}\begin{array}{c}\hfill {r}_y\hfill \\ {}\hfill {f}_y\hfill \\ {}\hfill {u}_y\hfill \\ {}\hfill {p}_y\hfill \end{array}\begin{array}{c}\hfill {r}_z\hfill \\ {}\hfill {f}_z\hfill \\ {}\hfill {u}_z\hfill \\ {}\hfill {p}_z\hfill \end{array}\begin{array}{c}\hfill 0\hfill \\ {}\hfill 0\hfill \\ {}\hfill 0\hfill \\ {}\hfill 1\hfill \end{array}\right) \)
The last row contains the position of the user in the scene: \( \left(\begin{array}{ccc}\hfill {p}_x\hfill & \hfill {p}_y\hfill & \hfill {p}_z\hfill \end{array}\right) \)
The second row contains the forward direction of the camera in the scene: \( \left(\begin{array}{ccc}\hfill {f}_x\hfill & \hfill {f}_y\hfill & \hfill {f}_z\hfill \end{array}\right) \)
JOYPAD_KEYPRESSED Button number Joypad button pressed event
MOUSE_OVER Object name OnMouseOver trigger
CLICK Object name OnClick trigger event
PROXIMITY Camera and object distance Proximity Trigger event
TIMER_ELAPSED Time in seconds Time Trigger event
KEYBOARD_KEYPRESSED Key code Function key Trigger event