BoundingSphere.Intersects Method (BoundingFrustum)

Checks whether the current BoundingSphere intersects with a specified BoundingFrustum.

Syntax

'Declaration
Public Function Intersects ( _
         frustum As BoundingFrustum _
) As Boolean 
public bool Intersects (
         BoundingFrustum frustum
)
public:
bool Intersects(
         BoundingFrustum frustum
)

Parameters

Return Value

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

Exceptions

Exception type Condition
ArgumentNullException frustum is null.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone