![]() |
Neuro-VISOR
0.2.0
Visualize and interact with computational simulations using a virtual reality interface
|
Stores many global variables, handles pregame initializations More...
Inherits MonoBehaviour.
Public Member Functions | |
| void | DebugLogSafe (string s) |
| Allows other threads to submit messages to be printed at the start of the next frame More... | |
| void | DebugLogThreadSafe< T > (T t) |
| void | DebugLogErrorSafe (string s) |
| Allows other threads to submit messages to be printed at the start of the next frame More... | |
| void | DebugLogErrorThreadSafe< T > (T t) |
Public Attributes | |
| VRDeviceManager | vrDeviceManager = null |
| GameObject | cellPreviewer = null |
| Interactable | activeSim = null |
| NeuronClampManager | ndClampManager = null |
| NDGraphManager | ndGraphManager = null |
| int | roomSelected = 0 |
| Room[] | roomOptions = null |
| Color | wallColor = Color.white |
| Material | defaultMaterial = null |
| Material | vertexColorationMaterial = null |
| Material | lineRendMaterial = null |
| Transform | whiteboard = null |
| Vector3 | objScaleDefault = new Vector3(2f, 2f, 2f) |
| Vector3 | objScaleMax = new Vector3(4f, 4f, 4f) |
| Vector3 | objScaleMin = new Vector3(0.3f, 0.3f, 0.3f) |
| GameObject | ovrRightHandAnchor = null |
| GameObject | ovrLeftHandAnchor = null |
| Utils.DebugUtils.FPSCounter | fpsCounter |
Static Public Attributes | |
| static GameManager | instance = null |
Properties | |
| int | mainThreadId = -1 [get, private set] |
| bool | VRActive [get] |
| OVRPlayerController | ovrPlayerController = null [get, set] |
| GameObject | nonVRCamera = null [get, set] |
Private Member Functions | |
| void | Awake () |
| void | Update () |
| void | OnApplicationQuit () |
| void | OnApplicationPause (bool pause) |
Private Attributes | |
| bool | isRunning = false |
| List< string > | logQ = new List<string>() |
| readonly int | logQCap = 100 |
| List< string > | eLogQ = new List<string>() |
| readonly int | eLogQCap = 100 |
Stores many global variables, handles pregame initializations
|
private |
| void C2M2.GameManager.DebugLogErrorSafe | ( | string | s | ) |
Allows other threads to submit messages to be printed at the start of the next frame
Making any Unity API call from another thread is not safe. This method is a quick hack to avoid making a Unity API call from another thread.
| void C2M2.GameManager.DebugLogErrorThreadSafe< T > | ( | T | t | ) |
| void C2M2.GameManager.DebugLogSafe | ( | string | s | ) |
Allows other threads to submit messages to be printed at the start of the next frame
Making any Unity API call from another thread is not safe. This method is a quick hack to avoid mkaing a Unity API call from another thread.
| void C2M2.GameManager.DebugLogThreadSafe< T > | ( | T | t | ) |
|
private |
|
private |
|
private |
| Interactable C2M2.GameManager.activeSim = null |
| GameObject C2M2.GameManager.cellPreviewer = null |
| Material C2M2.GameManager.defaultMaterial = null |
|
private |
|
private |
| Utils.DebugUtils.FPSCounter C2M2.GameManager.fpsCounter |
|
static |
|
private |
| Material C2M2.GameManager.lineRendMaterial = null |
|
private |
|
private |
| NeuronClampManager C2M2.GameManager.ndClampManager = null |
| NDGraphManager C2M2.GameManager.ndGraphManager = null |
| Vector3 C2M2.GameManager.objScaleDefault = new Vector3(2f, 2f, 2f) |
| Vector3 C2M2.GameManager.objScaleMax = new Vector3(4f, 4f, 4f) |
| Vector3 C2M2.GameManager.objScaleMin = new Vector3(0.3f, 0.3f, 0.3f) |
| GameObject C2M2.GameManager.ovrLeftHandAnchor = null |
| GameObject C2M2.GameManager.ovrRightHandAnchor = null |
| Room [] C2M2.GameManager.roomOptions = null |
| int C2M2.GameManager.roomSelected = 0 |
| Material C2M2.GameManager.vertexColorationMaterial = null |
| VRDeviceManager C2M2.GameManager.vrDeviceManager = null |
| Color C2M2.GameManager.wallColor = Color.white |
| Transform C2M2.GameManager.whiteboard = null |
|
getprivate set |
|
getset |
|
getset |
|
get |