Quellcode durchsuchen

Set `.castShadow` of `boolean` and added tags

ycw vor 5 Jahren
Ursprung
Commit
819a497fc2
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      src/lights/AmbientLight.d.ts

+ 3 - 1
src/lights/AmbientLight.d.ts

@@ -22,8 +22,10 @@ export class AmbientLight extends Light {
 
 
 	/**
 	/**
 	 * This light cannot be used to cast shadows as it does not have a direction.
 	 * This light cannot be used to cast shadows as it does not have a direction.
+	 * @default false
+	 * @override
 	 */
 	 */
-	castShadow: undefined;
+	castShadow: boolean;
 	readonly isAmbientLight: true;
 	readonly isAmbientLight: true;
 
 
 }
 }

粤ICP备19079148号