Răsfoiți Sursa

added shadowSide to Material TS

Emmett Lalish 5 ani în urmă
părinte
comite
4c6b5df3ba
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      src/materials/Material.d.ts

+ 6 - 0
src/materials/Material.d.ts

@@ -257,6 +257,12 @@ export class Material extends EventDispatcher {
 	 */
 	 */
 	side: Side;
 	side: Side;
 
 
+	/**
+	 * Defines which of the face sides will cast shadows. Default is *null*.
+	 * If *null*, the value is opposite that of side, above.
+	 */
+	shadowSide: Side;
+
 	/**
 	/**
 	 * Defines whether this material is tone mapped according to the renderer's toneMapping setting.
 	 * Defines whether this material is tone mapped according to the renderer's toneMapping setting.
 	 * Default is true.
 	 * Default is true.