Share via


Ray.Equals Method (Ray)

Determines whether the specified Ray is equal to the current Ray.

Syntax

'Declaration
Public Function Equals ( _
         other As Ray _
) As Boolean 
public bool Equals (
         Ray other
)
public:
bool Equals(
         Ray other
)

Parameters

  • other
    Type: Ray
    The Ray to compare with the current Ray.

Return Value

Type: Boolean
true if the specified Ray is equal to the current Ray; false otherwise.

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