HeadPose
HeadPose
HeadPose
HeadPose
Class
Definition
Represents the user's head gaze in relation to their surroundings.
public : sealed class HeadPose : IHeadPosepublic sealed class HeadPose : IHeadPosePublic NotInheritable Class HeadPose Implements IHeadPose// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Properties
ForwardDirection ForwardDirection ForwardDirection ForwardDirection
Gets the forward direction of the user's head gaze in the specified coordinate system, as a unit vector.
public : Vector3 ForwardDirection { get; }public Vector3 ForwardDirection { get; }Public ReadOnly Property ForwardDirection As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
The forward direction unit vector.
Position Position Position Position
Gets the position of the user's head in the specified coordinate system.
public : Vector3 Position { get; }public Vector3 Position { get; }Public ReadOnly Property Position As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
The position.
UpDirection UpDirection UpDirection UpDirection
Gets the up direction that orients the user's head gaze in the specified coordinate system, as a unit vector.
public : Vector3 UpDirection { get; }public Vector3 UpDirection { get; }Public ReadOnly Property UpDirection As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
The up direction unit vector.