IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Classes | Static Public Member Functions | Public Attributes | Properties | List of all members
Valve.VR.OpenVR Class Reference

Static Public Member Functions

static uint InitInternal (ref EVRInitError peError, EVRApplicationType eApplicationType)
 
static void ShutdownInternal ()
 
static bool IsHmdPresent ()
 
static bool IsRuntimeInstalled ()
 
static string GetStringForHmdError (EVRInitError error)
 
static IntPtr GetGenericInterface (string pchInterfaceVersion, ref EVRInitError peError)
 
static bool IsInterfaceVersionValid (string pchInterfaceVersion)
 
static uint GetInitToken ()
 
static CVRSystem Init (ref EVRInitError peError, EVRApplicationType eApplicationType=EVRApplicationType.VRApplication_Scene)
 
static void Shutdown ()
 

Public Attributes

const uint k_nDriverNone = 4294967295
 
const uint k_unMaxDriverDebugResponseSize = 32768
 
const uint k_unTrackedDeviceIndex_Hmd = 0
 
const uint k_unMaxTrackedDeviceCount = 64
 
const uint k_unTrackedDeviceIndexOther = 4294967294
 
const uint k_unTrackedDeviceIndexInvalid = 4294967295
 
const ulong k_ulInvalidPropertyContainer = 0
 
const uint k_unInvalidPropertyTag = 0
 
const uint k_unFloatPropertyTag = 1
 
const uint k_unInt32PropertyTag = 2
 
const uint k_unUint64PropertyTag = 3
 
const uint k_unBoolPropertyTag = 4
 
const uint k_unStringPropertyTag = 5
 
const uint k_unHmdMatrix34PropertyTag = 20
 
const uint k_unHmdMatrix44PropertyTag = 21
 
const uint k_unHmdVector3PropertyTag = 22
 
const uint k_unHmdVector4PropertyTag = 23
 
const uint k_unHiddenAreaPropertyTag = 30
 
const uint k_unPathHandleInfoTag = 31
 
const uint k_unActionPropertyTag = 32
 
const uint k_unInputValuePropertyTag = 33
 
const uint k_unWildcardPropertyTag = 34
 
const uint k_unHapticVibrationPropertyTag = 35
 
const uint k_unOpenVRInternalReserved_Start = 1000
 
const uint k_unOpenVRInternalReserved_End = 10000
 
const uint k_unMaxPropertyStringSize = 32768
 
const uint k_unControllerStateAxisCount = 5
 
const ulong k_ulOverlayHandleInvalid = 0
 
const uint k_unScreenshotHandleInvalid = 0
 
const string IVRSystem_Version = "IVRSystem_019"
 
const string IVRExtendedDisplay_Version = "IVRExtendedDisplay_001"
 
const string IVRTrackedCamera_Version = "IVRTrackedCamera_003"
 
const uint k_unMaxApplicationKeyLength = 128
 
const string k_pch_MimeType_HomeApp = "vr/home"
 
const string k_pch_MimeType_GameTheater = "vr/game_theater"
 
const string IVRApplications_Version = "IVRApplications_006"
 
const string IVRChaperone_Version = "IVRChaperone_003"
 
const string IVRChaperoneSetup_Version = "IVRChaperoneSetup_005"
 
const string IVRCompositor_Version = "IVRCompositor_022"
 
const uint k_unVROverlayMaxKeyLength = 128
 
const uint k_unVROverlayMaxNameLength = 128
 
const uint k_unMaxOverlayCount = 64
 
const uint k_unMaxOverlayIntersectionMaskPrimitivesCount = 32
 
const string IVROverlay_Version = "IVROverlay_018"
 
const string k_pch_Controller_Component_GDC2015 = "gdc2015"
 
const string k_pch_Controller_Component_Base = "base"
 
const string k_pch_Controller_Component_Tip = "tip"
 
const string k_pch_Controller_Component_HandGrip = "handgrip"
 
const string k_pch_Controller_Component_Status = "status"
 
const string IVRRenderModels_Version = "IVRRenderModels_005"
 
const uint k_unNotificationTextMaxSize = 256
 
const string IVRNotifications_Version = "IVRNotifications_002"
 
const uint k_unMaxSettingsKeyLength = 128
 
const string IVRSettings_Version = "IVRSettings_002"
 
const string k_pch_SteamVR_Section = "steamvr"
 
const string k_pch_SteamVR_RequireHmd_String = "requireHmd"
 
const string k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver"
 
const string k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd"
 
const string k_pch_SteamVR_DisplayDebug_Bool = "displayDebug"
 
const string k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe"
 
const string k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX"
 
const string k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY"
 
const string k_pch_SteamVR_SendSystemButtonToAllApps_Bool = "sendSystemButtonToAllApps"
 
const string k_pch_SteamVR_LogLevel_Int32 = "loglevel"
 
