BoundingSphere::CreateFromBoundingBox 函数 (directxcollision.h)
创建包含指定 BoundingBox 的 BoundingSphere。
语法
void CreateFromBoundingBox(
[out, ref] BoundingSphere & Out,
[in, ref] const BoundingBox & box
) noexcept;
参数
[out, ref] Out
新的 BoundingSphere。
[in, ref] box
新 BoundingSphere 应包含的 BoundingBox。
返回值
无
备注
平台要求
Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 以及 Windows SDK for Windows 8。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
要求 | 值 |
---|---|
目标平台 | Windows |
标头 | directxcollision.h |
另请参阅
引用