Constructor
new L3D.Ray(arguments)
Parameters
arguments |
* | Can be empty, a Ray, or an origin and direction. |
Methods
pointAlongRay(distance, out) → Ray
Find the point along the ray at the given distance.
Parameters
distance |
number | |
out |
Ray |
Returns
reflect(point, normal, out) → Ray
Reflect the ray against the given point and surface normal.
Parameters
point |
Vector3 | |
normal |
Vector3 | |
out |
Ray |
Returns
transform(matrix, out) → Ray
Transform the ray by the given matrix.
Parameters
matrix |
Matrix4 | |
out |
Ray |
Returns