const string k_pch_SteamVR_IPD_Float = "ipd"
 
const string k_pch_SteamVR_Background_String = "background"
 
const string k_pch_SteamVR_BackgroundUseDomeProjection_Bool = "backgroundUseDomeProjection"
 
const string k_pch_SteamVR_BackgroundCameraHeight_Float = "backgroundCameraHeight"
 
const string k_pch_SteamVR_BackgroundDomeRadius_Float = "backgroundDomeRadius"
 
const string k_pch_SteamVR_GridColor_String = "gridColor"
 
const string k_pch_SteamVR_PlayAreaColor_String = "playAreaColor"
 
const string k_pch_SteamVR_ShowStage_Bool = "showStage"
 
const string k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers"
 
const string k_pch_SteamVR_DirectMode_Bool = "directMode"
 
const string k_pch_SteamVR_DirectModeEdidVid_Int32 = "directModeEdidVid"
 
const string k_pch_SteamVR_DirectModeEdidPid_Int32 = "directModeEdidPid"
 
const string k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers"
 
const string k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees"
 
const string k_pch_SteamVR_BaseStationPowerManagement_Bool = "basestationPowerManagement"
 
const string k_pch_SteamVR_NeverKillProcesses_Bool = "neverKillProcesses"
 
const string k_pch_SteamVR_SupersampleScale_Float = "supersampleScale"
 
const string k_pch_SteamVR_AllowAsyncReprojection_Bool = "allowAsyncReprojection"
 
const string k_pch_SteamVR_AllowReprojection_Bool = "allowInterleavedReprojection"
 
const string k_pch_SteamVR_ForceReprojection_Bool = "forceReprojection"
 
const string k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking"
 
const string k_pch_SteamVR_DefaultMirrorView_Int32 = "defaultMirrorView"
 
const string k_pch_SteamVR_ShowMirrorView_Bool = "showMirrorView"
 
const string k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry"
 
const string k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch"
 
const string k_pch_SteamVR_StartCompositorFromAppLaunch_Bool = "startCompositorFromAppLaunch"
 
const string k_pch_SteamVR_StartDashboardFromAppLaunch_Bool = "startDashboardFromAppLaunch"
 
const string k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool = "startOverlayAppsFromDashboard"
 
const string k_pch_SteamVR_EnableHomeApp = "enableHomeApp"
 
const string k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBackgroundImageTimeSec"
 
const string k_pch_SteamVR_RetailDemo_Bool = "retailDemo"
 
const string k_pch_SteamVR_IpdOffset_Float = "ipdOffset"
 
const string k_pch_SteamVR_AllowSupersampleFiltering_Bool = "allowSupersampleFiltering"
 
const string k_pch_SteamVR_EnableLinuxVulkanAsync_Bool = "enableLinuxVulkanAsync"
 
const string k_pch_SteamVR_AllowDisplayLockedMode_Bool = "allowDisplayLockedMode"
 
const string k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool = "haveStartedTutorialForNativeChaperoneDriver"
 
const string k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor"
 
const string k_pch_Lighthouse_Section = "driver_lighthouse"
 
const string k_pch_Lighthouse_DisableIMU_Bool = "disableimu"
 
const string k_pch_Lighthouse_DisableIMUExceptHMD_Bool = "disableimuexcepthmd"
 
const string k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation"
 
const string k_pch_Lighthouse_DisambiguationDebug_Int32 = "disambiguationdebug"
 
const string k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestation"
 
const string k_pch_Lighthouse_DBHistory_Bool = "dbhistory"
 
const string k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth"
 
const string k_pch_Null_Section = "driver_null"
 
const string k_pch_Null_SerialNumber_String = "serialNumber"
 
const string k_pch_Null_ModelNumber_String = "modelNumber"
 
const string k_pch_Null_WindowX_Int32 = "windowX"
 
const string k_pch_Null_WindowY_Int32 = "windowY"
 
const string k_pch_Null_WindowWidth_Int32 = "windowWidth"
 
const string k_pch_Null_WindowHeight_Int32 = "windowHeight"
 
const string k_pch_Null_RenderWidth_Int32 = "renderWidth"
 
const string k_pch_Null_RenderHeight_Int32 = "renderHeight"
 
const string k_pch_Null_SecondsFromVsyncToPhotons_Float = "secondsFromVsyncToPhotons"
 
const string k_pch_Null_DisplayFrequency_Float = "displayFrequency"
 
const string k_pch_UserInterface_Section = "userinterface"
 
const string k_pch_UserInterface_StatusAlwaysOnTop_Bool = "StatusAlwaysOnTop"
 
const string k_pch_UserInterface_MinimizeToTray_Bool = "MinimizeToTray"
 
const string k_pch_UserInterface_Screenshots_Bool = "screenshots"
 
