|
@@ -55,13 +55,13 @@
|
|
<h2>Constructor</h2>
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
|
|
|
|
- <h3>[name]([page:Integer hex], [page:Float intensity], [page:Float distance], [page:Radians angle], [page:Float exponent], [page:Float decay])</h3>
|
|
|
|
|
|
+ <h3>[name]([page:Integer hex], [page:Float intensity], [page:Float distance], [page:Radians angle], [page:Float penumbra], [page:Float decay])</h3>
|
|
<div>
|
|
<div>
|
|
[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 />
|
|
[page:Float 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 />
|
|
[page:Radians 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 />
|
|
- [page:Float exponent] -- Rapidity of the falloff of light from its target direction.<br />
|
|
|
|
|
|
+ [page:Float penumbra] -- Rapidity of the falloff of light from its target direction.<br />
|
|
[page:Float decay] -- The amount the light dims along the distance of the light.
|
|
[page:Float decay] -- The amount the light dims along the distance of the light.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -92,11 +92,11 @@
|
|
Default — *Math.PI/3*.
|
|
Default — *Math.PI/3*.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <h3>[property:Float exponent]</h3>
|
|
|
|
|
|
+ <h3>[property:Float penumbra]</h3>
|
|
<div>
|
|
<div>
|
|
Rapidity of the falloff of light from its target direction. A lower value spreads out the light, while a higher
|
|
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 />
|
|
focuses it towards the center.<br />
|
|
- Default — *10.0*.
|
|
|
|
|
|
+ Default — *0.0*.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h3>[property:Float decay]</h3>
|
|
<h3>[property:Float decay]</h3>
|