次の方法で共有


BoundingBox::Intersects 関数 (directxcollision.h)

BoundingBox と BoundingSphere の交差部分テストします。

構文

bool Intersects(
  const BoundingSphere & sh
) noexcept;

パラメーター

sh

交差をテストする BoundingSphere

戻り値

BoundingBox が指定した BoundingSphere と交差するかどうかを示すブール値。

注釈

プラットフォームの要件

Windows 8用のWindows SDKを含む Microsoft Visual Studio 2010 または Microsoft Visual Studio 2012。 Win32 デスクトップ アプリ、Windows ストア アプリ、Windows Phone 8 アプリでサポートされます。

要件

要件
サポートされている最小のクライアント Windows 10 ビルド 20348
サポートされている最小のサーバー Windows 10 ビルド 20348
Header directxcollision.h

こちらもご覧ください

BoundingBox