AbstractStaticintersectTest for intersection between a ray and an AxisAlignedBoundingBox (AABB).
Origin of the ray being cast.
Direction of the ray being cast. Does not need to be normalized.
AxisAlignedBoundingBox to cast against.
Intersection point expressed as a scalar of rayDirection, or undefined if no intersection.
StaticintersectTest for intersection between a ray and a Triangle.
Origin of the ray being cast.
Direction of the ray being cast. Does not need to be normalized.
Triangle to cast against.
Intersection point expressed as a scalar of rayDirection, or undefined if no intersection.
StaticmodelsRay cast against a set of ModelNode instances and return the closest result.
Origin of the ray being cast.
Direction of the ray being cast. Does not need to be normalized.
Array of models to cast against.
Ray casting mode e.g. whether the cast should be limited by the length of rayDirection. See RayCastMode for details.
Information about the ray intersection including target ModelNode, hit position, and hit distance, or undefined if no intersection.
StaticsceneRay cast against all ModelNode instances in a scene and return the closest result.
Origin of the ray being cast.
Direction of the ray being cast. Does not need to be normalized.
Scene to cast against.
Ray casting mode e.g. whether the cast should be limited by the length of rayDirection. See RayCastMode for details.
Information about the ray intersection including target ModelNode, hit position, and hit distance, or undefined if no intersection.
No description provided.