const string k_pch_UserInterface_ScreenshotType_Int = "screenshotType"
 
const string k_pch_Notifications_Section = "notifications"
 
const string k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb"
 
const string k_pch_Keyboard_Section = "keyboard"
 
const string k_pch_Keyboard_TutorialCompletions = "TutorialCompletions"
 
const string k_pch_Keyboard_ScaleX = "ScaleX"
 
const string k_pch_Keyboard_ScaleY = "ScaleY"
 
const string k_pch_Keyboard_OffsetLeftX = "OffsetLeftX"
 
const string k_pch_Keyboard_OffsetRightX = "OffsetRightX"
 
const string k_pch_Keyboard_OffsetY = "OffsetY"
 
const string k_pch_Keyboard_Smoothing = "Smoothing"
 
const string k_pch_Perf_Section = "perfcheck"
 
const string k_pch_Perf_HeuristicActive_Bool = "heuristicActive"
 
const string k_pch_Perf_NotifyInHMD_Bool = "warnInHMD"
 
const string k_pch_Perf_NotifyOnlyOnce_Bool = "warnOnlyOnce"
 
const string k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore"
 
const string k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit"
 
const string k_pch_Perf_TestData_Float = "perfTestData"
 
const string k_pch_Perf_LinuxGPUProfiling_Bool = "linuxGPUProfiling"
 
const string k_pch_CollisionBounds_Section = "collisionBounds"
 
const string k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle"
 
const string k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn"
 
const string k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn"
 
const string k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn"
 
const string k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance"
 
const string k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR"
 
const string k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG"
 
const string k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB"
 
const string k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA"
 
const string k_pch_Camera_Section = "camera"
 
const string k_pch_Camera_EnableCamera_Bool = "enableCamera"
 
const string k_pch_Camera_EnableCameraInDashboard_Bool = "enableCameraInDashboard"
 
const string k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds"
 
const string k_pch_Camera_EnableCameraForRoomView_Bool = "enableCameraForRoomView"
 
const string k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR"
 
const string k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG"
 
const string k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB"
 
const string k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA"
 
const string k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength"
 
const string k_pch_audio_Section = "audio"
 
const string k_pch_audio_OnPlaybackDevice_String = "onPlaybackDevice"
 
const string k_pch_audio_OnRecordDevice_String = "onRecordDevice"
 
const string k_pch_audio_OnPlaybackMirrorDevice_String = "onPlaybackMirrorDevice"
 
const string k_pch_audio_OffPlaybackDevice_String = "offPlaybackDevice"
 
const string k_pch_audio_OffRecordDevice_String = "offRecordDevice"
 
const string k_pch_audio_VIVEHDMIGain = "viveHDMIGain"
 
const string k_pch_Power_Section = "power"
 
const string k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit"
 
const string k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout"
 
const string k_pch_Power_TurnOffControllersTimeout_Float = "turnOffControllersTimeout"
 
const string k_pch_Power_ReturnToWatchdogTimeout_Float = "returnToWatchdogTimeout"
 
const string k_pch_Power_AutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress"
 
const string k_pch_Power_PauseCompositorOnStandby_Bool = "pauseCompositorOnStandby"
 
const string k_pch_Dashboard_Section = "dashboard"
 
const string k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard"
 
const string k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode"
 
const string k_pch_modelskin_Section = "modelskins"
 
const string k_pch_Driver_Enable_Bool = "enable"
 
const string IVRScreenshots_Version = "IVRScreenshots_001"
 
const string IVRResources_Version = "IVRResources_001"
 
const string IVRDriverManager_Version = "IVRDriverManager_001"
 

Properties

static CVRSystem System [get]
 
static CVRChaperone Chaperone [get]
 
static CVRChaperoneSetup ChaperoneSetup [get]
 
static CVRCompositor Compositor [get]
 
static CVROverlay Overlay [get]
 
static CVRRenderModels RenderModels [get]
 
static CVRExtendedDisplay ExtendedDisplay [get]
 
static CVRSettings Settings [get]
 
static CVRApplications Applications [get]
 
static CVRScreenshots Screenshots [get]
 
static CVRTrackedCamera TrackedCamera [get]
 

Detailed Description

Definition at line 4733 of file openvr_api.cs.

Member Function Documentation

static CVRSystem Valve.VR.OpenVR.Init ( ref EVRInitError  peError,
EVRApplicationType  eApplicationType = EVRApplicationType.VRApplication_Scene 
)
inlinestatic

Finds the active installation of vrclient.dll and initializes it

Definition at line 5174 of file openvr_api.cs.

static void Valve.VR.OpenVR.Shutdown ( )
inlinestatic

unloads vrclient.dll. Any interface pointers from the interface are invalid after this point

Definition at line 5195 of file openvr_api.cs.


The documentation for this class was generated from the following file: