Share via


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

Checks whether the current BoundingSphere intersects a Ray.

Syntax

'Declaration
Public Sub Intersects ( _
         ref ray As Ray, _
         out result As Nullable(Of Single) _
)
public void Intersects (
         ref Ray ray,
         out Nullable<float> result
)
public:
void Intersects(
         ref Ray ray,
         out Nullable<float> result
)

Parameters

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