HolographicKeyboardPlacementOverridePreview.SetPlacementOverride 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3) |
覆盖系统键盘的位置,使其在特定位置和方向上显示,同时保持其自然大小。 在预览阶段,此 API 仅适用于一组有限的应用。 |
SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3, Vector2) |
覆盖系统键盘的位置以在特定位置和方向上显示,并设置自定义的最大键盘大小。 在预览阶段,此 API 仅适用于一组有限的应用。 |
SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3)
覆盖系统键盘的位置,使其在特定位置和方向上显示,同时保持其自然大小。 在预览阶段,此 API 仅适用于一组有限的应用。
public:
virtual void SetPlacementOverride(SpatialCoordinateSystem ^ coordinateSystem, float3 topCenterPosition, float3 normal) = SetPlacementOverride;
/// [Windows.Foundation.Metadata.Overload("SetPlacementOverride")]
void SetPlacementOverride(SpatialCoordinateSystem const& coordinateSystem, float3 const& topCenterPosition, float3 const& normal);
/// [Windows.Foundation.Metadata.Overload("SetPlacementOverride")]
/// [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")]
void SetPlacementOverride(SpatialCoordinateSystem const& coordinateSystem, float3 const& topCenterPosition, float3 const& normal);
[Windows.Foundation.Metadata.Overload("SetPlacementOverride")]
public void SetPlacementOverride(SpatialCoordinateSystem coordinateSystem, Vector3 topCenterPosition, Vector3 normal);
[Windows.Foundation.Metadata.Overload("SetPlacementOverride")]
[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 void SetPlacementOverride(SpatialCoordinateSystem coordinateSystem, Vector3 topCenterPosition, Vector3 normal);
function setPlacementOverride(coordinateSystem, topCenterPosition, normal)
Public Sub SetPlacementOverride (coordinateSystem As SpatialCoordinateSystem, topCenterPosition As Vector3, normal As Vector3)
参数
- coordinateSystem
- SpatialCoordinateSystem
将放置键盘的坐标系。
- 属性
适用于
SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3, Vector2)
覆盖系统键盘的位置以在特定位置和方向上显示,并设置自定义的最大键盘大小。 在预览阶段,此 API 仅适用于一组有限的应用。
public:
virtual void SetPlacementOverride(SpatialCoordinateSystem ^ coordinateSystem, float3 topCenterPosition, float3 normal, float2 maxSize) = SetPlacementOverride;
/// [Windows.Foundation.Metadata.Overload("SetPlacementOverrideWithMaxSize")]
void SetPlacementOverride(SpatialCoordinateSystem const& coordinateSystem, float3 const& topCenterPosition, float3 const& normal, float2 const& maxSize);
/// [Windows.Foundation.Metadata.Overload("SetPlacementOverrideWithMaxSize")]
/// [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")]
void SetPlacementOverride(SpatialCoordinateSystem const& coordinateSystem, float3 const& topCenterPosition, float3 const& normal, float2 const& maxSize);
[Windows.Foundation.Metadata.Overload("SetPlacementOverrideWithMaxSize")]
public void SetPlacementOverride(SpatialCoordinateSystem coordinateSystem, Vector3 topCenterPosition, Vector3 normal, Vector2 maxSize);
[Windows.Foundation.Metadata.Overload("SetPlacementOverrideWithMaxSize")]
[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 void SetPlacementOverride(SpatialCoordinateSystem coordinateSystem, Vector3 topCenterPosition, Vector3 normal, Vector2 maxSize);
function setPlacementOverride(coordinateSystem, topCenterPosition, normal, maxSize)
Public Sub SetPlacementOverride (coordinateSystem As SpatialCoordinateSystem, topCenterPosition As Vector3, normal As Vector3, maxSize As Vector2)
参数
- coordinateSystem
- SpatialCoordinateSystem
将放置键盘的坐标系。
- 属性