Configuration data for Oculus virtual reality. More...

Inheritance diagram for OVRManager:
OVRMixedRealityCaptureConfiguration

Public Types

enum  XrApi { XrApi.Unknown = OVRPlugin.XrApi.Unknown, XrApi.CAPI = OVRPlugin.XrApi.CAPI, XrApi.VRAPI = OVRPlugin.XrApi.VRAPI, XrApi.OpenXR = OVRPlugin.XrApi.OpenXR }
 
enum  TrackingOrigin { TrackingOrigin.EyeLevel = OVRPlugin.TrackingOrigin.EyeLevel, TrackingOrigin.FloorLevel = OVRPlugin.TrackingOrigin.FloorLevel, TrackingOrigin.Stage = OVRPlugin.TrackingOrigin.Stage }
 
enum  EyeTextureFormat { EyeTextureFormat.Default = OVRPlugin.EyeTextureFormat.Default, EyeTextureFormat.R16G16B16A16_FP = OVRPlugin.EyeTextureFormat.R16G16B16A16_FP, EyeTextureFormat.R11G11B10_FP = OVRPlugin.EyeTextureFormat.R11G11B10_FP }
 
enum  FixedFoveatedRenderingLevel {
  FixedFoveatedRenderingLevel.Off = OVRPlugin.FixedFoveatedRenderingLevel.Off, FixedFoveatedRenderingLevel.Low = OVRPlugin.FixedFoveatedRenderingLevel.Low, FixedFoveatedRenderingLevel.Medium = OVRPlugin.FixedFoveatedRenderingLevel.Medium, FixedFoveatedRenderingLevel.High = OVRPlugin.FixedFoveatedRenderingLevel.High,
  FixedFoveatedRenderingLevel.HighTop = OVRPlugin.FixedFoveatedRenderingLevel.HighTop
}
 
enum  TiledMultiResLevel {
  TiledMultiResLevel.Off = OVRPlugin.TiledMultiResLevel.Off, TiledMultiResLevel.LMSLow = OVRPlugin.TiledMultiResLevel.LMSLow, TiledMultiResLevel.LMSMedium = OVRPlugin.TiledMultiResLevel.LMSMedium, TiledMultiResLevel.LMSHigh = OVRPlugin.TiledMultiResLevel.LMSHigh,
  TiledMultiResLevel.LMSHighTop = OVRPlugin.TiledMultiResLevel.LMSHighTop
}
 
enum  SystemHeadsetType {
  SystemHeadsetType.None = OVRPlugin.SystemHeadset.None, SystemHeadsetType.Oculus_Quest = OVRPlugin.SystemHeadset.Oculus_Quest, SystemHeadsetType.Oculus_Quest_2 = OVRPlugin.SystemHeadset.Oculus_Quest_2, SystemHeadsetType.Placeholder_10 = OVRPlugin.SystemHeadset.Placeholder_10,
  SystemHeadsetType.Placeholder_11 = OVRPlugin.SystemHeadset.Placeholder_11, SystemHeadsetType.Placeholder_12 = OVRPlugin.SystemHeadset.Placeholder_12, SystemHeadsetType.Placeholder_13 = OVRPlugin.SystemHeadset.Placeholder_13, SystemHeadsetType.Placeholder_14 = OVRPlugin.SystemHeadset.Placeholder_14,
  SystemHeadsetType.Rift_DK1 = OVRPlugin.SystemHeadset.Rift_DK1, SystemHeadsetType.Rift_DK2 = OVRPlugin.SystemHeadset.Rift_DK2, SystemHeadsetType.Rift_CV1 = OVRPlugin.SystemHeadset.Rift_CV1, SystemHeadsetType.Rift_CB = OVRPlugin.SystemHeadset.Rift_CB,
  SystemHeadsetType.Rift_S = OVRPlugin.SystemHeadset.Rift_S, SystemHeadsetType.Oculus_Link_Quest = OVRPlugin.SystemHeadset.Oculus_Link_Quest, SystemHeadsetType.Oculus_Link_Quest_2 = OVRPlugin.SystemHeadset.Oculus_Link_Quest_2, SystemHeadsetType.PC_Placeholder_4103 = OVRPlugin.SystemHeadset.PC_Placeholder_4103,
  SystemHeadsetType.PC_Placeholder_4104 = OVRPlugin.SystemHeadset.PC_Placeholder_4104, SystemHeadsetType.PC_Placeholder_4105 = OVRPlugin.SystemHeadset.PC_Placeholder_4105, SystemHeadsetType.PC_Placeholder_4106 = OVRPlugin.SystemHeadset.PC_Placeholder_4106, SystemHeadsetType.PC_Placeholder_4107 = OVRPlugin.SystemHeadset.PC_Placeholder_4107
}
 
