HeadPose 类

定义

表示用户相对于周围环境的头部凝视。

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
继承
Object Platform::Object IInspectable HeadPose
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

属性

ForwardDirection

获取指定坐标系中用户头部凝视的方向,作为单位向量。

Position

获取用户头部在指定坐标系中的位置。

UpDirection

获取在指定坐标系中将用户头部凝视作为单位向量的向上方向。

适用于