babylonjs-addons 8.30.0 → 8.30.2
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/babylonjs.addons.d.ts
CHANGED
@@ -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(
|
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
|
-
*
|
930
|
-
*
|
931
|
-
* @param options
|
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(
|
934
|
-
|
938
|
+
export function InitRecast(options?: {
|
939
|
+
version?: string;
|
940
|
+
instance?: RecastInjection;
|
935
941
|
}): Promise<void>;
|
936
942
|
|
937
943
|
|
@@ -2704,6 +2710,7 @@ declare module ADDONS {
|
|
2704
2710
|
private _aerialPerspectiveRenderingGroup;
|
2705
2711
|
private _globeAtmosphereRenderingGroup;
|
2706
2712
|
private _isEnabled;
|
2713
|
+
private _aerialPerspectiveLutHasBeenRendered;
|
2707
2714
|
private _hasRenderedMultiScatteringLut;
|
2708
2715
|
private _multiScatteringEffectWrapper;
|
2709
2716
|
private _multiScatteringLutRenderTarget;
|
@@ -2725,6 +2732,10 @@ declare module ADDONS {
|
|
2725
2732
|
* @returns True if the atmosphere is supported, false otherwise.
|
2726
2733
|
*/
|
2727
2734
|
static IsSupported(engine: BABYLON.AbstractEngine): boolean;
|
2735
|
+
/**
|
2736
|
+
* The unique ID of this atmosphere instance.
|
2737
|
+
*/
|
2738
|
+
readonly uniqueId: number;
|
2728
2739
|
/**
|
2729
2740
|
* Called after the atmosphere variables have been updated for the specified camera.
|
2730
2741
|
*/
|
@@ -2915,7 +2926,6 @@ declare module ADDONS {
|
|
2915
2926
|
* Gets the camera-related variables for this atmosphere. Updated each frame.
|
2916
2927
|
*/
|
2917
2928
|
get cameraAtmosphereVariables(): AtmospherePerCameraVariables;
|
2918
|
-
readonly uniqueId: number;
|
2919
2929
|
/**
|
2920
2930
|
* Constructs the {@link Atmosphere}.
|
2921
2931
|
* @param name - The name of this instance.
|
@@ -3014,6 +3024,7 @@ declare module ADDONS {
|
|
3014
3024
|
* Draws the aerial perspective LUT using {@link EffectWrapper} and {@link EffectRenderer}.
|
3015
3025
|
*/
|
3016
3026
|
private _drawAerialPerspectiveLut;
|
3027
|
+
private _clearAerialPerspectiveLut;
|
3017
3028
|
/**
|
3018
3029
|
* Draws the sky view LUT using {@link EffectWrapper} and {@link EffectRenderer}.
|
3019
3030
|
*/
|