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