BoundingBox.Contains Method (BoundingBox)
Tests whether the BoundingBox contains another BoundingBox.
Syntax
'Declaration
Public Function Contains ( _
box As BoundingBox _
) As ContainmentType
public ContainmentType Contains (
BoundingBox box
)
public:
ContainmentType Contains(
BoundingBox box
)
Parameters
- box
Type: BoundingBox
The BoundingBox to test for overlap.
Return Value
Type: ContainmentType
Enumeration indicating the extent of overlap.
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