BoundingFrustum.Intersects Method (BoundingSphere, Boolean)
Checks whether the current BoundingFrustum intersects a BoundingSphere.
Syntax
'Declaration
Public Sub Intersects ( _
ref sphere As BoundingSphere, _
out result As Boolean _
)
public void Intersects (
ref BoundingSphere sphere,
out bool result
)
public:
void Intersects(
ref BoundingSphere sphere,
out bool result
)
Parameters
- sphere
Type: BoundingSphere
The BoundingSphere to check for intersection with. - result
Type: Boolean
[OutAttribute] true if the BoundingFrustum and BoundingSphere intersect; false otherwise.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
BoundingFrustum Class
BoundingFrustum Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone