HolographicQuadLayerUpdateParameters.UpdateLocationWithDisplayRelativeMode メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ディスプレイの中心を基準にして、このクワッド レイヤーの中心位置を更新し、将来のフレームでその表示相対位置に残すように設定します。
public:
virtual void UpdateLocationWithDisplayRelativeMode(float3 position, quaternion orientation) = UpdateLocationWithDisplayRelativeMode;
void UpdateLocationWithDisplayRelativeMode(float3 const& position, quaternion const& orientation);
public void UpdateLocationWithDisplayRelativeMode(Vector3 position, Quaternion orientation);
function updateLocationWithDisplayRelativeMode(position, orientation)
Public Sub UpdateLocationWithDisplayRelativeMode (position As Vector3, orientation As Quaternion)
パラメーター
- orientation
-
Quaternion
Quaternion
quaternion
ディスプレイに面する法線に対して指定された、クワッド平面の法線の回転。
注釈
表示相対四角形の場合、アプリは UpdateLocationWithDisplayRelativeMode を呼び出して、ディスプレイの中心を基準としたワールド座標の空間位置と向きを指定します。
また、 UpdateExtents を呼び出して、この点を中心とする四角形レイヤーの幅と高さを指定する必要もあります。