Edytuj

Udostępnij za pośrednictwem


OculusXRSDKDeviceManagerProfile Class

Definition

The profile for the Oculus XRSDK Device Manager. The settings for this profile can be viewed if the Leap Motion Device Manager input data provider is added to the MRTK input configuration profile.

public ref class OculusXRSDKDeviceManagerProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.XRSDK.Oculus.Input.OculusXRSDKDeviceManager), null)]
[UnityEngine.CreateAssetMenu(fileName="OculusXRSDKDeviceManagerProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Oculus XRSDK Profile", order=4)]
public class OculusXRSDKDeviceManagerProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.XRSDK.Oculus.Input.OculusXRSDKDeviceManager), null)]
[UnityEngine.CreateAssetMenu(fileName="OculusXRSDKDeviceManagerProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Oculus XR SDK Profile", order=4)]
public class OculusXRSDKDeviceManagerProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.XRSDK.Oculus.Input.OculusXRSDKDeviceManager), null)>]
[<UnityEngine.CreateAssetMenu(fileName="OculusXRSDKDeviceManagerProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Oculus XRSDK Profile", order=4)>]
type OculusXRSDKDeviceManagerProfile = class
    inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.XRSDK.Oculus.Input.OculusXRSDKDeviceManager), null)>]
[<UnityEngine.CreateAssetMenu(fileName="OculusXRSDKDeviceManagerProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Oculus XR SDK Profile", order=4)>]
type OculusXRSDKDeviceManagerProfile = class
    inherit BaseMixedRealityProfile
Public Class OculusXRSDKDeviceManagerProfile
Inherits BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
OculusXRSDKDeviceManagerProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute

Constructors

OculusXRSDKDeviceManagerProfile()

Fields

OnCustomHandMaterialUpdate

Event triggered when the custom material for hand mesh is updated.

Properties

CPULevel

Accessor for the Oculus CPU performance level. https://developer.oculus.com/documentation/native/android/mobile-power-overview

CustomHandMaterial

Custom hand material to use for hand tracking hand mesh.

GPULevel

Accessor for the Oculus GPU performance level.

LocalAvatarPrefab

Prefab reference for LocalAvatar to load, if none are found in scene.

LowConfidenceTimeThreshold

Time in seconds after which low confidence is considered unreliable, and tracking is set to false.

OVRCameraRigPrefab

Prefab reference for OVRCameraRig to load, if none are found in scene. This prefab is required for MRTK on Oculus Quest to support handtracking

PinchStrengthMaterialProperty

Property in custom material used to visualize pinch strength.

RenderAvatarHandsInsteadOfController
Obsolete.

Using avatar hands requires a local avatar prefab. Failure to provide one will result in nothing being displayed. "Note: In order to render avatar hands, you will need to set an app id in Assets/Resources/OvrAvatarSettings. Any number will do, but it needs to be set.")]

RenderAvatarHandsWithControllers

Using avatar hands requires a local avatar prefab. Failure to provide one will result in nothing being displayed. "Note: In order to render avatar hands, you will need to set an app id in Assets/Resources/OvrAvatarSettings. Any number will do, but it needs to be set.")]

UpdateMaterialPinchStrengthValue

If true, will update material pinch strength using OVR Values.

UseCustomHandMaterial

If true, hand mesh material will be replaced with custom material.

Methods

ApplyConfiguredPerformanceSettings()

Applies to