共用方式為


HolographicKeyboardPlacementOverridePreview 類別

定義

提供預覽功能,讓 app 影響全像攝影殼層中系統鍵盤的位置。 在預覽階段中,此 API 僅適用于一組有限的應用程式。

public ref class HolographicKeyboardPlacementOverridePreview 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 HolographicKeyboardPlacementOverridePreview final
/// [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)]
/// [Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.Holographic.HolographicKeyboard instead of Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
class HolographicKeyboardPlacementOverridePreview 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 HolographicKeyboardPlacementOverridePreview
[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)]
[Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.Holographic.HolographicKeyboard instead of Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
public sealed class HolographicKeyboardPlacementOverridePreview
Public NotInheritable Class HolographicKeyboardPlacementOverridePreview
繼承
Object Platform::Object IInspectable HolographicKeyboardPlacementOverridePreview
屬性

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

方法

GetForCurrentView()

取得 物件,這個物件允許在目前檢視顯示時覆寫全像攝影殼層中系統鍵盤的位置。 在預覽階段中,此 API 僅適用于一組有限的應用程式。

ResetPlacementOverride()

將全像攝影殼層中的系統鍵盤位置重設為其自然位置。 在預覽階段中,此 API 僅適用于一組有限的應用程式。

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3)

覆寫系統鍵盤的位置,使其出現在特定位置和方向,同時保留其自然大小。 在預覽階段中,此 API 僅適用于一組有限的應用程式。

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3, Vector2)

覆寫系統鍵盤的位置,使其出現在特定位置和方向,並設定自訂的鍵盤大小上限。 在預覽階段中,此 API 僅適用于一組有限的應用程式。

適用於