enum  XRDevice { XRDevice.Unknown = 0, XRDevice.Oculus = 1, XRDevice.OpenVR = 2 }
 
enum  ColorSpace {
  ColorSpace.Unknown = OVRPlugin.ColorSpace.Unknown, ColorSpace.Unmanaged = OVRPlugin.ColorSpace.Unmanaged, ColorSpace.Rec_2020 = OVRPlugin.ColorSpace.Rec_2020, ColorSpace.Rec_709 = OVRPlugin.ColorSpace.Rec_709,
  ColorSpace.Rift_CV1 = OVRPlugin.ColorSpace.Rift_CV1, ColorSpace.Rift_S = OVRPlugin.ColorSpace.Rift_S, ColorSpace.Quest = OVRPlugin.ColorSpace.Quest, ColorSpace.P3 = OVRPlugin.ColorSpace.P3,
  ColorSpace.Adobe_RGB = OVRPlugin.ColorSpace.Adobe_RGB
}
 

Public Member Functions

void ReturnToLauncher ()
 Leaves the application/game and returns to the launcher/dashboard More...
 

Static Public Member Functions

static bool IsAdaptiveResSupportedByEngine ()
 Adaptive Resolution is based on Unity engine's renderViewportScale/eyeTextureResolutionScale feature But renderViewportScale was broken in an array of Unity engines, this function help to filter out those broken engines More...
 
static void SetColorScaleAndOffset (Vector4 colorScale, Vector4 colorOffset, bool applyToAllLayers)
 Sets the Color Scale and Offset which is commonly used for effects like fade-to-black. In our compositor, once a given frame is rendered, warped, and ready to be displayed, we then multiply each pixel by colorScale and add it to colorOffset, whereby newPixel = oldPixel * colorScale + colorOffset. Note that for mobile devices (Quest, etc.), colorOffset is only supported with OpenXR, so colorScale is all that can be used. A colorScale of (1, 1, 1, 1) and colorOffset of (0, 0, 0, 0) will lead to an identity multiplication and have no effect. More...
 
static void SetOpenVRLocalPose (Vector3 leftPos, Vector3 rightPos, Quaternion leftRot, Quaternion rightRot)
 Specifies OpenVR pose local to tracking space More...
 
static OVRPose GetOpenVRControllerOffset (Node hand)
 Specifies the pose offset required to make an OpenVR controller's reported pose match the virtual pose. Currently we only specify this offset for Oculus Touch on OpenVR. More...
 
static bool IsUnityAlphaOrBetaVersion ()
 
static void PlatformUIConfirmQuit ()
 
static bool IsInsightPassthroughInitialized ()
 
static bool HasInsightPassthroughInitFailed ()
 

Public Attributes

bool useRecommendedMSAALevel = true
 If true, Unity will use the optimal antialiasing level for quality/performance on the current hardware. More...
 
float minRenderScale = 0.7f
 Min RenderScale the app can reach under adaptive resolution mode ( enableAdaptiveResolution = true ); More...
 
float maxRenderScale = 1.0f
 Max RenderScale the app can reach under adaptive resolution mode ( enableAdaptiveResolution = true ); More...
 
int profilerTcpPort = OVRSystemPerfMetrics.TcpListeningPort
 The TCP listening port of Oculus Profiler Service, which will be activated in Debug/Developerment builds When the app is running on editor or device, open "Tools/Oculus/Oculus Profiler Panel" to view the realtime system metrics More...
 
bool isInsightPassthroughEnabled = false
 Specify if Insight Passthrough should be enabled. Passthrough layers can only be used if passthrough is enabled. More...
 
bool usePositionTracking = true
 If true, head tracking will affect the position of each OVRCameraRig's cameras. More...
 
bool useRotationTracking = true
 If true, head tracking will affect the rotation of each OVRCameraRig's cameras. More...
 
