Explorar el Código

`castshadow` accepts `undefined`

ycw hace 5 años
padre
commit
dedafb68d1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.
 	 * @default false
 	 */
-	castShadow: boolean;
+	castShadow: undefined | boolean;
 
 	/**
 	 * Material gets baked in shadow receiving.