|
Check if the specified Object is equal to this Ray2.
-
obj
:
obj
-
The Object to test for equality with this Ray2.
-
Returns:
bool
-
true
if the specified Object is equal to this Ray2,
false
if it is not.
|
|
Check if the specified Ray2 is equal to this Ray2.
-
other
:
Ray2
-
The Ray2 to test for equality with this Ray2.
-
Returns:
bool
-
true
if the specified Ray2 is equal to this Ray2,
false
if it is not.
|
|
Get a hash code for this Ray2.
-
Returns:
int
-
A hash code for this Ray2.
|
|
Check if this Ray2 intersects the specified Box2.
-
box
:
Box2
-
The Box2 to test for intersection.
-
Returns:
Nullable<float32>
-
The distance along the ray of the intersection or null
if this
Ray2 does not intersect the Box2.
|
|
Check if this Ray2 intersects the specified Box2.
-
box
:
inref<Box2>
-
The Box2 to test for intersection.
-
result
:
byref<Nullable<float32>>
-
The distance along the ray of the intersection or null
if this
Ray2 does not intersect the Box2.
|
|
Project a point onto the ray.
-
p
:
Vector2
-
Returns:
Vector2
|
|
-
Returns:
string
-
A String representation of this Ray2.
|
|
Transform this Ray2 by a matrix.
-
m
:
Matrix4x4
-
Returns:
Ray2
|
|
Transform this Ray2 by a quaternion.
-
q
:
Quaternion
-
Returns:
Ray2
|