bool useIPDInPositionTracking = true
 If true, the distance between the user's eyes will affect the position of each OVRCameraRig's cameras. More...
 
bool resetTrackerOnLoad = false
 If true, each scene load will cause the head pose to reset. This function only works on Rift. More...
 
bool AllowRecenter = true
 If true, the Reset View in the universal menu will cause the pose to be reset. This should generally be enabled for applications with a stationary position in the virtual world and will allow the View Reset command to place the person back to a predefined location (such as a cockpit seat). Set this to false if you have a locomotion system because resetting the view would effectively teleport the player to potentially invalid locations. More...
 
bool LateControllerUpdate = true
 If true, a lower-latency update will occur right before rendering. If false, the only controller pose update will occur at the start of simulation for a given frame. Selecting this option lowers rendered latency for controllers and is often a net positive; however, it also creates a slight disconnect between rendered and simulated controller poses. Visit online Oculus documentation to learn more. More...
 

Static Public Attributes

static string OCULUS_UNITY_NAME_STR = "Oculus"
 
static string OPENVR_UNITY_NAME_STR = "OpenVR"
 
static XRDevice loadedXRDevice
 
static string UnityAlphaOrBetaVersionWarningMessage = "WARNING: It's not recommended to use Unity alpha/beta release in Oculus development. Use a stable release if you encounter any issue."
 
static bool OVRManagerinitialized = false
 

Properties

static OVRManager instance [get]
 Gets the singleton instance. More...
 
static OVRDisplay display [get]
 Gets a reference to the active display. More...
 
static OVRTracker tracker [get]
 Gets a reference to the active sensor. More...
 
static OVRBoundary boundary [get]
 Gets a reference to the active boundary system. More...
 
static OVRProfile profile [get]
 Gets the current profile, which contains information about the user's settings and body dimensions. More...
 
static bool isHmdPresent [get]
 If true, a head-mounted display is connected and present. More...
 
static string audioOutId [get]
 Gets the audio output device identifier. More...
 
static string audioInId [get]
 Gets the audio input device identifier. More...
 
static bool hasVrFocus [get]
 If true, the app has VR Focus. More...
 
static bool hasInputFocus [get]
 If true, the app has Input Focus. More...
 
bool chromatic [get, set]
 If true, chromatic de-aberration will be applied, improving the image at the cost of texture bandwidth. More...
 
bool monoscopic [get, set]
 
OVRManager.ColorSpace colorGamut [get, set]
 The target color gamut the HMD will perform a color space transformation to More...
 
OVRManager.ColorSpace nativeColorGamut [get]
 The native color gamut of the target HMD More...
 
Vector3 headPoseRelativeOffsetRotation [get, set]
 
Vector3 headPoseRelativeOffsetTranslation [get, set]
 
XrApi xrApi [get]
 The native XR API being used More...
 
UInt64 xrInstance [get]
 The value of current XrInstance when using OpenXR More...
 
UInt64 xrSession [get]
 The value of current XrSession when using OpenXR More...
 
int vsyncCount [get, set]
 The number of expected display frames per rendered frame. More...
 
static float batteryLevel [get]
 Gets the current battery level (Deprecated). More...
 
static float batteryTemperature [get]
 Gets the current battery temperature (Deprecated). More...
 
static int batteryStatus [get]
 Gets the current battery status (Deprecated). More...
 
static float volumeLevel [get]
 Gets the current volume level (Deprecated). More...
 
static int cpuLevel [get, set]
 Gets or sets the current CPU performance level (0-2). Lower performance levels save more power. More...
 
static int gpuLevel [get, set]
 Gets or sets the current GPU performance level (0-2). Lower performance levels save more power. More...
 
static bool isPowerSavingActive [get]
 If true, the CPU and GPU are currently throttled to save power and/or reduce the temperature. More...
 
static EyeTextureFormat eyeTextureFormat [get, set]
 Gets or sets the eye texture format. More...
 
static bool fixedFoveatedRenderingSupported [get]
 Gets if tiled-based multi-resolution technique is supported This feature is only supported on QCOMM-based Android devices More...
 
static FixedFoveatedRenderingLevel fixedFoveatedRenderingLevel [get, set]
 Gets or sets the tiled-based multi-resolution level This feature is only supported on QCOMM-based Android devices More...
 
