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)

Syntax

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

Parameters

See Also

Reference

Ray Structure
Ray Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista