Constructors
constructor
Parameters
Returns Ray
Properties
Readonly Private direction
distanceToBBox
distance
ToBBox
: ((box
: BBox) => number)Readonly Private start
Methods
SquaredDistanceToPoint
- SquaredDistanceToPoint(point: Vector3): number
Parameters
Returns number
clone
Returns Ray
copy
Parameters
Returns Ray
distanceToPlane
- distanceToPlane(plane: Plane): number
Parameters
Returns number
distanceToPoint
- distanceToPoint(point: Vector3): number
Parameters
Returns number
getClosestPointToPoint
Parameters
getPointAt
Parameters
isEqual
- isEqual(target: Ray): boolean
Parameters
Returns boolean
lookAt
Parameters
Returns Ray
mulMat4
Parameters
Returns Ray
set
Parameters
Returns Ray
射线方向
Ray