BoundingBox.Contains Method (BoundingBox)
XNA Game Studio 3.1
Tests whether the BoundingBox contains another BoundingBox.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public ContainmentType Contains (
BoundingBox box
)
Parameters
- box
- The BoundingBox to test for overlap.
Return Value
Enumeration indicating the extent of overlap.