static bool useDynamicFixedFoveatedRendering [get, set]
 Let the system decide the best foveation level adaptively (Off .. fixedFoveatedRenderingLevel) This feature is only supported on QCOMM-based Android devices More...
 
static bool tiledMultiResSupported [get]
 
static TiledMultiResLevel tiledMultiResLevel [get, set]
 
static bool gpuUtilSupported [get]
 Gets if the GPU Utility is supported This feature is only supported on QCOMM-based Android devices More...
 
static float gpuUtilLevel [get]
 Gets the GPU Utilised Level (0.0 - 1.0) This feature is only supported on QCOMM-based Android devices More...
 
static SystemHeadsetType systemHeadsetType [get]
 Get the system headset type More...
 
OVRManager.TrackingOrigin trackingOriginType [get, set]
 Defines the current tracking origin type. More...
 
bool isSupportedPlatform [get]
 True if the current platform supports virtual reality. More...
 
bool isUserPresent [get]
 True if the user is currently wearing the display. More...
 
static System.Version utilitiesVersion [get]
 
static System.Version pluginVersion [get]
 
static System.Version sdkVersion [get]
 

Events

static Action HMDAcquired
 Occurs when an HMD attached. More...
 
static Action HMDLost
 Occurs when an HMD detached. More...
 
static Action HMDMounted
 Occurs when an HMD is put on the user's head. More...
 
static Action HMDUnmounted
 Occurs when an HMD is taken off the user's head. More...
 
static Action VrFocusAcquired
 Occurs when VR Focus is acquired. More...
 
static Action VrFocusLost
 Occurs when VR Focus is lost. More...
 
static Action InputFocusAcquired
 Occurs when Input Focus is acquired. More...
 
static Action InputFocusLost
 Occurs when Input Focus is lost. More...
 
static Action AudioOutChanged
 Occurs when the active Audio Out device has changed and a restart is needed. More...
 
static Action AudioInChanged
 Occurs when the active Audio In device has changed and a restart is needed. More...
 
static Action TrackingAcquired
 Occurs when the sensor gained tracking. More...
 
static Action TrackingLost
 Occurs when the sensor lost tracking. More...
 
static Action< float, float > DisplayRefreshRateChanged
 Occurs when the display refresh rate changes (float fromRefreshRate, float toRefreshRate) More...
 
static Action HSWDismissed
 Occurs when Health & Safety Warning is dismissed. More...
 

Detailed Description

Configuration data for Oculus virtual reality.

Member Enumeration Documentation

◆ ColorSpace

enum OVRManager.ColorSpace
strong
Enumerator
Unknown 
Unmanaged 
Rec_2020 
Rec_709 
Rift_CV1 
Rift_S 
Quest 
P3 
Adobe_RGB 

◆ EyeTextureFormat

Enumerator
Default 
R16G16B16A16_FP 
R11G11B10_FP 

◆ FixedFoveatedRenderingLevel

Enumerator
Off 
Low 
Medium 
High 
HighTop 

◆ SystemHeadsetType

Enumerator
None 
Oculus_Quest 
Oculus_Quest_2 
Placeholder_10 
Placeholder_11 
Placeholder_12 
Placeholder_13 
Placeholder_14 
Rift_DK1 
Rift_DK2 
Rift_CV1 
Rift_CB 
Rift_S 
Oculus_Link_Quest 
Oculus_Link_Quest_2 
PC_Placeholder_4103 
PC_Placeholder_4104 
PC_Placeholder_4105 
PC_Placeholder_4106 
PC_Placeholder_4107 

◆ TiledMultiResLevel

Enumerator
Off 
LMSLow 
LMSMedium 
LMSHigh 
LMSHighTop 

◆ TrackingOrigin

Enumerator
EyeLevel 
FloorLevel 
Stage 

◆ XrApi

enum OVRManager.XrApi
strong
Enumerator
Unknown 
CAPI 
VRAPI 
OpenXR 

◆ XRDevice

enum OVRManager.XRDevice
strong
Enumerator
Unknown 
Oculus 
OpenVR 

Member Function Documentation

◆ GetOpenVRControllerOffset()

static OVRPose OVRManager.GetOpenVRControllerOffset ( Node  hand)
static

