Class BaseInputSimulationService
Base class for services that create simulated input devices.
Inheritance
BaseInputSimulationService
Assembly: cs.temp.dll.dll
public abstract class BaseInputSimulationService : BaseInputDeviceManager, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Constructors
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
protected BaseInputSimulationService(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Declaration
protected BaseInputSimulationService(IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Methods
Retrieve all controllers currently registered with this device at runtime (if direct access is required)
Declaration
public override IMixedRealityController[] GetActiveControllers()
Returns
Overrides
Declaration
public BaseController GetControllerDevice(Handedness handedness)
Parameters
Type |
Name |
Description |
Handedness |
handedness |
|
Returns
Declaration
[Obsolete("Use GetControllerDevice instead.")]
public SimulatedHand GetHandDevice(Handedness handedness)
Parameters
Type |
Name |
Description |
Handedness |
handedness |
|
Returns
Declaration
protected BaseController GetOrAddControllerDevice(Handedness handedness, ControllerSimulationMode simulationMode)
Parameters
Returns
Declaration
[Obsolete("Use GetOrAddControllerDevice instead.")]
protected SimulatedHand GetOrAddHandDevice(Handedness handedness, ControllerSimulationMode simulationMode)
Parameters
Returns
Declaration
protected void RemoveAllControllerDevices()
Declaration
[Obsolete("Use RemoveAllControllerDevices instead.")]
protected void RemoveAllHandDevices()
Declaration
protected void RemoveControllerDevice(Handedness handedness)
Parameters
Type |
Name |
Description |
Handedness |
handedness |
|
Declaration
[Obsolete("Use RemoveControllerDevice instead.")]
protected void RemoveHandDevice(Handedness handedness)
Parameters
Type |
Name |
Description |
Handedness |
handedness |
|
Declaration
protected void UpdateControllerDevice(ControllerSimulationMode simulationMode, Handedness handedness, object controllerData)
Parameters
Declaration
[Obsolete("Use UpdateControllerDevice instead.")]
protected void UpdateHandDevice(ControllerSimulationMode simulationMode, Handedness handedness, SimulatedHandData handData)
Parameters
Implements