XNA Game Studio 3.1
BoundingSphere Constructor
Creates a new instance of BoundingSphere.

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

Syntax

C#
public BoundingSphere (
         Vector3 center,
         float radius
)

Parameters

center
Center point of the sphere.
radius
Radius of the sphere.
Exceptions

Exception typeCondition
ArgumentException radius is less than zero. radius must be greater than or equal to zero.
See Also

Reference

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune
Tags :


Page view tracker