Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates the smallest BoundingSphere that can contain a specified BoundingBox.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static BoundingSphere CreateFromBoundingBox (
BoundingBox box
)
Parameters
- box
The BoundingBox to create the BoundingSphere from.
Return Value
The created BoundingSphere.
See Also
Reference
BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace
Programming Guide
How to: Position the Camera to View All Objects in a Scene
Platforms
Xbox 360, Windows XP SP2, Windows Vista