Specifies the pose offset required to make an OpenVR controller's reported pose match the virtual pose. Currently we only specify this offset for Oculus Touch on OpenVR.

◆ HasInsightPassthroughInitFailed()

static bool OVRManager.HasInsightPassthroughInitFailed ( )
static

◆ IsAdaptiveResSupportedByEngine()

static bool OVRManager.IsAdaptiveResSupportedByEngine ( )
static

Adaptive Resolution is based on Unity engine's renderViewportScale/eyeTextureResolutionScale feature But renderViewportScale was broken in an array of Unity engines, this function help to filter out those broken engines

◆ IsInsightPassthroughInitialized()

static bool OVRManager.IsInsightPassthroughInitialized ( )
static

◆ IsUnityAlphaOrBetaVersion()

static bool OVRManager.IsUnityAlphaOrBetaVersion ( )
static

◆ PlatformUIConfirmQuit()

static void OVRManager.PlatformUIConfirmQuit ( )
static

◆ ReturnToLauncher()

void OVRManager.ReturnToLauncher ( )

Leaves the application/game and returns to the launcher/dashboard

◆ SetColorScaleAndOffset()

static void OVRManager.SetColorScaleAndOffset ( Vector4  colorScale,
Vector4  colorOffset,
bool  applyToAllLayers 
)
static

Sets the Color Scale and Offset which is commonly used for effects like fade-to-black. In our compositor, once a given frame is rendered, warped, and ready to be displayed, we then multiply each pixel by colorScale and add it to colorOffset, whereby newPixel = oldPixel * colorScale + colorOffset. Note that for mobile devices (Quest, etc.), colorOffset is only supported with OpenXR, so colorScale is all that can be used. A colorScale of (1, 1, 1, 1) and colorOffset of (0, 0, 0, 0) will lead to an identity multiplication and have no effect.

◆ SetOpenVRLocalPose()

static void OVRManager.SetOpenVRLocalPose ( Vector3  leftPos,
Vector3  rightPos,
Quaternion  leftRot,
Quaternion  rightRot 
)
static

Specifies OpenVR pose local to tracking space

Member Data Documentation

◆ AllowRecenter

bool OVRManager.AllowRecenter = true

If true, the Reset View in the universal menu will cause the pose to be reset. This should generally be enabled for applications with a stationary position in the virtual world and will allow the View Reset command to place the person back to a predefined location (such as a cockpit seat). Set this to false if you have a locomotion system because resetting the view would effectively teleport the player to potentially invalid locations.

◆ isInsightPassthroughEnabled

bool OVRManager.isInsightPassthroughEnabled = false

Specify if Insight Passthrough should be enabled. Passthrough layers can only be used if passthrough is enabled.

◆ LateControllerUpdate

bool OVRManager.LateControllerUpdate = true

If true, a lower-latency update will occur right before rendering. If false, the only controller pose update will occur at the start of simulation for a given frame. Selecting this option lowers rendered latency for controllers and is often a net positive; however, it also creates a slight disconnect between rendered and simulated controller poses. Visit online Oculus documentation to learn more.

◆ loadedXRDevice

XRDevice OVRManager.loadedXRDevice
static

◆ maxRenderScale

float OVRManager.maxRenderScale = 1.0f

Max RenderScale the app can reach under adaptive resolution mode ( enableAdaptiveResolution = true );

◆ minRenderScale

float OVRManager.minRenderScale = 0.7f

Min RenderScale the app can reach under adaptive resolution mode ( enableAdaptiveResolution = true );

◆ OCULUS_UNITY_NAME_STR

string OVRManager.OCULUS_UNITY_NAME_STR = "Oculus"
static

◆ OPENVR_UNITY_NAME_STR

string OVRManager.OPENVR_UNITY_NAME_STR = "OpenVR"
static

◆ OVRManagerinitialized

bool OVRManager.OVRManagerinitialized = false
static

◆ profilerTcpPort

int OVRManager.profilerTcpPort = OVRSystemPerfMetrics.TcpListeningPort

The TCP listening port of Oculus Profiler Service, which will be activated in Debug/Developerment builds When the app is running on editor or device, open "Tools/Oculus/Oculus Profiler Panel" to view the realtime system metrics

◆ resetTrackerOnLoad

bool OVRManager.resetTrackerOnLoad = false

