|
@@ -9,15 +9,14 @@
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
[page:Object3D] →
|
|
[page:Object3D] →
|
|
-
|
|
|
|
- <h1>[name]</h1>
|
|
|
|
|
|
|
|
- <div class="desc">Creates a simulated lens flare that tracks a light</div>
|
|
|
|
|
|
+ <h1>[name]</h1>
|
|
|
|
|
|
- <div class="desc">NOTE: When integrating LensFlare into your existing project, make sure that your WebGLRenderer object has the "alpha" property set to TRUE. If not, then no LensFlare will ever display at all (they will always remain transparent).</div>
|
|
|
|
|
|
+ <div class="desc">Creates a simulated lens flare that tracks a light.<br /><br />
|
|
|
|
+ Note: [page:WebGLRenderer] must have *alpha* set to *true* for LensFlare to work.</div>
|
|
|
|
|
|
<h2>Example</h2>
|
|
<h2>Example</h2>
|
|
-
|
|
|
|
|
|
+
|
|
<div>[example:webgl_lensflares lensflares]</div>
|
|
<div>[example:webgl_lensflares lensflares]</div>
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
<h2>Constructor</h2>
|
|
@@ -42,17 +41,17 @@
|
|
<h3>[property:array lensFlares]</h3>
|
|
<h3>[property:array lensFlares]</h3>
|
|
<div>
|
|
<div>
|
|
The array of flares as set by [page:LensFlare.add]
|
|
The array of flares as set by [page:LensFlare.add]
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
|
|
<h3>[property:Vector3 positionScreen]</h3>
|
|
<h3>[property:Vector3 positionScreen]</h3>
|
|
<div>
|
|
<div>
|
|
The position of the lens flare on the screen.
|
|
The position of the lens flare on the screen.
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
|
|
<h3>[property:Function customUpdateCallback]</h3>
|
|
<h3>[property:Function customUpdateCallback]</h3>
|
|
<div>
|
|
<div>
|
|
A custom update callback
|
|
A custom update callback
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
<h2>Methods</h2>
|
|
|
|
|