BoundingSphere.Contains Method (BoundingBox, ContainmentType)
Checks whether the current BoundingSphere contains the specified BoundingBox.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Contains (
ref BoundingBox box,
out ContainmentType result
)
Parameters
- box
The BoundingBox to test for overlap. - result
[OutAttribute] Enumeration indicating the extent of overlap.
See Also
Reference
BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista