@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/Engines/engine.d.ts +6 -0
- package/Engines/thinEngine.js +2 -2
- package/Engines/thinEngine.js.map +1 -1
- package/Materials/Background/backgroundMaterial.js +1 -0
- package/Materials/Background/backgroundMaterial.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.js +10 -0
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/materialHelper.js +1 -1
- package/Materials/materialHelper.js.map +1 -1
- package/Materials/standardMaterial.js +7 -0
- package/Materials/standardMaterial.js.map +1 -1
- package/Meshes/mesh.d.ts +12 -12
- package/Meshes/mesh.js +12 -12
- package/Meshes/mesh.js.map +1 -1
- package/Misc/fileTools.js +7 -1
- package/Misc/fileTools.js.map +1 -1
- package/Misc/iInspectable.d.ts +5 -2
- package/Misc/iInspectable.js.map +1 -1
- package/Misc/tools.js +12 -1
- package/Misc/tools.js.map +1 -1
- package/package.json +1 -1
- package/scene.js +2 -0
- package/scene.js.map +1 -1
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
|
|
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
|
|
1009
|
-
* @param subdivideWithSubMeshes when true (false default), subdivide mesh
|
|
1010
|
-
* @param multiMultiMaterials when true (false default), subdivide mesh
|
|
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
|
|
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
|
|
1020
|
-
* @param subdivideWithSubMeshes when true (false default), subdivide mesh
|
|
1021
|
-
* @param multiMultiMaterials when true (false default), subdivide mesh
|
|
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
|
|
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
|
|
3772
|
-
* @param subdivideWithSubMeshes when true (false default), subdivide mesh
|
|
3773
|
-
* @param multiMultiMaterials when true (false default), subdivide mesh
|
|
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
|
|
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
|
|
3786
|
-
* @param subdivideWithSubMeshes when true (false default), subdivide mesh
|
|
3787
|
-
* @param multiMultiMaterials when true (false default), subdivide mesh
|
|
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) {
|