[page:Integer hex] — Numeric value of the RGB component of the color. <br/>
[page:Integer hex] — Numeric value of the RGB component of the color. <br/>
[page:Float intensity] — Numeric value of the light's strength/intensity. <br/>
[page:Float intensity] — Numeric value of the light's strength/intensity. <br/>
distance -- Maximum distance from origin where light will shine whose intensity is attenuated linearly based on distance from origin. <br/>
[page:Float distance] -- Maximum distance from origin where light will shine whose intensity is attenuated linearly based on distance from origin. <br/>
angle -- Maximum angle of light dispersion from its direction whose upper bound is Math.PI/2. <br/>
[page:Radians angle] -- Maximum angle of light dispersion from its direction whose upper bound is Math.PI/2.<br/>
exponent -- todo
[page:Float exponent] -- Rapidity of the falloff of light from its target direction.<br/>
</div>
[page:Float decay] -- The amount the light dims along the distance of the light.
<div>
todo
</div>
</div>
<h2>Properties</h2>
<h2>Properties</h2>
...
@@ -79,9 +86,16 @@ scene.add( spotLight );</code>
...
@@ -79,9 +86,16 @@ scene.add( spotLight );</code>
<h3>[property:Float exponent]</h3>
<h3>[property:Float exponent]</h3>
<div>
<div>
Rapidity of the falloff of light from its target direction.<br/>
Rapidity of the falloff of light from its target direction. A lower value spreads out the light, while a higher
focuses it towards the center.<br/>
Default — *10.0*.
Default — *10.0*.
</div>
</div>
<h3>[property:Float decay]</h3>
<div>
The amount the light dims along the distance of the light<br/>