If true, each scene load will cause the head pose to reset. This function only works on Rift.

◆ UnityAlphaOrBetaVersionWarningMessage

string OVRManager.UnityAlphaOrBetaVersionWarningMessage = "WARNING: It's not recommended to use Unity alpha/beta release in Oculus development. Use a stable release if you encounter any issue."
static

◆ useIPDInPositionTracking

bool OVRManager.useIPDInPositionTracking = true

If true, the distance between the user's eyes will affect the position of each OVRCameraRig's cameras.

◆ usePositionTracking

bool OVRManager.usePositionTracking = true

If true, head tracking will affect the position of each OVRCameraRig's cameras.

◆ useRecommendedMSAALevel

bool OVRManager.useRecommendedMSAALevel = true

If true, Unity will use the optimal antialiasing level for quality/performance on the current hardware.

◆ useRotationTracking

bool OVRManager.useRotationTracking = true

If true, head tracking will affect the rotation of each OVRCameraRig's cameras.

Property Documentation

◆ audioInId

string OVRManager.audioInId
staticget

Gets the audio input device identifier.

On Windows, this is a string containing the GUID of the IMMDevice for the Windows audio endpoint to use.

◆ audioOutId

string OVRManager.audioOutId
staticget

Gets the audio output device identifier.

On Windows, this is a string containing the GUID of the IMMDevice for the Windows audio endpoint to use.

◆ batteryLevel

float OVRManager.batteryLevel
staticget

Gets the current battery level (Deprecated).

Returns
battery level in the range [0.0,1.0]
Parameters
batteryLevelBattery level.

◆ batteryStatus

int OVRManager.batteryStatus
staticget

Gets the current battery status (Deprecated).

Returns
battery status
Parameters
batteryStatusBattery status.

◆ batteryTemperature

float OVRManager.batteryTemperature
staticget

Gets the current battery temperature (Deprecated).

Returns
battery temperature in Celsius
Parameters
batteryTemperatureBattery temperature.

◆ boundary

OVRBoundary OVRManager.boundary
staticget

Gets a reference to the active boundary system.

◆ chromatic

bool OVRManager.chromatic
getset

If true, chromatic de-aberration will be applied, improving the image at the cost of texture bandwidth.

◆ colorGamut

OVRManager.ColorSpace OVRManager.colorGamut
getset

The target color gamut the HMD will perform a color space transformation to

◆ cpuLevel

int OVRManager.cpuLevel
staticgetset

Gets or sets the current CPU performance level (0-2). Lower performance levels save more power.

◆ display

OVRDisplay OVRManager.display
staticget

Gets a reference to the active display.

◆ eyeTextureFormat

EyeTextureFormat OVRManager.eyeTextureFormat
staticgetset

Gets or sets the eye texture format.

◆ fixedFoveatedRenderingLevel

FixedFoveatedRenderingLevel OVRManager.fixedFoveatedRenderingLevel
staticgetset

Gets or sets the tiled-based multi-resolution level This feature is only supported on QCOMM-based Android devices

◆ fixedFoveatedRenderingSupported

bool OVRManager.fixedFoveatedRenderingSupported
staticget

Gets if tiled-based multi-resolution technique is supported This feature is only supported on QCOMM-based Android devices

◆ gpuLevel

int OVRManager.gpuLevel
staticgetset

Gets or sets the current GPU performance level (0-2). Lower performance levels save more power.

◆ gpuUtilLevel

float OVRManager.gpuUtilLevel
staticget

Gets the GPU Utilised Level (0.0 - 1.0) This feature is only supported on QCOMM-based Android devices

◆ gpuUtilSupported

bool OVRManager.gpuUtilSupported
staticget

Gets if the GPU Utility is supported This feature is only supported on QCOMM-based Android devices

◆ hasInputFocus

bool OVRManager.hasInputFocus
staticget

If true, the app has Input Focus.

◆ hasVrFocus

bool OVRManager.hasVrFocus
staticget

If true, the app has VR Focus.

◆ headPoseRelativeOffsetRotation

Vector3 OVRManager.headPoseRelativeOffsetRotation
getset

◆ headPoseRelativeOffsetTranslation

Vector3 OVRManager.headPoseRelativeOffsetTranslation
getset

◆ instance

OVRManager OVRManager.instance
staticget

