|
@@ -36,8 +36,8 @@ scene.add( light );</code>
|
|
|
|
|
|
<h3>[name]( [param:Integer color], [param:Float intensity] )</h3>
|
|
|
<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].
|
|
|
</p>
|