BoundingOrientedBox::Intersects 函式 (directxcollision.h)

測試 BoundingOrientedBox 以與 BoundingSphere交集。

語法

bool Intersects(
  const BoundingSphere & sh
) noexcept;

參數

sh

要測試交集的 BoundingSphere

傳回值

布林值,指出 BoundingOrientedBox 是否與 BoundingSphere交集。

備註

平台需求

Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 搭配 Windows SDK for Windows 8。 支援 Win32 傳統型應用程式、Windows 市集應用程式和 Windows Phone 8 個應用程式。

需求

   
最低支援的用戶端 Windows 10組建 20348
最低支援的伺服器 Windows 10組建 20348
標頭 directxcollision.h

另請參閱

BoundingOrientedBox