Skip to content

Commit 62bf196

Browse files
Site changes [skip-ci]
1 parent e443386 commit 62bf196

File tree

1 file changed

+133
-11
lines changed

1 file changed

+133
-11
lines changed

_data/extensions/extension-rive_rive.json

Lines changed: 133 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "rive.play_anim",
77
"parameters": [
88
{
9-
"doc": "The Rive model for which to play an animation",
9+
"doc": "The Rive model component for which to play an animation",
1010
"name": "url",
1111
"types": [
1212
"url"
@@ -112,7 +112,7 @@
112112
"name": "rive.play_state_machine",
113113
"parameters": [
114114
{
115-
"doc": "The Rive model for which to play an animation",
115+
"doc": "The Rive model component for which to play an animation",
116116
"name": "url",
117117
"types": [
118118
"url"
@@ -181,7 +181,7 @@
181181
"name": "rive.cancel",
182182
"parameters": [
183183
{
184-
"doc": "The Rive model for which to cancel the animation",
184+
"doc": "The Rive model component for which to cancel the animation",
185185
"name": "url",
186186
"types": [
187187
"url"
@@ -197,7 +197,7 @@
197197
"name": "rive.get_go",
198198
"parameters": [
199199
{
200-
"doc": "The Rive model to query",
200+
"doc": "The Rive model component to query",
201201
"name": "url",
202202
"types": [
203203
"url"
@@ -220,7 +220,7 @@
220220
"name": "rive.pointer_move",
221221
"parameters": [
222222
{
223-
"doc": "The Rive model",
223+
"doc": "The Rive model component",
224224
"name": "url",
225225
"types": [
226226
"url"
@@ -250,7 +250,7 @@
250250
"name": "rive.pointer_up",
251251
"parameters": [
252252
{
253-
"doc": "The Rive model",
253+
"doc": "The Rive model component",
254254
"name": "url",
255255
"types": [
256256
"url"
@@ -280,7 +280,7 @@
280280
"name": "rive.pointer_down",
281281
"parameters": [
282282
{
283-
"doc": "The Rive model",
283+
"doc": "The Rive model component",
284284
"name": "url",
285285
"types": [
286286
"url"
@@ -310,7 +310,7 @@
310310
"name": "rive.get_text_run",
311311
"parameters": [
312312
{
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",
314314
"name": "url",
315315
"types": [
316316
"url"
@@ -340,7 +340,7 @@
340340
"name": "rive.set_text_run",
341341
"parameters": [
342342
{
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",
344344
"name": "url",
345345
"types": [
346346
"url"
@@ -385,7 +385,7 @@
385385
"name": "rive.get_state_machine_input",
386386
"parameters": [
387387
{
388-
"doc": "The Rive model",
388+
"doc": "The Rive model component",
389389
"name": "url",
390390
"types": [
391391
"url"
@@ -415,7 +415,7 @@
415415
"name": "rive.set_state_machine_input",
416416
"parameters": [
417417
{
418-
"doc": "The Rive model",
418+
"doc": "The Rive model component",
419419
"name": "url",
420420
"types": [
421421
"url"
@@ -446,6 +446,128 @@
446446
],
447447
"returnvalues": [],
448448
"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"
449571
}
450572
],
451573
"info": {

0 commit comments

Comments
 (0)