Share via


HeadPose Class

Definition

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

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

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Properties

ForwardDirection

Gets the forward direction of the user's head gaze in the specified coordinate system, as a unit vector.

Position

Gets the position of the user's head in the specified coordinate system.

UpDirection

Gets the up direction that orients the user's head gaze in the specified coordinate system, as a unit vector.

Applies to