[name]
The Webglrenderer plugin class that allows Sprites to be rendered in the WebglRenderer. This plugin is automatically loaded in the Webglrenderer.
Constructor
[name]()
Creates a new [name].
Methods
.init([page:WebglRenderer renderer])
renderer -- The WebglRenderer that uses the plugin.
Initializes the plugin to work with the renderer. This gets called when the plugin gets added as a plugin to the renderer.
.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 sprites 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]