BoundingSphere.Intersects Method (BoundingBox)
Checks whether the current BoundingSphere intersects with a specified BoundingBox.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool Intersects (
BoundingBox box
)
Parameters
- box
The BoundingBox to check for intersection with the current BoundingSphere.
Return Value
true if the BoundingBox and BoundingSphere intersect; false otherwise.
See Also
Reference
BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista