BoundingBox.Intersects Method (BoundingBox)
Checks whether the current BoundingBox intersects another BoundingBox.
Syntax
'Declaration
Public Function Intersects ( _
box As BoundingBox _
) As Boolean
public bool Intersects (
BoundingBox box
)
public:
bool Intersects(
BoundingBox box
)
Parameters
- box
Type: BoundingBox
The BoundingBox to check for intersection with.
Return Value
Type: Boolean
true if the BoundingBoxs 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