[name]

Frustums are used to determine what is inside the camera's field of view. They help speed up the rendering process.

Constructor

[name]([page:Plane p0], [page:Plane p1], [page:Plane p2], [page:Plane p3], [page:Plane p4], [page:Plane p5])

p0 -- [page:Plane]
p1 -- [page:Plane]
p2 -- [page:Plane]
p3 -- [page:Plane]
p4 -- [page:Plane]
p5 -- [page:Plane]
Creates a frustum from the designated planes.

Properties

[property:Array planes]

Array of 6 [page:Plane planes].

Methods

[method:Frustum setFromMatrix]( [page:Matrix4 matrix] )

[method:Boolean intersectsObject]( [page:Object3D object] )

Checks whether the object's bounding sphere is intersecting the Frustum.

[method:Frustum clone]()

Return a copy of this Frustum

[method:Boolean set]([page:Plane p0], [page:Plane p1], [page:Plane p2], [page:Plane p3], [page:Plane p4], [page:Plane p5])

p0 -- [page:Plane]
p1 -- [page:Plane]
p2 -- [page:Plane]
p3 -- [page:Plane]
p4 -- [page:Plane]
p5 -- [page:Plane]
Sets the current frustum from the passed planes. No plane order is implicitely implied.

[method:Frustum copy]([page:Frustum frustum]) [page:Frustum this]

frustum -- The frustum to copy
Copies the values of the passed frustum.

[method:Boolean containsPoint]([page:Vector3 point])

point -- [page:Vector3] to test
Checks to see if the frustum contains the point.

[method:Boolean intersectsSphere]([page:Sphere sphere])

sphere -- [page:Sphere]
Check to see if the sphere intersects with the frustum.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]