BoundingFrustum.Intersects Method (BoundingBox, Boolean)
Checks whether the current BoundingFrustum intersects a BoundingBox.
Syntax
'Declaration
Public Sub Intersects ( _
ref box As BoundingBox, _
out result As Boolean _
)
public void Intersects (
ref BoundingBox box,
out bool result
)
public:
void Intersects(
ref BoundingBox box,
out bool result
)
Parameters
- box
Type: BoundingBox
The BoundingBox to check for intersection with. - result
Type: Boolean
[OutAttribute] true if the BoundingFrustum and BoundingBox 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