Ray class
Methods
-
applyMatrix4(Matrix4 matrix4)
→ Ray
-
-
at<T extends Vector>(double t, T target)
→ T
-
-
clone()
→ Ray
-
-
closestPointToPoint(Vector3 point, Vector3 target)
→ Vector3
-
-
copyFrom(Ray ray)
→ Ray
-
-
distanceSqToPoint(Vector3 point)
→ num
-
-
distanceSqToSegment(Vector3 v0, Vector3 v1, [Vector3? optionalPointOnRay, Vector3? optionalPointOnSegment])
→ num
-
-
distanceToPlane(Plane plane)
→ double?
-
-
distanceToPoint(Vector3 point)
→ double
-
-
equals(Ray ray)
→ bool
-
-
intersectBox(BoundingBox box, Vector3 target)
→ Vector3?
-
-
intersectPlane<T extends Vector>(Plane plane, T target)
→ T?
-
-
intersectsBox(BoundingBox box)
→ bool
-
-
intersectSphere(BoundingSphere sphere, Vector3 target)
→ Vector3?
-
-
intersectsPlane(Plane plane)
→ bool
-
-
intersectsSphere(BoundingSphere sphere)
→ bool
-
-
intersectTriangle(Vector3 a, Vector3 b, Vector3 c, bool backfaceCulling, Vector3 target)
→ Vector3?
-
-
lookAt(Vector3 v)
→ Ray
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
recast(double t)
→ Ray
-
-
set(Vector3 origin, Vector3 direction)
→ Ray
-
-
toString()
→ String
-
A string representation of this object.
inherited