فهرست منبع

added shadowSide to Material TS

Emmett Lalish 5 سال پیش
والد
کامیت
4c6b5df3ba
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  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;
 
+	/**
+	 * 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.
 	 * Default is true.