@rive-app/webgl2
Advanced tools
Comparing version 2.25.0 to 2.25.1
{ | ||
"name": "@rive-app/webgl2", | ||
"version": "2.25.0", | ||
"version": "2.25.1", | ||
"description": "Rive's webgl2 based web api.", | ||
@@ -5,0 +5,0 @@ "main": "rive.js", |
@@ -734,2 +734,8 @@ interface RiveOptions { | ||
/** | ||
* Advances/scrubs the StateMachineInstance by the set amount of seconds. Note that this will | ||
* apply changes to the properties of objects in the Artboard. | ||
* @param sec - Scrub the state machine instance by a number of seconds | ||
*/ | ||
advanceAndApply(sec: number): boolean; | ||
/** | ||
* Returns the number of states changed while the state machine played | ||
@@ -736,0 +742,0 @@ * @returns Number of states changed in the duration of the state machine played |
@@ -369,2 +369,3 @@ import * as rc from "./rive_advanced.mjs"; | ||
private _hasZeroSize; | ||
private _audioEventListener; | ||
durations: number[]; | ||
@@ -371,0 +372,0 @@ frameTimes: number[]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2169610
8346