Sdílet prostřednictvím


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

Checks whether the current Ray intersects a BoundingSphere.

Syntax

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

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Ray Structure
Ray Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone