@babylonjs/lite-compat 1.36.0-preview → 1.37.0-preview
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/README.md +1 -1
- package/index.d.ts +81 -7
- package/index.js +203 -11
- package/index.js.map +1 -1
- package/navigation.d.ts +5 -3
- package/package.json +4 -4
package/navigation.d.ts
CHANGED
|
@@ -358,13 +358,13 @@ declare class Animation_2 {
|
|
|
358
358
|
getKeys(): IAnimationKey[];
|
|
359
359
|
getHighestFrame(): number;
|
|
360
360
|
/**
|
|
361
|
-
* Assigns
|
|
362
|
-
* @param easingFunction - A Babylon.js-shaped easing object, or `null` to
|
|
361
|
+
* Assigns default easing for non-STEP segments without a key-specific easing function.
|
|
362
|
+
* @param easingFunction - A Babylon.js-shaped easing object, or `null` to use linear progress on keys without an override.
|
|
363
363
|
*/
|
|
364
364
|
setEasingFunction(easingFunction: IEasingFunction | null): void;
|
|
365
365
|
/**
|
|
366
366
|
* Gets the easing function currently assigned to this animation.
|
|
367
|
-
* @returns The assigned easing object, or `null` when
|
|
367
|
+
* @returns The assigned default easing object, or `null` when keys without an override use linear progress.
|
|
368
368
|
*/
|
|
369
369
|
getEasingFunction(): IEasingFunction | null;
|
|
370
370
|
/** Evaluate the animated value at `frame`, clamped to the key range. */
|
|
@@ -809,6 +809,8 @@ declare interface IAnimationKey {
|
|
|
809
809
|
value: AnimationValue;
|
|
810
810
|
/** Babylon.js per-key interpolation hint (`AnimationKeyInterpolation`). */
|
|
811
811
|
interpolation?: number;
|
|
812
|
+
/** Easing for the segment starting at this key; overrides animation-level easing. */
|
|
813
|
+
easingFunction?: IEasingFunction;
|
|
812
814
|
}
|
|
813
815
|
|
|
814
816
|
/** Structural vector/quaternion value accepted by Babylon.js animation keys. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/lite-compat",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.37.0-preview",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Opt-in Babylon.js-shaped compatibility layer implemented on top of the Babylon Lite public API. Provides a migration runway from Babylon.js to Babylon Lite.",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"babylonLiteRelease": {
|
|
50
|
-
"azureBuildId": "
|
|
51
|
-
"sourceVersion": "
|
|
52
|
-
"builtAgainstLite": "1.
|
|
50
|
+
"azureBuildId": "61367",
|
|
51
|
+
"sourceVersion": "1a2728c6d44383ef3a79cfc680e2e761b4f1e986",
|
|
52
|
+
"builtAgainstLite": "1.37.0"
|
|
53
53
|
}
|
|
54
54
|
}
|