PerspectiveCamera

ArrayCamera

ArrayCamera can be used in order to efficiently render a scene with a predefined set of cameras. This is an important performance aspect for rendering VR scenes.
An instance of ArrayCamera always has an array of sub cameras. It's mandatory to define for each sub camera the bounds property which determines the part of the viewport that is rendered with this camera.

Example

camera / array

Constructor

ArrayCamera(array : Array)

An array of cameras.

Properties

See the base PerspectiveCamera class for common properties.

.cameras : Array

An array of cameras.

Methods

See the base PerspectiveCamera class for common methods.

Source

For more info on how to obtain the source code of this module see this page.