|
6 | 6 | "name": "rive.play_anim",
|
7 | 7 | "parameters": [
|
8 | 8 | {
|
9 |
| - "doc": "The Rive model for which to play an animation", |
| 9 | + "doc": "The Rive model component for which to play an animation", |
10 | 10 | "name": "url",
|
11 | 11 | "types": [
|
12 | 12 | "url"
|
|
112 | 112 | "name": "rive.play_state_machine",
|
113 | 113 | "parameters": [
|
114 | 114 | {
|
115 |
| - "doc": "The Rive model for which to play an animation", |
| 115 | + "doc": "The Rive model component for which to play an animation", |
116 | 116 | "name": "url",
|
117 | 117 | "types": [
|
118 | 118 | "url"
|
|
181 | 181 | "name": "rive.cancel",
|
182 | 182 | "parameters": [
|
183 | 183 | {
|
184 |
| - "doc": "The Rive model for which to cancel the animation", |
| 184 | + "doc": "The Rive model component for which to cancel the animation", |
185 | 185 | "name": "url",
|
186 | 186 | "types": [
|
187 | 187 | "url"
|
|
197 | 197 | "name": "rive.get_go",
|
198 | 198 | "parameters": [
|
199 | 199 | {
|
200 |
| - "doc": "The Rive model to query", |
| 200 | + "doc": "The Rive model component to query", |
201 | 201 | "name": "url",
|
202 | 202 | "types": [
|
203 | 203 | "url"
|
|
220 | 220 | "name": "rive.pointer_move",
|
221 | 221 | "parameters": [
|
222 | 222 | {
|
223 |
| - "doc": "The Rive model", |
| 223 | + "doc": "The Rive model component", |
224 | 224 | "name": "url",
|
225 | 225 | "types": [
|
226 | 226 | "url"
|
|
250 | 250 | "name": "rive.pointer_up",
|
251 | 251 | "parameters": [
|
252 | 252 | {
|
253 |
| - "doc": "The Rive model", |
| 253 | + "doc": "The Rive model component", |
254 | 254 | "name": "url",
|
255 | 255 | "types": [
|
256 | 256 | "url"
|
|
280 | 280 | "name": "rive.pointer_down",
|
281 | 281 | "parameters": [
|
282 | 282 | {
|
283 |
| - "doc": "The Rive model", |
| 283 | + "doc": "The Rive model component", |
284 | 284 | "name": "url",
|
285 | 285 | "types": [
|
286 | 286 | "url"
|
|
310 | 310 | "name": "rive.get_text_run",
|
311 | 311 | "parameters": [
|
312 | 312 | {
|
313 |
| - "doc": "The Rive model for which to get the text run from", |
| 313 | + "doc": "The Rive model component for which to get the text run from", |
314 | 314 | "name": "url",
|
315 | 315 | "types": [
|
316 | 316 | "url"
|
|
340 | 340 | "name": "rive.set_text_run",
|
341 | 341 | "parameters": [
|
342 | 342 | {
|
343 |
| - "doc": "The Rive model for which to set the text run for", |
| 343 | + "doc": "The Rive model component for which to set the text run for", |
344 | 344 | "name": "url",
|
345 | 345 | "types": [
|
346 | 346 | "url"
|
|
385 | 385 | "name": "rive.get_state_machine_input",
|
386 | 386 | "parameters": [
|
387 | 387 | {
|
388 |
| - "doc": "The Rive model", |
| 388 | + "doc": "The Rive model component", |
389 | 389 | "name": "url",
|
390 | 390 | "types": [
|
391 | 391 | "url"
|
|
415 | 415 | "name": "rive.set_state_machine_input",
|
416 | 416 | "parameters": [
|
417 | 417 | {
|
418 |
| - "doc": "The Rive model", |
| 418 | + "doc": "The Rive model component", |
419 | 419 | "name": "url",
|
420 | 420 | "types": [
|
421 | 421 | "url"
|
|
446 | 446 | ],
|
447 | 447 | "returnvalues": [],
|
448 | 448 | "type": "FUNCTION"
|
| 449 | + }, |
| 450 | + { |
| 451 | + "description": "Creates a ViewModelInstanceRuntime", |
| 452 | + "examples": "", |
| 453 | + "name": "rive.databind.create_view_model_instance_runtime", |
| 454 | + "parameters": [ |
| 455 | + { |
| 456 | + "doc": "The Rive model component", |
| 457 | + "name": "url", |
| 458 | + "types": [ |
| 459 | + "url" |
| 460 | + ] |
| 461 | + }, |
| 462 | + { |
| 463 | + "doc": "The name of the view model to instantiate", |
| 464 | + "name": "name", |
| 465 | + "types": [ |
| 466 | + "string, hash" |
| 467 | + ] |
| 468 | + } |
| 469 | + ], |
| 470 | + "returnvalues": [], |
| 471 | + "type": "FUNCTION" |
| 472 | + }, |
| 473 | + { |
| 474 | + "description": "Releases the previously created ViewModelInstanceRuntime", |
| 475 | + "examples": "", |
| 476 | + "name": "rive.databind.destroy_view_model_instance_runtime", |
| 477 | + "parameters": [ |
| 478 | + { |
| 479 | + "doc": "The Rive model component", |
| 480 | + "name": "url", |
| 481 | + "types": [ |
| 482 | + "url" |
| 483 | + ] |
| 484 | + }, |
| 485 | + { |
| 486 | + "doc": "The handle to the ViewModelInstanceRuntime instance", |
| 487 | + "name": "handle", |
| 488 | + "types": [ |
| 489 | + "integer" |
| 490 | + ] |
| 491 | + } |
| 492 | + ], |
| 493 | + "returnvalues": [], |
| 494 | + "type": "FUNCTION" |
| 495 | + }, |
| 496 | + { |
| 497 | + "description": "Sets the current ViewModelInstanceRuntime", |
| 498 | + "examples": "", |
| 499 | + "name": "rive.databind.set_view_model_instance_runtime", |
| 500 | + "parameters": [ |
| 501 | + { |
| 502 | + "doc": "The Rive model component", |
| 503 | + "name": "url", |
| 504 | + "types": [ |
| 505 | + "url" |
| 506 | + ] |
| 507 | + }, |
| 508 | + { |
| 509 | + "doc": "The handle to the ViewModelInstanceRuntime instance", |
| 510 | + "name": "handle", |
| 511 | + "types": [ |
| 512 | + "integer" |
| 513 | + ] |
| 514 | + } |
| 515 | + ], |
| 516 | + "returnvalues": [], |
| 517 | + "type": "FUNCTION" |
| 518 | + }, |
| 519 | + { |
| 520 | + "description": "Gets the current ViewModelInstanceRuntime", |
| 521 | + "examples": "", |
| 522 | + "name": "rive.databind.get_view_model_instance_runtime", |
| 523 | + "parameters": [ |
| 524 | + { |
| 525 | + "doc": "The Rive model component", |
| 526 | + "name": "url", |
| 527 | + "types": [ |
| 528 | + "url" |
| 529 | + ] |
| 530 | + } |
| 531 | + ], |
| 532 | + "returnvalues": [], |
| 533 | + "type": "FUNCTION" |
| 534 | + }, |
| 535 | + { |
| 536 | + "description": "Sets properties to the ViewModelInstanceRuntime instance", |
| 537 | + "examples": "", |
| 538 | + "name": "rive.databind.set_properties", |
| 539 | + "parameters": [ |
| 540 | + { |
| 541 | + "doc": "The Rive model component", |
| 542 | + "name": "url", |
| 543 | + "types": [ |
| 544 | + "url" |
| 545 | + ] |
| 546 | + }, |
| 547 | + { |
| 548 | + "doc": "The handle to the currently set ViewModelInstanceRuntime instance", |
| 549 | + "name": "handle", |
| 550 | + "types": [ |
| 551 | + "integer" |
| 552 | + ] |
| 553 | + }, |
| 554 | + { |
| 555 | + "doc": "A table of properties, where each key is a Rive \"path\", and the values are mapped to the corresponding property value type.", |
| 556 | + "name": "properties", |
| 557 | + "types": [ |
| 558 | + "table" |
| 559 | + ] |
| 560 | + } |
| 561 | + ], |
| 562 | + "returnvalues": [], |
| 563 | + "type": "FUNCTION" |
| 564 | + }, |
| 565 | + { |
| 566 | + "description": "Functions and constants for interacting with Rive data bindings", |
| 567 | + "examples": "", |
| 568 | + "parameters": [], |
| 569 | + "returnvalues": [], |
| 570 | + "type": "TABLE" |
449 | 571 | }
|
450 | 572 | ],
|
451 | 573 | "info": {
|
|
0 commit comments