BoundingBox::Contains (constBoundingSphere&) 函数 (directxcollision.h)
测试 BoundingBox 是否包含指定的 BoundingSphere。
语法
ContainmentType Contains(
[in, ref] const BoundingSphere & sh
) noexcept;
参数
[in, ref] sh
要测试的 BoundingSphere。
返回值
一个 ContainmentType 值,该值指示 BoundingBox 是否包含 BoundingSphere。
注解
平台要求
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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