Browse Source

updated penumbra description in SpotLight doc

David Lyons 9 years ago
parent
commit
2230dc3eb6
1 changed files with 2 additions and 3 deletions
  1. 2 3
      docs/api/lights/SpotLight.html

+ 2 - 3
docs/api/lights/SpotLight.html

@@ -61,7 +61,7 @@
 		[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 penumbra] -- Rapidity of the falloff of light from its target direction.<br />
+		[page:Float penumbra] -- Percent of the spotlight cone that is attenuated due to penumbra. Takes values between zero and 1. Default is zero.<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>
 
 
@@ -94,8 +94,7 @@
 
 
 		<h3>[property:Float penumbra]</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
-			focuses it towards the center.<br />
+			Percent of the spotlight cone that is attenuated due to penumbra. Takes values between zero and 1.<br />
 			Default — *0.0*.
 			Default — *0.0*.
 		</div>
 		</div>