Constructors
constructor
- new Ray(origin?, direction?): Ray
Returns Ray
Properties
Methods
set
- set(origin, direction): Ray
Returns Ray
clone
- clone(): this
Returns this
copy
- copy(ray): this
Returns this
closestPointToPoint
- closestPointToPoint(point, target): Vector3
distanceToPoint
- distanceToPoint(point): number
Returns number
distanceSqToPoint
- distanceSqToPoint(point): number
Returns number
distanceSqToSegment
- distanceSqToSegment(v0, v1, optionalPointOnRay?, optionalPointOnSegment?): number
Returns number
intersectSphere
- intersectSphere(sphere, target): Vector3
intersectsSphere
- intersectsSphere(sphere): boolean
Returns boolean
distanceToPlane
- distanceToPlane(plane): number
Returns number
intersectPlane
- intersectPlane(plane, target): Vector3
intersectsPlane
- intersectsPlane(plane): boolean
Returns boolean
intersectsBox
- intersectsBox(box): boolean
Returns boolean
intersectTriangle
- intersectTriangle(a, b, c, backfaceCulling, target): Vector3
applyMatrix4
- applyMatrix4(matrix4): Ray
Returns Ray
equals
- equals(ray): boolean
Returns boolean
isIntersectionBox
- isIntersectionBox(b): any
Returns any
isIntersectionPlane
- isIntersectionPlane(p): any
Returns any
isIntersectionSphere
- isIntersectionSphere(s): any
Returns any
Default