HolographicKeyboard.SetPlacementOverride 方法

定义

重载

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Quaternion)

覆盖全息键盘的位置。

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Quaternion, Vector2)

覆盖全息键盘的位置。

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Quaternion)

覆盖全息键盘的位置。

public:
 virtual void SetPlacementOverride(SpatialCoordinateSystem ^ coordinateSystem, float3 topCenterPosition, quaternion orientation) = SetPlacementOverride;
/// [Windows.Foundation.Metadata.Overload("SetPlacementOverride")]
void SetPlacementOverride(SpatialCoordinateSystem const& coordinateSystem, float3 const& topCenterPosition, quaternion const& orientation);
[Windows.Foundation.Metadata.Overload("SetPlacementOverride")]
public void SetPlacementOverride(SpatialCoordinateSystem coordinateSystem, Vector3 topCenterPosition, Quaternion orientation);
function setPlacementOverride(coordinateSystem, topCenterPosition, orientation)
Public Sub SetPlacementOverride (coordinateSystem As SpatialCoordinateSystem, topCenterPosition As Vector3, orientation As Quaternion)

参数

coordinateSystem
SpatialCoordinateSystem

相对于其他参数进行解释的空间坐标系。

topCenterPosition
Vector3 Vector3

float3

应放置键盘上边缘中心的空间中的点。

orientation
Quaternion Quaternion

quaternion

描述如何旋转键盘的四元数;水平对齐是调用方的责任。

属性

适用于

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Quaternion, Vector2)

覆盖全息键盘的位置。

public:
 virtual void SetPlacementOverride(SpatialCoordinateSystem ^ coordinateSystem, float3 topCenterPosition, quaternion orientation, float2 maxSize) = SetPlacementOverride;
/// [Windows.Foundation.Metadata.Overload("SetPlacementOverrideWithMaxSize")]
void SetPlacementOverride(SpatialCoordinateSystem const& coordinateSystem, float3 const& topCenterPosition, quaternion const& orientation, float2 const& maxSize);
[Windows.Foundation.Metadata.Overload("SetPlacementOverrideWithMaxSize")]
public void SetPlacementOverride(SpatialCoordinateSystem coordinateSystem, Vector3 topCenterPosition, Quaternion orientation, Vector2 maxSize);
function setPlacementOverride(coordinateSystem, topCenterPosition, orientation, maxSize)
Public Sub SetPlacementOverride (coordinateSystem As SpatialCoordinateSystem, topCenterPosition As Vector3, orientation As Quaternion, maxSize As Vector2)

参数

coordinateSystem
SpatialCoordinateSystem

相对于其他参数进行解释的空间坐标系。

topCenterPosition
Vector3 Vector3

float3

应放置键盘上边缘中心的空间中的点。

orientation
Quaternion Quaternion

quaternion

描述如何旋转键盘的四元数;水平对齐是调用方的责任。

maxSize
Vector2 Vector2

float2

键盘的最大高度和宽度(以米为单位)。

属性

适用于