소스 검색

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;
 
 }

粤ICP备19079148号