Obtain certain Vizard initialization states
| <viz>.get( | |
| what | # State to retrieve |
)
what
Specifies what to get:
Initial States |
|
viz.HMD |
Initialization state of the HMD mode; returns 0 or 1. |
viz.STEREO |
Initialization state of the STEREO mode; returns 0 or 1. |
viz.TRACKER |
Initialization state of the TRACKER mode; returns 0 or 1. |
viz.OPTION1 |
Initialization state of the OPTION1 check box; returns 0 or 1. |
viz.OPTION2 |
Initialization state of the OPTION2 check box; returns 0 or 1. |
viz.INITMESG |
Initialization user text input; returns contents of the message box in the form of a single string. |
Use this command to learn about how the user started the executing script when combined with the viz.go(viz.PROMPT) option box.
Depends on the passed argument.
viz.PROMPT in <viz>.go