HolographicKeyboard 类

定义

使应用能够配置系统提供的全息键盘。

public ref class HolographicKeyboard sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 720896)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HolographicKeyboard final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 720896)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HolographicKeyboard
Public NotInheritable Class HolographicKeyboard
继承
Object Platform::Object IInspectable HolographicKeyboard
属性

Windows 要求

设备系列
Windows 10, version 2104 (在 10.0.20348.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v12.0 中引入)

注解

通过调用 HolographicKeyboard.GetDefault 获取此类的实例。

方法

GetDefault()

获取 HolographicKeyboard 类的默认实例。

ResetPlacementOverride()

重置放置替代,允许键盘返回到其默认位置。

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Quaternion, Vector2)

覆盖全息键盘的位置。

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Quaternion)

覆盖全息键盘的位置。

适用于