提交 f58b2b60 编写于 作者: M Mr.doob

Docs: Less verbose description for LensFlare

上级 d496bc5e
......@@ -9,15 +9,14 @@
</head>
<body>
[page:Object3D] &rarr;
<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>
<div>[example:webgl_lensflares lensflares]</div>
<h2>Constructor</h2>
......@@ -42,17 +41,17 @@
<h3>[property:array lensFlares]</h3>
<div>
The array of flares as set by [page:LensFlare.add]
</div>
</div>
<h3>[property:Vector3 positionScreen]</h3>
<div>
The position of the lens flare on the screen.
</div>
</div>
<h3>[property:Function customUpdateCallback]</h3>
<div>
A custom update callback
</div>
</div>
<h2>Methods</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册