BoundingSphere.Intersects Method (BoundingSphere)
Checks whether the current BoundingSphere intersects with a specified BoundingSphere.
Syntax
'Declaration
Public Function Intersects ( _
sphere As BoundingSphere _
) As Boolean
public bool Intersects (
BoundingSphere sphere
)
public:
bool Intersects(
BoundingSphere sphere
)
Parameters
- sphere
Type: BoundingSphere
The BoundingSphere to check for intersection with the current BoundingSphere.
Return Value
Type: Boolean
true if the BoundingSpheres 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