Export (0) Print
Expand All

BoundingBox.CreateFromSphere Method (BoundingSphere)

Creates the smallest BoundingBox that will contain the specified BoundingSphere.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

'Declaration
Public Shared Function CreateFromSphere ( _
	sphere As BoundingSphere _
) As BoundingBox

Parameters

sphere
Type: Microsoft.Xna.Framework.BoundingSphere
The BoundingSphere to contain.

Return Value

Type: Microsoft.Xna.Framework.BoundingBox
The created BoundingBox.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft