BoundingBox.CreateFromSphere Method (BoundingSphere, BoundingBox)
Creates the smallest BoundingBox that will contain the specified BoundingSphere.
Syntax
'Declaration
Public Shared Sub CreateFromSphere ( _
ref sphere As BoundingSphere, _
out result As BoundingBox _
)
public static void CreateFromSphere (
ref BoundingSphere sphere,
out BoundingBox result
)
public:
static void CreateFromSphere(
ref BoundingSphere sphere,
out BoundingBox result
)
Parameters
- sphere
Type: BoundingSphere
The BoundingSphere to contain. - result
Type: BoundingBox
[OutAttribute] The created BoundingBox.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone