Class MouseDeviceManager
Inheritance
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input.UnityInput
Assembly: cs.temp.dll.dll
Syntax
public class MouseDeviceManager : BaseInputDeviceManager, IMixedRealityMouseDeviceManager, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Constructors
MouseDeviceManager(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
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.")]
public MouseDeviceManager(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
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. |
MouseDeviceManager(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
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.")]
public MouseDeviceManager(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
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. |
MouseDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public MouseDeviceManager(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
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. |
MouseDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public MouseDeviceManager(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
Parameters
Type | Name | Description |
---|---|---|
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
Controller
Current Mouse Controller.
Declaration
public MouseController Controller { get; }
Property Value
Type | Description |
---|---|
MouseController |
Controller
Current Mouse Controller.
Declaration
public MouseController Controller { get; }
Property Value
Type | Description |
---|---|
MouseController |
CursorSpeed
Declaration
public float CursorSpeed { get; set; }
Property Value
Type | Description |
---|---|
Single |
CursorSpeed
Declaration
public float CursorSpeed { get; set; }
Property Value
Type | Description |
---|---|
Single |
MouseInputProfile
Declaration
public MixedRealityMouseInputProfile MouseInputProfile { get; }
Property Value
Type | Description |
---|---|
MixedRealityMouseInputProfile |
MouseInputProfile
Declaration
public MixedRealityMouseInputProfile MouseInputProfile { get; }
Property Value
Type | Description |
---|---|
MixedRealityMouseInputProfile |
WheelSpeed
Declaration
public float WheelSpeed { get; set; }
Property Value
Type | Description |
---|---|
Single |
WheelSpeed
Declaration
public float WheelSpeed { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
Disable()
Declaration
public override void Disable()
Overrides
Disable()
Declaration
public override void Disable()
Overrides
Enable()
Declaration
public override void Enable()
Overrides
Enable()
Declaration
public override void Enable()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
Update()
Declaration
public override void Update()
Overrides
Update()
Declaration
public override void Update()