浏览代码

Fix Inspector Tone Mapping

sebavan 6 年之前
父节点
当前提交
7f5e8867e2
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      src/PostProcesses/imageProcessingPostProcess.ts

+ 13 - 0
src/PostProcesses/imageProcessingPostProcess.ts

@@ -177,6 +177,19 @@ export class ImageProcessingPostProcess extends PostProcess {
     }
     }
 
 
     /**
     /**
+     * Gets the type of tone mapping effect.
+     */
+    public get toneMappingType(): number {
+        return this._imageProcessingConfiguration.toneMappingType;
+    }
+    /**
+     * Sets the type of tone mapping effect.
+     */
+    public set toneMappingType(value: number) {
+        this._imageProcessingConfiguration.toneMappingType = value;
+    }
+
+    /**
      * Gets contrast used in the effect.
      * Gets contrast used in the effect.
      */
      */
     public get contrast(): number {
     public get contrast(): number {