babylonjs-addons 9.0.0 → 9.1.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.
@@ -1,5 +1,5 @@
1
1
 
2
- declare module ADDONS {
2
+ declare namespace ADDONS {
3
3
 
4
4
 
5
5
  /**
@@ -833,7 +833,7 @@ declare module ADDONS {
833
833
  */
834
834
  /**
835
835
  * Builds a any and any from meshes using provided parameters.
836
- * @param meshes The array of meshes used to create the any
836
+ * @param meshes The array of meshes used to create the any.
837
837
  * @param parameters The parameters used to configure the any generation.
838
838
  * @param workerOptions Options for the worker, including a completion callback and the worker instance.
839
839
  * @throws Error if the any data is invalid or cannot be deserialized.
@@ -841,8 +841,8 @@ declare module ADDONS {
841
841
  export function GenerateNavMeshWithWorker(meshes: Array<BABYLON.Mesh>, parameters: INavMeshParametersV2, workerOptions: {
842
842
  /**
843
843
  * Completion callback that is called when the any generation is complete.
844
- * @param navMesh The generated any
845
- * @param navMeshQuery The any associated with the generated any
844
+ * @param navMesh The generated any.
845
+ * @param navMeshQuery The any associated with the generated any.
846
846
  * @param tileCache Optional any if tile cache generation was used.
847
847
  */
848
848
  completion: (navMesh: any, navMeshQuery: any, tileCache?: any) => void;
@@ -1024,8 +1024,8 @@ declare module ADDONS {
1024
1024
  * * You can modify this property to include or exclude specific primitive types based on your debugging needs.
1025
1025
  * @returns An array of primitive types that the debug drawer will render.
1026
1026
  */
1027
- get primitiveTypes(): any;
1028
- set primitiveTypes(value: any);
1027
+ get primitiveTypes(): any[];
1028
+ set primitiveTypes(value: any[]);
1029
1029
  private _lineMaterialOptions;
1030
1030
  private _pointMesh;
1031
1031
  private _debugDrawerUtils;
@@ -1034,7 +1034,7 @@ declare module ADDONS {
1034
1034
  parent?: {
1035
1035
  node?: BABYLON.TransformNode | string;
1036
1036
  };
1037
- primitiveTypes?: any;
1037
+ primitiveTypes?: any[];
1038
1038
  materials?: {
1039
1039
  triMaterial?: BABYLON.StandardMaterial;
1040
1040
  pointMaterial?: BABYLON.StandardMaterial;
@@ -1060,7 +1060,7 @@ declare module ADDONS {
1060
1060
  * @param primitives An array of debug drawer primitives to be drawn.
1061
1061
  * @param options Optional parameters to control the drawing behavior, such as whether to join meshes.
1062
1062
  */
1063
- drawPrimitives(primitives: any, options?: {
1063
+ drawPrimitives(primitives: any[], options?: {
1064
1064
  joinMeshes?: boolean;
1065
1065
  }): void;
1066
1066
  /**
@@ -1175,11 +1175,11 @@ declare module ADDONS {
1175
1175
  * @returns An object containing lists of heightfields, compact heightfields, contour sets
1176
1176
  */
1177
1177
  getIntermediates: (intermediates: GeneratorIntermediates) => {
1178
- heightfieldList: any;
1179
- compactHeightfieldList: any;
1180
- contourSetList: any;
1181
- polyMeshList: any;
1182
- polyMeshDetailList: any;
1178
+ heightfieldList: any[];
1179
+ compactHeightfieldList: any[];
1180
+ contourSetList: any[];
1181
+ polyMeshList: any[];
1182
+ polyMeshDetailList: any[];
1183
1183
  };
1184
1184
  /**
1185
1185
  * Draw debug information based on the selected option
@@ -1226,7 +1226,7 @@ declare module ADDONS {
1226
1226
  * @param flags the flags to be set for each poly
1227
1227
  * @returns the tile cache mesh process function
1228
1228
  */
1229
- export function CreateDefaultTileCacheMeshProcess(offMeshConnections?: any, area?: number, flags?: number): any;
1229
+ export function CreateDefaultTileCacheMeshProcess(offMeshConnections?: any[], area?: number, flags?: number): any;
1230
1230
  /**
1231
1231
  * Waits until the tile cache is fully updated
1232
1232
  * @param navMesh The any
@@ -1814,7 +1814,7 @@ declare module ADDONS {
1814
1814
  interface Window {
1815
1815
  "pointer-events-capture-debug": boolean | null;
1816
1816
  }
1817
- declare module ADDONS {
1817
+ declare namespace ADDONS {
1818
1818
 
1819
1819
 
1820
1820