Manages connection to OpenVR and dispatches new poses and events. You should only have one of these in a scene. More...


Public Types | |
| enum | UpdateMode { FixedUpdate , Update , LateUpdate , OnPreCull } |
Public Member Functions | |
| Dictionary< string, string > | GetSteamVrTrackerBindings () |
| bool | ReadBindingsFromJson (string json) |
| bool | ConvertBindingsToJson (out string json) |
| string | GetStringProperty (ETrackedDeviceProperty prop, uint deviceId) |
Static Public Member Functions | |
| static bool | InitializeTemporarySession () |
| static void | ExitTemporarySession () |
Public Attributes | |
| ETrackingUniverseOrigin | trackingUniverse = ETrackingUniverseOrigin.TrackingUniverseStanding |
| float | displayFrequency = 0f |
| bool | usePosePrediction = true |
| bool | doUpdatePosesBeforeRendering = true |
| float | vsyncToPhotonsSeconds = 0.03f |
| bool | useSteamVrTrackerRoles = true |
Properties | |
| bool[] | ConnectedDeviceIndices = new bool[OpenVR.k_unMaxTrackedDeviceCount] [get] |
| Dictionary< string, string > | Bindings = new Dictionary<string, string>() [get, set] |
| Dictionary< string, string > | SteamVrTrackerBindings = new Dictionary<string, string>() [get] |
Manages connection to OpenVR and dispatches new poses and events. You should only have one of these in a scene.
Definition at line 18 of file Vive_Manager.cs.
| Enumerator | |
|---|---|
| FixedUpdate | |
| Update | |
| LateUpdate | |
| OnPreCull | |
Definition at line 20 of file Vive_Manager.cs.
|
inline |
Definition at line 96 of file Vive_Manager.cs.
|
inlinestatic |
Definition at line 381 of file Vive_Manager.cs.
|
inline |
Definition at line 47 of file Vive_Manager.cs.
|
inline |
Definition at line 110 of file Vive_Manager.cs.
|
inlinestatic |
Definition at line 350 of file Vive_Manager.cs.
|
inline |
Definition at line 82 of file Vive_Manager.cs.
| float Spelunx.Vive.Vive_Manager.displayFrequency = 0f |
Definition at line 29 of file Vive_Manager.cs.
| bool Spelunx.Vive.Vive_Manager.doUpdatePosesBeforeRendering = true |
Definition at line 31 of file Vive_Manager.cs.
| ETrackingUniverseOrigin Spelunx.Vive.Vive_Manager.trackingUniverse = ETrackingUniverseOrigin.TrackingUniverseStanding |
Definition at line 28 of file Vive_Manager.cs.
| bool Spelunx.Vive.Vive_Manager.usePosePrediction = true |
Definition at line 30 of file Vive_Manager.cs.
| bool Spelunx.Vive.Vive_Manager.useSteamVrTrackerRoles = true |
Definition at line 33 of file Vive_Manager.cs.
| float Spelunx.Vive.Vive_Manager.vsyncToPhotonsSeconds = 0.03f |
Definition at line 32 of file Vive_Manager.cs.
|
getset |
Definition at line 36 of file Vive_Manager.cs.
|
get |
Definition at line 35 of file Vive_Manager.cs.
|
get |
Definition at line 37 of file Vive_Manager.cs.