BoundingSphere.Intersects Method (BoundingSphere, Boolean)
Checks whether the current BoundingSphere intersects another BoundingSphere.
Syntax
'Declaration
Public Sub Intersects ( _
ref sphere As BoundingSphere, _
out result As Boolean _
)
public void Intersects (
ref BoundingSphere sphere,
out bool result
)
public:
void Intersects(
ref BoundingSphere sphere,
out bool result
)
Parameters
- sphere
Type: BoundingSphere
The BoundingSphere to check for intersection with. - result
Type: Boolean
[OutAttribute] true if the BoundingSphere instances 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