Export (0) Print
Expand All

Ray.Intersects Method (BoundingSphere, Nullable<Single>)

Checks whether the current Ray intersects a BoundingSphere.

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

public void Intersects (
         ref BoundingSphere sphere,
         out Nullable<float> result
)

Parameters

sphere
Type: BoundingSphere
The BoundingSphere to check for intersection with.
result
Type: Nullable<Single>
[OutAttribute] Distance at which the ray intersects the BoundingSphere or null if there is no intersection.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2014 Microsoft