Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EyesPose Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents the user's eye gaze in relation to their surroundings.

public ref class EyesPose sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EyesPose final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EyesPose
Public NotInheritable Class EyesPose
Inheritance
Object Platform::Object IInspectable EyesPose
Attributes

Windows requirements

Requirements Description
Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)
App capabilities
gazeInput

Remarks

This type is for reasoning about spatial eye gaze in a headset. For screen-space eye gaze relative to a monitor, see GazeDevicePreview instead.

Properties

Name Description
Gaze

Gets the user's eye gaze in the specified coordinate system.

IsCalibrationValid

Gets whether eye gaze has been calibrated for the current user in the headset.

UpdateTimestamp

Gets the timestamp at which this eye gaze snapshot was taken.

Methods

Name Description
IsSupported()

Gets whether eye gaze is supported by the current headset.

RequestAccessAsync()

Requests access for an app to use spatial eye gaze. This requires the gazeInput capability.

Applies to


Feedback

Was this page helpful?