[page:WebGLRenderTarget] →

[name]

[page:CubeCamera] uses this as its [page:WebGLRenderTarget]

Examples

See [page:CubeCamera] for examples.

Constructor

[name]([page:Number width], [page:Number height], [page:Object options])

width -- The width of the renderTarget.
height -- The height of the renderTarget.
options -- The options sets the properties of the render target.

Properties

[property:integer activeCubeFace]

The activeCubeFace property corresponds to a cube side (PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5) and is used and set internally by the [page:CubeCamera].

See [page:WebGLRenderTarget] for inherited properties

Methods

See [page:WebGLRenderTarget] for inherited methods

Source

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