BoundingBox.Contains Method (BoundingBox)

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.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show: