編集

次の方法で共有


OculusXRSDKDeviceManager Class

Definition

Manages XR SDK devices on the Oculus platform.

public ref class OculusXRSDKDeviceManager : Microsoft::MixedReality::Toolkit::XRSDK::Input::XRSDKDeviceManager
[Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XRSDK Oculus Device Manager", "", "MixedRealityToolkit", false)]
public class OculusXRSDKDeviceManager : Microsoft.MixedReality.Toolkit.XRSDK.Input.XRSDKDeviceManager
[Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XR SDK Oculus Device Manager", "Oculus/XRSDK/Profiles/OculusXRSDKDeviceManagerProfile.asset", "MixedRealityToolkit.Providers", false)]
public class OculusXRSDKDeviceManager : Microsoft.MixedReality.Toolkit.XRSDK.Input.XRSDKDeviceManager
[Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XR SDK Oculus Device Manager", "Oculus/XRSDK/Profiles/DefaultOculusXRSDKDeviceManagerProfile.asset", "MixedRealityToolkit.Providers", false)]
public class OculusXRSDKDeviceManager : Microsoft.MixedReality.Toolkit.XRSDK.Input.XRSDKDeviceManager
[Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XR SDK Oculus Device Manager", "Oculus/XRSDK/Profiles/DefaultOculusXRSDKDeviceManagerProfile.asset", "MixedRealityToolkit.Providers", true, Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.XRSDK)]
public class OculusXRSDKDeviceManager : Microsoft.MixedReality.Toolkit.XRSDK.Input.XRSDKDeviceManager
[<Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XRSDK Oculus Device Manager", "", "MixedRealityToolkit", false)>]
type OculusXRSDKDeviceManager = class
    inherit XRSDKDeviceManager
[<Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XR SDK Oculus Device Manager", "Oculus/XRSDK/Profiles/OculusXRSDKDeviceManagerProfile.asset", "MixedRealityToolkit.Providers", false)>]
type OculusXRSDKDeviceManager = class
    inherit XRSDKDeviceManager
[<Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XR SDK Oculus Device Manager", "Oculus/XRSDK/Profiles/DefaultOculusXRSDKDeviceManagerProfile.asset", "MixedRealityToolkit.Providers", false)>]
type OculusXRSDKDeviceManager = class
    inherit XRSDKDeviceManager
[<Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.Android | Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsStandalone, "XR SDK Oculus Device Manager", "Oculus/XRSDK/Profiles/DefaultOculusXRSDKDeviceManagerProfile.asset", "MixedRealityToolkit.Providers", true, Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.XRSDK)>]
type OculusXRSDKDeviceManager = class
    inherit XRSDKDeviceManager
Public Class OculusXRSDKDeviceManager
Inherits XRSDKDeviceManager
Inheritance
Attributes

Constructors

OculusXRSDKDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

Constructor.

Fields

DefaultPriority (Inherited from BaseService)
disposed

Value indicating if the object has completed disposal.

(Inherited from BaseService)

Properties

ConfigurationProfile

The configuration profile for the service.

(Inherited from BaseService)
DesiredInputCharacteristics (Inherited from XRSDKDeviceManager)
EnablePointerCache

Control mechanism to enable/disable use of Pointer Cache in request/recycling of pointers by Input System

(Inherited from BaseInputDeviceManager)
InputSystemProfile

The input system configuration profile in use in the application.

(Inherited from BaseInputDeviceManager)
IsEnabled

Indicates whether or not the service is currently enabled.

(Inherited from BaseService)
IsInitialized

Indicates whether or not the service has been initialized.

(Inherited from BaseService)
IsMarkedDestroyed

Indicates whether or not the Destroy method been called on this service.

(Inherited from BaseService)
Name

Optional Priority attribute if multiple services of the same type are required, enables targeting a service for action.

(Inherited from BaseService)
Priority

Optional Priority to reorder registered managers based on their respective priority, reduces the risk of race conditions by prioritizing the order in which managers are evaluated.

(Inherited from BaseService)
Registrar
Obsolete.

The service registrar instance that registered this service.

(Inherited from BaseDataProvider<T>)
Service

The service instance to which this provider is providing data.

(Inherited from BaseDataProvider<T>)

Methods

CheckCapability(MixedRealityCapability)

Checks to see if one or more registered data providers supports the requested capability on the current platform.

Destroy()

Optional Destroy function to perform cleanup of the service before the Mixed Reality Toolkit is destroyed.

(Inherited from BaseInputDeviceManager)
Disable()

Optional Disable function to pause the service.

(Inherited from XRSDKDeviceManager)
Dispose()

Cleanup resources used by this object.

(Inherited from BaseService)
Dispose(Boolean)

Cleanup resources used by the object

(Inherited from BaseService)
Enable()

Optional Enable function to enable / re-enable the service.

Enable()

Optional Enable function to enable / re-enable the service.

(Inherited from BaseService)
GetActiveControllers()

Retrieve all controllers currently registered with this device at runtime (if direct access is required)

(Inherited from BaseInputDeviceManager)
GetControllerType(SupportedControllerType)

Gets the concrete type of the detected controller, based on the SupportedControllerType and defined per-platform.

GetCurrentControllerType(InputDevice)

Gets the current controller type for the InputDevice name provided.

GetInputSourceType(SupportedControllerType)

Returns the InputSourceType of the currently detected controller, based on the SupportedControllerType.

GetOrAddController(InputDevice)

Gets or adds a controller using the InputDevice name provided.

(Inherited from XRSDKDeviceManager)
Initialize()

The initialize function is used to setup the service once created. This method is called once all services have been registered in the Mixed Reality Toolkit.

(Inherited from BaseInputDeviceManager)
LateUpdate()

Optional LateUpdate function to that is called after Update has been called on all services.

(Inherited from BaseService)
RecyclePointers(IMixedRealityInputSource)

Recycle all pointers associated with the provided IMixedRealityInputSource. This involves reseting the pointer, disabling the pointer GameObject, and possibly caching it for re-use.

(Inherited from BaseInputDeviceManager)
RemoveController(InputDevice)

Gets the current controller type for the InputDevice name provided.

(Inherited from XRSDKDeviceManager)
RemoveControllerFromScene(GenericXRSDKController)

Removes the controller from the scene and handles any additional cleanup

(Inherited from XRSDKDeviceManager)
RequestPointers(SupportedControllerType, Handedness)

Request an array of pointers for the controller type.

(Inherited from BaseInputDeviceManager)
Reset()

Optional Reset function to perform that will Reset the service, for example, whenever there is a profile change.

(Inherited from BaseService)
Update()

Optional Update function to perform per-frame updates of the service.

(Inherited from XRSDKDeviceManager)

Applies to