@babylonjs/core 5.20.0 → 5.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Meshes/mesh.d.ts CHANGED
@@ -1002,23 +1002,23 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
1002
1002
  } | AbstractMesh[]): Vector3;
1003
1003
  /**
1004
1004
  * Merge the array of meshes into a single mesh for performance reasons.
1005
- * @param meshes defines he vertices source. They should all be of the same material. Entries can empty
1006
- * @param disposeSource when true (default), dispose of the vertices from the source meshes
1007
- * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true
1008
- * @param meshSubclass when set, vertices inserted into this Mesh. Meshes can then be merged into a Mesh sub-class.
1009
- * @param subdivideWithSubMeshes when true (false default), subdivide mesh to his subMesh array with meshes source.
1010
- * @param multiMultiMaterials when true (false default), subdivide mesh and accept multiple multi materials, ignores subdivideWithSubMeshes.
1005
+ * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
1006
+ * @param disposeSource when true (default), dispose of the vertices from the source meshes.
1007
+ * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true.
1008
+ * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
1009
+ * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
1010
+ * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
1011
1011
  * @returns a new mesh
1012
1012
  */
1013
1013
  static MergeMeshes(meshes: Array<Mesh>, disposeSource?: boolean, allow32BitsIndices?: boolean, meshSubclass?: Mesh, subdivideWithSubMeshes?: boolean, multiMultiMaterials?: boolean): Nullable<Mesh>;
1014
1014
  /**
1015
1015
  * Merge the array of meshes into a single mesh for performance reasons.
1016
- * @param meshes defines he vertices source. They should all be of the same material. Entries can empty
1017
- * @param disposeSource when true (default), dispose of the vertices from the source meshes
1018
- * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true
1019
- * @param meshSubclass when set, vertices inserted into this Mesh. Meshes can then be merged into a Mesh sub-class.
1020
- * @param subdivideWithSubMeshes when true (false default), subdivide mesh to his subMesh array with meshes source.
1021
- * @param multiMultiMaterials when true (false default), subdivide mesh and accept multiple multi materials, ignores subdivideWithSubMeshes.
1016
+ * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
1017
+ * @param disposeSource when true (default), dispose of the vertices from the source meshes.
1018
+ * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true.
1019
+ * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
1020
+ * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
1021
+ * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
1022
1022
  * @returns a new mesh
1023
1023
  */
1024
1024
  static MergeMeshesAsync(meshes: Array<Mesh>, disposeSource?: boolean, allow32BitsIndices?: boolean, meshSubclass?: Mesh, subdivideWithSubMeshes?: boolean, multiMultiMaterials?: boolean): Promise<any>;
package/Meshes/mesh.js CHANGED
@@ -3765,12 +3765,12 @@ var Mesh = /** @class */ (function (_super) {
3765
3765
  };
3766
3766
  /**
3767
3767
  * Merge the array of meshes into a single mesh for performance reasons.
3768
- * @param meshes defines he vertices source. They should all be of the same material. Entries can empty
3769
- * @param disposeSource when true (default), dispose of the vertices from the source meshes
3770
- * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true
3771
- * @param meshSubclass when set, vertices inserted into this Mesh. Meshes can then be merged into a Mesh sub-class.
3772
- * @param subdivideWithSubMeshes when true (false default), subdivide mesh to his subMesh array with meshes source.
3773
- * @param multiMultiMaterials when true (false default), subdivide mesh and accept multiple multi materials, ignores subdivideWithSubMeshes.
3768
+ * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
3769
+ * @param disposeSource when true (default), dispose of the vertices from the source meshes.
3770
+ * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true.
3771
+ * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
3772
+ * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
3773
+ * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
3774
3774
  * @returns a new mesh
3775
3775
  */
3776
3776
  Mesh.MergeMeshes = function (meshes, disposeSource, allow32BitsIndices, meshSubclass, subdivideWithSubMeshes, multiMultiMaterials) {
@@ -3779,12 +3779,12 @@ var Mesh = /** @class */ (function (_super) {
3779
3779
  };
3780
3780
  /**
3781
3781
  * Merge the array of meshes into a single mesh for performance reasons.
3782
- * @param meshes defines he vertices source. They should all be of the same material. Entries can empty
3783
- * @param disposeSource when true (default), dispose of the vertices from the source meshes
3784
- * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true
3785
- * @param meshSubclass when set, vertices inserted into this Mesh. Meshes can then be merged into a Mesh sub-class.
3786
- * @param subdivideWithSubMeshes when true (false default), subdivide mesh to his subMesh array with meshes source.
3787
- * @param multiMultiMaterials when true (false default), subdivide mesh and accept multiple multi materials, ignores subdivideWithSubMeshes.
3782
+ * @param meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.
3783
+ * @param disposeSource when true (default), dispose of the vertices from the source meshes.
3784
+ * @param allow32BitsIndices when the sum of the vertices > 64k, this must be set to true.
3785
+ * @param meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.
3786
+ * @param subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.
3787
+ * @param multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.
3788
3788
  * @returns a new mesh
3789
3789
  */
3790
3790
  Mesh.MergeMeshesAsync = function (meshes, disposeSource, allow32BitsIndices, meshSubclass, subdivideWithSubMeshes, multiMultiMaterials) {