set AmbientLight.castshadow to `false`
@@ -46,11 +46,6 @@
See the base [page:Light Light] class for common properties.
</p>
- <h3>[property:Boolean castShadow]</h3>
- <p>
- This is set to *undefined* in the constructor as ambient lights cannot cast shadows.
- </p>
-
<h2>Methods</h2>
<p>
@@ -52,12 +52,6 @@
- This is set to *undefined* in the constructor as hemisphere lights cannot cast shadows.
<h3>[property:Float color]</h3>
The light's sky color, as passed in the constructor.
@@ -20,10 +20,6 @@ export class AmbientLight extends Light {
*/
type: string;
- /**
- * @default undefined
- */
- castShadow: boolean;
readonly isAmbientLight: true;
}
@@ -6,8 +6,6 @@ function AmbientLight( color, intensity ) {
this.type = 'AmbientLight';
- this.castShadow = undefined;
AmbientLight.prototype = Object.assign( Object.create( Light.prototype ), {
@@ -25,11 +25,6 @@ export class HemisphereLight extends Light {
position: Vector3;
groundColor: Color;
readonly isHemisphereLight: true;
@@ -8,8 +8,6 @@ function HemisphereLight( skyColor, groundColor, intensity ) {
this.type = 'HemisphereLight';
this.position.copy( Object3D.DefaultUp );
this.updateMatrix();