浏览代码

Docs: Less verbose description for LensFlare

Mr.doob 9 年之前
父节点
当前提交
f58b2b60b8
共有 1 个文件被更改,包括 7 次插入8 次删除
  1. 7 8
      docs/api/objects/LensFlare.html

+ 7 - 8
docs/api/objects/LensFlare.html

@@ -9,15 +9,14 @@
 	</head>
 	</head>
 	<body>
 	<body>
 		[page:Object3D] &rarr;
 		[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>
 		<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>