API reference
API reference
Select your platform
No SDKs available
No versions available

OVRRuntimeSettings Class

This class serializes the settings used in the Meta Core SDK and are read at runtime.
When read, a single instance is created and can be accessed globally through OVRRuntimeSettings.InstanceOVRRuntimeSettings.Instance.

Fields

colorSpace : OVRManager.ColorSpace
The color space that is used for the app and defaults to P3 color space.
For more information on color spaces on Quest devices, please refer to the documentation on color spaces.
Signature
OVRManager.ColorSpace colorSpace
QuestVisibilityMeshOverriden : bool
Signature
bool QuestVisibilityMeshOverriden

Properties

BodyTrackingFidelity : OVRPlugin.BodyTrackingFidelity2
[Get][Set]
Sets the body tracking fidelity to either High or Low.
Can also be used to check which body tracking fidelity is currently being used.
Signature
OVRPlugin.BodyTrackingFidelity2 BodyTrackingFidelity
BodyTrackingJointSet : OVRPlugin.BodyJointSet
[Get][Set]
Sets which kind of body joint set to use for body tracking.
Can also be used to check which body joint set is currently being used.
Signature
OVRPlugin.BodyJointSet BodyTrackingJointSet
EnableFaceTrackingVisemesOutput : bool
[Get][Set]
Signature
bool EnableFaceTrackingVisemesOutput
HandSkeletonVersion : OVRHandSkeletonVersion
[Get][Set]
Sets the version of hand skeleton that will be used in hand tracking.
You can also use it to check which hand skeleton version is currently being used.
Signature
OVRHandSkeletonVersion HandSkeletonVersion
[Get]
Access to the singleton instance of OVRRuntimeSettings.
This is cached when the settings are loaded, and is recommended over OVRRuntimeSettings.GetRuntimeSettings().
Signature
OVRRuntimeSettings Instance
RequestsAudioFaceTracking : bool
[Get][Set]
Sets if the app uses audio as a data source for face tracking.
Also used to check if the app is requesting use of audio face tracking.
Signature
bool RequestsAudioFaceTracking
RequestsVisualFaceTracking : bool
[Get][Set]
Sets if the app uses visuals as a data source for face tracking.
Also used to check if the app is requesting use of visual face tracking.
Signature
bool RequestsVisualFaceTracking
VisibilityMesh : bool
[Get][Set]
Signature
bool VisibilityMesh

Static Methods

GetRuntimeSettings ()
Returns the OVRRuntimeSettings instance that contains the current settings that will be loaded at runtime.
We recommend using OVRRuntimeSettings.InstanceOVRRuntimeSettings.Instance to get the cached value.
Signature
static OVRRuntimeSettings GetRuntimeSettings()
Returns
OVRRuntimeSettings  Loaded OVRRuntimeSettings object.