BoundingBox.CreateFromSphere Method (BoundingSphere, BoundingBox)
Creates the smallest BoundingBox that will contain the specified BoundingSphere.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void CreateFromSphere (
ref BoundingSphere sphere,
out BoundingBox result
)
Parameters
- sphere
The BoundingSphere to contain. - result
[OutAttribute] The created BoundingBox.
See Also
Reference
BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista