Ray class
class Ray
- Annotations
-
- @JS()
Properties
Methods
-
intersectionSegment(
Vector3 sega, Vector3 segb, num threshold) → num -
intersectsAxis(
String axis, [num offset]) → Vector3 -
intersectsBox(
BoundingBox box, [num intersectionTreshold]) → bool -
intersectsBoxMinMax(
Vector3 minimum, Vector3 maximum, [num intersectionTreshold]) → bool -
intersectsMesh(
AbstractMesh mesh, [bool fastCheck]) → PickingInfo -
intersectsMeshes(
List< AbstractMesh> meshes, [bool fastCheck, List<PickingInfo> results]) → List<PickingInfo> -
intersectsPlane(
Plane plane) → num -
intersectsSphere(
BoundingSphere sphere, [num intersectionTreshold]) → bool -
intersectsTriangle(
Vector3 vertex0, Vector3 vertex1, Vector3 vertex2) → IntersectionInfo -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unprojectRayToRef(
num sourceX, num sourceY, num viewportWidth, num viewportHeight, Matrix world, Matrix view, Matrix projection) → void -
update(
num x, num y, num viewportWidth, num viewportHeight, Matrix world, Matrix view, Matrix projection) → Ray
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited