Pārlūkot izejas kodu

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

David Catuhe 9 gadi atpakaļ
vecāks
revīzija
6ab6173acb
1 mainītis faili ar 28 papildinājumiem un 0 dzēšanām
  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}
          */