浏览代码

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.