BoundingBox::Intersects (constBoundingBox&) 函数 (directxcollision.h)
测试 BoundingBox 与另一个 BoundingBox 的交集。
语法
bool Intersects(
[in, ref] const BoundingBox & box
) noexcept;
参数
[in, ref] box
要测试交集的 BoundingBox。
返回值
一个布尔值,指示 BoundingBox 是否与指定的 BoundingBox 相交。
注解
平台要求
Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 与 Windows SDK for Windows 8。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
目标平台 | Windows |
标头 | directxcollision.h |
另请参阅
引用
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