|
Check if the specified Object is equal to this Ray3.
-
obj
:
obj
-
The Object to test for equality with this Ray3.
-
Returns:
bool
-
true
if the specified Object is equal to this Ray3,
false
if it is not.
|
|
Check if the specified Ray3 is equal to this Ray3.
-
other
:
Ray3
-
The Ray3 to test for equality with this Ray3.
-
Returns:
bool
-
true
if the specified Ray3 is equal to this Ray3,
false
if it is not.
|
|
Get a hash code for this Ray3.
-
Returns:
int
-
A hash code for this Ray3.
|
|
Attempt to find the intersection of the Ray3 with a Plane3.
TODO: implement this in terms of Intersects?
-
plane
:
Plane3
-
Returns:
Nullable<Vector3>
|
|
Check if this Ray3 intersects the specified Box3.
-
box
:
Box3
-
The Box3 to test for intersection.
-
Returns:
Nullable<float32>
-
The distance along the ray of the intersection or null
if this
Ray3 does not intersect the Box3.
|
|
Check if this Ray3 intersects the specified Box3.
-
box
:
inref<Box3>
-
The Box3 to test for intersection.
-
result
:
byref<Nullable<float32>>
-
The distance along the ray of the intersection or null
if this
Ray3 does not intersect the Box3.
|
|
-
frustum
:
Frustum
-
Returns:
Nullable<float32>
|
|
Check if this Ray3 intersects the specified Sphere.
-
sphere
:
Sphere
-
The !:Box to test for intersection.
-
Returns:
Nullable<float32>
-
The distance along the ray of the intersection or null
if this
Ray3 does not intersect the Sphere.
|
|
Check if this Ray3 intersects the specified Plane3.
-
plane
:
Plane3
-
The Plane3 to test for intersection.
-
Returns:
Nullable<float32>
-
The distance along the ray of the intersection or null
if this
Ray3 does not intersect the Plane3.
|
|
Check if this Ray3 intersects the specified Plane3.
-
plane
:
inref<Plane3>
-
The Plane3 to test for intersection.
-
result
:
byref<Nullable<float32>>
-
The distance along the ray of the intersection or null
if this
Ray3 does not intersect the Plane3.
|
|
Check if this Ray3 intersects the specified Sphere.
-
sphere
:
inref<Sphere>
-
The Box3 to test for intersection.
-
result
:
byref<Nullable<float32>>
-
The distance along the ray of the intersection or null
if this
Ray3 does not intersect the Sphere.
|
|
Attempt to get the first found intersection from an array of triangle vertices.
-
indices
:
int[]
-
vertices
:
Vector3[]
-
result
:
byref<Nullable<float32>>
-
Returns:
bool
|
|
Project a point onto the ray.
-
p
:
Vector3
-
Returns:
Vector3
|
|
-
Returns:
string
-
A String representation of this Ray3.
|
|
Transform this Ray3 by a matrix.
-
m
:
Matrix4x4
-
Returns:
Ray3
|
|
Transform this Ray3 by a quaternion.
-
q
:
Quaternion
-
Returns:
Ray3
|