Class BaseInputDeviceManager
Class providing a base implementation of the IMixedRealityInputDeviceManager interface.
Inheritance
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public abstract class BaseInputDeviceManager : BaseDataProvider, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Constructors
BaseInputDeviceManager(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public BaseInputDeviceManager(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the data provider. |
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
Properties
InputSystem
The active instance of the input system.
Declaration
protected IMixedRealityInputSystem InputSystem { get; }
Property Value
Type | Description |
---|---|
IMixedRealityInputSystem |
InputSystemProfile
The input system configuration profile in use in the application.
Declaration
protected MixedRealityInputSystemProfile InputSystemProfile { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputSystemProfile |
Methods
GetActiveControllers()
Retrieve all controllers currently registered with this device at runtime (if direct access is required)
Declaration
public virtual IMixedRealityController[] GetActiveControllers()
Returns
Type | Description |
---|---|
IMixedRealityController[] |
RequestPointers(SupportedControllerType, Handedness)
Request an array of pointers for the controller type.
Declaration
protected virtual IMixedRealityPointer[] RequestPointers(SupportedControllerType controllerType, Handedness controllingHand)
Parameters
Type | Name | Description |
---|---|---|
SupportedControllerType | controllerType | The controller type making the request for pointers. |
Handedness | controllingHand | The handedness of the controller making the request. |
Returns
Type | Description |
---|---|
IMixedRealityPointer[] |