BoundingBox.Intersects Method (BoundingBox)
Checks whether the current BoundingBox intersects another BoundingBox.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool Intersects (
BoundingBox box
)
Parameters
- box
The BoundingBox to check for intersection with.
Return Value
true if the BoundingBoxs intersect; false otherwise.
See Also
Tasks
How to: Detect Whether Two Models Collide
Concepts
Reference
BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista