FrustumArray

FrustumArray is used to determine if an object is visible in at least one camera from an array of cameras. This is particularly useful for multi-view renderers.

Instances are mutable and not thread-safe; confine an instance to a single thread, exactly as in three.js.

Note: every intersection method of this class drives a Frustum from an ArrayCamera (reading each camera's projectionMatrix, matrixWorldInverse, coordinateSystem and reversedDepth), and further delegates to Frustum.intersectsObject / intersectsSprite. Those core camera and object types are not part of the math layer, so this class does not provide the intersection methods. Only the coordinateSystem field and clone are available here.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The coordinate system to use. Defaults to CoordinateSystem.WebGL (three.js WebGLCoordinateSystem).

Functions

Link copied to clipboard

Returns a new frustum array with copied values from this instance.