Click to Rate and Give Feedback
MSDN
MSDN Library
XNA Game Studio
 BoundingSphere Constructor
Collapse All/Expand All Collapse All
XNA Game Studio Express 1.0 Refresh
BoundingSphere Constructor
Creates a new instance of BoundingSphere.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

C#
public BoundingSphere (
         Vector3 center,
         float radius
)

Parameters

center
Center point of the sphere.
radius
Radius of the sphere.
Exception typeCondition
ArgumentException radius is less than zero. radius must be greater than or equal to zero.

Xbox 360, Windows XP SP2, Windows Vista

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker