David Catuhe 7 năm trước cách đây
mục cha
commit
8b5507d00e

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 12287 - 12226
Playground/babylon.d.txt


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 4121 - 4060
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 20 - 20
dist/preview release/babylon.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 119 - 13
dist/preview release/babylon.max.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 119 - 13
dist/preview release/babylon.no-module.max.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 20 - 20
dist/preview release/babylon.worker.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 121 - 15
dist/preview release/es6.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 25 - 25
dist/preview release/viewer/babylon.viewer.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 119 - 13
dist/preview release/viewer/babylon.viewer.max.js


+ 3 - 0
src/Materials/Textures/Procedurals/babylon.noiseProceduralTexture.ts

@@ -17,7 +17,10 @@ module BABYLON {
         /** Defines the level of persistence (0.8 by default) */
         public persistence = 0.8;
 
+        /** Gets or sets animation speed factor for X axis (default is 1) */
         public animationSpeedFactorX = 1;
+
+        /** Gets or sets animation speed factor for Y axis (default is 1) */
         public animationSpeedFactorY = 1;
 
         /**

+ 6 - 1
src/Materials/Textures/Procedurals/babylon.proceduralTexture.ts

@@ -235,7 +235,12 @@
             return this;
         }
 
-        
+        /**
+         * Set the value of an uniform to an integer value
+         * @param name defines the name of the uniform
+         * @param value defines the value to set
+         * @returns the current procedural texture
+         */
         public setInt(name: string, value: number): ProceduralTexture {
             this._checkUniform(name);
             this._ints[name] = value;