Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether the current BoundingBox intersects a BoundingSphere.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Intersects (
ref BoundingSphere sphere,
out bool result
)
Parameters
- sphere
The BoundingSphere to check for intersection with. - result
[OutAttribute] true if the BoundingBox and BoundingSphere intersect; false otherwise.
See Also
Tasks
How to: Detect Whether Two Models Collide
Concepts
Reference
BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista