Doodle3D-Slicer/three.js-master/docs/api/renderers/webgl/plugins/LensFlarePlugin.html
2017-06-22 13:21:07 +02:00

41 lines
1.1 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<script src="../../../../list.js"></script>
<script src="../../../../page.js"></script>
<link type="text/css" rel="stylesheet" href="../../../../page.css" />
</head>
<body>
<h1>[name]</h1>
<div class="desc">The Webglrenderer plugin class that allows lensflares to be rendered in the WebglRenderer. This plugin is automatically loaded in the Webglrenderer.</div>
<h2>Constructor</h2>
<h3>[name]()</h3>
<div>
Creates a new [name].
</div>
<h2>Methods</h2>
<h3>[method:null render]([page:Scene scene], [page:Camera camera], [page:Number viewportWidth], [page:Number viewportHeight])</h3>
<div>
scene -- The scene to render. <br />
camera -- The camera to render. <br />
viewportWidth -- The width of the viewport. <br />
viewportHeight -- The height of the viewport.
</div>
<div>
Renders the lensflares defined in the scene. This gets automatically called as post render function to draw the lensflares.
</div>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>