Class WindowsMixedRealityEyeGazeDataProvider
Implements
Namespace: Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input
Assembly: cs.temp.dll.dll
Syntax
public class WindowsMixedRealityEyeGazeDataProvider : BaseInputDeviceManager, IMixedRealityEyeGazeDataProvider, IMixedRealityEyeSaccadeProvider, IMixedRealityCapabilityCheck, BaseInputDeviceManager
Constructors
WindowsMixedRealityEyeGazeDataProvider(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public WindowsMixedRealityEyeGazeDataProvider(IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
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. |
WindowsMixedRealityEyeGazeDataProvider(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public WindowsMixedRealityEyeGazeDataProvider(IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
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. |
WindowsMixedRealityEyeGazeDataProvider(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public WindowsMixedRealityEyeGazeDataProvider(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. |
WindowsMixedRealityEyeGazeDataProvider(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public WindowsMixedRealityEyeGazeDataProvider(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
SaccadeProvider
Declaration
public IMixedRealityEyeSaccadeProvider SaccadeProvider { get; }
Property Value
| Type | Description |
|---|---|
| IMixedRealityEyeSaccadeProvider |
SaccadeProvider
Declaration
public IMixedRealityEyeSaccadeProvider SaccadeProvider { get; }
Property Value
| Type | Description |
|---|---|
| IMixedRealityEyeSaccadeProvider |
SmoothEyeTracking
Declaration
public bool SmoothEyeTracking { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
SmoothEyeTracking
Declaration
public bool SmoothEyeTracking { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
CheckCapability(MixedRealityCapability)
Declaration
public bool CheckCapability(MixedRealityCapability capability)
Parameters
| Type | Name | Description |
|---|---|---|
| MixedRealityCapability | capability |
Returns
| Type | Description |
|---|---|
| Boolean |
CheckCapability(MixedRealityCapability)
Declaration
public bool CheckCapability(MixedRealityCapability capability)
Parameters
| Type | Name | Description |
|---|---|---|
| MixedRealityCapability | capability |
Returns
| Type | Description |
|---|---|
| Boolean |
Initialize()
Declaration
public override void Initialize()
Initialize()
Declaration
public override void Initialize()
Update()
Declaration
public override void Update()
Update()
Declaration
public override void Update()
Events
OnSaccade
Declaration
public event Action OnSaccade
Event Type
| Type | Description |
|---|---|
| Action |
OnSaccade
Declaration
public event Action OnSaccade
Event Type
| Type | Description |
|---|---|
| Action |
OnSaccadeX
Declaration
public event Action OnSaccadeX
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 |
OnSaccadeY
Declaration
public event Action OnSaccadeY
Event Type
| Type | Description |
|---|---|
| Action |