@rive-app/webgl-single 2.16.0 → 2.17.0
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 +21 -0
- package/rive.js +77 -10
- package/rive.js.map +1 -1
- package/rive_advanced.mjs.d.ts +6 -0
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -495,6 +495,27 @@ export declare class Rive {
|
|
|
495
495
|
* @returns the inputs for the named state machine
|
|
496
496
|
*/
|
|
497
497
|
stateMachineInputs(name: string): StateMachineInput[];
|
|
498
|
+
private retrieveInputAtPath;
|
|
499
|
+
/**
|
|
500
|
+
* Set the boolean input with the provided name at the given path with value
|
|
501
|
+
* @param input the state machine input name
|
|
502
|
+
* @param value the value to set the input to
|
|
503
|
+
* @param path the path the input is located at an artboard level
|
|
504
|
+
*/
|
|
505
|
+
setBooleanStateAtPath(inputName: string, value: boolean, path: string): void;
|
|
506
|
+
/**
|
|
507
|
+
* Set the number input with the provided name at the given path with value
|
|
508
|
+
* @param input the state machine input name
|
|
509
|
+
* @param value the value to set the input to
|
|
510
|
+
* @param path the path the input is located at an artboard level
|
|
511
|
+
*/
|
|
512
|
+
setNumberStateAtPath(inputName: string, value: number, path: string): void;
|
|
513
|
+
/**
|
|
514
|
+
* Fire the trigger with the provided name at the given path
|
|
515
|
+
* @param input the state machine input name
|
|
516
|
+
* @param path the path the input is located at an artboard level
|
|
517
|
+
*/
|
|
518
|
+
fireStateAtPath(inputName: string, path: string): void;
|
|
498
519
|
get playingStateMachineNames(): string[];
|
|
499
520
|
get playingAnimationNames(): string[];
|
|
500
521
|
get pausedAnimationNames(): string[];
|