@rive-app/webgl-single 1.0.13 → 1.0.17
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 +5 -0
- package/rive.js +35 -6
- package/rive.js.map +1 -1
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -255,6 +255,9 @@ export declare class Rive {
|
|
|
255
255
|
private taskQueue;
|
|
256
256
|
private animator;
|
|
257
257
|
private static readonly missingErrorMessage;
|
|
258
|
+
durations: number[];
|
|
259
|
+
frameTimes: number[];
|
|
260
|
+
frameCount: number;
|
|
258
261
|
constructor(params: RiveParameters);
|
|
259
262
|
static new(params: RiveParameters): Rive;
|
|
260
263
|
private init;
|
|
@@ -276,6 +279,8 @@ export declare class Rive {
|
|
|
276
279
|
* Align the renderer
|
|
277
280
|
*/
|
|
278
281
|
private alignRenderer;
|
|
282
|
+
get fps(): number;
|
|
283
|
+
get frameTime(): string | 0;
|
|
279
284
|
/**
|
|
280
285
|
* Cleans up any Wasm-generated objects that need to be manually destroyed:
|
|
281
286
|
* artboard instances, animation instances, state machine instances.
|