BoundingBox.CreateFromSphere Method (BoundingSphere)
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 BoundingBox CreateFromSphere (
BoundingSphere sphere
)
Parameters
- sphere
The BoundingSphere to contain.
Return Value
The created BoundingBox.
See Also
Reference
BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista