次の方法で共有


IDirectManipulationPrimaryContent::GetInertiaEndTransform メソッド (directmanipulation.h)

プライマリ コンテンツの最終的な変換 (慣性を含む) を取得します。

構文

HRESULT GetInertiaEndTransform(
  [out] float *matrix,
  [in]  DWORD pointCount
);

パラメーター

[out] matrix

慣性終了位置を表す変換された行列。

[in] pointCount

マトリックスのサイズ。

3x2 行列はすべての直接操作変換に使用されるため、この値は常に 6 です。

戻り値

メソッドが成功すると、 S_OKが返されます。 そうでない場合は、HRESULT エラー コードを返します。

注釈

警告 慣性が終了した場合や中断された場合、このメソッドを呼び出すと競合状態が発生する可能性があります。 これは、 OnViewportStatusChanged コールバック中にも発生する可能性があります。
 

要件

要件
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー directmanipulation.h

こちらもご覧ください

IDirectManipulationPrimaryContent