Browse Source

Merge pull request #14612 from BachNewton/patch-1

Added AmbientLight's default constructor values
Mr.doob 7 years ago
parent
commit
2a55412e63
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/lights/AmbientLight.html

+ 2 - 2
docs/api/lights/AmbientLight.html

@@ -36,8 +36,8 @@ scene.add( light );</code>
 
 
 		<h3>[name]( [param:Integer color], [param:Float intensity] )</h3>
 		<h3>[name]( [param:Integer color], [param:Float intensity] )</h3>
 		<p>
 		<p>
-		[page:Integer color]  Numeric value of the RGB component of the color. <br />
-		[page:Float intensity] -- Numeric value of the light's strength/intensity.<br /><br />
+		[page:Integer color] - (optional) Numeric value of the RGB component of the color. Default is 0xffffff.<br />
+		[page:Float intensity] - (optional) Numeric value of the light's strength/intensity. Default is 1.<br /><br />
 
 
 		Creates a new [name].
 		Creates a new [name].
 		</p>
 		</p>