This topic has not yet been rated - Rate this topic

BoundingSphere Constructor

Creates a new instance of BoundingSphere.

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

public BoundingSphere (
         Vector3 center,
         float radius
)

Parameters

center
Type: Vector3
Center point of the sphere.
radius
Type: Single
Radius of the sphere.
Exception type Condition
ArgumentException radius is less than zero. radius must be greater than or equal to zero.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