@rive-app/canvas-lite 2.25.0 → 2.25.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.
- package/package.json +1 -1
- package/rive.d.ts +1 -0
- package/rive.js +22 -6
- package/rive.js.map +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +6 -0
- package/rive_fallback.wasm +0 -0
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -730,6 +730,12 @@ export declare class StateMachineInstance {
|
|
|
730
730
|
* @param sec - Scrub the state machine instance by a number of seconds
|
|
731
731
|
*/
|
|
732
732
|
advance(sec: number): boolean;
|
|
733
|
+
/**
|
|
734
|
+
* Advances/scrubs the StateMachineInstance by the set amount of seconds. Note that this will
|
|
735
|
+
* apply changes to the properties of objects in the Artboard.
|
|
736
|
+
* @param sec - Scrub the state machine instance by a number of seconds
|
|
737
|
+
*/
|
|
738
|
+
advanceAndApply(sec: number): boolean;
|
|
733
739
|
/**
|
|
734
740
|
* Returns the number of states changed while the state machine played
|
|
735
741
|
* @returns Number of states changed in the duration of the state machine played
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|