BoundingBox.Intersects Method (BoundingSphere)

Checks whether the current BoundingBox intersects a BoundingSphere.

Syntax

'Declaration
Public Function Intersects ( _
         sphere As BoundingSphere _
) As Boolean 
public bool Intersects (
         BoundingSphere sphere
)
public:
bool Intersects(
         BoundingSphere sphere
)

Parameters

Return Value

Type: Boolean
true if the BoundingBox and BoundingSphere intersect; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone