David Catuhe 7 年之前
父節點
當前提交
439111b311
共有 47 個文件被更改,包括 15318 次插入15243 次删除
  1. 7342 7338
      Playground/babylon.d.txt
  2. 7363 7359
      dist/preview release/babylon.d.ts
  3. 1 1
      dist/preview release/babylon.js
  4. 160 138
      dist/preview release/babylon.max.js
  5. 160 138
      dist/preview release/babylon.no-module.max.js
  6. 1 1
      dist/preview release/babylon.worker.js
  7. 160 138
      dist/preview release/es6.js
  8. 1 1
      dist/preview release/gui/babylon.gui.d.ts
  9. 1 1
      dist/preview release/gui/babylon.gui.min.js.map
  10. 2 2
      dist/preview release/gui/babylon.gui.module.d.ts
  11. 1 1
      dist/preview release/inspector/babylon.inspector.bundle.js.map
  12. 1 1
      dist/preview release/inspector/babylon.inspector.d.ts
  13. 2 2
      dist/preview release/inspector/babylon.inspector.module.d.ts
  14. 2 1
      dist/preview release/inspector/package.json
  15. 1 1
      dist/preview release/loaders/babylon.glTF1FileLoader.d.ts
  16. 1 1
      dist/preview release/loaders/babylon.glTF1FileLoader.js
  17. 1 1
      dist/preview release/loaders/babylon.glTFFileLoader.d.ts
  18. 1 1
      dist/preview release/loaders/babylon.glTFFileLoader.js
  19. 1 1
      dist/preview release/loaders/babylonjs.loaders.d.ts
  20. 1 1
      dist/preview release/loaders/babylonjs.loaders.js
  21. 1 1
      dist/preview release/loaders/babylonjs.loaders.module.d.ts
  22. 2 2
      dist/preview release/viewer/babylon.viewer.d.ts
  23. 1 1
      dist/preview release/viewer/babylon.viewer.js
  24. 6 6
      dist/preview release/viewer/babylon.viewer.max.js
  25. 2 2
      dist/preview release/viewer/babylon.viewer.module.d.ts
  26. 1 1
      loaders/src/glTF/1.0/babylon.glTFLoaderUtils.ts
  27. 1 1
      src/Animations/babylon.animationGroup.ts
  28. 1 1
      src/Events/babylon.pointerEvents.ts
  29. 2 2
      src/Materials/Textures/babylon.dynamicTexture.ts
  30. 1 1
      src/Materials/Textures/babylon.internalTexture.ts
  31. 2 2
      src/Materials/Textures/babylon.internalTextureTracker.ts
  32. 7 7
      src/Materials/Textures/babylon.videoTexture.ts
  33. 6 6
      src/Math/babylon.math.ts
  34. 1 1
      src/Mesh/babylon.buffer.ts
  35. 5 5
      src/Mesh/babylon.geometry.ts
  36. 1 1
      src/Particles/EmitterTypes/babylon.IParticleEmitterType.ts
  37. 1 1
      src/Particles/EmitterTypes/babylon.cylinderParticleEmitter.ts
  38. 1 1
      src/Particles/EmitterTypes/babylon.hemisphericParticleEmitter.ts
  39. 1 1
      src/Particles/EmitterTypes/babylon.sphereParticleEmitter.ts
  40. 5 5
      src/PostProcess/RenderPipeline/Pipelines/babylon.defaultRenderingPipeline.ts
  41. 5 5
      src/PostProcess/RenderPipeline/Pipelines/babylon.lensRenderingPipeline.ts
  42. 4 4
      src/PostProcess/RenderPipeline/Pipelines/babylon.ssao2RenderingPipeline.ts
  43. 4 4
      src/PostProcess/RenderPipeline/Pipelines/babylon.ssaoRenderingPipeline.ts
  44. 5 5
      src/PostProcess/RenderPipeline/Pipelines/babylon.standardRenderingPipeline.ts
  45. 12 12
      src/PostProcess/babylon.volumetricLightScatteringPostProcess.ts
  46. 30 30
      src/Tools/babylon.assetsManager.ts
  47. 7 7
      src/babylon.node.ts

文件差異過大導致無法顯示
+ 7342 - 7338
Playground/babylon.d.txt


文件差異過大導致無法顯示
+ 7363 - 7359
dist/preview release/babylon.d.ts


文件差異過大導致無法顯示
+ 1 - 1
dist/preview release/babylon.js


+ 160 - 138
dist/preview release/babylon.max.js

@@ -1387,7 +1387,7 @@ var BABYLON;
          */
          */
         PointerEventTypes.POINTERTAP = 0x20;
         PointerEventTypes.POINTERTAP = 0x20;
         /**
         /**
-         * The pointertap event is fired when a the object has been touched and released twice without drag.
+         * The pointerdoubletap event is fired when a the object has been touched and released twice without drag.
          */
          */
         PointerEventTypes.POINTERDOUBLETAP = 0x40;
         PointerEventTypes.POINTERDOUBLETAP = 0x40;
         return PointerEventTypes;
         return PointerEventTypes;
@@ -1559,9 +1559,9 @@ var BABYLON;
             return this;
             return this;
         };
         };
         /**
         /**
-         * Returns a new {BABYLON.Color4} object from the current Color3 and the given alpha
-         * @param alpha defines the alpha component on the new {BABYLON.Color4} object (default is 1)
-         * @returns a new {BABYLON.Color4} object
+         * Returns a new Color4 object from the current Color3 and the given alpha
+         * @param alpha defines the alpha component on the new Color4 object (default is 1)
+         * @returns a new Color4 object
          */
          */
         Color3.prototype.toColor4 = function (alpha) {
         Color3.prototype.toColor4 = function (alpha) {
             if (alpha === void 0) { alpha = 1; }
             if (alpha === void 0) { alpha = 1; }
@@ -3232,9 +3232,12 @@ var BABYLON;
          * @returns the current updated Vector3
          * @returns the current updated Vector3
          */
          */
         Vector3.prototype.minimizeInPlaceFromFloats = function (x, y, z) {
         Vector3.prototype.minimizeInPlaceFromFloats = function (x, y, z) {
-            this.x = Math.min(this.x, x);
-            this.y = Math.min(this.y, y);
-            this.z = Math.min(this.z, z);
+            if (x < this.x)
+                this.x = x;
+            if (y < this.y)
+                this.y = y;
+            if (z < this.z)
+                this.z = z;
             return this;
             return this;
         };
         };
         /**
         /**
@@ -3245,9 +3248,12 @@ var BABYLON;
          * @returns the current updated Vector3
          * @returns the current updated Vector3
          */
          */
         Vector3.prototype.maximizeInPlaceFromFloats = function (x, y, z) {
         Vector3.prototype.maximizeInPlaceFromFloats = function (x, y, z) {
-            this.x = Math.max(this.x, x);
-            this.y = Math.max(this.y, y);
-            this.z = Math.max(this.z, z);
+            if (x > this.x)
+                this.x = x;
+            if (y > this.y)
+                this.y = y;
+            if (z > this.z)
+                this.z = z;
             return this;
             return this;
         };
         };
         Object.defineProperty(Vector3.prototype, "isNonUniform", {
         Object.defineProperty(Vector3.prototype, "isNonUniform", {
@@ -3404,10 +3410,11 @@ var BABYLON;
          * @return the angle between vector0 and vector1
          * @return the angle between vector0 and vector1
          */
          */
         Vector3.GetAngleBetweenVectors = function (vector0, vector1, normal) {
         Vector3.GetAngleBetweenVectors = function (vector0, vector1, normal) {
-            var v0 = vector0.clone().normalize();
-            var v1 = vector1.clone().normalize();
+            var v0 = MathTmp.Vector3[1].copyFrom(vector0).normalize();
+            var v1 = MathTmp.Vector3[2].copyFrom(vector1).normalize();
             var dot = Vector3.Dot(v0, v1);
             var dot = Vector3.Dot(v0, v1);
-            var n = Vector3.Cross(v0, v1);
+            var n = MathTmp.Vector3[3];
+            Vector3.CrossToRef(v0, v1, n);
             if (Vector3.Dot(n, normal) > 0) {
             if (Vector3.Dot(n, normal) > 0) {
                 return Math.acos(dot);
                 return Math.acos(dot);
             }
             }
@@ -12421,6 +12428,10 @@ var BABYLON;
                         this._gl = (canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));
                         this._gl = (canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));
                         if (this._gl) {
                         if (this._gl) {
                             this._webGLVersion = 2.0;
                             this._webGLVersion = 2.0;
+                            // Prevent weird browsers to lie :-)
+                            if (!this._gl.deleteQuery) {
+                                this._webGLVersion = 1.0;
+                            }
                         }
                         }
                     }
                     }
                     catch (e) {
                     catch (e) {
@@ -18384,8 +18395,8 @@ var BABYLON;
     var Node = /** @class */ (function () {
     var Node = /** @class */ (function () {
         /**
         /**
          * Creates a new Node
          * Creates a new Node
-         * @param {string} name - the name and id to be given to this node
-         * @param {BABYLON.Scene} the scene this node will be added to
+         * @param name the name and id to be given to this node
+         * @param scene the scene this node will be added to
          */
          */
         function Node(name, scene) {
         function Node(name, scene) {
             if (scene === void 0) { scene = null; }
             if (scene === void 0) { scene = null; }
@@ -18559,14 +18570,14 @@ var BABYLON;
         });
         });
         /**
         /**
          * Gets the scene of the node
          * Gets the scene of the node
-         * @returns a {BABYLON.Scene}
+         * @returns a scene
          */
          */
         Node.prototype.getScene = function () {
         Node.prototype.getScene = function () {
             return this._scene;
             return this._scene;
         };
         };
         /**
         /**
          * Gets the engine of the node
          * Gets the engine of the node
-         * @returns a {BABYLON.Engine}
+         * @returns a Engine
          */
          */
         Node.prototype.getEngine = function () {
         Node.prototype.getEngine = function () {
             return this._scene.getEngine();
             return this._scene.getEngine();
@@ -18803,7 +18814,7 @@ var BABYLON;
          * Get all child-meshes of this node
          * Get all child-meshes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.AbstractMesh}
+         * @returns an array of AbstractMesh
          */
          */
         Node.prototype.getChildMeshes = function (directDescendantsOnly, predicate) {
         Node.prototype.getChildMeshes = function (directDescendantsOnly, predicate) {
             var results = [];
             var results = [];
@@ -18816,7 +18827,7 @@ var BABYLON;
          * Get all child-transformNodes of this node
          * Get all child-transformNodes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.TransformNode}
+         * @returns an array of TransformNode
          */
          */
         Node.prototype.getChildTransformNodes = function (directDescendantsOnly, predicate) {
         Node.prototype.getChildTransformNodes = function (directDescendantsOnly, predicate) {
             var results = [];
             var results = [];
@@ -18828,7 +18839,7 @@ var BABYLON;
         /**
         /**
          * Get all direct children of this node
          * Get all direct children of this node
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.Node}
+         * @returns an array of Node
          */
          */
         Node.prototype.getChildren = function (predicate) {
         Node.prototype.getChildren = function (predicate) {
             return this.getDescendants(true, predicate);
             return this.getDescendants(true, predicate);
@@ -29978,7 +29989,7 @@ var BABYLON;
             }
             }
         }
         }
         /**
         /**
-         * Create a new {BABYLON.VertexBuffer} based on the current buffer
+         * Create a new VertexBuffer based on the current buffer
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param offset defines offset in the buffer (0 by default)
          * @param offset defines offset in the buffer (0 by default)
          * @param size defines the size in floats of attributes (position is 3 for instance)
          * @param size defines the size in floats of attributes (position is 3 for instance)
@@ -30524,7 +30535,7 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * Internal class used by the engine to get list of {BABYLON.InternalTexture} already bound to the GL context
+     * Internal class used by the engine to get list of InternalTexture already bound to the GL context
      */
      */
     var DummyInternalTextureTracker = /** @class */ (function () {
     var DummyInternalTextureTracker = /** @class */ (function () {
         function DummyInternalTextureTracker() {
         function DummyInternalTextureTracker() {
@@ -30610,7 +30621,7 @@ var BABYLON;
             configurable: true
             configurable: true
         });
         });
         /**
         /**
-         * Increments the number of references (ie. the number of {BABYLON.Texture} that point to it)
+         * Increments the number of references (ie. the number of Texture that point to it)
          */
          */
         InternalTexture.prototype.incrementReferences = function () {
         InternalTexture.prototype.incrementReferences = function () {
             this._references++;
             this._references++;
@@ -35739,7 +35750,6 @@ var BABYLON;
          * @returns intersection info or null if no intersection
          * @returns intersection info or null if no intersection
          */
          */
         SubMesh.prototype.intersects = function (ray, positions, indices, fastCheck) {
         SubMesh.prototype.intersects = function (ray, positions, indices, fastCheck) {
-            var intersectInfo = null;
             var material = this.getMaterial();
             var material = this.getMaterial();
             if (!material) {
             if (!material) {
                 return null;
                 return null;
@@ -35754,45 +35764,57 @@ var BABYLON;
                     return null;
                     return null;
             }
             }
             // LineMesh first as it's also a Mesh...
             // LineMesh first as it's also a Mesh...
-            if (BABYLON.LinesMesh && this._mesh instanceof BABYLON.LinesMesh) {
-                var lineMesh = this._mesh;
-                // Line test
-                for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 2) {
-                    var p0 = positions[indices[index]];
-                    var p1 = positions[indices[index + 1]];
-                    var length = ray.intersectionSegment(p0, p1, lineMesh.intersectionThreshold);
-                    if (length < 0) {
+            if (BABYLON.LinesMesh) {
+                var mesh = this._mesh instanceof BABYLON.InstancedMesh ? this._mesh.sourceMesh : this._mesh;
+                if (mesh instanceof BABYLON.LinesMesh) {
+                    var linesMesh = mesh;
+                    return this._intersectLines(ray, positions, indices, linesMesh.intersectionThreshold, fastCheck);
+                }
+            }
+            return this._intersectTriangles(ray, positions, indices, fastCheck);
+        };
+        /** @hidden */
+        SubMesh.prototype._intersectLines = function (ray, positions, indices, intersectionThreshold, fastCheck) {
+            var intersectInfo = null;
+            // Line test
+            for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 2) {
+                var p0 = positions[indices[index]];
+                var p1 = positions[indices[index + 1]];
+                var length = ray.intersectionSegment(p0, p1, intersectionThreshold);
+                if (length < 0) {
+                    continue;
+                }
+                if (fastCheck || !intersectInfo || length < intersectInfo.distance) {
+                    intersectInfo = new BABYLON.IntersectionInfo(null, null, length);
+                    if (fastCheck) {
+                        break;
+                    }
+                }
+            }
+            return intersectInfo;
+        };
+        /** @hidden */
+        SubMesh.prototype._intersectTriangles = function (ray, positions, indices, fastCheck) {
+            var intersectInfo = null;
+            // Triangles test
+            for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 3) {
+                var p0 = positions[indices[index]];
+                var p1 = positions[indices[index + 1]];
+                var p2 = positions[indices[index + 2]];
+                var currentIntersectInfo = ray.intersectsTriangle(p0, p1, p2);
+                if (currentIntersectInfo) {
+                    if (currentIntersectInfo.distance < 0) {
                         continue;
                         continue;
                     }
                     }
-                    if (fastCheck || !intersectInfo || length < intersectInfo.distance) {
-                        intersectInfo = new BABYLON.IntersectionInfo(null, null, length);
+                    if (fastCheck || !intersectInfo || currentIntersectInfo.distance < intersectInfo.distance) {
+                        intersectInfo = currentIntersectInfo;
+                        intersectInfo.faceId = index / 3;
                         if (fastCheck) {
                         if (fastCheck) {
                             break;
                             break;
                         }
                         }
                     }
                     }
                 }
                 }
             }
             }
-            else {
-                // Triangles test
-                for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 3) {
-                    var p0 = positions[indices[index]];
-                    var p1 = positions[indices[index + 1]];
-                    var p2 = positions[indices[index + 2]];
-                    var currentIntersectInfo = ray.intersectsTriangle(p0, p1, p2);
-                    if (currentIntersectInfo) {
-                        if (currentIntersectInfo.distance < 0) {
-                            continue;
-                        }
-                        if (fastCheck || !intersectInfo || currentIntersectInfo.distance < intersectInfo.distance) {
-                            intersectInfo = currentIntersectInfo;
-                            intersectInfo.faceId = index / 3;
-                            if (fastCheck) {
-                                break;
-                            }
-                        }
-                    }
-                }
-            }
             return intersectInfo;
             return intersectInfo;
         };
         };
         /** @hidden */
         /** @hidden */
@@ -40161,7 +40183,7 @@ var BABYLON;
          * Creates a new geometry
          * Creates a new geometry
          * @param id defines the unique ID
          * @param id defines the unique ID
          * @param scene defines the hosting scene
          * @param scene defines the hosting scene
-         * @param vertexData defines the {BABYLON.VertexData} used to get geometry data
+         * @param vertexData defines the VertexData used to get geometry data
          * @param updatable defines if geometry must be updatable (false by default)
          * @param updatable defines if geometry must be updatable (false by default)
          * @param mesh defines the mesh that will be associated with the geometry
          * @param mesh defines the mesh that will be associated with the geometry
          */
          */
@@ -40232,7 +40254,7 @@ var BABYLON;
         /**
         /**
          * Static function used to attach a new empty geometry to a mesh
          * Static function used to attach a new empty geometry to a mesh
          * @param mesh defines the mesh to attach the geometry to
          * @param mesh defines the mesh to attach the geometry to
-         * @returns the new {BABYLON.Geometry}
+         * @returns the new Geometry
          */
          */
         Geometry.CreateGeometryForMesh = function (mesh) {
         Geometry.CreateGeometryForMesh = function (mesh) {
             var geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
             var geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
@@ -40251,14 +40273,14 @@ var BABYLON;
         });
         });
         /**
         /**
          * Gets the hosting scene
          * Gets the hosting scene
-         * @returns the hosting {BABYLON.Scene}
+         * @returns the hosting Scene
          */
          */
         Geometry.prototype.getScene = function () {
         Geometry.prototype.getScene = function () {
             return this._scene;
             return this._scene;
         };
         };
         /**
         /**
          * Gets the hosting engine
          * Gets the hosting engine
-         * @returns the hosting {BABYLON.Engine}
+         * @returns the hosting Engine
          */
          */
         Geometry.prototype.getEngine = function () {
         Geometry.prototype.getEngine = function () {
             return this._engine;
             return this._engine;
@@ -40521,7 +40543,7 @@ var BABYLON;
         /**
         /**
          * Gets a specific vertex buffer
          * Gets a specific vertex buffer
          * @param kind defines the data kind (Position, normal, etc...)
          * @param kind defines the data kind (Position, normal, etc...)
-         * @returns a {BABYLON.VertexBuffer}
+         * @returns a VertexBuffer
          */
          */
         Geometry.prototype.getVertexBuffer = function (kind) {
         Geometry.prototype.getVertexBuffer = function (kind) {
             if (!this.isReady()) {
             if (!this.isReady()) {
@@ -53299,7 +53321,7 @@ var BABYLON;
          * Add an animation (with its target) in the group
          * Add an animation (with its target) in the group
          * @param animation defines the animation we want to add
          * @param animation defines the animation we want to add
          * @param target defines the target of the animation
          * @param target defines the target of the animation
-         * @returns the {BABYLON.TargetedAnimation} object
+         * @returns the TargetedAnimation object
          */
          */
         AnimationGroup.prototype.addTargetedAnimation = function (animation, target) {
         AnimationGroup.prototype.addTargetedAnimation = function (animation, target) {
             var targetedAnimation = {
             var targetedAnimation = {
@@ -61642,7 +61664,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         CylinderParticleEmitter.prototype.applyToShader = function (effect) {
         CylinderParticleEmitter.prototype.applyToShader = function (effect) {
@@ -62057,7 +62079,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         SphereParticleEmitter.prototype.applyToShader = function (effect) {
         SphereParticleEmitter.prototype.applyToShader = function (effect) {
@@ -62279,7 +62301,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         HemisphericParticleEmitter.prototype.applyToShader = function (effect) {
         HemisphericParticleEmitter.prototype.applyToShader = function (effect) {
@@ -73379,13 +73401,13 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * A class extending {BABYLON.Texture} allowing drawing on a texture
+     * A class extending Texture allowing drawing on a texture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      */
      */
     var DynamicTexture = /** @class */ (function (_super) {
     var DynamicTexture = /** @class */ (function (_super) {
         __extends(DynamicTexture, _super);
         __extends(DynamicTexture, _super);
         /**
         /**
-         * Creates a {BABYLON.DynamicTexture}
+         * Creates a DynamicTexture
          * @param name defines the name of the texture
          * @param name defines the name of the texture
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param scene defines the scene where you want the texture
          * @param scene defines the scene where you want the texture
@@ -73575,13 +73597,13 @@ var BABYLON;
          * If you want to display a video in your scene, this is the special texture for that.
          * If you want to display a video in your scene, this is the special texture for that.
          * This special texture works similar to other textures, with the exception of a few parameters.
          * This special texture works similar to other textures, with the exception of a few parameters.
          * @see https://doc.babylonjs.com/how_to/video_texture
          * @see https://doc.babylonjs.com/how_to/video_texture
-         * @param {string | null} name optional name, will detect from video source, if not defined
-         * @param {(string | string[] | HTMLVideoElement)} src can be used to provide an url, array of urls or an already setup HTML video element.
-         * @param {BABYLON.Scene} scene is obviously the current scene.
-         * @param {boolean} generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
-         * @param {boolean} invertY is false by default but can be used to invert video on Y axis
-         * @param {number} samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
-         * @param {VideoTextureSettings} [settings] allows finer control over video usage
+         * @param name optional name, will detect from video source, if not defined
+         * @param src can be used to provide an url, array of urls or an already setup HTML video element.
+         * @param scene is obviously the current scene.
+         * @param generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
+         * @param invertY is false by default but can be used to invert video on Y axis
+         * @param samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
+         * @param settings allows finer control over video usage
          */
          */
         function VideoTexture(name, src, scene, generateMipMaps, invertY, samplingMode, settings) {
         function VideoTexture(name, src, scene, generateMipMaps, invertY, samplingMode, settings) {
             if (generateMipMaps === void 0) { generateMipMaps = false; }
             if (generateMipMaps === void 0) { generateMipMaps = false; }
@@ -84256,10 +84278,10 @@ var BABYLON;
         __extends(SSAORenderingPipeline, _super);
         __extends(SSAORenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name - The rendering pipeline name
+         * @param scene - The scene linked to this pipeline
+         * @param ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to
          */
          */
         function SSAORenderingPipeline(name, scene, ratio, cameras) {
         function SSAORenderingPipeline(name, scene, ratio, cameras) {
             var _this = _super.call(this, scene.getEngine(), name) || this;
             var _this = _super.call(this, scene.getEngine(), name) || this;
@@ -84484,10 +84506,10 @@ var BABYLON;
         __extends(SSAO2RenderingPipeline, _super);
         __extends(SSAO2RenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function SSAO2RenderingPipeline(name, scene, ratio, cameras) {
         function SSAO2RenderingPipeline(name, scene, ratio, cameras) {
             var _this = _super.call(this, scene.getEngine(), name) || this;
             var _this = _super.call(this, scene.getEngine(), name) || this;
@@ -84894,11 +84916,11 @@ var BABYLON;
          * }
          * }
          * Note: if an effect parameter is unset, effect is disabled
          * Note: if an effect parameter is unset, effect is disabled
          *
          *
-         * @param {string} name - The rendering pipeline name
-         * @param {object} parameters - An object containing all parameters (see above)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {number} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param parameters - An object containing all parameters (see above)
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function LensRenderingPipeline(name, parameters, scene, ratio, cameras) {
         function LensRenderingPipeline(name, parameters, scene, ratio, cameras) {
             if (ratio === void 0) { ratio = 1.0; }
             if (ratio === void 0) { ratio = 1.0; }
@@ -85183,11 +85205,11 @@ var BABYLON;
         /**
         /**
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.PostProcess} originalPostProcess - the custom original color post-process. Must be "reusable". Can be null.
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param originalPostProcess the custom original color post-process. Must be "reusable". Can be null.
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function StandardRenderingPipeline(name, scene, ratio, originalPostProcess, cameras) {
         function StandardRenderingPipeline(name, scene, ratio, originalPostProcess, cameras) {
             if (originalPostProcess === void 0) { originalPostProcess = null; }
             if (originalPostProcess === void 0) { originalPostProcess = null; }
@@ -87230,11 +87252,11 @@ var BABYLON;
         __extends(DefaultRenderingPipeline, _super);
         __extends(DefaultRenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name (default: "")
-         * @param {boolean} hdr - If high dynamic range textures should be used (default: true)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline (default: the last created scene)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
-         * @param {boolean} automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
+         * @param name - The rendering pipeline name (default: "")
+         * @param hdr - If high dynamic range textures should be used (default: true)
+         * @param scene - The scene linked to this pipeline (default: the last created scene)
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
+         * @param automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
          */
          */
         function DefaultRenderingPipeline(name, hdr, scene, cameras, automaticBuild) {
         function DefaultRenderingPipeline(name, hdr, scene, cameras, automaticBuild) {
             if (name === void 0) { name = ""; }
             if (name === void 0) { name = ""; }
@@ -89527,15 +89549,15 @@ var BABYLON;
         __extends(VolumetricLightScatteringPostProcess, _super);
         __extends(VolumetricLightScatteringPostProcess, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The post-process name
-         * @param {any} ratio - The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera} camera - The camera that the post-process will be attached to
-         * @param {BABYLON.Mesh} mesh - The mesh used to create the light scattering
-         * @param {number} samples - The post-process quality, default 100
-         * @param {number} samplingMode - The post-process filtering mode
-         * @param {BABYLON.Engine} engine - The babylon engine
-         * @param {boolean} reusable - If the post-process is reusable
-         * @param {BABYLON.Scene} scene - The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
+         * @param name The post-process name
+         * @param ratio The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param camera The camera that the post-process will be attached to
+         * @param mesh The mesh used to create the light scattering
+         * @param samples The post-process quality, default 100
+         * @param samplingModeThe post-process filtering mode
+         * @param engine The babylon engine
+         * @param reusable If the post-process is reusable
+         * @param scene The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
          */
          */
         function VolumetricLightScatteringPostProcess(name, ratio, camera, mesh, samples, samplingMode, engine, reusable, scene) {
         function VolumetricLightScatteringPostProcess(name, ratio, camera, mesh, samples, samplingMode, engine, reusable, scene) {
             if (samples === void 0) { samples = 100; }
             if (samples === void 0) { samples = 100; }
@@ -89678,7 +89700,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Returns the light position for light scattering effect
          * Returns the light position for light scattering effect
-         * @return {BABYLON.Vector3} The custom light position
+         * @return Vector3 The custom light position
          */
          */
         VolumetricLightScatteringPostProcess.prototype.getCustomMeshPosition = function () {
         VolumetricLightScatteringPostProcess.prototype.getCustomMeshPosition = function () {
             return this.customMeshPosition;
             return this.customMeshPosition;
@@ -89696,7 +89718,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Returns the render target texture used by the post-process
          * Returns the render target texture used by the post-process
-         * @return {BABYLON.RenderTargetTexture} The render target texture used by the post-process
+         * @return the render target texture used by the post-process
          */
          */
         VolumetricLightScatteringPostProcess.prototype.getPass = function () {
         VolumetricLightScatteringPostProcess.prototype.getPass = function () {
             return this._volumetricLightScatteringRTT;
             return this._volumetricLightScatteringRTT;
@@ -89864,7 +89886,7 @@ var BABYLON;
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * @param name The mesh name
         * @param name The mesh name
         * @param scene The scene where to create the mesh
         * @param scene The scene where to create the mesh
-        * @return {BABYLON.Mesh} the default mesh
+        * @return the default mesh
         */
         */
         VolumetricLightScatteringPostProcess.CreateDefaultMesh = function (name, scene) {
         VolumetricLightScatteringPostProcess.CreateDefaultMesh = function (name, scene) {
             var mesh = BABYLON.Mesh.CreatePlane(name, 1, scene);
             var mesh = BABYLON.Mesh.CreatePlane(name, 1, scene);
@@ -111228,7 +111250,7 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * Defines the list of states available for a task inside a {BABYLON.AssetsManager}
+     * Defines the list of states available for a task inside a AssetsManager
      */
      */
     var AssetTaskState;
     var AssetTaskState;
     (function (AssetTaskState) {
     (function (AssetTaskState) {
@@ -111250,11 +111272,11 @@ var BABYLON;
         AssetTaskState[AssetTaskState["ERROR"] = 3] = "ERROR";
         AssetTaskState[AssetTaskState["ERROR"] = 3] = "ERROR";
     })(AssetTaskState = BABYLON.AssetTaskState || (BABYLON.AssetTaskState = {}));
     })(AssetTaskState = BABYLON.AssetTaskState || (BABYLON.AssetTaskState = {}));
     /**
     /**
-     * Define an abstract asset task used with a {BABYLON.AssetsManager} class to load assets into a scene
+     * Define an abstract asset task used with a AssetsManager class to load assets into a scene
      */
      */
     var AbstractAssetTask = /** @class */ (function () {
     var AbstractAssetTask = /** @class */ (function () {
         /**
         /**
-         * Creates a new {BABYLON.AssetsManager}
+         * Creates a new AssetsManager
          * @param name defines the name of the task
          * @param name defines the name of the task
          */
          */
         function AbstractAssetTask(
         function AbstractAssetTask(
@@ -111371,7 +111393,7 @@ var BABYLON;
      */
      */
     var AssetsProgressEvent = /** @class */ (function () {
     var AssetsProgressEvent = /** @class */ (function () {
         /**
         /**
-         * Creates a {BABYLON.AssetsProgressEvent}
+         * Creates a AssetsProgressEvent
          * @param remainingCount defines the number of remaining tasks to process
          * @param remainingCount defines the number of remaining tasks to process
          * @param totalCount defines the total number of tasks
          * @param totalCount defines the total number of tasks
          * @param task defines the task that was just processed
          * @param task defines the task that was just processed
@@ -111385,12 +111407,12 @@ var BABYLON;
     }());
     }());
     BABYLON.AssetsProgressEvent = AssetsProgressEvent;
     BABYLON.AssetsProgressEvent = AssetsProgressEvent;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load meshes
+     * Define a task used by AssetsManager to load meshes
      */
      */
     var MeshAssetTask = /** @class */ (function (_super) {
     var MeshAssetTask = /** @class */ (function (_super) {
         __extends(MeshAssetTask, _super);
         __extends(MeshAssetTask, _super);
         /**
         /**
-         * Creates a new {BABYLON.MeshAssetTask}
+         * Creates a new MeshAssetTask
          * @param name defines the name of the task
          * @param name defines the name of the task
          * @param meshesNames defines the list of mesh's names you want to load
          * @param meshesNames defines the list of mesh's names you want to load
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
@@ -111441,7 +111463,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.MeshAssetTask = MeshAssetTask;
     BABYLON.MeshAssetTask = MeshAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load text content
+     * Define a task used by AssetsManager to load text content
      */
      */
     var TextFileAssetTask = /** @class */ (function (_super) {
     var TextFileAssetTask = /** @class */ (function (_super) {
         __extends(TextFileAssetTask, _super);
         __extends(TextFileAssetTask, _super);
@@ -111485,7 +111507,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.TextFileAssetTask = TextFileAssetTask;
     BABYLON.TextFileAssetTask = TextFileAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load binary data
+     * Define a task used by AssetsManager to load binary data
      */
      */
     var BinaryFileAssetTask = /** @class */ (function (_super) {
     var BinaryFileAssetTask = /** @class */ (function (_super) {
         __extends(BinaryFileAssetTask, _super);
         __extends(BinaryFileAssetTask, _super);
@@ -111529,7 +111551,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.BinaryFileAssetTask = BinaryFileAssetTask;
     BABYLON.BinaryFileAssetTask = BinaryFileAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load images
+     * Define a task used by AssetsManager to load images
      */
      */
     var ImageAssetTask = /** @class */ (function (_super) {
     var ImageAssetTask = /** @class */ (function (_super) {
         __extends(ImageAssetTask, _super);
         __extends(ImageAssetTask, _super);
@@ -111575,7 +111597,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.ImageAssetTask = ImageAssetTask;
     BABYLON.ImageAssetTask = ImageAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load 2D textures
+     * Define a task used by AssetsManager to load 2D textures
      */
      */
     var TextureAssetTask = /** @class */ (function (_super) {
     var TextureAssetTask = /** @class */ (function (_super) {
         __extends(TextureAssetTask, _super);
         __extends(TextureAssetTask, _super);
@@ -111636,7 +111658,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.TextureAssetTask = TextureAssetTask;
     BABYLON.TextureAssetTask = TextureAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load cube textures
+     * Define a task used by AssetsManager to load cube textures
      */
      */
     var CubeTextureAssetTask = /** @class */ (function (_super) {
     var CubeTextureAssetTask = /** @class */ (function (_super) {
         __extends(CubeTextureAssetTask, _super);
         __extends(CubeTextureAssetTask, _super);
@@ -111696,7 +111718,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.CubeTextureAssetTask = CubeTextureAssetTask;
     BABYLON.CubeTextureAssetTask = CubeTextureAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load HDR cube textures
+     * Define a task used by AssetsManager to load HDR cube textures
      */
      */
     var HDRCubeTextureAssetTask = /** @class */ (function (_super) {
     var HDRCubeTextureAssetTask = /** @class */ (function (_super) {
         __extends(HDRCubeTextureAssetTask, _super);
         __extends(HDRCubeTextureAssetTask, _super);
@@ -111802,19 +111824,19 @@ var BABYLON;
              */
              */
             this.onProgressObservable = new BABYLON.Observable();
             this.onProgressObservable = new BABYLON.Observable();
             /**
             /**
-             * Gets or sets a boolean defining if the {BABYLON.AssetsManager} should use the default loading screen
+             * Gets or sets a boolean defining if the AssetsManager should use the default loading screen
              * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
              * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
              */
              */
             this.useDefaultLoadingScreen = true;
             this.useDefaultLoadingScreen = true;
             this._scene = scene;
             this._scene = scene;
         }
         }
         /**
         /**
-         * Add a {BABYLON.MeshAssetTask} to the list of active tasks
+         * Add a MeshAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param meshesNames defines the name of meshes to load
          * @param meshesNames defines the name of meshes to load
          * @param rootUrl defines the root url to use to locate files
          * @param rootUrl defines the root url to use to locate files
          * @param sceneFilename defines the filename of the scene file
          * @param sceneFilename defines the filename of the scene file
-         * @returns a new {BABYLON.MeshAssetTask} object
+         * @returns a new MeshAssetTask object
          */
          */
         AssetsManager.prototype.addMeshTask = function (taskName, meshesNames, rootUrl, sceneFilename) {
         AssetsManager.prototype.addMeshTask = function (taskName, meshesNames, rootUrl, sceneFilename) {
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
@@ -111822,10 +111844,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.TextFileAssetTask} to the list of active tasks
+         * Add a TextFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.TextFileAssetTask} object
+         * @returns a new TextFileAssetTask object
          */
          */
         AssetsManager.prototype.addTextFileTask = function (taskName, url) {
         AssetsManager.prototype.addTextFileTask = function (taskName, url) {
             var task = new TextFileAssetTask(taskName, url);
             var task = new TextFileAssetTask(taskName, url);
@@ -111833,10 +111855,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.BinaryFileAssetTask} to the list of active tasks
+         * Add a BinaryFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.BinaryFileAssetTask} object
+         * @returns a new BinaryFileAssetTask object
          */
          */
         AssetsManager.prototype.addBinaryFileTask = function (taskName, url) {
         AssetsManager.prototype.addBinaryFileTask = function (taskName, url) {
             var task = new BinaryFileAssetTask(taskName, url);
             var task = new BinaryFileAssetTask(taskName, url);
@@ -111844,10 +111866,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.ImageAssetTask} to the list of active tasks
+         * Add a ImageAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.ImageAssetTask} object
+         * @returns a new ImageAssetTask object
          */
          */
         AssetsManager.prototype.addImageTask = function (taskName, url) {
         AssetsManager.prototype.addImageTask = function (taskName, url) {
             var task = new ImageAssetTask(taskName, url);
             var task = new ImageAssetTask(taskName, url);
@@ -111855,13 +111877,13 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.TextureAssetTask} to the list of active tasks
+         * Add a TextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
-         * @returns a new {BABYLON.TextureAssetTask} object
+         * @returns a new TextureAssetTask object
          */
          */
         AssetsManager.prototype.addTextureTask = function (taskName, url, noMipmap, invertY, samplingMode) {
         AssetsManager.prototype.addTextureTask = function (taskName, url, noMipmap, invertY, samplingMode) {
             if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
             if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
@@ -111870,13 +111892,13 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.CubeTextureAssetTask} to the list of active tasks
+         * Add a CubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param files defines the list of files to load (can be null)
          * @param files defines the list of files to load (can be null)
-         * @returns a new {BABYLON.CubeTextureAssetTask} object
+         * @returns a new CubeTextureAssetTask object
          */
          */
         AssetsManager.prototype.addCubeTextureTask = function (taskName, url, extensions, noMipmap, files) {
         AssetsManager.prototype.addCubeTextureTask = function (taskName, url, extensions, noMipmap, files) {
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
@@ -111885,7 +111907,7 @@ var BABYLON;
         };
         };
         /**
         /**
          *
          *
-         * Add a {BABYLON.HDRCubeTextureAssetTask} to the list of active tasks
+         * Add a HDRCubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param size defines the size you want for the cubemap (can be null)
          * @param size defines the size you want for the cubemap (can be null)
@@ -111893,7 +111915,7 @@ var BABYLON;
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param reserved Internal use only
          * @param reserved Internal use only
-         * @returns a new {BABYLON.HDRCubeTextureAssetTask} object
+         * @returns a new HDRCubeTextureAssetTask object
          */
          */
         AssetsManager.prototype.addHDRCubeTextureTask = function (taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved) {
         AssetsManager.prototype.addHDRCubeTextureTask = function (taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved) {
             if (noMipmap === void 0) { noMipmap = false; }
             if (noMipmap === void 0) { noMipmap = false; }
@@ -111977,8 +111999,8 @@ var BABYLON;
             task.run(this._scene, done, error);
             task.run(this._scene, done, error);
         };
         };
         /**
         /**
-         * Reset the {BABYLON.AssetsManager} and remove all tasks
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * Reset the AssetsManager and remove all tasks
+         * @return the current instance of the AssetsManager
          */
          */
         AssetsManager.prototype.reset = function () {
         AssetsManager.prototype.reset = function () {
             this._isLoading = false;
             this._isLoading = false;
@@ -111987,7 +112009,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Start the loading process
          * Start the loading process
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * @return the current instance of the AssetsManager
          */
          */
         AssetsManager.prototype.load = function () {
         AssetsManager.prototype.load = function () {
             if (this._isLoading) {
             if (this._isLoading) {

+ 160 - 138
dist/preview release/babylon.no-module.max.js

@@ -1354,7 +1354,7 @@ var BABYLON;
          */
          */
         PointerEventTypes.POINTERTAP = 0x20;
         PointerEventTypes.POINTERTAP = 0x20;
         /**
         /**
-         * The pointertap event is fired when a the object has been touched and released twice without drag.
+         * The pointerdoubletap event is fired when a the object has been touched and released twice without drag.
          */
          */
         PointerEventTypes.POINTERDOUBLETAP = 0x40;
         PointerEventTypes.POINTERDOUBLETAP = 0x40;
         return PointerEventTypes;
         return PointerEventTypes;
@@ -1526,9 +1526,9 @@ var BABYLON;
             return this;
             return this;
         };
         };
         /**
         /**
-         * Returns a new {BABYLON.Color4} object from the current Color3 and the given alpha
-         * @param alpha defines the alpha component on the new {BABYLON.Color4} object (default is 1)
-         * @returns a new {BABYLON.Color4} object
+         * Returns a new Color4 object from the current Color3 and the given alpha
+         * @param alpha defines the alpha component on the new Color4 object (default is 1)
+         * @returns a new Color4 object
          */
          */
         Color3.prototype.toColor4 = function (alpha) {
         Color3.prototype.toColor4 = function (alpha) {
             if (alpha === void 0) { alpha = 1; }
             if (alpha === void 0) { alpha = 1; }
@@ -3199,9 +3199,12 @@ var BABYLON;
          * @returns the current updated Vector3
          * @returns the current updated Vector3
          */
          */
         Vector3.prototype.minimizeInPlaceFromFloats = function (x, y, z) {
         Vector3.prototype.minimizeInPlaceFromFloats = function (x, y, z) {
-            this.x = Math.min(this.x, x);
-            this.y = Math.min(this.y, y);
-            this.z = Math.min(this.z, z);
+            if (x < this.x)
+                this.x = x;
+            if (y < this.y)
+                this.y = y;
+            if (z < this.z)
+                this.z = z;
             return this;
             return this;
         };
         };
         /**
         /**
@@ -3212,9 +3215,12 @@ var BABYLON;
          * @returns the current updated Vector3
          * @returns the current updated Vector3
          */
          */
         Vector3.prototype.maximizeInPlaceFromFloats = function (x, y, z) {
         Vector3.prototype.maximizeInPlaceFromFloats = function (x, y, z) {
-            this.x = Math.max(this.x, x);
-            this.y = Math.max(this.y, y);
-            this.z = Math.max(this.z, z);
+            if (x > this.x)
+                this.x = x;
+            if (y > this.y)
+                this.y = y;
+            if (z > this.z)
+                this.z = z;
             return this;
             return this;
         };
         };
         Object.defineProperty(Vector3.prototype, "isNonUniform", {
         Object.defineProperty(Vector3.prototype, "isNonUniform", {
@@ -3371,10 +3377,11 @@ var BABYLON;
          * @return the angle between vector0 and vector1
          * @return the angle between vector0 and vector1
          */
          */
         Vector3.GetAngleBetweenVectors = function (vector0, vector1, normal) {
         Vector3.GetAngleBetweenVectors = function (vector0, vector1, normal) {
-            var v0 = vector0.clone().normalize();
-            var v1 = vector1.clone().normalize();
+            var v0 = MathTmp.Vector3[1].copyFrom(vector0).normalize();
+            var v1 = MathTmp.Vector3[2].copyFrom(vector1).normalize();
             var dot = Vector3.Dot(v0, v1);
             var dot = Vector3.Dot(v0, v1);
-            var n = Vector3.Cross(v0, v1);
+            var n = MathTmp.Vector3[3];
+            Vector3.CrossToRef(v0, v1, n);
             if (Vector3.Dot(n, normal) > 0) {
             if (Vector3.Dot(n, normal) > 0) {
                 return Math.acos(dot);
                 return Math.acos(dot);
             }
             }
@@ -12388,6 +12395,10 @@ var BABYLON;
                         this._gl = (canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));
                         this._gl = (canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));
                         if (this._gl) {
                         if (this._gl) {
                             this._webGLVersion = 2.0;
                             this._webGLVersion = 2.0;
+                            // Prevent weird browsers to lie :-)
+                            if (!this._gl.deleteQuery) {
+                                this._webGLVersion = 1.0;
+                            }
                         }
                         }
                     }
                     }
                     catch (e) {
                     catch (e) {
@@ -18351,8 +18362,8 @@ var BABYLON;
     var Node = /** @class */ (function () {
     var Node = /** @class */ (function () {
         /**
         /**
          * Creates a new Node
          * Creates a new Node
-         * @param {string} name - the name and id to be given to this node
-         * @param {BABYLON.Scene} the scene this node will be added to
+         * @param name the name and id to be given to this node
+         * @param scene the scene this node will be added to
          */
          */
         function Node(name, scene) {
         function Node(name, scene) {
             if (scene === void 0) { scene = null; }
             if (scene === void 0) { scene = null; }
@@ -18526,14 +18537,14 @@ var BABYLON;
         });
         });
         /**
         /**
          * Gets the scene of the node
          * Gets the scene of the node
-         * @returns a {BABYLON.Scene}
+         * @returns a scene
          */
          */
         Node.prototype.getScene = function () {
         Node.prototype.getScene = function () {
             return this._scene;
             return this._scene;
         };
         };
         /**
         /**
          * Gets the engine of the node
          * Gets the engine of the node
-         * @returns a {BABYLON.Engine}
+         * @returns a Engine
          */
          */
         Node.prototype.getEngine = function () {
         Node.prototype.getEngine = function () {
             return this._scene.getEngine();
             return this._scene.getEngine();
@@ -18770,7 +18781,7 @@ var BABYLON;
          * Get all child-meshes of this node
          * Get all child-meshes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.AbstractMesh}
+         * @returns an array of AbstractMesh
          */
          */
         Node.prototype.getChildMeshes = function (directDescendantsOnly, predicate) {
         Node.prototype.getChildMeshes = function (directDescendantsOnly, predicate) {
             var results = [];
             var results = [];
@@ -18783,7 +18794,7 @@ var BABYLON;
          * Get all child-transformNodes of this node
          * Get all child-transformNodes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.TransformNode}
+         * @returns an array of TransformNode
          */
          */
         Node.prototype.getChildTransformNodes = function (directDescendantsOnly, predicate) {
         Node.prototype.getChildTransformNodes = function (directDescendantsOnly, predicate) {
             var results = [];
             var results = [];
@@ -18795,7 +18806,7 @@ var BABYLON;
         /**
         /**
          * Get all direct children of this node
          * Get all direct children of this node
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.Node}
+         * @returns an array of Node
          */
          */
         Node.prototype.getChildren = function (predicate) {
         Node.prototype.getChildren = function (predicate) {
             return this.getDescendants(true, predicate);
             return this.getDescendants(true, predicate);
@@ -29945,7 +29956,7 @@ var BABYLON;
             }
             }
         }
         }
         /**
         /**
-         * Create a new {BABYLON.VertexBuffer} based on the current buffer
+         * Create a new VertexBuffer based on the current buffer
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param offset defines offset in the buffer (0 by default)
          * @param offset defines offset in the buffer (0 by default)
          * @param size defines the size in floats of attributes (position is 3 for instance)
          * @param size defines the size in floats of attributes (position is 3 for instance)
@@ -30491,7 +30502,7 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * Internal class used by the engine to get list of {BABYLON.InternalTexture} already bound to the GL context
+     * Internal class used by the engine to get list of InternalTexture already bound to the GL context
      */
      */
     var DummyInternalTextureTracker = /** @class */ (function () {
     var DummyInternalTextureTracker = /** @class */ (function () {
         function DummyInternalTextureTracker() {
         function DummyInternalTextureTracker() {
@@ -30577,7 +30588,7 @@ var BABYLON;
             configurable: true
             configurable: true
         });
         });
         /**
         /**
-         * Increments the number of references (ie. the number of {BABYLON.Texture} that point to it)
+         * Increments the number of references (ie. the number of Texture that point to it)
          */
          */
         InternalTexture.prototype.incrementReferences = function () {
         InternalTexture.prototype.incrementReferences = function () {
             this._references++;
             this._references++;
@@ -35706,7 +35717,6 @@ var BABYLON;
          * @returns intersection info or null if no intersection
          * @returns intersection info or null if no intersection
          */
          */
         SubMesh.prototype.intersects = function (ray, positions, indices, fastCheck) {
         SubMesh.prototype.intersects = function (ray, positions, indices, fastCheck) {
-            var intersectInfo = null;
             var material = this.getMaterial();
             var material = this.getMaterial();
             if (!material) {
             if (!material) {
                 return null;
                 return null;
@@ -35721,45 +35731,57 @@ var BABYLON;
                     return null;
                     return null;
             }
             }
             // LineMesh first as it's also a Mesh...
             // LineMesh first as it's also a Mesh...
-            if (BABYLON.LinesMesh && this._mesh instanceof BABYLON.LinesMesh) {
-                var lineMesh = this._mesh;
-                // Line test
-                for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 2) {
-                    var p0 = positions[indices[index]];
-                    var p1 = positions[indices[index + 1]];
-                    var length = ray.intersectionSegment(p0, p1, lineMesh.intersectionThreshold);
-                    if (length < 0) {
+            if (BABYLON.LinesMesh) {
+                var mesh = this._mesh instanceof BABYLON.InstancedMesh ? this._mesh.sourceMesh : this._mesh;
+                if (mesh instanceof BABYLON.LinesMesh) {
+                    var linesMesh = mesh;
+                    return this._intersectLines(ray, positions, indices, linesMesh.intersectionThreshold, fastCheck);
+                }
+            }
+            return this._intersectTriangles(ray, positions, indices, fastCheck);
+        };
+        /** @hidden */
+        SubMesh.prototype._intersectLines = function (ray, positions, indices, intersectionThreshold, fastCheck) {
+            var intersectInfo = null;
+            // Line test
+            for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 2) {
+                var p0 = positions[indices[index]];
+                var p1 = positions[indices[index + 1]];
+                var length = ray.intersectionSegment(p0, p1, intersectionThreshold);
+                if (length < 0) {
+                    continue;
+                }
+                if (fastCheck || !intersectInfo || length < intersectInfo.distance) {
+                    intersectInfo = new BABYLON.IntersectionInfo(null, null, length);
+                    if (fastCheck) {
+                        break;
+                    }
+                }
+            }
+            return intersectInfo;
+        };
+        /** @hidden */
+        SubMesh.prototype._intersectTriangles = function (ray, positions, indices, fastCheck) {
+            var intersectInfo = null;
+            // Triangles test
+            for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 3) {
+                var p0 = positions[indices[index]];
+                var p1 = positions[indices[index + 1]];
+                var p2 = positions[indices[index + 2]];
+                var currentIntersectInfo = ray.intersectsTriangle(p0, p1, p2);
+                if (currentIntersectInfo) {
+                    if (currentIntersectInfo.distance < 0) {
                         continue;
                         continue;
                     }
                     }
-                    if (fastCheck || !intersectInfo || length < intersectInfo.distance) {
-                        intersectInfo = new BABYLON.IntersectionInfo(null, null, length);
+                    if (fastCheck || !intersectInfo || currentIntersectInfo.distance < intersectInfo.distance) {
+                        intersectInfo = currentIntersectInfo;
+                        intersectInfo.faceId = index / 3;
                         if (fastCheck) {
                         if (fastCheck) {
                             break;
                             break;
                         }
                         }
                     }
                     }
                 }
                 }
             }
             }
-            else {
-                // Triangles test
-                for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 3) {
-                    var p0 = positions[indices[index]];
-                    var p1 = positions[indices[index + 1]];
-                    var p2 = positions[indices[index + 2]];
-                    var currentIntersectInfo = ray.intersectsTriangle(p0, p1, p2);
-                    if (currentIntersectInfo) {
-                        if (currentIntersectInfo.distance < 0) {
-                            continue;
-                        }
-                        if (fastCheck || !intersectInfo || currentIntersectInfo.distance < intersectInfo.distance) {
-                            intersectInfo = currentIntersectInfo;
-                            intersectInfo.faceId = index / 3;
-                            if (fastCheck) {
-                                break;
-                            }
-                        }
-                    }
-                }
-            }
             return intersectInfo;
             return intersectInfo;
         };
         };
         /** @hidden */
         /** @hidden */
@@ -40128,7 +40150,7 @@ var BABYLON;
          * Creates a new geometry
          * Creates a new geometry
          * @param id defines the unique ID
          * @param id defines the unique ID
          * @param scene defines the hosting scene
          * @param scene defines the hosting scene
-         * @param vertexData defines the {BABYLON.VertexData} used to get geometry data
+         * @param vertexData defines the VertexData used to get geometry data
          * @param updatable defines if geometry must be updatable (false by default)
          * @param updatable defines if geometry must be updatable (false by default)
          * @param mesh defines the mesh that will be associated with the geometry
          * @param mesh defines the mesh that will be associated with the geometry
          */
          */
@@ -40199,7 +40221,7 @@ var BABYLON;
         /**
         /**
          * Static function used to attach a new empty geometry to a mesh
          * Static function used to attach a new empty geometry to a mesh
          * @param mesh defines the mesh to attach the geometry to
          * @param mesh defines the mesh to attach the geometry to
-         * @returns the new {BABYLON.Geometry}
+         * @returns the new Geometry
          */
          */
         Geometry.CreateGeometryForMesh = function (mesh) {
         Geometry.CreateGeometryForMesh = function (mesh) {
             var geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
             var geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
@@ -40218,14 +40240,14 @@ var BABYLON;
         });
         });
         /**
         /**
          * Gets the hosting scene
          * Gets the hosting scene
-         * @returns the hosting {BABYLON.Scene}
+         * @returns the hosting Scene
          */
          */
         Geometry.prototype.getScene = function () {
         Geometry.prototype.getScene = function () {
             return this._scene;
             return this._scene;
         };
         };
         /**
         /**
          * Gets the hosting engine
          * Gets the hosting engine
-         * @returns the hosting {BABYLON.Engine}
+         * @returns the hosting Engine
          */
          */
         Geometry.prototype.getEngine = function () {
         Geometry.prototype.getEngine = function () {
             return this._engine;
             return this._engine;
@@ -40488,7 +40510,7 @@ var BABYLON;
         /**
         /**
          * Gets a specific vertex buffer
          * Gets a specific vertex buffer
          * @param kind defines the data kind (Position, normal, etc...)
          * @param kind defines the data kind (Position, normal, etc...)
-         * @returns a {BABYLON.VertexBuffer}
+         * @returns a VertexBuffer
          */
          */
         Geometry.prototype.getVertexBuffer = function (kind) {
         Geometry.prototype.getVertexBuffer = function (kind) {
             if (!this.isReady()) {
             if (!this.isReady()) {
@@ -53266,7 +53288,7 @@ var BABYLON;
          * Add an animation (with its target) in the group
          * Add an animation (with its target) in the group
          * @param animation defines the animation we want to add
          * @param animation defines the animation we want to add
          * @param target defines the target of the animation
          * @param target defines the target of the animation
-         * @returns the {BABYLON.TargetedAnimation} object
+         * @returns the TargetedAnimation object
          */
          */
         AnimationGroup.prototype.addTargetedAnimation = function (animation, target) {
         AnimationGroup.prototype.addTargetedAnimation = function (animation, target) {
             var targetedAnimation = {
             var targetedAnimation = {
@@ -61609,7 +61631,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         CylinderParticleEmitter.prototype.applyToShader = function (effect) {
         CylinderParticleEmitter.prototype.applyToShader = function (effect) {
@@ -62024,7 +62046,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         SphereParticleEmitter.prototype.applyToShader = function (effect) {
         SphereParticleEmitter.prototype.applyToShader = function (effect) {
@@ -62246,7 +62268,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         HemisphericParticleEmitter.prototype.applyToShader = function (effect) {
         HemisphericParticleEmitter.prototype.applyToShader = function (effect) {
@@ -73346,13 +73368,13 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * A class extending {BABYLON.Texture} allowing drawing on a texture
+     * A class extending Texture allowing drawing on a texture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      */
      */
     var DynamicTexture = /** @class */ (function (_super) {
     var DynamicTexture = /** @class */ (function (_super) {
         __extends(DynamicTexture, _super);
         __extends(DynamicTexture, _super);
         /**
         /**
-         * Creates a {BABYLON.DynamicTexture}
+         * Creates a DynamicTexture
          * @param name defines the name of the texture
          * @param name defines the name of the texture
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param scene defines the scene where you want the texture
          * @param scene defines the scene where you want the texture
@@ -73542,13 +73564,13 @@ var BABYLON;
          * If you want to display a video in your scene, this is the special texture for that.
          * If you want to display a video in your scene, this is the special texture for that.
          * This special texture works similar to other textures, with the exception of a few parameters.
          * This special texture works similar to other textures, with the exception of a few parameters.
          * @see https://doc.babylonjs.com/how_to/video_texture
          * @see https://doc.babylonjs.com/how_to/video_texture
-         * @param {string | null} name optional name, will detect from video source, if not defined
-         * @param {(string | string[] | HTMLVideoElement)} src can be used to provide an url, array of urls or an already setup HTML video element.
-         * @param {BABYLON.Scene} scene is obviously the current scene.
-         * @param {boolean} generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
-         * @param {boolean} invertY is false by default but can be used to invert video on Y axis
-         * @param {number} samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
-         * @param {VideoTextureSettings} [settings] allows finer control over video usage
+         * @param name optional name, will detect from video source, if not defined
+         * @param src can be used to provide an url, array of urls or an already setup HTML video element.
+         * @param scene is obviously the current scene.
+         * @param generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
+         * @param invertY is false by default but can be used to invert video on Y axis
+         * @param samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
+         * @param settings allows finer control over video usage
          */
          */
         function VideoTexture(name, src, scene, generateMipMaps, invertY, samplingMode, settings) {
         function VideoTexture(name, src, scene, generateMipMaps, invertY, samplingMode, settings) {
             if (generateMipMaps === void 0) { generateMipMaps = false; }
             if (generateMipMaps === void 0) { generateMipMaps = false; }
@@ -84223,10 +84245,10 @@ var BABYLON;
         __extends(SSAORenderingPipeline, _super);
         __extends(SSAORenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name - The rendering pipeline name
+         * @param scene - The scene linked to this pipeline
+         * @param ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to
          */
          */
         function SSAORenderingPipeline(name, scene, ratio, cameras) {
         function SSAORenderingPipeline(name, scene, ratio, cameras) {
             var _this = _super.call(this, scene.getEngine(), name) || this;
             var _this = _super.call(this, scene.getEngine(), name) || this;
@@ -84451,10 +84473,10 @@ var BABYLON;
         __extends(SSAO2RenderingPipeline, _super);
         __extends(SSAO2RenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function SSAO2RenderingPipeline(name, scene, ratio, cameras) {
         function SSAO2RenderingPipeline(name, scene, ratio, cameras) {
             var _this = _super.call(this, scene.getEngine(), name) || this;
             var _this = _super.call(this, scene.getEngine(), name) || this;
@@ -84861,11 +84883,11 @@ var BABYLON;
          * }
          * }
          * Note: if an effect parameter is unset, effect is disabled
          * Note: if an effect parameter is unset, effect is disabled
          *
          *
-         * @param {string} name - The rendering pipeline name
-         * @param {object} parameters - An object containing all parameters (see above)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {number} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param parameters - An object containing all parameters (see above)
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function LensRenderingPipeline(name, parameters, scene, ratio, cameras) {
         function LensRenderingPipeline(name, parameters, scene, ratio, cameras) {
             if (ratio === void 0) { ratio = 1.0; }
             if (ratio === void 0) { ratio = 1.0; }
@@ -85150,11 +85172,11 @@ var BABYLON;
         /**
         /**
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.PostProcess} originalPostProcess - the custom original color post-process. Must be "reusable". Can be null.
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param originalPostProcess the custom original color post-process. Must be "reusable". Can be null.
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function StandardRenderingPipeline(name, scene, ratio, originalPostProcess, cameras) {
         function StandardRenderingPipeline(name, scene, ratio, originalPostProcess, cameras) {
             if (originalPostProcess === void 0) { originalPostProcess = null; }
             if (originalPostProcess === void 0) { originalPostProcess = null; }
@@ -87197,11 +87219,11 @@ var BABYLON;
         __extends(DefaultRenderingPipeline, _super);
         __extends(DefaultRenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name (default: "")
-         * @param {boolean} hdr - If high dynamic range textures should be used (default: true)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline (default: the last created scene)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
-         * @param {boolean} automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
+         * @param name - The rendering pipeline name (default: "")
+         * @param hdr - If high dynamic range textures should be used (default: true)
+         * @param scene - The scene linked to this pipeline (default: the last created scene)
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
+         * @param automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
          */
          */
         function DefaultRenderingPipeline(name, hdr, scene, cameras, automaticBuild) {
         function DefaultRenderingPipeline(name, hdr, scene, cameras, automaticBuild) {
             if (name === void 0) { name = ""; }
             if (name === void 0) { name = ""; }
@@ -89494,15 +89516,15 @@ var BABYLON;
         __extends(VolumetricLightScatteringPostProcess, _super);
         __extends(VolumetricLightScatteringPostProcess, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The post-process name
-         * @param {any} ratio - The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera} camera - The camera that the post-process will be attached to
-         * @param {BABYLON.Mesh} mesh - The mesh used to create the light scattering
-         * @param {number} samples - The post-process quality, default 100
-         * @param {number} samplingMode - The post-process filtering mode
-         * @param {BABYLON.Engine} engine - The babylon engine
-         * @param {boolean} reusable - If the post-process is reusable
-         * @param {BABYLON.Scene} scene - The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
+         * @param name The post-process name
+         * @param ratio The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param camera The camera that the post-process will be attached to
+         * @param mesh The mesh used to create the light scattering
+         * @param samples The post-process quality, default 100
+         * @param samplingModeThe post-process filtering mode
+         * @param engine The babylon engine
+         * @param reusable If the post-process is reusable
+         * @param scene The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
          */
          */
         function VolumetricLightScatteringPostProcess(name, ratio, camera, mesh, samples, samplingMode, engine, reusable, scene) {
         function VolumetricLightScatteringPostProcess(name, ratio, camera, mesh, samples, samplingMode, engine, reusable, scene) {
             if (samples === void 0) { samples = 100; }
             if (samples === void 0) { samples = 100; }
@@ -89645,7 +89667,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Returns the light position for light scattering effect
          * Returns the light position for light scattering effect
-         * @return {BABYLON.Vector3} The custom light position
+         * @return Vector3 The custom light position
          */
          */
         VolumetricLightScatteringPostProcess.prototype.getCustomMeshPosition = function () {
         VolumetricLightScatteringPostProcess.prototype.getCustomMeshPosition = function () {
             return this.customMeshPosition;
             return this.customMeshPosition;
@@ -89663,7 +89685,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Returns the render target texture used by the post-process
          * Returns the render target texture used by the post-process
-         * @return {BABYLON.RenderTargetTexture} The render target texture used by the post-process
+         * @return the render target texture used by the post-process
          */
          */
         VolumetricLightScatteringPostProcess.prototype.getPass = function () {
         VolumetricLightScatteringPostProcess.prototype.getPass = function () {
             return this._volumetricLightScatteringRTT;
             return this._volumetricLightScatteringRTT;
@@ -89831,7 +89853,7 @@ var BABYLON;
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * @param name The mesh name
         * @param name The mesh name
         * @param scene The scene where to create the mesh
         * @param scene The scene where to create the mesh
-        * @return {BABYLON.Mesh} the default mesh
+        * @return the default mesh
         */
         */
         VolumetricLightScatteringPostProcess.CreateDefaultMesh = function (name, scene) {
         VolumetricLightScatteringPostProcess.CreateDefaultMesh = function (name, scene) {
             var mesh = BABYLON.Mesh.CreatePlane(name, 1, scene);
             var mesh = BABYLON.Mesh.CreatePlane(name, 1, scene);
@@ -111195,7 +111217,7 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * Defines the list of states available for a task inside a {BABYLON.AssetsManager}
+     * Defines the list of states available for a task inside a AssetsManager
      */
      */
     var AssetTaskState;
     var AssetTaskState;
     (function (AssetTaskState) {
     (function (AssetTaskState) {
@@ -111217,11 +111239,11 @@ var BABYLON;
         AssetTaskState[AssetTaskState["ERROR"] = 3] = "ERROR";
         AssetTaskState[AssetTaskState["ERROR"] = 3] = "ERROR";
     })(AssetTaskState = BABYLON.AssetTaskState || (BABYLON.AssetTaskState = {}));
     })(AssetTaskState = BABYLON.AssetTaskState || (BABYLON.AssetTaskState = {}));
     /**
     /**
-     * Define an abstract asset task used with a {BABYLON.AssetsManager} class to load assets into a scene
+     * Define an abstract asset task used with a AssetsManager class to load assets into a scene
      */
      */
     var AbstractAssetTask = /** @class */ (function () {
     var AbstractAssetTask = /** @class */ (function () {
         /**
         /**
-         * Creates a new {BABYLON.AssetsManager}
+         * Creates a new AssetsManager
          * @param name defines the name of the task
          * @param name defines the name of the task
          */
          */
         function AbstractAssetTask(
         function AbstractAssetTask(
@@ -111338,7 +111360,7 @@ var BABYLON;
      */
      */
     var AssetsProgressEvent = /** @class */ (function () {
     var AssetsProgressEvent = /** @class */ (function () {
         /**
         /**
-         * Creates a {BABYLON.AssetsProgressEvent}
+         * Creates a AssetsProgressEvent
          * @param remainingCount defines the number of remaining tasks to process
          * @param remainingCount defines the number of remaining tasks to process
          * @param totalCount defines the total number of tasks
          * @param totalCount defines the total number of tasks
          * @param task defines the task that was just processed
          * @param task defines the task that was just processed
@@ -111352,12 +111374,12 @@ var BABYLON;
     }());
     }());
     BABYLON.AssetsProgressEvent = AssetsProgressEvent;
     BABYLON.AssetsProgressEvent = AssetsProgressEvent;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load meshes
+     * Define a task used by AssetsManager to load meshes
      */
      */
     var MeshAssetTask = /** @class */ (function (_super) {
     var MeshAssetTask = /** @class */ (function (_super) {
         __extends(MeshAssetTask, _super);
         __extends(MeshAssetTask, _super);
         /**
         /**
-         * Creates a new {BABYLON.MeshAssetTask}
+         * Creates a new MeshAssetTask
          * @param name defines the name of the task
          * @param name defines the name of the task
          * @param meshesNames defines the list of mesh's names you want to load
          * @param meshesNames defines the list of mesh's names you want to load
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
@@ -111408,7 +111430,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.MeshAssetTask = MeshAssetTask;
     BABYLON.MeshAssetTask = MeshAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load text content
+     * Define a task used by AssetsManager to load text content
      */
      */
     var TextFileAssetTask = /** @class */ (function (_super) {
     var TextFileAssetTask = /** @class */ (function (_super) {
         __extends(TextFileAssetTask, _super);
         __extends(TextFileAssetTask, _super);
@@ -111452,7 +111474,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.TextFileAssetTask = TextFileAssetTask;
     BABYLON.TextFileAssetTask = TextFileAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load binary data
+     * Define a task used by AssetsManager to load binary data
      */
      */
     var BinaryFileAssetTask = /** @class */ (function (_super) {
     var BinaryFileAssetTask = /** @class */ (function (_super) {
         __extends(BinaryFileAssetTask, _super);
         __extends(BinaryFileAssetTask, _super);
@@ -111496,7 +111518,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.BinaryFileAssetTask = BinaryFileAssetTask;
     BABYLON.BinaryFileAssetTask = BinaryFileAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load images
+     * Define a task used by AssetsManager to load images
      */
      */
     var ImageAssetTask = /** @class */ (function (_super) {
     var ImageAssetTask = /** @class */ (function (_super) {
         __extends(ImageAssetTask, _super);
         __extends(ImageAssetTask, _super);
@@ -111542,7 +111564,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.ImageAssetTask = ImageAssetTask;
     BABYLON.ImageAssetTask = ImageAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load 2D textures
+     * Define a task used by AssetsManager to load 2D textures
      */
      */
     var TextureAssetTask = /** @class */ (function (_super) {
     var TextureAssetTask = /** @class */ (function (_super) {
         __extends(TextureAssetTask, _super);
         __extends(TextureAssetTask, _super);
@@ -111603,7 +111625,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.TextureAssetTask = TextureAssetTask;
     BABYLON.TextureAssetTask = TextureAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load cube textures
+     * Define a task used by AssetsManager to load cube textures
      */
      */
     var CubeTextureAssetTask = /** @class */ (function (_super) {
     var CubeTextureAssetTask = /** @class */ (function (_super) {
         __extends(CubeTextureAssetTask, _super);
         __extends(CubeTextureAssetTask, _super);
@@ -111663,7 +111685,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.CubeTextureAssetTask = CubeTextureAssetTask;
     BABYLON.CubeTextureAssetTask = CubeTextureAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load HDR cube textures
+     * Define a task used by AssetsManager to load HDR cube textures
      */
      */
     var HDRCubeTextureAssetTask = /** @class */ (function (_super) {
     var HDRCubeTextureAssetTask = /** @class */ (function (_super) {
         __extends(HDRCubeTextureAssetTask, _super);
         __extends(HDRCubeTextureAssetTask, _super);
@@ -111769,19 +111791,19 @@ var BABYLON;
              */
              */
             this.onProgressObservable = new BABYLON.Observable();
             this.onProgressObservable = new BABYLON.Observable();
             /**
             /**
-             * Gets or sets a boolean defining if the {BABYLON.AssetsManager} should use the default loading screen
+             * Gets or sets a boolean defining if the AssetsManager should use the default loading screen
              * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
              * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
              */
              */
             this.useDefaultLoadingScreen = true;
             this.useDefaultLoadingScreen = true;
             this._scene = scene;
             this._scene = scene;
         }
         }
         /**
         /**
-         * Add a {BABYLON.MeshAssetTask} to the list of active tasks
+         * Add a MeshAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param meshesNames defines the name of meshes to load
          * @param meshesNames defines the name of meshes to load
          * @param rootUrl defines the root url to use to locate files
          * @param rootUrl defines the root url to use to locate files
          * @param sceneFilename defines the filename of the scene file
          * @param sceneFilename defines the filename of the scene file
-         * @returns a new {BABYLON.MeshAssetTask} object
+         * @returns a new MeshAssetTask object
          */
          */
         AssetsManager.prototype.addMeshTask = function (taskName, meshesNames, rootUrl, sceneFilename) {
         AssetsManager.prototype.addMeshTask = function (taskName, meshesNames, rootUrl, sceneFilename) {
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
@@ -111789,10 +111811,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.TextFileAssetTask} to the list of active tasks
+         * Add a TextFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.TextFileAssetTask} object
+         * @returns a new TextFileAssetTask object
          */
          */
         AssetsManager.prototype.addTextFileTask = function (taskName, url) {
         AssetsManager.prototype.addTextFileTask = function (taskName, url) {
             var task = new TextFileAssetTask(taskName, url);
             var task = new TextFileAssetTask(taskName, url);
@@ -111800,10 +111822,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.BinaryFileAssetTask} to the list of active tasks
+         * Add a BinaryFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.BinaryFileAssetTask} object
+         * @returns a new BinaryFileAssetTask object
          */
          */
         AssetsManager.prototype.addBinaryFileTask = function (taskName, url) {
         AssetsManager.prototype.addBinaryFileTask = function (taskName, url) {
             var task = new BinaryFileAssetTask(taskName, url);
             var task = new BinaryFileAssetTask(taskName, url);
@@ -111811,10 +111833,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.ImageAssetTask} to the list of active tasks
+         * Add a ImageAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.ImageAssetTask} object
+         * @returns a new ImageAssetTask object
          */
          */
         AssetsManager.prototype.addImageTask = function (taskName, url) {
         AssetsManager.prototype.addImageTask = function (taskName, url) {
             var task = new ImageAssetTask(taskName, url);
             var task = new ImageAssetTask(taskName, url);
@@ -111822,13 +111844,13 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.TextureAssetTask} to the list of active tasks
+         * Add a TextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
-         * @returns a new {BABYLON.TextureAssetTask} object
+         * @returns a new TextureAssetTask object
          */
          */
         AssetsManager.prototype.addTextureTask = function (taskName, url, noMipmap, invertY, samplingMode) {
         AssetsManager.prototype.addTextureTask = function (taskName, url, noMipmap, invertY, samplingMode) {
             if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
             if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
@@ -111837,13 +111859,13 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.CubeTextureAssetTask} to the list of active tasks
+         * Add a CubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param files defines the list of files to load (can be null)
          * @param files defines the list of files to load (can be null)
-         * @returns a new {BABYLON.CubeTextureAssetTask} object
+         * @returns a new CubeTextureAssetTask object
          */
          */
         AssetsManager.prototype.addCubeTextureTask = function (taskName, url, extensions, noMipmap, files) {
         AssetsManager.prototype.addCubeTextureTask = function (taskName, url, extensions, noMipmap, files) {
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
@@ -111852,7 +111874,7 @@ var BABYLON;
         };
         };
         /**
         /**
          *
          *
-         * Add a {BABYLON.HDRCubeTextureAssetTask} to the list of active tasks
+         * Add a HDRCubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param size defines the size you want for the cubemap (can be null)
          * @param size defines the size you want for the cubemap (can be null)
@@ -111860,7 +111882,7 @@ var BABYLON;
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param reserved Internal use only
          * @param reserved Internal use only
-         * @returns a new {BABYLON.HDRCubeTextureAssetTask} object
+         * @returns a new HDRCubeTextureAssetTask object
          */
          */
         AssetsManager.prototype.addHDRCubeTextureTask = function (taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved) {
         AssetsManager.prototype.addHDRCubeTextureTask = function (taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved) {
             if (noMipmap === void 0) { noMipmap = false; }
             if (noMipmap === void 0) { noMipmap = false; }
@@ -111944,8 +111966,8 @@ var BABYLON;
             task.run(this._scene, done, error);
             task.run(this._scene, done, error);
         };
         };
         /**
         /**
-         * Reset the {BABYLON.AssetsManager} and remove all tasks
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * Reset the AssetsManager and remove all tasks
+         * @return the current instance of the AssetsManager
          */
          */
         AssetsManager.prototype.reset = function () {
         AssetsManager.prototype.reset = function () {
             this._isLoading = false;
             this._isLoading = false;
@@ -111954,7 +111976,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Start the loading process
          * Start the loading process
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * @return the current instance of the AssetsManager
          */
          */
         AssetsManager.prototype.load = function () {
         AssetsManager.prototype.load = function () {
             if (this._isLoading) {
             if (this._isLoading) {

文件差異過大導致無法顯示
+ 1 - 1
dist/preview release/babylon.worker.js


+ 160 - 138
dist/preview release/es6.js

@@ -1354,7 +1354,7 @@ var BABYLON;
          */
          */
         PointerEventTypes.POINTERTAP = 0x20;
         PointerEventTypes.POINTERTAP = 0x20;
         /**
         /**
-         * The pointertap event is fired when a the object has been touched and released twice without drag.
+         * The pointerdoubletap event is fired when a the object has been touched and released twice without drag.
          */
          */
         PointerEventTypes.POINTERDOUBLETAP = 0x40;
         PointerEventTypes.POINTERDOUBLETAP = 0x40;
         return PointerEventTypes;
         return PointerEventTypes;
@@ -1526,9 +1526,9 @@ var BABYLON;
             return this;
             return this;
         };
         };
         /**
         /**
-         * Returns a new {BABYLON.Color4} object from the current Color3 and the given alpha
-         * @param alpha defines the alpha component on the new {BABYLON.Color4} object (default is 1)
-         * @returns a new {BABYLON.Color4} object
+         * Returns a new Color4 object from the current Color3 and the given alpha
+         * @param alpha defines the alpha component on the new Color4 object (default is 1)
+         * @returns a new Color4 object
          */
          */
         Color3.prototype.toColor4 = function (alpha) {
         Color3.prototype.toColor4 = function (alpha) {
             if (alpha === void 0) { alpha = 1; }
             if (alpha === void 0) { alpha = 1; }
@@ -3199,9 +3199,12 @@ var BABYLON;
          * @returns the current updated Vector3
          * @returns the current updated Vector3
          */
          */
         Vector3.prototype.minimizeInPlaceFromFloats = function (x, y, z) {
         Vector3.prototype.minimizeInPlaceFromFloats = function (x, y, z) {
-            this.x = Math.min(this.x, x);
-            this.y = Math.min(this.y, y);
-            this.z = Math.min(this.z, z);
+            if (x < this.x)
+                this.x = x;
+            if (y < this.y)
+                this.y = y;
+            if (z < this.z)
+                this.z = z;
             return this;
             return this;
         };
         };
         /**
         /**
@@ -3212,9 +3215,12 @@ var BABYLON;
          * @returns the current updated Vector3
          * @returns the current updated Vector3
          */
          */
         Vector3.prototype.maximizeInPlaceFromFloats = function (x, y, z) {
         Vector3.prototype.maximizeInPlaceFromFloats = function (x, y, z) {
-            this.x = Math.max(this.x, x);
-            this.y = Math.max(this.y, y);
-            this.z = Math.max(this.z, z);
+            if (x > this.x)
+                this.x = x;
+            if (y > this.y)
+                this.y = y;
+            if (z > this.z)
+                this.z = z;
             return this;
             return this;
         };
         };
         Object.defineProperty(Vector3.prototype, "isNonUniform", {
         Object.defineProperty(Vector3.prototype, "isNonUniform", {
@@ -3371,10 +3377,11 @@ var BABYLON;
          * @return the angle between vector0 and vector1
          * @return the angle between vector0 and vector1
          */
          */
         Vector3.GetAngleBetweenVectors = function (vector0, vector1, normal) {
         Vector3.GetAngleBetweenVectors = function (vector0, vector1, normal) {
-            var v0 = vector0.clone().normalize();
-            var v1 = vector1.clone().normalize();
+            var v0 = MathTmp.Vector3[1].copyFrom(vector0).normalize();
+            var v1 = MathTmp.Vector3[2].copyFrom(vector1).normalize();
             var dot = Vector3.Dot(v0, v1);
             var dot = Vector3.Dot(v0, v1);
-            var n = Vector3.Cross(v0, v1);
+            var n = MathTmp.Vector3[3];
+            Vector3.CrossToRef(v0, v1, n);
             if (Vector3.Dot(n, normal) > 0) {
             if (Vector3.Dot(n, normal) > 0) {
                 return Math.acos(dot);
                 return Math.acos(dot);
             }
             }
@@ -12388,6 +12395,10 @@ var BABYLON;
                         this._gl = (canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));
                         this._gl = (canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));
                         if (this._gl) {
                         if (this._gl) {
                             this._webGLVersion = 2.0;
                             this._webGLVersion = 2.0;
+                            // Prevent weird browsers to lie :-)
+                            if (!this._gl.deleteQuery) {
+                                this._webGLVersion = 1.0;
+                            }
                         }
                         }
                     }
                     }
                     catch (e) {
                     catch (e) {
@@ -18351,8 +18362,8 @@ var BABYLON;
     var Node = /** @class */ (function () {
     var Node = /** @class */ (function () {
         /**
         /**
          * Creates a new Node
          * Creates a new Node
-         * @param {string} name - the name and id to be given to this node
-         * @param {BABYLON.Scene} the scene this node will be added to
+         * @param name the name and id to be given to this node
+         * @param scene the scene this node will be added to
          */
          */
         function Node(name, scene) {
         function Node(name, scene) {
             if (scene === void 0) { scene = null; }
             if (scene === void 0) { scene = null; }
@@ -18526,14 +18537,14 @@ var BABYLON;
         });
         });
         /**
         /**
          * Gets the scene of the node
          * Gets the scene of the node
-         * @returns a {BABYLON.Scene}
+         * @returns a scene
          */
          */
         Node.prototype.getScene = function () {
         Node.prototype.getScene = function () {
             return this._scene;
             return this._scene;
         };
         };
         /**
         /**
          * Gets the engine of the node
          * Gets the engine of the node
-         * @returns a {BABYLON.Engine}
+         * @returns a Engine
          */
          */
         Node.prototype.getEngine = function () {
         Node.prototype.getEngine = function () {
             return this._scene.getEngine();
             return this._scene.getEngine();
@@ -18770,7 +18781,7 @@ var BABYLON;
          * Get all child-meshes of this node
          * Get all child-meshes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.AbstractMesh}
+         * @returns an array of AbstractMesh
          */
          */
         Node.prototype.getChildMeshes = function (directDescendantsOnly, predicate) {
         Node.prototype.getChildMeshes = function (directDescendantsOnly, predicate) {
             var results = [];
             var results = [];
@@ -18783,7 +18794,7 @@ var BABYLON;
          * Get all child-transformNodes of this node
          * Get all child-transformNodes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.TransformNode}
+         * @returns an array of TransformNode
          */
          */
         Node.prototype.getChildTransformNodes = function (directDescendantsOnly, predicate) {
         Node.prototype.getChildTransformNodes = function (directDescendantsOnly, predicate) {
             var results = [];
             var results = [];
@@ -18795,7 +18806,7 @@ var BABYLON;
         /**
         /**
          * Get all direct children of this node
          * Get all direct children of this node
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.Node}
+         * @returns an array of Node
          */
          */
         Node.prototype.getChildren = function (predicate) {
         Node.prototype.getChildren = function (predicate) {
             return this.getDescendants(true, predicate);
             return this.getDescendants(true, predicate);
@@ -29945,7 +29956,7 @@ var BABYLON;
             }
             }
         }
         }
         /**
         /**
-         * Create a new {BABYLON.VertexBuffer} based on the current buffer
+         * Create a new VertexBuffer based on the current buffer
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param offset defines offset in the buffer (0 by default)
          * @param offset defines offset in the buffer (0 by default)
          * @param size defines the size in floats of attributes (position is 3 for instance)
          * @param size defines the size in floats of attributes (position is 3 for instance)
@@ -30491,7 +30502,7 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * Internal class used by the engine to get list of {BABYLON.InternalTexture} already bound to the GL context
+     * Internal class used by the engine to get list of InternalTexture already bound to the GL context
      */
      */
     var DummyInternalTextureTracker = /** @class */ (function () {
     var DummyInternalTextureTracker = /** @class */ (function () {
         function DummyInternalTextureTracker() {
         function DummyInternalTextureTracker() {
@@ -30577,7 +30588,7 @@ var BABYLON;
             configurable: true
             configurable: true
         });
         });
         /**
         /**
-         * Increments the number of references (ie. the number of {BABYLON.Texture} that point to it)
+         * Increments the number of references (ie. the number of Texture that point to it)
          */
          */
         InternalTexture.prototype.incrementReferences = function () {
         InternalTexture.prototype.incrementReferences = function () {
             this._references++;
             this._references++;
@@ -35706,7 +35717,6 @@ var BABYLON;
          * @returns intersection info or null if no intersection
          * @returns intersection info or null if no intersection
          */
          */
         SubMesh.prototype.intersects = function (ray, positions, indices, fastCheck) {
         SubMesh.prototype.intersects = function (ray, positions, indices, fastCheck) {
-            var intersectInfo = null;
             var material = this.getMaterial();
             var material = this.getMaterial();
             if (!material) {
             if (!material) {
                 return null;
                 return null;
@@ -35721,45 +35731,57 @@ var BABYLON;
                     return null;
                     return null;
             }
             }
             // LineMesh first as it's also a Mesh...
             // LineMesh first as it's also a Mesh...
-            if (BABYLON.LinesMesh && this._mesh instanceof BABYLON.LinesMesh) {
-                var lineMesh = this._mesh;
-                // Line test
-                for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 2) {
-                    var p0 = positions[indices[index]];
-                    var p1 = positions[indices[index + 1]];
-                    var length = ray.intersectionSegment(p0, p1, lineMesh.intersectionThreshold);
-                    if (length < 0) {
+            if (BABYLON.LinesMesh) {
+                var mesh = this._mesh instanceof BABYLON.InstancedMesh ? this._mesh.sourceMesh : this._mesh;
+                if (mesh instanceof BABYLON.LinesMesh) {
+                    var linesMesh = mesh;
+                    return this._intersectLines(ray, positions, indices, linesMesh.intersectionThreshold, fastCheck);
+                }
+            }
+            return this._intersectTriangles(ray, positions, indices, fastCheck);
+        };
+        /** @hidden */
+        SubMesh.prototype._intersectLines = function (ray, positions, indices, intersectionThreshold, fastCheck) {
+            var intersectInfo = null;
+            // Line test
+            for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 2) {
+                var p0 = positions[indices[index]];
+                var p1 = positions[indices[index + 1]];
+                var length = ray.intersectionSegment(p0, p1, intersectionThreshold);
+                if (length < 0) {
+                    continue;
+                }
+                if (fastCheck || !intersectInfo || length < intersectInfo.distance) {
+                    intersectInfo = new BABYLON.IntersectionInfo(null, null, length);
+                    if (fastCheck) {
+                        break;
+                    }
+                }
+            }
+            return intersectInfo;
+        };
+        /** @hidden */
+        SubMesh.prototype._intersectTriangles = function (ray, positions, indices, fastCheck) {
+            var intersectInfo = null;
+            // Triangles test
+            for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 3) {
+                var p0 = positions[indices[index]];
+                var p1 = positions[indices[index + 1]];
+                var p2 = positions[indices[index + 2]];
+                var currentIntersectInfo = ray.intersectsTriangle(p0, p1, p2);
+                if (currentIntersectInfo) {
+                    if (currentIntersectInfo.distance < 0) {
                         continue;
                         continue;
                     }
                     }
-                    if (fastCheck || !intersectInfo || length < intersectInfo.distance) {
-                        intersectInfo = new BABYLON.IntersectionInfo(null, null, length);
+                    if (fastCheck || !intersectInfo || currentIntersectInfo.distance < intersectInfo.distance) {
+                        intersectInfo = currentIntersectInfo;
+                        intersectInfo.faceId = index / 3;
                         if (fastCheck) {
                         if (fastCheck) {
                             break;
                             break;
                         }
                         }
                     }
                     }
                 }
                 }
             }
             }
-            else {
-                // Triangles test
-                for (var index = this.indexStart; index < this.indexStart + this.indexCount; index += 3) {
-                    var p0 = positions[indices[index]];
-                    var p1 = positions[indices[index + 1]];
-                    var p2 = positions[indices[index + 2]];
-                    var currentIntersectInfo = ray.intersectsTriangle(p0, p1, p2);
-                    if (currentIntersectInfo) {
-                        if (currentIntersectInfo.distance < 0) {
-                            continue;
-                        }
-                        if (fastCheck || !intersectInfo || currentIntersectInfo.distance < intersectInfo.distance) {
-                            intersectInfo = currentIntersectInfo;
-                            intersectInfo.faceId = index / 3;
-                            if (fastCheck) {
-                                break;
-                            }
-                        }
-                    }
-                }
-            }
             return intersectInfo;
             return intersectInfo;
         };
         };
         /** @hidden */
         /** @hidden */
@@ -40128,7 +40150,7 @@ var BABYLON;
          * Creates a new geometry
          * Creates a new geometry
          * @param id defines the unique ID
          * @param id defines the unique ID
          * @param scene defines the hosting scene
          * @param scene defines the hosting scene
-         * @param vertexData defines the {BABYLON.VertexData} used to get geometry data
+         * @param vertexData defines the VertexData used to get geometry data
          * @param updatable defines if geometry must be updatable (false by default)
          * @param updatable defines if geometry must be updatable (false by default)
          * @param mesh defines the mesh that will be associated with the geometry
          * @param mesh defines the mesh that will be associated with the geometry
          */
          */
@@ -40199,7 +40221,7 @@ var BABYLON;
         /**
         /**
          * Static function used to attach a new empty geometry to a mesh
          * Static function used to attach a new empty geometry to a mesh
          * @param mesh defines the mesh to attach the geometry to
          * @param mesh defines the mesh to attach the geometry to
-         * @returns the new {BABYLON.Geometry}
+         * @returns the new Geometry
          */
          */
         Geometry.CreateGeometryForMesh = function (mesh) {
         Geometry.CreateGeometryForMesh = function (mesh) {
             var geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
             var geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
@@ -40218,14 +40240,14 @@ var BABYLON;
         });
         });
         /**
         /**
          * Gets the hosting scene
          * Gets the hosting scene
-         * @returns the hosting {BABYLON.Scene}
+         * @returns the hosting Scene
          */
          */
         Geometry.prototype.getScene = function () {
         Geometry.prototype.getScene = function () {
             return this._scene;
             return this._scene;
         };
         };
         /**
         /**
          * Gets the hosting engine
          * Gets the hosting engine
-         * @returns the hosting {BABYLON.Engine}
+         * @returns the hosting Engine
          */
          */
         Geometry.prototype.getEngine = function () {
         Geometry.prototype.getEngine = function () {
             return this._engine;
             return this._engine;
@@ -40488,7 +40510,7 @@ var BABYLON;
         /**
         /**
          * Gets a specific vertex buffer
          * Gets a specific vertex buffer
          * @param kind defines the data kind (Position, normal, etc...)
          * @param kind defines the data kind (Position, normal, etc...)
-         * @returns a {BABYLON.VertexBuffer}
+         * @returns a VertexBuffer
          */
          */
         Geometry.prototype.getVertexBuffer = function (kind) {
         Geometry.prototype.getVertexBuffer = function (kind) {
             if (!this.isReady()) {
             if (!this.isReady()) {
@@ -53266,7 +53288,7 @@ var BABYLON;
          * Add an animation (with its target) in the group
          * Add an animation (with its target) in the group
          * @param animation defines the animation we want to add
          * @param animation defines the animation we want to add
          * @param target defines the target of the animation
          * @param target defines the target of the animation
-         * @returns the {BABYLON.TargetedAnimation} object
+         * @returns the TargetedAnimation object
          */
          */
         AnimationGroup.prototype.addTargetedAnimation = function (animation, target) {
         AnimationGroup.prototype.addTargetedAnimation = function (animation, target) {
             var targetedAnimation = {
             var targetedAnimation = {
@@ -61609,7 +61631,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         CylinderParticleEmitter.prototype.applyToShader = function (effect) {
         CylinderParticleEmitter.prototype.applyToShader = function (effect) {
@@ -62024,7 +62046,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         SphereParticleEmitter.prototype.applyToShader = function (effect) {
         SphereParticleEmitter.prototype.applyToShader = function (effect) {
@@ -62246,7 +62268,7 @@ var BABYLON;
             return newOne;
             return newOne;
         };
         };
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         HemisphericParticleEmitter.prototype.applyToShader = function (effect) {
         HemisphericParticleEmitter.prototype.applyToShader = function (effect) {
@@ -73346,13 +73368,13 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * A class extending {BABYLON.Texture} allowing drawing on a texture
+     * A class extending Texture allowing drawing on a texture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      */
      */
     var DynamicTexture = /** @class */ (function (_super) {
     var DynamicTexture = /** @class */ (function (_super) {
         __extends(DynamicTexture, _super);
         __extends(DynamicTexture, _super);
         /**
         /**
-         * Creates a {BABYLON.DynamicTexture}
+         * Creates a DynamicTexture
          * @param name defines the name of the texture
          * @param name defines the name of the texture
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param scene defines the scene where you want the texture
          * @param scene defines the scene where you want the texture
@@ -73542,13 +73564,13 @@ var BABYLON;
          * If you want to display a video in your scene, this is the special texture for that.
          * If you want to display a video in your scene, this is the special texture for that.
          * This special texture works similar to other textures, with the exception of a few parameters.
          * This special texture works similar to other textures, with the exception of a few parameters.
          * @see https://doc.babylonjs.com/how_to/video_texture
          * @see https://doc.babylonjs.com/how_to/video_texture
-         * @param {string | null} name optional name, will detect from video source, if not defined
-         * @param {(string | string[] | HTMLVideoElement)} src can be used to provide an url, array of urls or an already setup HTML video element.
-         * @param {BABYLON.Scene} scene is obviously the current scene.
-         * @param {boolean} generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
-         * @param {boolean} invertY is false by default but can be used to invert video on Y axis
-         * @param {number} samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
-         * @param {VideoTextureSettings} [settings] allows finer control over video usage
+         * @param name optional name, will detect from video source, if not defined
+         * @param src can be used to provide an url, array of urls or an already setup HTML video element.
+         * @param scene is obviously the current scene.
+         * @param generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
+         * @param invertY is false by default but can be used to invert video on Y axis
+         * @param samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
+         * @param settings allows finer control over video usage
          */
          */
         function VideoTexture(name, src, scene, generateMipMaps, invertY, samplingMode, settings) {
         function VideoTexture(name, src, scene, generateMipMaps, invertY, samplingMode, settings) {
             if (generateMipMaps === void 0) { generateMipMaps = false; }
             if (generateMipMaps === void 0) { generateMipMaps = false; }
@@ -84223,10 +84245,10 @@ var BABYLON;
         __extends(SSAORenderingPipeline, _super);
         __extends(SSAORenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name - The rendering pipeline name
+         * @param scene - The scene linked to this pipeline
+         * @param ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to
          */
          */
         function SSAORenderingPipeline(name, scene, ratio, cameras) {
         function SSAORenderingPipeline(name, scene, ratio, cameras) {
             var _this = _super.call(this, scene.getEngine(), name) || this;
             var _this = _super.call(this, scene.getEngine(), name) || this;
@@ -84451,10 +84473,10 @@ var BABYLON;
         __extends(SSAO2RenderingPipeline, _super);
         __extends(SSAO2RenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function SSAO2RenderingPipeline(name, scene, ratio, cameras) {
         function SSAO2RenderingPipeline(name, scene, ratio, cameras) {
             var _this = _super.call(this, scene.getEngine(), name) || this;
             var _this = _super.call(this, scene.getEngine(), name) || this;
@@ -84861,11 +84883,11 @@ var BABYLON;
          * }
          * }
          * Note: if an effect parameter is unset, effect is disabled
          * Note: if an effect parameter is unset, effect is disabled
          *
          *
-         * @param {string} name - The rendering pipeline name
-         * @param {object} parameters - An object containing all parameters (see above)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {number} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param parameters - An object containing all parameters (see above)
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function LensRenderingPipeline(name, parameters, scene, ratio, cameras) {
         function LensRenderingPipeline(name, parameters, scene, ratio, cameras) {
             if (ratio === void 0) { ratio = 1.0; }
             if (ratio === void 0) { ratio = 1.0; }
@@ -85150,11 +85172,11 @@ var BABYLON;
         /**
         /**
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.PostProcess} originalPostProcess - the custom original color post-process. Must be "reusable". Can be null.
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param originalPostProcess the custom original color post-process. Must be "reusable". Can be null.
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         function StandardRenderingPipeline(name, scene, ratio, originalPostProcess, cameras) {
         function StandardRenderingPipeline(name, scene, ratio, originalPostProcess, cameras) {
             if (originalPostProcess === void 0) { originalPostProcess = null; }
             if (originalPostProcess === void 0) { originalPostProcess = null; }
@@ -87197,11 +87219,11 @@ var BABYLON;
         __extends(DefaultRenderingPipeline, _super);
         __extends(DefaultRenderingPipeline, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name (default: "")
-         * @param {boolean} hdr - If high dynamic range textures should be used (default: true)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline (default: the last created scene)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
-         * @param {boolean} automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
+         * @param name - The rendering pipeline name (default: "")
+         * @param hdr - If high dynamic range textures should be used (default: true)
+         * @param scene - The scene linked to this pipeline (default: the last created scene)
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
+         * @param automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
          */
          */
         function DefaultRenderingPipeline(name, hdr, scene, cameras, automaticBuild) {
         function DefaultRenderingPipeline(name, hdr, scene, cameras, automaticBuild) {
             if (name === void 0) { name = ""; }
             if (name === void 0) { name = ""; }
@@ -89494,15 +89516,15 @@ var BABYLON;
         __extends(VolumetricLightScatteringPostProcess, _super);
         __extends(VolumetricLightScatteringPostProcess, _super);
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The post-process name
-         * @param {any} ratio - The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera} camera - The camera that the post-process will be attached to
-         * @param {BABYLON.Mesh} mesh - The mesh used to create the light scattering
-         * @param {number} samples - The post-process quality, default 100
-         * @param {number} samplingMode - The post-process filtering mode
-         * @param {BABYLON.Engine} engine - The babylon engine
-         * @param {boolean} reusable - If the post-process is reusable
-         * @param {BABYLON.Scene} scene - The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
+         * @param name The post-process name
+         * @param ratio The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param camera The camera that the post-process will be attached to
+         * @param mesh The mesh used to create the light scattering
+         * @param samples The post-process quality, default 100
+         * @param samplingModeThe post-process filtering mode
+         * @param engine The babylon engine
+         * @param reusable If the post-process is reusable
+         * @param scene The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
          */
          */
         function VolumetricLightScatteringPostProcess(name, ratio, camera, mesh, samples, samplingMode, engine, reusable, scene) {
         function VolumetricLightScatteringPostProcess(name, ratio, camera, mesh, samples, samplingMode, engine, reusable, scene) {
             if (samples === void 0) { samples = 100; }
             if (samples === void 0) { samples = 100; }
@@ -89645,7 +89667,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Returns the light position for light scattering effect
          * Returns the light position for light scattering effect
-         * @return {BABYLON.Vector3} The custom light position
+         * @return Vector3 The custom light position
          */
          */
         VolumetricLightScatteringPostProcess.prototype.getCustomMeshPosition = function () {
         VolumetricLightScatteringPostProcess.prototype.getCustomMeshPosition = function () {
             return this.customMeshPosition;
             return this.customMeshPosition;
@@ -89663,7 +89685,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Returns the render target texture used by the post-process
          * Returns the render target texture used by the post-process
-         * @return {BABYLON.RenderTargetTexture} The render target texture used by the post-process
+         * @return the render target texture used by the post-process
          */
          */
         VolumetricLightScatteringPostProcess.prototype.getPass = function () {
         VolumetricLightScatteringPostProcess.prototype.getPass = function () {
             return this._volumetricLightScatteringRTT;
             return this._volumetricLightScatteringRTT;
@@ -89831,7 +89853,7 @@ var BABYLON;
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * @param name The mesh name
         * @param name The mesh name
         * @param scene The scene where to create the mesh
         * @param scene The scene where to create the mesh
-        * @return {BABYLON.Mesh} the default mesh
+        * @return the default mesh
         */
         */
         VolumetricLightScatteringPostProcess.CreateDefaultMesh = function (name, scene) {
         VolumetricLightScatteringPostProcess.CreateDefaultMesh = function (name, scene) {
             var mesh = BABYLON.Mesh.CreatePlane(name, 1, scene);
             var mesh = BABYLON.Mesh.CreatePlane(name, 1, scene);
@@ -111195,7 +111217,7 @@ var BABYLON;
 var BABYLON;
 var BABYLON;
 (function (BABYLON) {
 (function (BABYLON) {
     /**
     /**
-     * Defines the list of states available for a task inside a {BABYLON.AssetsManager}
+     * Defines the list of states available for a task inside a AssetsManager
      */
      */
     var AssetTaskState;
     var AssetTaskState;
     (function (AssetTaskState) {
     (function (AssetTaskState) {
@@ -111217,11 +111239,11 @@ var BABYLON;
         AssetTaskState[AssetTaskState["ERROR"] = 3] = "ERROR";
         AssetTaskState[AssetTaskState["ERROR"] = 3] = "ERROR";
     })(AssetTaskState = BABYLON.AssetTaskState || (BABYLON.AssetTaskState = {}));
     })(AssetTaskState = BABYLON.AssetTaskState || (BABYLON.AssetTaskState = {}));
     /**
     /**
-     * Define an abstract asset task used with a {BABYLON.AssetsManager} class to load assets into a scene
+     * Define an abstract asset task used with a AssetsManager class to load assets into a scene
      */
      */
     var AbstractAssetTask = /** @class */ (function () {
     var AbstractAssetTask = /** @class */ (function () {
         /**
         /**
-         * Creates a new {BABYLON.AssetsManager}
+         * Creates a new AssetsManager
          * @param name defines the name of the task
          * @param name defines the name of the task
          */
          */
         function AbstractAssetTask(
         function AbstractAssetTask(
@@ -111338,7 +111360,7 @@ var BABYLON;
      */
      */
     var AssetsProgressEvent = /** @class */ (function () {
     var AssetsProgressEvent = /** @class */ (function () {
         /**
         /**
-         * Creates a {BABYLON.AssetsProgressEvent}
+         * Creates a AssetsProgressEvent
          * @param remainingCount defines the number of remaining tasks to process
          * @param remainingCount defines the number of remaining tasks to process
          * @param totalCount defines the total number of tasks
          * @param totalCount defines the total number of tasks
          * @param task defines the task that was just processed
          * @param task defines the task that was just processed
@@ -111352,12 +111374,12 @@ var BABYLON;
     }());
     }());
     BABYLON.AssetsProgressEvent = AssetsProgressEvent;
     BABYLON.AssetsProgressEvent = AssetsProgressEvent;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load meshes
+     * Define a task used by AssetsManager to load meshes
      */
      */
     var MeshAssetTask = /** @class */ (function (_super) {
     var MeshAssetTask = /** @class */ (function (_super) {
         __extends(MeshAssetTask, _super);
         __extends(MeshAssetTask, _super);
         /**
         /**
-         * Creates a new {BABYLON.MeshAssetTask}
+         * Creates a new MeshAssetTask
          * @param name defines the name of the task
          * @param name defines the name of the task
          * @param meshesNames defines the list of mesh's names you want to load
          * @param meshesNames defines the list of mesh's names you want to load
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
@@ -111408,7 +111430,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.MeshAssetTask = MeshAssetTask;
     BABYLON.MeshAssetTask = MeshAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load text content
+     * Define a task used by AssetsManager to load text content
      */
      */
     var TextFileAssetTask = /** @class */ (function (_super) {
     var TextFileAssetTask = /** @class */ (function (_super) {
         __extends(TextFileAssetTask, _super);
         __extends(TextFileAssetTask, _super);
@@ -111452,7 +111474,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.TextFileAssetTask = TextFileAssetTask;
     BABYLON.TextFileAssetTask = TextFileAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load binary data
+     * Define a task used by AssetsManager to load binary data
      */
      */
     var BinaryFileAssetTask = /** @class */ (function (_super) {
     var BinaryFileAssetTask = /** @class */ (function (_super) {
         __extends(BinaryFileAssetTask, _super);
         __extends(BinaryFileAssetTask, _super);
@@ -111496,7 +111518,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.BinaryFileAssetTask = BinaryFileAssetTask;
     BABYLON.BinaryFileAssetTask = BinaryFileAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load images
+     * Define a task used by AssetsManager to load images
      */
      */
     var ImageAssetTask = /** @class */ (function (_super) {
     var ImageAssetTask = /** @class */ (function (_super) {
         __extends(ImageAssetTask, _super);
         __extends(ImageAssetTask, _super);
@@ -111542,7 +111564,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.ImageAssetTask = ImageAssetTask;
     BABYLON.ImageAssetTask = ImageAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load 2D textures
+     * Define a task used by AssetsManager to load 2D textures
      */
      */
     var TextureAssetTask = /** @class */ (function (_super) {
     var TextureAssetTask = /** @class */ (function (_super) {
         __extends(TextureAssetTask, _super);
         __extends(TextureAssetTask, _super);
@@ -111603,7 +111625,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.TextureAssetTask = TextureAssetTask;
     BABYLON.TextureAssetTask = TextureAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load cube textures
+     * Define a task used by AssetsManager to load cube textures
      */
      */
     var CubeTextureAssetTask = /** @class */ (function (_super) {
     var CubeTextureAssetTask = /** @class */ (function (_super) {
         __extends(CubeTextureAssetTask, _super);
         __extends(CubeTextureAssetTask, _super);
@@ -111663,7 +111685,7 @@ var BABYLON;
     }(AbstractAssetTask));
     }(AbstractAssetTask));
     BABYLON.CubeTextureAssetTask = CubeTextureAssetTask;
     BABYLON.CubeTextureAssetTask = CubeTextureAssetTask;
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load HDR cube textures
+     * Define a task used by AssetsManager to load HDR cube textures
      */
      */
     var HDRCubeTextureAssetTask = /** @class */ (function (_super) {
     var HDRCubeTextureAssetTask = /** @class */ (function (_super) {
         __extends(HDRCubeTextureAssetTask, _super);
         __extends(HDRCubeTextureAssetTask, _super);
@@ -111769,19 +111791,19 @@ var BABYLON;
              */
              */
             this.onProgressObservable = new BABYLON.Observable();
             this.onProgressObservable = new BABYLON.Observable();
             /**
             /**
-             * Gets or sets a boolean defining if the {BABYLON.AssetsManager} should use the default loading screen
+             * Gets or sets a boolean defining if the AssetsManager should use the default loading screen
              * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
              * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
              */
              */
             this.useDefaultLoadingScreen = true;
             this.useDefaultLoadingScreen = true;
             this._scene = scene;
             this._scene = scene;
         }
         }
         /**
         /**
-         * Add a {BABYLON.MeshAssetTask} to the list of active tasks
+         * Add a MeshAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param meshesNames defines the name of meshes to load
          * @param meshesNames defines the name of meshes to load
          * @param rootUrl defines the root url to use to locate files
          * @param rootUrl defines the root url to use to locate files
          * @param sceneFilename defines the filename of the scene file
          * @param sceneFilename defines the filename of the scene file
-         * @returns a new {BABYLON.MeshAssetTask} object
+         * @returns a new MeshAssetTask object
          */
          */
         AssetsManager.prototype.addMeshTask = function (taskName, meshesNames, rootUrl, sceneFilename) {
         AssetsManager.prototype.addMeshTask = function (taskName, meshesNames, rootUrl, sceneFilename) {
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
@@ -111789,10 +111811,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.TextFileAssetTask} to the list of active tasks
+         * Add a TextFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.TextFileAssetTask} object
+         * @returns a new TextFileAssetTask object
          */
          */
         AssetsManager.prototype.addTextFileTask = function (taskName, url) {
         AssetsManager.prototype.addTextFileTask = function (taskName, url) {
             var task = new TextFileAssetTask(taskName, url);
             var task = new TextFileAssetTask(taskName, url);
@@ -111800,10 +111822,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.BinaryFileAssetTask} to the list of active tasks
+         * Add a BinaryFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.BinaryFileAssetTask} object
+         * @returns a new BinaryFileAssetTask object
          */
          */
         AssetsManager.prototype.addBinaryFileTask = function (taskName, url) {
         AssetsManager.prototype.addBinaryFileTask = function (taskName, url) {
             var task = new BinaryFileAssetTask(taskName, url);
             var task = new BinaryFileAssetTask(taskName, url);
@@ -111811,10 +111833,10 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.ImageAssetTask} to the list of active tasks
+         * Add a ImageAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.ImageAssetTask} object
+         * @returns a new ImageAssetTask object
          */
          */
         AssetsManager.prototype.addImageTask = function (taskName, url) {
         AssetsManager.prototype.addImageTask = function (taskName, url) {
             var task = new ImageAssetTask(taskName, url);
             var task = new ImageAssetTask(taskName, url);
@@ -111822,13 +111844,13 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.TextureAssetTask} to the list of active tasks
+         * Add a TextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
-         * @returns a new {BABYLON.TextureAssetTask} object
+         * @returns a new TextureAssetTask object
          */
          */
         AssetsManager.prototype.addTextureTask = function (taskName, url, noMipmap, invertY, samplingMode) {
         AssetsManager.prototype.addTextureTask = function (taskName, url, noMipmap, invertY, samplingMode) {
             if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
             if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
@@ -111837,13 +111859,13 @@ var BABYLON;
             return task;
             return task;
         };
         };
         /**
         /**
-         * Add a {BABYLON.CubeTextureAssetTask} to the list of active tasks
+         * Add a CubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param files defines the list of files to load (can be null)
          * @param files defines the list of files to load (can be null)
-         * @returns a new {BABYLON.CubeTextureAssetTask} object
+         * @returns a new CubeTextureAssetTask object
          */
          */
         AssetsManager.prototype.addCubeTextureTask = function (taskName, url, extensions, noMipmap, files) {
         AssetsManager.prototype.addCubeTextureTask = function (taskName, url, extensions, noMipmap, files) {
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
@@ -111852,7 +111874,7 @@ var BABYLON;
         };
         };
         /**
         /**
          *
          *
-         * Add a {BABYLON.HDRCubeTextureAssetTask} to the list of active tasks
+         * Add a HDRCubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param size defines the size you want for the cubemap (can be null)
          * @param size defines the size you want for the cubemap (can be null)
@@ -111860,7 +111882,7 @@ var BABYLON;
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param reserved Internal use only
          * @param reserved Internal use only
-         * @returns a new {BABYLON.HDRCubeTextureAssetTask} object
+         * @returns a new HDRCubeTextureAssetTask object
          */
          */
         AssetsManager.prototype.addHDRCubeTextureTask = function (taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved) {
         AssetsManager.prototype.addHDRCubeTextureTask = function (taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved) {
             if (noMipmap === void 0) { noMipmap = false; }
             if (noMipmap === void 0) { noMipmap = false; }
@@ -111944,8 +111966,8 @@ var BABYLON;
             task.run(this._scene, done, error);
             task.run(this._scene, done, error);
         };
         };
         /**
         /**
-         * Reset the {BABYLON.AssetsManager} and remove all tasks
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * Reset the AssetsManager and remove all tasks
+         * @return the current instance of the AssetsManager
          */
          */
         AssetsManager.prototype.reset = function () {
         AssetsManager.prototype.reset = function () {
             this._isLoading = false;
             this._isLoading = false;
@@ -111954,7 +111976,7 @@ var BABYLON;
         };
         };
         /**
         /**
          * Start the loading process
          * Start the loading process
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * @return the current instance of the AssetsManager
          */
          */
         AssetsManager.prototype.load = function () {
         AssetsManager.prototype.load = function () {
             if (this._isLoading) {
             if (this._isLoading) {

+ 1 - 1
dist/preview release/gui/babylon.gui.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS GUI*/
 /*BabylonJS GUI*/
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../Tools/Gulp/babylonjs
+//   ../../../../Tools/gulp/babylonjs
 declare module BABYLON.GUI {
 declare module BABYLON.GUI {
 }
 }
 declare module BABYLON.GUI {
 declare module BABYLON.GUI {

文件差異過大導致無法顯示
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js.map


+ 2 - 2
dist/preview release/gui/babylon.gui.module.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS GUI*/
 /*BabylonJS GUI*/
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../Tools/Gulp/babylonjs
+//   ../../../../Tools/gulp/babylonjs
 
 
 declare module 'babylonjs-gui' {
 declare module 'babylonjs-gui' {
     export * from "babylonjs-gui/2D";
     export * from "babylonjs-gui/2D";
@@ -2826,7 +2826,7 @@ declare module 'babylonjs-gui/3D/materials/fluentMaterial' {
 
 
 /*BabylonJS GUI*/
 /*BabylonJS GUI*/
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../Tools/Gulp/babylonjs
+//   ../../../../Tools/gulp/babylonjs
 declare module BABYLON.GUI {
 declare module BABYLON.GUI {
 }
 }
 declare module BABYLON.GUI {
 declare module BABYLON.GUI {

文件差異過大導致無法顯示
+ 1 - 1
dist/preview release/inspector/babylon.inspector.bundle.js.map


+ 1 - 1
dist/preview release/inspector/babylon.inspector.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS Inspector*/
 /*BabylonJS Inspector*/
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../Tools/Gulp/babylonjs
+//   ../../../../Tools/gulp/babylonjs
 declare module INSPECTOR {
 declare module INSPECTOR {
 }
 }
 declare module INSPECTOR {
 declare module INSPECTOR {

+ 2 - 2
dist/preview release/inspector/babylon.inspector.module.d.ts

@@ -1,6 +1,6 @@
 /*BabylonJS Inspector*/
 /*BabylonJS Inspector*/
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../Tools/Gulp/babylonjs
+//   ../../../../Tools/gulp/babylonjs
 
 
 declare module 'babylonjs-inspector' {
 declare module 'babylonjs-inspector' {
     export * from 'babylonjs-inspector/adapters';
     export * from 'babylonjs-inspector/adapters';
@@ -1343,7 +1343,7 @@ declare module 'babylonjs-inspector/treetools/SoundInteractions' {
 
 
 /*BabylonJS Inspector*/
 /*BabylonJS Inspector*/
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../Tools/Gulp/babylonjs
+//   ../../../../Tools/gulp/babylonjs
 declare module INSPECTOR {
 declare module INSPECTOR {
 }
 }
 declare module INSPECTOR {
 declare module INSPECTOR {

+ 2 - 1
dist/preview release/inspector/package.json

@@ -30,7 +30,8 @@
     "dependencies": {
     "dependencies": {
         "babylonjs": "3.3.0-rc.4",
         "babylonjs": "3.3.0-rc.4",
         "babylonjs-gui": "3.3.0-rc.4",
         "babylonjs-gui": "3.3.0-rc.4",
-        "babylonjs-loaders": "3.3.0-rc.4"
+        "babylonjs-loaders": "3.3.0-rc.4",
+        "babylonjs-serializers": "3.3.0-rc.4"
     },
     },
     "engines": {
     "engines": {
         "node": "*"
         "node": "*"

+ 1 - 1
dist/preview release/loaders/babylon.glTF1FileLoader.d.ts

@@ -785,7 +785,7 @@ declare module BABYLON.GLTF1 {
     class GLTFUtils {
     class GLTFUtils {
         /**
         /**
          * Sets the given "parameter" matrix
          * Sets the given "parameter" matrix
-         * @param scene: the {BABYLON.Scene} object
+         * @param scene: the Scene object
          * @param source: the source node where to pick the matrix
          * @param source: the source node where to pick the matrix
          * @param parameter: the GLTF technique parameter
          * @param parameter: the GLTF technique parameter
          * @param uniformName: the name of the shader's uniform
          * @param uniformName: the name of the shader's uniform

+ 1 - 1
dist/preview release/loaders/babylon.glTF1FileLoader.js

@@ -2369,7 +2369,7 @@ var BABYLON;
             }
             }
             /**
             /**
              * Sets the given "parameter" matrix
              * Sets the given "parameter" matrix
-             * @param scene: the {BABYLON.Scene} object
+             * @param scene: the Scene object
              * @param source: the source node where to pick the matrix
              * @param source: the source node where to pick the matrix
              * @param parameter: the GLTF technique parameter
              * @param parameter: the GLTF technique parameter
              * @param uniformName: the name of the shader's uniform
              * @param uniformName: the name of the shader's uniform

+ 1 - 1
dist/preview release/loaders/babylon.glTFFileLoader.d.ts

@@ -785,7 +785,7 @@ declare module BABYLON.GLTF1 {
     class GLTFUtils {
     class GLTFUtils {
         /**
         /**
          * Sets the given "parameter" matrix
          * Sets the given "parameter" matrix
-         * @param scene: the {BABYLON.Scene} object
+         * @param scene: the Scene object
          * @param source: the source node where to pick the matrix
          * @param source: the source node where to pick the matrix
          * @param parameter: the GLTF technique parameter
          * @param parameter: the GLTF technique parameter
          * @param uniformName: the name of the shader's uniform
          * @param uniformName: the name of the shader's uniform

+ 1 - 1
dist/preview release/loaders/babylon.glTFFileLoader.js

@@ -2369,7 +2369,7 @@ var BABYLON;
             }
             }
             /**
             /**
              * Sets the given "parameter" matrix
              * Sets the given "parameter" matrix
-             * @param scene: the {BABYLON.Scene} object
+             * @param scene: the Scene object
              * @param source: the source node where to pick the matrix
              * @param source: the source node where to pick the matrix
              * @param parameter: the GLTF technique parameter
              * @param parameter: the GLTF technique parameter
              * @param uniformName: the name of the shader's uniform
              * @param uniformName: the name of the shader's uniform

+ 1 - 1
dist/preview release/loaders/babylonjs.loaders.d.ts

@@ -915,7 +915,7 @@ declare module BABYLON.GLTF1 {
     class GLTFUtils {
     class GLTFUtils {
         /**
         /**
          * Sets the given "parameter" matrix
          * Sets the given "parameter" matrix
-         * @param scene: the {BABYLON.Scene} object
+         * @param scene: the Scene object
          * @param source: the source node where to pick the matrix
          * @param source: the source node where to pick the matrix
          * @param parameter: the GLTF technique parameter
          * @param parameter: the GLTF technique parameter
          * @param uniformName: the name of the shader's uniform
          * @param uniformName: the name of the shader's uniform

+ 1 - 1
dist/preview release/loaders/babylonjs.loaders.js

@@ -3452,7 +3452,7 @@ var BABYLON;
             }
             }
             /**
             /**
              * Sets the given "parameter" matrix
              * Sets the given "parameter" matrix
-             * @param scene: the {BABYLON.Scene} object
+             * @param scene: the Scene object
              * @param source: the source node where to pick the matrix
              * @param source: the source node where to pick the matrix
              * @param parameter: the GLTF technique parameter
              * @param parameter: the GLTF technique parameter
              * @param uniformName: the name of the shader's uniform
              * @param uniformName: the name of the shader's uniform

+ 1 - 1
dist/preview release/loaders/babylonjs.loaders.module.d.ts

@@ -922,7 +922,7 @@ declare module BABYLON.GLTF1 {
     class GLTFUtils {
     class GLTFUtils {
         /**
         /**
          * Sets the given "parameter" matrix
          * Sets the given "parameter" matrix
-         * @param scene: the {BABYLON.Scene} object
+         * @param scene: the Scene object
          * @param source: the source node where to pick the matrix
          * @param source: the source node where to pick the matrix
          * @param parameter: the GLTF technique parameter
          * @param parameter: the GLTF technique parameter
          * @param uniformName: the name of the shader's uniform
          * @param uniformName: the name of the shader's uniform

+ 2 - 2
dist/preview release/viewer/babylon.viewer.d.ts

@@ -4,8 +4,8 @@
 declare module "babylonjs-loaders"{ export=BABYLON;}
 declare module "babylonjs-loaders"{ export=BABYLON;}
 // Generated by dts-bundle v0.7.3
 // Generated by dts-bundle v0.7.3
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../../Tools/Gulp/babylonjs
-//   ../../../../../Tools/Gulp/babylonjs-loaders
+//   ../../../../../Tools/gulp/babylonjs
+//   ../../../../../Tools/gulp/babylonjs-loaders
 declare module BabylonViewer {
 declare module BabylonViewer {
     /**
     /**
         * BabylonJS Viewer
         * BabylonJS Viewer

文件差異過大導致無法顯示
+ 1 - 1
dist/preview release/viewer/babylon.viewer.js


文件差異過大導致無法顯示
+ 6 - 6
dist/preview release/viewer/babylon.viewer.max.js


+ 2 - 2
dist/preview release/viewer/babylon.viewer.module.d.ts

@@ -5,8 +5,8 @@ declare module "babylonjs-loaders"{ export=BABYLON;}
 
 
 // Generated by dts-bundle v0.7.3
 // Generated by dts-bundle v0.7.3
 // Dependencies for this module:
 // Dependencies for this module:
-//   ../../../../../Tools/Gulp/babylonjs
-//   ../../../../../Tools/Gulp/babylonjs-loaders
+//   ../../../../../Tools/gulp/babylonjs
+//   ../../../../../Tools/gulp/babylonjs-loaders
 
 
 declare module 'babylonjs-viewer' {
 declare module 'babylonjs-viewer' {
     import { mapperManager } from 'babylonjs-viewer/configuration/mappers';
     import { mapperManager } from 'babylonjs-viewer/configuration/mappers';

+ 1 - 1
loaders/src/glTF/1.0/babylon.glTFLoaderUtils.ts

@@ -7,7 +7,7 @@ module BABYLON.GLTF1 {
     export class GLTFUtils {
     export class GLTFUtils {
         /**
         /**
          * Sets the given "parameter" matrix
          * Sets the given "parameter" matrix
-         * @param scene: the {BABYLON.Scene} object
+         * @param scene: the Scene object
          * @param source: the source node where to pick the matrix
          * @param source: the source node where to pick the matrix
          * @param parameter: the GLTF technique parameter
          * @param parameter: the GLTF technique parameter
          * @param uniformName: the name of the shader's uniform
          * @param uniformName: the name of the shader's uniform

+ 1 - 1
src/Animations/babylon.animationGroup.ts

@@ -119,7 +119,7 @@ module BABYLON {
          * Add an animation (with its target) in the group
          * Add an animation (with its target) in the group
          * @param animation defines the animation we want to add
          * @param animation defines the animation we want to add
          * @param target defines the target of the animation
          * @param target defines the target of the animation
-         * @returns the {BABYLON.TargetedAnimation} object
+         * @returns the TargetedAnimation object
          */
          */
         public addTargetedAnimation(animation: Animation, target: any): TargetedAnimation {
         public addTargetedAnimation(animation: Animation, target: any): TargetedAnimation {
             let targetedAnimation = {
             let targetedAnimation = {

+ 1 - 1
src/Events/babylon.pointerEvents.ts

@@ -28,7 +28,7 @@ module BABYLON {
          */
          */
         public static readonly POINTERTAP = 0x20;
         public static readonly POINTERTAP = 0x20;
         /**
         /**
-         * The pointertap event is fired when a the object has been touched and released twice without drag.
+         * The pointerdoubletap event is fired when a the object has been touched and released twice without drag.
          */
          */
         public static readonly POINTERDOUBLETAP = 0x40;
         public static readonly POINTERDOUBLETAP = 0x40;
     }
     }

+ 2 - 2
src/Materials/Textures/babylon.dynamicTexture.ts

@@ -1,6 +1,6 @@
 module BABYLON {
 module BABYLON {
     /**
     /**
-     * A class extending {BABYLON.Texture} allowing drawing on a texture
+     * A class extending Texture allowing drawing on a texture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      * @see http://doc.babylonjs.com/how_to/dynamictexture
      */
      */
     export class DynamicTexture extends Texture {
     export class DynamicTexture extends Texture {
@@ -10,7 +10,7 @@
         private _engine: Engine;
         private _engine: Engine;
 
 
         /**
         /**
-         * Creates a {BABYLON.DynamicTexture}
+         * Creates a DynamicTexture
          * @param name defines the name of the texture
          * @param name defines the name of the texture
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height
          * @param scene defines the scene where you want the texture
          * @param scene defines the scene where you want the texture

+ 1 - 1
src/Materials/Textures/babylon.internalTexture.ts

@@ -245,7 +245,7 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Increments the number of references (ie. the number of {BABYLON.Texture} that point to it)
+         * Increments the number of references (ie. the number of Texture that point to it)
          */
          */
         public incrementReferences(): void {
         public incrementReferences(): void {
             this._references++;
             this._references++;

+ 2 - 2
src/Materials/Textures/babylon.internalTextureTracker.ts

@@ -1,6 +1,6 @@
 module BABYLON {
 module BABYLON {
     /**
     /**
-     * Internal interface used to track {BABYLON.InternalTexture} already bound to the GL context
+     * Internal interface used to track InternalTexture already bound to the GL context
      */
      */
     export interface IInternalTextureTracker {
     export interface IInternalTextureTracker {
         /**
         /**
@@ -14,7 +14,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Internal class used by the engine to get list of {BABYLON.InternalTexture} already bound to the GL context
+     * Internal class used by the engine to get list of InternalTexture already bound to the GL context
      */
      */
     export class DummyInternalTextureTracker {
     export class DummyInternalTextureTracker {
         /**
         /**

+ 7 - 7
src/Materials/Textures/babylon.videoTexture.ts

@@ -63,13 +63,13 @@
          * If you want to display a video in your scene, this is the special texture for that. 
          * If you want to display a video in your scene, this is the special texture for that. 
          * This special texture works similar to other textures, with the exception of a few parameters.
          * This special texture works similar to other textures, with the exception of a few parameters.
          * @see https://doc.babylonjs.com/how_to/video_texture
          * @see https://doc.babylonjs.com/how_to/video_texture
-         * @param {string | null} name optional name, will detect from video source, if not defined
-         * @param {(string | string[] | HTMLVideoElement)} src can be used to provide an url, array of urls or an already setup HTML video element.
-         * @param {BABYLON.Scene} scene is obviously the current scene.
-         * @param {boolean} generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
-         * @param {boolean} invertY is false by default but can be used to invert video on Y axis
-         * @param {number} samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
-         * @param {VideoTextureSettings} [settings] allows finer control over video usage
+         * @param name optional name, will detect from video source, if not defined
+         * @param src can be used to provide an url, array of urls or an already setup HTML video element.
+         * @param scene is obviously the current scene.
+         * @param generateMipMaps can be used to turn on mipmaps (Can be expensive for videoTextures because they are often updated).
+         * @param invertY is false by default but can be used to invert video on Y axis
+         * @param samplingMode controls the sampling method and is set to TRILINEAR_SAMPLINGMODE by default
+         * @param settings allows finer control over video usage
          */
          */
         constructor(
         constructor(
             name: Nullable<string>,
             name: Nullable<string>,

+ 6 - 6
src/Math/babylon.math.ts

@@ -89,9 +89,9 @@
         }
         }
 
 
         /**
         /**
-         * Returns a new {BABYLON.Color4} object from the current Color3 and the given alpha 
-         * @param alpha defines the alpha component on the new {BABYLON.Color4} object (default is 1)
-         * @returns a new {BABYLON.Color4} object
+         * Returns a new Color4 object from the current Color3 and the given alpha 
+         * @param alpha defines the alpha component on the new Color4 object (default is 1)
+         * @returns a new Color4 object
          */
          */
         public toColor4(alpha = 1): Color4 {
         public toColor4(alpha = 1): Color4 {
             return new Color4(this.r, this.g, this.b, alpha);
             return new Color4(this.r, this.g, this.b, alpha);
@@ -2091,10 +2091,10 @@
          * @return the angle between vector0 and vector1
          * @return the angle between vector0 and vector1
          */
          */
         public static GetAngleBetweenVectors(vector0: Vector3, vector1: Vector3, normal: Vector3): number {
         public static GetAngleBetweenVectors(vector0: Vector3, vector1: Vector3, normal: Vector3): number {
-            const v0: Vector3 = Tmp.Vector3[0].copyFrom(vector0).normalize();
-            const v1: Vector3 = Tmp.Vector3[1].copyFrom(vector1).normalize();
+            const v0: Vector3 = MathTmp.Vector3[1].copyFrom(vector0).normalize();
+            const v1: Vector3 = MathTmp.Vector3[2].copyFrom(vector1).normalize();
             const dot: number = Vector3.Dot(v0, v1);
             const dot: number = Vector3.Dot(v0, v1);
-            const n = Tmp.Vector3[2];
+            const n = MathTmp.Vector3[3];
             Vector3.CrossToRef(v0, v1, n);
             Vector3.CrossToRef(v0, v1, n);
             if (Vector3.Dot(n, normal) > 0) {
             if (Vector3.Dot(n, normal) > 0) {
                 return Math.acos(dot);
                 return Math.acos(dot);

+ 1 - 1
src/Mesh/babylon.buffer.ts

@@ -46,7 +46,7 @@
         }
         }
 
 
         /**
         /**
-         * Create a new {BABYLON.VertexBuffer} based on the current buffer
+         * Create a new VertexBuffer based on the current buffer
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param kind defines the vertex buffer kind (position, normal, etc.)
          * @param offset defines offset in the buffer (0 by default)
          * @param offset defines offset in the buffer (0 by default)
          * @param size defines the size in floats of attributes (position is 3 for instance)
          * @param size defines the size in floats of attributes (position is 3 for instance)

+ 5 - 5
src/Mesh/babylon.geometry.ts

@@ -77,7 +77,7 @@
         /**
         /**
          * Static function used to attach a new empty geometry to a mesh
          * Static function used to attach a new empty geometry to a mesh
          * @param mesh defines the mesh to attach the geometry to
          * @param mesh defines the mesh to attach the geometry to
-         * @returns the new {BABYLON.Geometry}
+         * @returns the new Geometry
          */
          */
         public static CreateGeometryForMesh(mesh: Mesh): Geometry {
         public static CreateGeometryForMesh(mesh: Mesh): Geometry {
             let geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
             let geometry = new Geometry(Geometry.RandomId(), mesh.getScene());
@@ -91,7 +91,7 @@
          * Creates a new geometry
          * Creates a new geometry
          * @param id defines the unique ID
          * @param id defines the unique ID
          * @param scene defines the hosting scene
          * @param scene defines the hosting scene
-         * @param vertexData defines the {BABYLON.VertexData} used to get geometry data
+         * @param vertexData defines the VertexData used to get geometry data
          * @param updatable defines if geometry must be updatable (false by default)
          * @param updatable defines if geometry must be updatable (false by default)
          * @param mesh defines the mesh that will be associated with the geometry
          * @param mesh defines the mesh that will be associated with the geometry
          */
          */
@@ -139,7 +139,7 @@
 
 
         /**
         /**
          * Gets the hosting scene
          * Gets the hosting scene
-         * @returns the hosting {BABYLON.Scene}
+         * @returns the hosting Scene
          */
          */
         public getScene(): Scene {
         public getScene(): Scene {
             return this._scene;
             return this._scene;
@@ -147,7 +147,7 @@
 
 
         /**
         /**
          * Gets the hosting engine
          * Gets the hosting engine
-         * @returns the hosting {BABYLON.Engine}
+         * @returns the hosting Engine
          */
          */
         public getEngine(): Engine {
         public getEngine(): Engine {
             return this._engine;
             return this._engine;
@@ -451,7 +451,7 @@
         /**
         /**
          * Gets a specific vertex buffer
          * Gets a specific vertex buffer
          * @param kind defines the data kind (Position, normal, etc...)
          * @param kind defines the data kind (Position, normal, etc...)
-         * @returns a {BABYLON.VertexBuffer}
+         * @returns a VertexBuffer
          */
          */
         public getVertexBuffer(kind: string): Nullable<VertexBuffer> {
         public getVertexBuffer(kind: string): Nullable<VertexBuffer> {
             if (!this.isReady()) {
             if (!this.isReady()) {

+ 1 - 1
src/Particles/EmitterTypes/babylon.IParticleEmitterType.ts

@@ -27,7 +27,7 @@ module BABYLON {
         clone(): IParticleEmitterType;
         clone(): IParticleEmitterType;
 
 
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */
          */
         applyToShader(effect: Effect): void;
         applyToShader(effect: Effect): void;

+ 1 - 1
src/Particles/EmitterTypes/babylon.cylinderParticleEmitter.ts

@@ -83,7 +83,7 @@ module BABYLON {
         }    
         }    
         
         
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */        
          */        
         public applyToShader(effect: Effect): void {
         public applyToShader(effect: Effect): void {

+ 1 - 1
src/Particles/EmitterTypes/babylon.hemisphericParticleEmitter.ts

@@ -74,7 +74,7 @@ module BABYLON {
         }    
         }    
         
         
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */        
          */        
         public applyToShader(effect: Effect): void {
         public applyToShader(effect: Effect): void {

+ 1 - 1
src/Particles/EmitterTypes/babylon.sphereParticleEmitter.ts

@@ -74,7 +74,7 @@ module BABYLON {
         }    
         }    
         
         
         /**
         /**
-         * Called by the {BABYLON.GPUParticleSystem} to setup the update shader
+         * Called by the GPUParticleSystem to setup the update shader
          * @param effect defines the update shader
          * @param effect defines the update shader
          */        
          */        
         public applyToShader(effect: Effect): void {
         public applyToShader(effect: Effect): void {

+ 5 - 5
src/PostProcess/RenderPipeline/Pipelines/babylon.defaultRenderingPipeline.ts

@@ -360,11 +360,11 @@
 
 
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name (default: "")
-         * @param {boolean} hdr - If high dynamic range textures should be used (default: true)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline (default: the last created scene)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
-         * @param {boolean} automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
+         * @param name - The rendering pipeline name (default: "")
+         * @param hdr - If high dynamic range textures should be used (default: true)
+         * @param scene - The scene linked to this pipeline (default: the last created scene)
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to (default: scene.cameras)
+         * @param automaticBuild - if false, you will have to manually call prepare() to update the pipeline (default: true)
          */
          */
         constructor(name: string = "", hdr: boolean = true, scene: Scene = BABYLON.Engine.LastCreatedScene!, cameras?: Camera[], automaticBuild = true) {
         constructor(name: string = "", hdr: boolean = true, scene: Scene = BABYLON.Engine.LastCreatedScene!, cameras?: Camera[], automaticBuild = true) {
             super(scene.getEngine(), name);
             super(scene.getEngine(), name);

+ 5 - 5
src/PostProcess/RenderPipeline/Pipelines/babylon.lensRenderingPipeline.ts

@@ -79,11 +79,11 @@ module BABYLON {
          * }
          * }
          * Note: if an effect parameter is unset, effect is disabled
          * Note: if an effect parameter is unset, effect is disabled
          *
          *
-         * @param {string} name - The rendering pipeline name
-         * @param {object} parameters - An object containing all parameters (see above)
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {number} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param parameters - An object containing all parameters (see above)
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         constructor(name: string, parameters: any, scene: Scene, ratio: number = 1.0, cameras?: Camera[]) {
         constructor(name: string, parameters: any, scene: Scene, ratio: number = 1.0, cameras?: Camera[]) {
             super(scene.getEngine(), name);
             super(scene.getEngine(), name);

+ 4 - 4
src/PostProcess/RenderPipeline/Pipelines/babylon.ssao2RenderingPipeline.ts

@@ -157,10 +157,10 @@
 
 
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, blurRatio: 1.0 }
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         constructor(name: string, scene: Scene, ratio: any, cameras?: Camera[]) {
         constructor(name: string, scene: Scene, ratio: any, cameras?: Camera[]) {
             super(scene.getEngine(), name);
             super(scene.getEngine(), name);

+ 4 - 4
src/PostProcess/RenderPipeline/Pipelines/babylon.ssaoRenderingPipeline.ts

@@ -80,10 +80,10 @@
 
 
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name - The rendering pipeline name
+         * @param scene - The scene linked to this pipeline
+         * @param ratio - The size of the postprocesses. Can be a number shared between passes or an object for more precision: { ssaoRatio: 0.5, combineRatio: 1.0 }
+         * @param cameras - The array of cameras that the rendering pipeline will be attached to
          */
          */
         constructor(name: string, scene: Scene, ratio: any, cameras?: Camera[]) {
         constructor(name: string, scene: Scene, ratio: any, cameras?: Camera[]) {
             super(scene.getEngine(), name);
             super(scene.getEngine(), name);

+ 5 - 5
src/PostProcess/RenderPipeline/Pipelines/babylon.standardRenderingPipeline.ts

@@ -446,11 +446,11 @@
         /**
         /**
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * Default pipeline should be used going forward but the standard pipeline will be kept for backwards compatibility.
          * @constructor
          * @constructor
-         * @param {string} name - The rendering pipeline name
-         * @param {BABYLON.Scene} scene - The scene linked to this pipeline
-         * @param {any} ratio - The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.PostProcess} originalPostProcess - the custom original color post-process. Must be "reusable". Can be null.
-         * @param {BABYLON.Camera[]} cameras - The array of cameras that the rendering pipeline will be attached to
+         * @param name The rendering pipeline name
+         * @param scene The scene linked to this pipeline
+         * @param ratio The size of the postprocesses (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param originalPostProcess the custom original color post-process. Must be "reusable". Can be null.
+         * @param cameras The array of cameras that the rendering pipeline will be attached to
          */
          */
         constructor(name: string, scene: Scene, ratio: number, originalPostProcess: Nullable<PostProcess> = null, cameras?: Camera[]) {
         constructor(name: string, scene: Scene, ratio: number, originalPostProcess: Nullable<PostProcess> = null, cameras?: Camera[]) {
             super(scene.getEngine(), name);
             super(scene.getEngine(), name);

+ 12 - 12
src/PostProcess/babylon.volumetricLightScatteringPostProcess.ts

@@ -84,15 +84,15 @@
 
 
         /**
         /**
          * @constructor
          * @constructor
-         * @param {string} name - The post-process name
-         * @param {any} ratio - The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
-         * @param {BABYLON.Camera} camera - The camera that the post-process will be attached to
-         * @param {BABYLON.Mesh} mesh - The mesh used to create the light scattering
-         * @param {number} samples - The post-process quality, default 100
-         * @param {number} samplingMode - The post-process filtering mode
-         * @param {BABYLON.Engine} engine - The babylon engine
-         * @param {boolean} reusable - If the post-process is reusable
-         * @param {BABYLON.Scene} scene - The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
+         * @param name The post-process name
+         * @param ratio The size of the post-process and/or internal pass (0.5 means that your postprocess will have a width = canvas.width 0.5 and a height = canvas.height 0.5)
+         * @param camera The camera that the post-process will be attached to
+         * @param mesh The mesh used to create the light scattering
+         * @param samples The post-process quality, default 100
+         * @param samplingModeThe post-process filtering mode
+         * @param engine The babylon engine
+         * @param reusable If the post-process is reusable
+         * @param scene The constructor needs a scene reference to initialize internal components. If "camera" is null a "scene" must be provided
          */
          */
         constructor(name: string, ratio: any, camera: Camera, mesh?: Mesh, samples: number = 100, samplingMode: number = Texture.BILINEAR_SAMPLINGMODE, engine?: Engine, reusable?: boolean, scene?: Scene) {
         constructor(name: string, ratio: any, camera: Camera, mesh?: Mesh, samples: number = 100, samplingMode: number = Texture.BILINEAR_SAMPLINGMODE, engine?: Engine, reusable?: boolean, scene?: Scene) {
             super(name, "volumetricLightScattering", ["decay", "exposure", "weight", "meshPositionOnScreen", "density"], ["lightScatteringSampler"], ratio.postProcessRatio || ratio, camera, samplingMode, engine, reusable, "#define NUM_SAMPLES " + samples);
             super(name, "volumetricLightScattering", ["decay", "exposure", "weight", "meshPositionOnScreen", "density"], ["lightScatteringSampler"], ratio.postProcessRatio || ratio, camera, samplingMode, engine, reusable, "#define NUM_SAMPLES " + samples);
@@ -207,7 +207,7 @@
 
 
         /**
         /**
          * Returns the light position for light scattering effect
          * Returns the light position for light scattering effect
-         * @return {BABYLON.Vector3} The custom light position
+         * @return Vector3 The custom light position
          */
          */
         public getCustomMeshPosition(): Vector3 {
         public getCustomMeshPosition(): Vector3 {
             return this.customMeshPosition;
             return this.customMeshPosition;
@@ -228,7 +228,7 @@
 
 
         /**
         /**
          * Returns the render target texture used by the post-process
          * Returns the render target texture used by the post-process
-         * @return {BABYLON.RenderTargetTexture} The render target texture used by the post-process
+         * @return the render target texture used by the post-process
          */
          */
         public getPass(): RenderTargetTexture {
         public getPass(): RenderTargetTexture {
             return this._volumetricLightScatteringRTT;
             return this._volumetricLightScatteringRTT;
@@ -434,7 +434,7 @@
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * Creates a default mesh for the Volumeric Light Scattering post-process
         * @param name The mesh name
         * @param name The mesh name
         * @param scene The scene where to create the mesh
         * @param scene The scene where to create the mesh
-        * @return {BABYLON.Mesh} the default mesh
+        * @return the default mesh
         */
         */
         public static CreateDefaultMesh(name: string, scene: Scene): Mesh {
         public static CreateDefaultMesh(name: string, scene: Scene): Mesh {
             var mesh = Mesh.CreatePlane(name, 1, scene);
             var mesh = Mesh.CreatePlane(name, 1, scene);

+ 30 - 30
src/Tools/babylon.assetsManager.ts

@@ -1,7 +1,7 @@
 module BABYLON {
 module BABYLON {
 
 
     /**
     /**
-     * Defines the list of states available for a task inside a {BABYLON.AssetsManager}
+     * Defines the list of states available for a task inside a AssetsManager
      */
      */
     export enum AssetTaskState {
     export enum AssetTaskState {
         /**
         /**
@@ -23,7 +23,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define an abstract asset task used with a {BABYLON.AssetsManager} class to load assets into a scene
+     * Define an abstract asset task used with a AssetsManager class to load assets into a scene
      */
      */
     export abstract class AbstractAssetTask {
     export abstract class AbstractAssetTask {
         /**
         /**
@@ -37,7 +37,7 @@ module BABYLON {
         public onError: (task: any, message?: string, exception?: any) => void;
         public onError: (task: any, message?: string, exception?: any) => void;
 
 
         /**
         /**
-         * Creates a new {BABYLON.AssetsManager}
+         * Creates a new AssetsManager
          * @param name defines the name of the task
          * @param name defines the name of the task
          */
          */
         constructor(
         constructor(
@@ -187,7 +187,7 @@ module BABYLON {
         public task: AbstractAssetTask;
         public task: AbstractAssetTask;
 
 
         /**
         /**
-         * Creates a {BABYLON.AssetsProgressEvent}
+         * Creates a AssetsProgressEvent
          * @param remainingCount defines the number of remaining tasks to process
          * @param remainingCount defines the number of remaining tasks to process
          * @param totalCount defines the total number of tasks
          * @param totalCount defines the total number of tasks
          * @param task defines the task that was just processed
          * @param task defines the task that was just processed
@@ -200,7 +200,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load meshes
+     * Define a task used by AssetsManager to load meshes
      */
      */
     export class MeshAssetTask extends AbstractAssetTask {
     export class MeshAssetTask extends AbstractAssetTask {
         /**
         /**
@@ -227,7 +227,7 @@ module BABYLON {
         public onError: (task: MeshAssetTask, message?: string, exception?: any) => void;
         public onError: (task: MeshAssetTask, message?: string, exception?: any) => void;
 
 
         /**
         /**
-         * Creates a new {BABYLON.MeshAssetTask}
+         * Creates a new MeshAssetTask
          * @param name defines the name of the task
          * @param name defines the name of the task
          * @param meshesNames defines the list of mesh's names you want to load
          * @param meshesNames defines the list of mesh's names you want to load
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
          * @param rootUrl defines the root url to use as a base to load your meshes and associated resources
@@ -274,7 +274,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load text content
+     * Define a task used by AssetsManager to load text content
      */
      */
     export class TextFileAssetTask extends AbstractAssetTask {
     export class TextFileAssetTask extends AbstractAssetTask {
         /**
         /**
@@ -328,7 +328,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load binary data
+     * Define a task used by AssetsManager to load binary data
      */
      */
     export class BinaryFileAssetTask extends AbstractAssetTask {
     export class BinaryFileAssetTask extends AbstractAssetTask {
         /**
         /**
@@ -381,7 +381,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load images
+     * Define a task used by AssetsManager to load images
      */
      */
     export class ImageAssetTask extends AbstractAssetTask {
     export class ImageAssetTask extends AbstractAssetTask {
         /**
         /**
@@ -450,7 +450,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load 2D textures
+     * Define a task used by AssetsManager to load 2D textures
      */
      */
     export class TextureAssetTask extends AbstractAssetTask implements ITextureAssetTask<Texture> {
     export class TextureAssetTask extends AbstractAssetTask implements ITextureAssetTask<Texture> {
         /**
         /**
@@ -520,7 +520,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load cube textures
+     * Define a task used by AssetsManager to load cube textures
      */
      */
     export class CubeTextureAssetTask extends AbstractAssetTask implements ITextureAssetTask<CubeTexture> {
     export class CubeTextureAssetTask extends AbstractAssetTask implements ITextureAssetTask<CubeTexture> {
         /**
         /**
@@ -590,7 +590,7 @@ module BABYLON {
     }
     }
 
 
     /**
     /**
-     * Define a task used by {BABYLON.AssetsManager} to load HDR cube textures
+     * Define a task used by AssetsManager to load HDR cube textures
      */
      */
     export class HDRCubeTextureAssetTask extends AbstractAssetTask implements ITextureAssetTask<HDRCubeTexture> {
     export class HDRCubeTextureAssetTask extends AbstractAssetTask implements ITextureAssetTask<HDRCubeTexture> {
         /**
         /**
@@ -722,7 +722,7 @@ module BABYLON {
         public onProgressObservable = new Observable<IAssetsProgressEvent>();
         public onProgressObservable = new Observable<IAssetsProgressEvent>();
 
 
         /**
         /**
-         * Gets or sets a boolean defining if the {BABYLON.AssetsManager} should use the default loading screen
+         * Gets or sets a boolean defining if the AssetsManager should use the default loading screen
          * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
          * @see http://doc.babylonjs.com/how_to/creating_a_custom_loading_screen
          */
          */
         public useDefaultLoadingScreen = true;
         public useDefaultLoadingScreen = true;
@@ -736,12 +736,12 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Add a {BABYLON.MeshAssetTask} to the list of active tasks
+         * Add a MeshAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param meshesNames defines the name of meshes to load
          * @param meshesNames defines the name of meshes to load
          * @param rootUrl defines the root url to use to locate files
          * @param rootUrl defines the root url to use to locate files
          * @param sceneFilename defines the filename of the scene file
          * @param sceneFilename defines the filename of the scene file
-         * @returns a new {BABYLON.MeshAssetTask} object
+         * @returns a new MeshAssetTask object
          */
          */
         public addMeshTask(taskName: string, meshesNames: any, rootUrl: string, sceneFilename: string): MeshAssetTask {
         public addMeshTask(taskName: string, meshesNames: any, rootUrl: string, sceneFilename: string): MeshAssetTask {
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
             var task = new MeshAssetTask(taskName, meshesNames, rootUrl, sceneFilename);
@@ -751,10 +751,10 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Add a {BABYLON.TextFileAssetTask} to the list of active tasks
+         * Add a TextFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.TextFileAssetTask} object
+         * @returns a new TextFileAssetTask object
          */
          */
         public addTextFileTask(taskName: string, url: string): TextFileAssetTask {
         public addTextFileTask(taskName: string, url: string): TextFileAssetTask {
             var task = new TextFileAssetTask(taskName, url);
             var task = new TextFileAssetTask(taskName, url);
@@ -764,10 +764,10 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Add a {BABYLON.BinaryFileAssetTask} to the list of active tasks
+         * Add a BinaryFileAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.BinaryFileAssetTask} object
+         * @returns a new BinaryFileAssetTask object
          */
          */
         public addBinaryFileTask(taskName: string, url: string): BinaryFileAssetTask {
         public addBinaryFileTask(taskName: string, url: string): BinaryFileAssetTask {
             var task = new BinaryFileAssetTask(taskName, url);
             var task = new BinaryFileAssetTask(taskName, url);
@@ -777,10 +777,10 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Add a {BABYLON.ImageAssetTask} to the list of active tasks
+         * Add a ImageAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
-         * @returns a new {BABYLON.ImageAssetTask} object
+         * @returns a new ImageAssetTask object
          */
          */
         public addImageTask(taskName: string, url: string): ImageAssetTask {
         public addImageTask(taskName: string, url: string): ImageAssetTask {
             var task = new ImageAssetTask(taskName, url);
             var task = new ImageAssetTask(taskName, url);
@@ -790,13 +790,13 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Add a {BABYLON.TextureAssetTask} to the list of active tasks
+         * Add a TextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param invertY defines if you want to invert Y axis of the loaded texture (false by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
          * @param samplingMode defines the sampling mode to use (BABYLON.Texture.TRILINEAR_SAMPLINGMODE by default)
-         * @returns a new {BABYLON.TextureAssetTask} object
+         * @returns a new TextureAssetTask object
          */
          */
         public addTextureTask(taskName: string, url: string, noMipmap?: boolean, invertY?: boolean, samplingMode: number = Texture.TRILINEAR_SAMPLINGMODE): TextureAssetTask {
         public addTextureTask(taskName: string, url: string, noMipmap?: boolean, invertY?: boolean, samplingMode: number = Texture.TRILINEAR_SAMPLINGMODE): TextureAssetTask {
             var task = new TextureAssetTask(taskName, url, noMipmap, invertY, samplingMode);
             var task = new TextureAssetTask(taskName, url, noMipmap, invertY, samplingMode);
@@ -806,13 +806,13 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Add a {BABYLON.CubeTextureAssetTask} to the list of active tasks
+         * Add a CubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param extensions defines the extension to use to load the cube map (can be null)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param noMipmap defines if the texture must not receive mipmaps (false by default)
          * @param files defines the list of files to load (can be null)
          * @param files defines the list of files to load (can be null)
-         * @returns a new {BABYLON.CubeTextureAssetTask} object
+         * @returns a new CubeTextureAssetTask object
          */
          */
         public addCubeTextureTask(taskName: string, url: string, extensions?: string[], noMipmap?: boolean, files?: string[]): CubeTextureAssetTask {
         public addCubeTextureTask(taskName: string, url: string, extensions?: string[], noMipmap?: boolean, files?: string[]): CubeTextureAssetTask {
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
             var task = new CubeTextureAssetTask(taskName, url, extensions, noMipmap, files);
@@ -823,7 +823,7 @@ module BABYLON {
 
 
         /**
         /**
          * 
          * 
-         * Add a {BABYLON.HDRCubeTextureAssetTask} to the list of active tasks
+         * Add a HDRCubeTextureAssetTask to the list of active tasks
          * @param taskName defines the name of the new task
          * @param taskName defines the name of the new task
          * @param url defines the url of the file to load
          * @param url defines the url of the file to load
          * @param size defines the size you want for the cubemap (can be null)
          * @param size defines the size you want for the cubemap (can be null)
@@ -831,7 +831,7 @@ module BABYLON {
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param generateHarmonics defines if you want to automatically generate (true by default)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param gammaSpace specifies if the texture will be use in gamma or linear space (the PBR material requires those texture in linear space, but the standard material would require them in Gamma space) (default is false)
          * @param reserved Internal use only
          * @param reserved Internal use only
-         * @returns a new {BABYLON.HDRCubeTextureAssetTask} object
+         * @returns a new HDRCubeTextureAssetTask object
          */
          */
         public addHDRCubeTextureTask(taskName: string, url: string, size: number, noMipmap = false, generateHarmonics = true, gammaSpace = false, reserved = false): HDRCubeTextureAssetTask {
         public addHDRCubeTextureTask(taskName: string, url: string, size: number, noMipmap = false, generateHarmonics = true, gammaSpace = false, reserved = false): HDRCubeTextureAssetTask {
             var task = new HDRCubeTextureAssetTask(taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved);
             var task = new HDRCubeTextureAssetTask(taskName, url, size, noMipmap, generateHarmonics, gammaSpace, reserved);
@@ -933,8 +933,8 @@ module BABYLON {
         }
         }
 
 
         /**
         /**
-         * Reset the {BABYLON.AssetsManager} and remove all tasks
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * Reset the AssetsManager and remove all tasks
+         * @return the current instance of the AssetsManager
          */
          */
         public reset(): AssetsManager {
         public reset(): AssetsManager {
             this._isLoading = false;
             this._isLoading = false;
@@ -944,7 +944,7 @@ module BABYLON {
 
 
         /**
         /**
          * Start the loading process
          * Start the loading process
-         * @return the current instance of the {BABYLON.AssetsManager}
+         * @return the current instance of the AssetsManager
          */
          */
         public load(): AssetsManager {
         public load(): AssetsManager {
             if (this._isLoading) {
             if (this._isLoading) {

+ 7 - 7
src/babylon.node.ts

@@ -226,8 +226,8 @@
 
 
         /**
         /**
          * Creates a new Node
          * Creates a new Node
-         * @param {string} name - the name and id to be given to this node
-         * @param {BABYLON.Scene} the scene this node will be added to
+         * @param name the name and id to be given to this node
+         * @param scene the scene this node will be added to
          */
          */
         constructor(name: string, scene: Nullable<Scene> = null) {
         constructor(name: string, scene: Nullable<Scene> = null) {
             this.name = name;
             this.name = name;
@@ -241,7 +241,7 @@
 
 
         /**
         /**
          * Gets the scene of the node
          * Gets the scene of the node
-         * @returns a {BABYLON.Scene}
+         * @returns a scene
          */
          */
         public getScene(): Scene {
         public getScene(): Scene {
             return this._scene;
             return this._scene;
@@ -249,7 +249,7 @@
 
 
         /**
         /**
          * Gets the engine of the node
          * Gets the engine of the node
-         * @returns a {BABYLON.Engine}
+         * @returns a Engine
          */
          */
         public getEngine(): Engine {
         public getEngine(): Engine {
             return this._scene.getEngine();
             return this._scene.getEngine();
@@ -521,7 +521,7 @@
          * Get all child-meshes of this node
          * Get all child-meshes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.AbstractMesh}
+         * @returns an array of AbstractMesh
          */
          */
         public getChildMeshes(directDescendantsOnly?: boolean, predicate?: (node: Node) => boolean): AbstractMesh[] {
         public getChildMeshes(directDescendantsOnly?: boolean, predicate?: (node: Node) => boolean): AbstractMesh[] {
             var results: Array<AbstractMesh> = [];
             var results: Array<AbstractMesh> = [];
@@ -535,7 +535,7 @@
          * Get all child-transformNodes of this node
          * Get all child-transformNodes of this node
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param directDescendantsOnly defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.TransformNode}
+         * @returns an array of TransformNode
          */
          */
         public getChildTransformNodes(directDescendantsOnly?: boolean, predicate?: (node: Node) => boolean): TransformNode[] {
         public getChildTransformNodes(directDescendantsOnly?: boolean, predicate?: (node: Node) => boolean): TransformNode[] {
             var results: Array<TransformNode> = [];
             var results: Array<TransformNode> = [];
@@ -548,7 +548,7 @@
         /**
         /**
          * Get all direct children of this node
          * Get all direct children of this node
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
          * @param predicate defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
-         * @returns an array of {BABYLON.Node}
+         * @returns an array of Node
          */
          */
         public getChildren(predicate?: (node: Node) => boolean): Node[] {
         public getChildren(predicate?: (node: Node) => boolean): Node[] {
             return this.getDescendants(true, predicate);
             return this.getDescendants(true, predicate);