BoundingBox.Intersects Method (BoundingSphere)

Checks whether the current BoundingBox intersects a BoundingSphere.

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

public bool Intersects (
         BoundingSphere sphere
)

Parameters

sphere
The BoundingSphere to check for intersection with.

Return Value

true if the BoundingBox and BoundingSphere intersect; false otherwise.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show: