Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Ray.Intersects Method (BoundingSphere)

Checks whether the Ray intersects a specified BoundingSphere.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public Nullable<float> Intersects (
         BoundingSphere sphere


The BoundingSphere to check for intersection with the Ray.

Return Value

Distance at which the ray intersects the BoundingSphere or null if there is no intersection.
Xbox 360, Windows XP SP2, Windows Vista, Zune
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.