Class WindowsMixedRealityEyeGazeDataProvider
Implements
Namespace: Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input
Assembly: cs.temp.dll.dll
Syntax
public class WindowsMixedRealityEyeGazeDataProvider : BaseInputDeviceManager, IMixedRealityEyeGazeDataProvider, IMixedRealityEyeSaccadeProvider, IMixedRealityCapabilityCheck
Constructors
WindowsMixedRealityEyeGazeDataProvider(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public WindowsMixedRealityEyeGazeDataProvider(IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Type | Name | Description |
---|---|---|
IMixed |
inputSystem | The IMixed |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
Base |
profile | The service's configuration profile. |
WindowsMixedRealityEyeGazeDataProvider(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 WindowsMixedRealityEyeGazeDataProvider(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Type | Name | Description |
---|---|---|
IMixed |
registrar | The IMixed |
IMixed |
inputSystem | The IMixed |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
Base |
profile | The service's configuration profile. |
Properties
SaccadeProvider
Declaration
public IMixedRealityEyeSaccadeProvider SaccadeProvider { get; }
Property Value
Type | Description |
---|---|
IMixed |
SmoothEyeTracking
Declaration
public bool SmoothEyeTracking { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
CheckCapability(MixedRealityCapability)
Checks to see if one or more registered data providers supports the requested capability on the current platform.
Declaration
public bool CheckCapability(MixedRealityCapability capability)
Parameters
Type | Name | Description |
---|---|---|
Mixed |
capability | The capability to check. |
Returns
Type | Description |
---|---|
Boolean | True if the capability is supported, false otherwise. |
Initialize()
Declaration
public override void Initialize()
Events
OnSaccade
Declaration
public event Action OnSaccade
Event Type
Type | Description |
---|---|
Action |
OnSaccadeX
Declaration
public event Action OnSaccadeX
Event Type
Type | Description |
---|---|
Action |
OnSaccadeY
Declaration
public event Action OnSaccadeY
Event Type
Type | Description |
---|---|
Action |