[name]

The Webglrenderer plugin class that allows lensflares to be rendered in the WebglRenderer. This plugin is automatically loaded in the Webglrenderer.

Constructor

[name]()

Creates a new [name].

Methods

[method:null render]( [page:Scene scene], [page:Camera camera], [page:Number viewportWidth], [page:Number viewportHeight] )

scene -- The scene to render.
camera -- The camera to render.
viewportWidth -- The width of the viewport.
viewportHeight -- The height of the viewport.
Renders the lensflares defined in the scene. This gets automatically called as post render function to draw the lensflares.

Source

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