Share via


HolographicKeyboardPlacementOverridePreview.SetPlacementOverride Method

Definition

Overloads

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3)

Overrides the placement of the system keyboard to appear at a specific position and orientation, while keeping its natural size. This API is available only to a limited set of apps while in the preview phase.

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3, Vector2)

Overrides the placement of the system keyboard to appear at a specific position and orientation, setting a custom maximum keyboard size. This API is available only to a limited set of apps while in the preview phase.

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3)

Overrides the placement of the system keyboard to appear at a specific position and orientation, while keeping its natural size. This API is available only to a limited set of apps while in the preview phase.

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)

Parameters

coordinateSystem
SpatialCoordinateSystem

The coordinate system relative to which the keyboard will be placed.

topCenterPosition
Vector3 Vector3

float3

The position of the top-center of the keyboard.

normal
Vector3 Vector3

float3

The normal of the keyboard.

Attributes

Applies to

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3, Vector2)

Overrides the placement of the system keyboard to appear at a specific position and orientation, setting a custom maximum keyboard size. This API is available only to a limited set of apps while in the preview phase.

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)

Parameters

coordinateSystem
SpatialCoordinateSystem

The coordinate system relative to which the keyboard will be placed.

topCenterPosition
Vector3 Vector3

float3

The position of the top-center of the keyboard.

normal
Vector3 Vector3

float3

The normal of the keyboard.

maxSize
Vector2 Vector2

float2

The maximum size for the keyboard.

Attributes

Applies to