Sdílet prostřednictvím


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

Checks whether the current Ray intersects a BoundingBox.

Syntax

'Declaration
Public Sub Intersects ( _
         ref box As BoundingBox, _
         out result As Nullable(Of Single) _
)
public void Intersects (
         ref BoundingBox box,
         out Nullable<float> result
)
public:
void Intersects(
         ref BoundingBox box,
         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