BoundingSphere::Contains (constBoundingSphere&) 函数 (directxcollision.h)
测试 BoundingSphere 是否包含指定的 BoundingSphere。
语法
ContainmentType Contains(
[in, ref] const BoundingSphere & sh
) noexcept;
参数
[in, ref] sh
要测试的 BoundingSphere。
返回值
一个 ContainmentType 值,该值指示 BoundingSphere 是否包含指定的 BoundingSphere。
注解
平台要求
Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 与 Windows SDK for Windows 8。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
要求 | 值 |
---|---|
目标平台 | Windows |
标头 | directxcollision.h |
另请参阅
引用