babylonjs-addons 8.30.0 → 8.30.1

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.
@@ -909,9 +909,13 @@ declare module ADDONS {
909
909
  /**
910
910
  * Creates a navigation plugin for the given scene.
911
911
  * @returns A promise that resolves to the created navigation plugin.
912
+ * @param options Optional configuration. options.version: The version of Recast to use. options.instance: A custom Recast instance to inject instead of loading one.
912
913
  * @remarks This function initializes the Recast module and sets up the navigation plugin.
913
914
  */
914
- export function CreateNavigationPluginAsync(): Promise<RecastNavigationJSPluginV2>;
915
+ export function CreateNavigationPluginAsync(options?: {
916
+ version?: string;
917
+ instance?: RecastInjection;
918
+ }): Promise<RecastNavigationJSPluginV2>;
915
919
 
916
920
 
917
921
  /**
@@ -926,12 +930,14 @@ declare module ADDONS {
926
930
  */
927
931
  export function SetRecast(recast: RecastInjection): void;
928
932
  /**
929
- * Initialize the Manifold library
930
- * @param version defines the version of the library to use, default is "0.43.0"
931
- * @param options defines the options to use to initialize the library
933
+ * Initializes the Recast navigation library.
934
+ *
935
+ * @param options Optional configuration. options.version: The version of Recast to use. options.instance: A custom Recast instance to inject instead of loading one.
936
+ * @returns A promise that resolves when initialization is complete.
932
937
  */
933
- export function InitRecast(version?: string, options?: {
934
- instance: RecastInjection;
938
+ export function InitRecast(options?: {
939
+ version?: string;
940
+ instance?: RecastInjection;
935
941
  }): Promise<void>;
936
942
 
937
943