Browse Source

`castshadow` accepts `undefined`

ycw 4 years ago
parent
commit
dedafb68d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/Object3D.d.ts

+ 1 - 1
src/core/Object3D.d.ts

@@ -135,7 +135,7 @@ export class Object3D extends EventDispatcher {
 	 * Gets rendered into shadow map.
 	 * Gets rendered into shadow map.
 	 * @default false
 	 * @default false
 	 */
 	 */
-	castShadow: boolean;
+	castShadow: undefined | boolean;
 
 
 	/**
 	/**
 	 * Material gets baked in shadow receiving.
 	 * Material gets baked in shadow receiving.