BoundingBox::Intersects (FXMVECTOR) 函数 (directxcollision.h)

测试 BoundingBox 与平面的交集。

语法

PlaneIntersectionType XM_CALLCONV Intersects(
  [in] FXMVECTOR Plane
) noexcept;

参数

[in] Plane

描述平面的向量。

返回值

指示交集状态的 PlaneIntersectionType 值。

备注

平台要求

带有 Windows SDK for Windows 8 的 Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。

要求

   
目标平台 Windows
标头 directxcollision.h

另请参阅

BoundingBox

相交

引用