Frustums are used to determine what is inside the camera's field of view. They help speed up the rendering process.
Constructor methods
Parameters
Returns
Frustum
Properties
public planes: Plane[]
Array of 6 vectors.
Methods
public containsPoint(point: Vector3): boolean
Parameters
Returns
boolean
Parameters
Returns
Frustum
public intersectsObject(object: Object3D): boolean
Parameters
Returns
boolean
public intersectsSphere(sphere: Sphere): boolean
Parameters
Returns
boolean
public set(p0?: number, p1?: number, p2?: number, p3?: number, p4?: number, p5?: number): Frustum
Parameters
-
p0?: number optional
-
p1?: number optional
-
p2?: number optional
-
p3?: number optional
-
p4?: number optional
-
p5?: number optional
Returns
Frustum
Parameters
Returns
Frustum