Class Frustum

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

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(p0?: Plane, p1?: Plane, p2?: Plane, p3?: Plane, p4?: Plane, p5?: Plane): Frustum

Parameters

Returns

Frustum

Properties

public planes: Plane[]

Array of 6 vectors.

Methods

public clone(): Frustum

Returns

Frustum

public containsPoint(point: Vector3): boolean

Parameters

Returns

boolean

public copy(frustum: Frustum): Frustum

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

public setFromMatrix(m: Matrix4): Frustum

Parameters

Returns

Frustum