BoundingSphere.Contains Method (BoundingBox)
Checks whether the current BoundingSphere contains the specified BoundingBox.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public ContainmentType Contains (
BoundingBox box
)
Parameters
- box
The BoundingBox to check against the current BoundingSphere.
Return Value
An enumeration indicating the relationship of the specified BoundingBox to the current BoundingSphere.
See Also
Reference
BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista