- new
Bounding (center?, radius?): BoundingSphereSphere Creates a new BoundingSphere instance.

#### Parameters

`Optional`

center: Vec3 = ...The world space coordinate marking the center of the sphere. The constructor takes a reference of this parameter.

`Optional`

radius: number = 0.5The radius of the bounding sphere. Defaults to 0.5.

#### Returns BoundingSphere

#### Example

`// Create a new bounding sphere centered on the origin with a radius of 0.5`

const sphere = new pc.BoundingSphere();

Center of sphere.

radius: number

The radius of the bounding sphere.

- intersects
Bounding (sphere): booleanSphere Test if a Bounding Sphere is overlapping, enveloping, or inside this Bounding Sphere.

#### Parameters

- sphere: BoundingSphere
Bounding Sphere to test.

#### Returns boolean

True if the Bounding Sphere is overlapping, enveloping, or inside this Bounding Sphere and false otherwise.

- sphere: BoundingSphere

A bounding sphere is a volume for facilitating fast intersection testing.