浏览代码

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 9 年之前
父节点
当前提交
6ab6173acb
共有 1 个文件被更改,包括 28 次插入0 次删除
  1. 28 0
      src/Layer/babylon.highlightlayer.ts

+ 28 - 0
src/Layer/babylon.highlightlayer.ts

@@ -127,6 +127,34 @@
         public outerGlow: boolean = true;
 
         /**
+         * Specifies the horizontal size of the blur.
+         */
+        public set blurHorizontalSize(value: number) {
+            this._horizontalBlurPostprocess.blurWidth = value;
+        }
+
+        /**
+         * Specifies the vertical size of the blur.
+         */
+        public set blurVerticalSize(value: number) {
+            this._verticalBlurPostprocess.blurWidth = value;
+        }
+
+        /**
+         * Gets the horizontal size of the blur.
+         */
+        public get blurHorizontalSize(): number {
+            return this._horizontalBlurPostprocess.blurWidth
+        }
+
+        /**
+         * Gets the vertical size of the blur.
+         */
+        public get blurVerticalSize(): number {
+            return this._verticalBlurPostprocess.blurWidth;
+        }
+
+        /**
          * An event triggered when the highlight layer has been disposed.
          * @type {BABYLON.Observable}
          */