The line to intersect.
A point in world space, or undefined
if the line does not
intersect with the near plane.
Returns whether this FrameCameraBase
is an orthographic camera.
Returns whether this FrameCameraBase
is a perspective camera.
Checks if the given point, in world space, is behind the near plane of the camera.
A point in world space.
true
if the point is behind the camera.
Converts this FramePerspectiveCamera
to a FrameOrthographicCamera
using
the provided boundingBox
to compute the viewing frustum.
The visible bounding box.
Returns a point on the near plane that intersects with
line
. Ifline
does not intersect, thenundefined
is returned.