瀏覽代碼

Update AmbientLight.d.ts

ycw 5 年之前
父節點
當前提交
38ab026122
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/lights/AmbientLight.d.ts

+ 2 - 2
src/lights/AmbientLight.d.ts

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