Gets the singleton instance.

◆ isHmdPresent

bool OVRManager.isHmdPresent
staticget

If true, a head-mounted display is connected and present.

◆ isPowerSavingActive

bool OVRManager.isPowerSavingActive
staticget

If true, the CPU and GPU are currently throttled to save power and/or reduce the temperature.

◆ isSupportedPlatform

bool OVRManager.isSupportedPlatform
get

True if the current platform supports virtual reality.

◆ isUserPresent

bool OVRManager.isUserPresent
get

True if the user is currently wearing the display.

◆ monoscopic

bool OVRManager.monoscopic
getset

◆ nativeColorGamut

OVRManager.ColorSpace OVRManager.nativeColorGamut
get

The native color gamut of the target HMD

◆ pluginVersion

System.Version OVRManager.pluginVersion
staticget

◆ profile

OVRProfile OVRManager.profile
staticget

Gets the current profile, which contains information about the user's settings and body dimensions.

◆ sdkVersion

System.Version OVRManager.sdkVersion
staticget

◆ systemHeadsetType

SystemHeadsetType OVRManager.systemHeadsetType
staticget

Get the system headset type

◆ tiledMultiResLevel

TiledMultiResLevel OVRManager.tiledMultiResLevel
staticgetset

◆ tiledMultiResSupported

bool OVRManager.tiledMultiResSupported
staticget

◆ tracker

OVRTracker OVRManager.tracker
staticget

Gets a reference to the active sensor.

◆ trackingOriginType

OVRManager.TrackingOrigin OVRManager.trackingOriginType
getset

Defines the current tracking origin type.

◆ useDynamicFixedFoveatedRendering

bool OVRManager.useDynamicFixedFoveatedRendering
staticgetset

Let the system decide the best foveation level adaptively (Off .. fixedFoveatedRenderingLevel) This feature is only supported on QCOMM-based Android devices

◆ utilitiesVersion

System.Version OVRManager.utilitiesVersion
staticget

◆ volumeLevel

float OVRManager.volumeLevel
staticget

Gets the current volume level (Deprecated).

Returns
volume level in the range [0,1].

◆ vsyncCount

int OVRManager.vsyncCount
getset

The number of expected display frames per rendered frame.

◆ xrApi

XrApi OVRManager.xrApi
get

The native XR API being used

◆ xrInstance

UInt64 OVRManager.xrInstance
get

The value of current XrInstance when using OpenXR

◆ xrSession

UInt64 OVRManager.xrSession
get

The value of current XrSession when using OpenXR

Event Documentation

◆ AudioInChanged

Action OVRManager.AudioInChanged
static

Occurs when the active Audio In device has changed and a restart is needed.

◆ AudioOutChanged

Action OVRManager.AudioOutChanged
static

Occurs when the active Audio Out device has changed and a restart is needed.

◆ DisplayRefreshRateChanged

Action<float, float> OVRManager.DisplayRefreshRateChanged
static

Occurs when the display refresh rate changes (float fromRefreshRate, float toRefreshRate)

◆ HMDAcquired

Action OVRManager.HMDAcquired
static

Occurs when an HMD attached.

◆ HMDLost

Action OVRManager.HMDLost
static

Occurs when an HMD detached.

◆ HMDMounted

Action OVRManager.HMDMounted
static

Occurs when an HMD is put on the user's head.

◆ HMDUnmounted

Action OVRManager.HMDUnmounted
static

Occurs when an HMD is taken off the user's head.

◆ HSWDismissed

Action OVRManager.HSWDismissed
static

Occurs when Health & Safety Warning is dismissed.

◆ InputFocusAcquired

Action OVRManager.InputFocusAcquired
static

Occurs when Input Focus is acquired.

◆ InputFocusLost

Action OVRManager.InputFocusLost
static

Occurs when Input Focus is lost.

◆ TrackingAcquired

Action OVRManager.TrackingAcquired
static

Occurs when the sensor gained tracking.

◆ TrackingLost

Action OVRManager.TrackingLost
static

Occurs when the sensor lost tracking.

◆ VrFocusAcquired

Action OVRManager.VrFocusAcquired
static

Occurs when VR Focus is acquired.

◆ VrFocusLost

Action OVRManager.VrFocusLost
static

Occurs when VR Focus is lost.


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