Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BoundingSphere Constructor

Creates a new instance of BoundingSphere.

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

public BoundingSphere(
	Vector3 center,
	float radius
)

Parameters

center
Type: Microsoft.Xna.Framework.Vector3
Center point of the sphere.
radius
Type: System.Single
Center point of the sphere.

ExceptionCondition
ArgumentException

radius is less than zero. radius must be greater than or equal to zero.

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