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