Читати англійською Редагувати

Поділитися через


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.

C++
public ref class OculusXRSDKDeviceManagerProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
OculusXRSDKDeviceManagerProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute

Constructors

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

Applies to

Продукт Версії
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0