@defold-typescript/library-types 0.21.1 → 0.23.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/api-doc/{bridge.bridge.json → bridge.json} +749 -844
- package/api-doc/decore.json +22 -22
- package/api-doc/druid.json +195 -1790
- package/api-doc/event.json +1074 -0
- package/api-doc/immutable.json +65 -0
- package/api-doc/lang.json +528 -0
- package/api-doc/{event.event.json → log.json} +96 -101
- package/api-doc/narrator.json +647 -0
- package/api-doc/proto.json +995 -0
- package/api-doc/saver.saver.json +713 -263
- package/api-doc/saver.storage.json +282 -52
- package/api-doc/squid.json +846 -0
- package/api-doc/tweener.json +277 -0
- package/generated/bridge.d.ts +468 -0
- package/generated/decore.d.ts +36 -36
- package/generated/druid.d.ts +137 -443
- package/generated/event.d.ts +318 -0
- package/generated/immutable.d.ts +13 -0
- package/generated/lang.d.ts +101 -0
- package/generated/log.d.ts +36 -0
- package/generated/narrator.d.ts +121 -0
- package/generated/proto.d.ts +146 -0
- package/generated/saver.saver.d.ts +287 -42
- package/generated/saver.storage.d.ts +77 -14
- package/generated/squid.d.ts +127 -0
- package/generated/tweener.d.ts +42 -0
- package/library-classification.json +0 -71
- package/library-targets.json +0 -66
- package/luals-targets.json +114 -0
- package/package.json +4 -33
- package/script-api-targets.json +15 -0
- package/scripts/__snapshots__/parse-luals.test.ts.snap +340 -75
- package/scripts/apply-luals-overrides.ts +63 -0
- package/scripts/emit-library-dts.ts +84 -3
- package/scripts/lower-api-doc.ts +48 -16
- package/scripts/luals-fidelity.ts +7 -0
- package/scripts/map-luals-types.ts +34 -1
- package/scripts/parse-luals.ts +423 -18
- package/scripts/sync-luals-types.ts +15 -1
- package/scripts/sync-script-api-types.ts +368 -0
- package/api-doc/immutable.immutable.json +0 -63
- package/api-doc/lang.lang.json +0 -411
- package/api-doc/log.log.json +0 -50
- package/api-doc/narrator.narrator.json +0 -150
- package/api-doc/proto.proto.json +0 -355
- package/api-doc/squid.squid.json +0 -660
- package/api-doc/tweener.tweener.json +0 -419
- package/generated/bridge.bridge.d.ts +0 -533
- package/generated/event.event.d.ts +0 -54
- package/generated/immutable.immutable.d.ts +0 -13
- package/generated/lang.lang.d.ts +0 -33
- package/generated/log.log.d.ts +0 -40
- package/generated/narrator.narrator.d.ts +0 -66
- package/generated/proto.proto.d.ts +0 -36
- package/generated/squid.squid.d.ts +0 -106
- package/generated/tweener.tweener.d.ts +0 -151
|
@@ -56,7 +56,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
|
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"doc": "Custom args to pass in the callback",
|
|
59
|
-
"isOptional":
|
|
59
|
+
"isOptional": true,
|
|
60
60
|
"name": "params",
|
|
61
61
|
"types": [
|
|
62
62
|
"any?",
|
|
@@ -72,6 +72,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
|
|
|
72
72
|
"params": [
|
|
73
73
|
{
|
|
74
74
|
"doc": "The callback to call when the back handler is triggered",
|
|
75
|
+
"isNilable": true,
|
|
75
76
|
"isOptional": false,
|
|
76
77
|
"isVararg": false,
|
|
77
78
|
"name": "callback",
|
|
@@ -81,6 +82,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
|
|
|
81
82
|
},
|
|
82
83
|
{
|
|
83
84
|
"doc": "Custom args to pass in the callback",
|
|
85
|
+
"isNilable": true,
|
|
84
86
|
"isOptional": false,
|
|
85
87
|
"isVararg": false,
|
|
86
88
|
"name": "params",
|
|
@@ -126,6 +128,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
|
|
|
126
128
|
],
|
|
127
129
|
},
|
|
128
130
|
],
|
|
131
|
+
"visibility": "private",
|
|
129
132
|
},
|
|
130
133
|
],
|
|
131
134
|
"name": "druid.back_handler",
|
|
@@ -216,6 +219,7 @@ Create blocker component with druid: \`druid:new_blocker(node_name)\`
|
|
|
216
219
|
],
|
|
217
220
|
},
|
|
218
221
|
],
|
|
222
|
+
"visibility": "private",
|
|
219
223
|
},
|
|
220
224
|
{
|
|
221
225
|
"brief": "Set blocker enabled state",
|
|
@@ -272,7 +276,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
272
276
|
"fields": [
|
|
273
277
|
{
|
|
274
278
|
"doc": "Minimum time to trigger on_hold_callback. Default: 0.4",
|
|
275
|
-
"isOptional":
|
|
279
|
+
"isOptional": true,
|
|
276
280
|
"name": "LONGTAP_TIME",
|
|
277
281
|
"types": [
|
|
278
282
|
"number|nil",
|
|
@@ -280,7 +284,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
280
284
|
},
|
|
281
285
|
{
|
|
282
286
|
"doc": "Maximum hold time to trigger button release while holding. Default: 0.8",
|
|
283
|
-
"isOptional":
|
|
287
|
+
"isOptional": true,
|
|
284
288
|
"name": "AUTOHOLD_TRIGGER",
|
|
285
289
|
"types": [
|
|
286
290
|
"number|nil",
|
|
@@ -288,7 +292,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
288
292
|
},
|
|
289
293
|
{
|
|
290
294
|
"doc": "Time between double taps. Default: 0.4",
|
|
291
|
-
"isOptional":
|
|
295
|
+
"isOptional": true,
|
|
292
296
|
"name": "DOUBLETAP_TIME",
|
|
293
297
|
"types": [
|
|
294
298
|
"number|nil",
|
|
@@ -296,7 +300,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
296
300
|
},
|
|
297
301
|
{
|
|
298
302
|
"doc": "",
|
|
299
|
-
"isOptional":
|
|
303
|
+
"isOptional": true,
|
|
300
304
|
"name": "on_init",
|
|
301
305
|
"types": [
|
|
302
306
|
"fun(self)|nil",
|
|
@@ -304,7 +308,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
304
308
|
},
|
|
305
309
|
{
|
|
306
310
|
"doc": "",
|
|
307
|
-
"isOptional":
|
|
311
|
+
"isOptional": true,
|
|
308
312
|
"name": "on_click",
|
|
309
313
|
"types": [
|
|
310
314
|
"fun(self, node)|nil",
|
|
@@ -312,7 +316,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
312
316
|
},
|
|
313
317
|
{
|
|
314
318
|
"doc": "",
|
|
315
|
-
"isOptional":
|
|
319
|
+
"isOptional": true,
|
|
316
320
|
"name": "on_click_disabled",
|
|
317
321
|
"types": [
|
|
318
322
|
"fun(self, node)|nil",
|
|
@@ -320,7 +324,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
320
324
|
},
|
|
321
325
|
{
|
|
322
326
|
"doc": "",
|
|
323
|
-
"isOptional":
|
|
327
|
+
"isOptional": true,
|
|
324
328
|
"name": "on_hover",
|
|
325
329
|
"types": [
|
|
326
330
|
"fun(self, node, hover_state)|nil",
|
|
@@ -328,7 +332,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
328
332
|
},
|
|
329
333
|
{
|
|
330
334
|
"doc": "",
|
|
331
|
-
"isOptional":
|
|
335
|
+
"isOptional": true,
|
|
332
336
|
"name": "on_mouse_hover",
|
|
333
337
|
"types": [
|
|
334
338
|
"fun(self, node, hover_state)|nil",
|
|
@@ -336,7 +340,7 @@ You can override this component styles params in Druid styles table or create yo
|
|
|
336
340
|
},
|
|
337
341
|
{
|
|
338
342
|
"doc": "",
|
|
339
|
-
"isOptional":
|
|
343
|
+
"isOptional": true,
|
|
340
344
|
"name": "on_set_enabled",
|
|
341
345
|
"types": [
|
|
342
346
|
"fun(self, node, enabled_state)|nil",
|
|
@@ -466,7 +470,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
466
470
|
},
|
|
467
471
|
{
|
|
468
472
|
"doc": "Click zone node to restrict click area",
|
|
469
|
-
"isOptional":
|
|
473
|
+
"isOptional": true,
|
|
470
474
|
"name": "click_zone",
|
|
471
475
|
"types": [
|
|
472
476
|
"node|nil",
|
|
@@ -531,6 +535,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
531
535
|
},
|
|
532
536
|
{
|
|
533
537
|
"doc": "Callback on button click",
|
|
538
|
+
"isNilable": true,
|
|
534
539
|
"isOptional": false,
|
|
535
540
|
"isVararg": false,
|
|
536
541
|
"name": "callback",
|
|
@@ -540,6 +545,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
540
545
|
},
|
|
541
546
|
{
|
|
542
547
|
"doc": "Custom args for any Button event, will be passed to callbacks",
|
|
548
|
+
"isNilable": true,
|
|
543
549
|
"isOptional": false,
|
|
544
550
|
"isVararg": false,
|
|
545
551
|
"name": "custom_args",
|
|
@@ -549,6 +555,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
549
555
|
},
|
|
550
556
|
{
|
|
551
557
|
"doc": "Node to animate instead of trigger node, useful for animating small icons on big panels",
|
|
558
|
+
"isNilable": true,
|
|
552
559
|
"isOptional": false,
|
|
553
560
|
"isVararg": false,
|
|
554
561
|
"name": "anim_node",
|
|
@@ -575,6 +582,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
575
582
|
},
|
|
576
583
|
],
|
|
577
584
|
"returns": [],
|
|
585
|
+
"visibility": "private",
|
|
578
586
|
},
|
|
579
587
|
{
|
|
580
588
|
"brief": "Remove default button style animations",
|
|
@@ -599,6 +607,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
599
607
|
"name": "on_late_init",
|
|
600
608
|
"params": [],
|
|
601
609
|
"returns": [],
|
|
610
|
+
"visibility": "private",
|
|
602
611
|
},
|
|
603
612
|
{
|
|
604
613
|
"brief": "",
|
|
@@ -635,6 +644,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
635
644
|
],
|
|
636
645
|
},
|
|
637
646
|
],
|
|
647
|
+
"visibility": "private",
|
|
638
648
|
},
|
|
639
649
|
{
|
|
640
650
|
"brief": "",
|
|
@@ -642,6 +652,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
|
|
|
642
652
|
"name": "on_input_interrupt",
|
|
643
653
|
"params": [],
|
|
644
654
|
"returns": [],
|
|
655
|
+
"visibility": "private",
|
|
645
656
|
},
|
|
646
657
|
{
|
|
647
658
|
"brief":
|
|
@@ -654,6 +665,7 @@ Disabled button is not clickable."
|
|
|
654
665
|
"params": [
|
|
655
666
|
{
|
|
656
667
|
"doc": "Enabled state",
|
|
668
|
+
"isNilable": true,
|
|
657
669
|
"isOptional": false,
|
|
658
670
|
"isVararg": false,
|
|
659
671
|
"name": "state",
|
|
@@ -705,6 +717,7 @@ If button node placed inside stencil node, it will be automatically set to this
|
|
|
705
717
|
"params": [
|
|
706
718
|
{
|
|
707
719
|
"doc": "Gui node",
|
|
720
|
+
"isNilable": true,
|
|
708
721
|
"isOptional": false,
|
|
709
722
|
"isVararg": false,
|
|
710
723
|
"name": "zone",
|
|
@@ -776,6 +789,7 @@ If button node placed inside stencil node, it will be automatically set to this
|
|
|
776
789
|
"params": [
|
|
777
790
|
{
|
|
778
791
|
"doc": "Should return true or false. If true - button can be pressed.",
|
|
792
|
+
"isNilable": true,
|
|
779
793
|
"isOptional": false,
|
|
780
794
|
"isVararg": false,
|
|
781
795
|
"name": "check_function",
|
|
@@ -785,6 +799,7 @@ If button node placed inside stencil node, it will be automatically set to this
|
|
|
785
799
|
},
|
|
786
800
|
{
|
|
787
801
|
"doc": "Function will be called on button click, if check function returns false",
|
|
802
|
+
"isNilable": true,
|
|
788
803
|
"isOptional": false,
|
|
789
804
|
"isVararg": false,
|
|
790
805
|
"name": "failure_callback",
|
|
@@ -819,6 +834,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
819
834
|
"params": [
|
|
820
835
|
{
|
|
821
836
|
"doc": "If true - button will be called inside html5 callback",
|
|
837
|
+
"isNilable": true,
|
|
822
838
|
"isOptional": false,
|
|
823
839
|
"isVararg": false,
|
|
824
840
|
"name": "is_web_mode",
|
|
@@ -1041,7 +1057,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1041
1057
|
},
|
|
1042
1058
|
{
|
|
1043
1059
|
"doc": "The click zone of Drag component",
|
|
1044
|
-
"isOptional":
|
|
1060
|
+
"isOptional": true,
|
|
1045
1061
|
"name": "click_zone",
|
|
1046
1062
|
"types": [
|
|
1047
1063
|
"node|nil",
|
|
@@ -1215,6 +1231,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1215
1231
|
},
|
|
1216
1232
|
],
|
|
1217
1233
|
"returns": [],
|
|
1234
|
+
"visibility": "private",
|
|
1218
1235
|
},
|
|
1219
1236
|
{
|
|
1220
1237
|
"brief": "Set Drag component enabled state.",
|
|
@@ -1239,6 +1256,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1239
1256
|
"name": "on_late_init",
|
|
1240
1257
|
"params": [],
|
|
1241
1258
|
"returns": [],
|
|
1259
|
+
"visibility": "private",
|
|
1242
1260
|
},
|
|
1243
1261
|
{
|
|
1244
1262
|
"brief": "",
|
|
@@ -1246,6 +1264,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1246
1264
|
"name": "on_window_resized",
|
|
1247
1265
|
"params": [],
|
|
1248
1266
|
"returns": [],
|
|
1267
|
+
"visibility": "private",
|
|
1249
1268
|
},
|
|
1250
1269
|
{
|
|
1251
1270
|
"brief": "",
|
|
@@ -1253,6 +1272,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1253
1272
|
"name": "on_input_interrupt",
|
|
1254
1273
|
"params": [],
|
|
1255
1274
|
"returns": [],
|
|
1275
|
+
"visibility": "private",
|
|
1256
1276
|
},
|
|
1257
1277
|
{
|
|
1258
1278
|
"brief": "",
|
|
@@ -1289,6 +1309,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1289
1309
|
],
|
|
1290
1310
|
},
|
|
1291
1311
|
],
|
|
1312
|
+
"visibility": "private",
|
|
1292
1313
|
},
|
|
1293
1314
|
{
|
|
1294
1315
|
"brief": "Set Drag click zone",
|
|
@@ -1297,6 +1318,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1297
1318
|
"params": [
|
|
1298
1319
|
{
|
|
1299
1320
|
"doc": "Node or node id",
|
|
1321
|
+
"isNilable": true,
|
|
1300
1322
|
"isOptional": false,
|
|
1301
1323
|
"isVararg": false,
|
|
1302
1324
|
"name": "node",
|
|
@@ -1375,6 +1397,7 @@ If the game is not HTML, html mode will be not enabled"
|
|
|
1375
1397
|
"params": [
|
|
1376
1398
|
{
|
|
1377
1399
|
"doc": "",
|
|
1400
|
+
"isNilable": true,
|
|
1378
1401
|
"isOptional": false,
|
|
1379
1402
|
"isVararg": false,
|
|
1380
1403
|
"name": "touch",
|
|
@@ -1496,7 +1519,7 @@ touches exists to switch to another touch."
|
|
|
1496
1519
|
"fields": [
|
|
1497
1520
|
{
|
|
1498
1521
|
"doc": "Mouse hover style on node hover",
|
|
1499
|
-
"isOptional":
|
|
1522
|
+
"isOptional": true,
|
|
1500
1523
|
"name": "ON_HOVER_CURSOR",
|
|
1501
1524
|
"types": [
|
|
1502
1525
|
"string|number|nil",
|
|
@@ -1504,7 +1527,7 @@ touches exists to switch to another touch."
|
|
|
1504
1527
|
},
|
|
1505
1528
|
{
|
|
1506
1529
|
"doc": "Mouse hover style on node mouse hover",
|
|
1507
|
-
"isOptional":
|
|
1530
|
+
"isOptional": true,
|
|
1508
1531
|
"name": "ON_MOUSE_HOVER_CURSOR",
|
|
1509
1532
|
"types": [
|
|
1510
1533
|
"string|number|nil",
|
|
@@ -1561,7 +1584,7 @@ touches exists to switch to another touch."
|
|
|
1561
1584
|
},
|
|
1562
1585
|
{
|
|
1563
1586
|
"doc": "True if the node is hovered",
|
|
1564
|
-
"isOptional":
|
|
1587
|
+
"isOptional": true,
|
|
1565
1588
|
"name": "_is_hovered",
|
|
1566
1589
|
"types": [
|
|
1567
1590
|
"boolean|nil",
|
|
@@ -1570,7 +1593,7 @@ touches exists to switch to another touch."
|
|
|
1570
1593
|
},
|
|
1571
1594
|
{
|
|
1572
1595
|
"doc": "True if the node is mouse hovered",
|
|
1573
|
-
"isOptional":
|
|
1596
|
+
"isOptional": true,
|
|
1574
1597
|
"name": "_is_mouse_hovered",
|
|
1575
1598
|
"types": [
|
|
1576
1599
|
"boolean|nil",
|
|
@@ -1579,7 +1602,7 @@ touches exists to switch to another touch."
|
|
|
1579
1602
|
},
|
|
1580
1603
|
{
|
|
1581
1604
|
"doc": "True if the hover component is enabled",
|
|
1582
|
-
"isOptional":
|
|
1605
|
+
"isOptional": true,
|
|
1583
1606
|
"name": "_is_enabled",
|
|
1584
1607
|
"types": [
|
|
1585
1608
|
"boolean|nil",
|
|
@@ -1639,6 +1662,7 @@ touches exists to switch to another touch."
|
|
|
1639
1662
|
"name": "on_late_init",
|
|
1640
1663
|
"params": [],
|
|
1641
1664
|
"returns": [],
|
|
1665
|
+
"visibility": "private",
|
|
1642
1666
|
},
|
|
1643
1667
|
{
|
|
1644
1668
|
"brief": "",
|
|
@@ -1656,6 +1680,7 @@ touches exists to switch to another touch."
|
|
|
1656
1680
|
},
|
|
1657
1681
|
],
|
|
1658
1682
|
"returns": [],
|
|
1683
|
+
"visibility": "private",
|
|
1659
1684
|
},
|
|
1660
1685
|
{
|
|
1661
1686
|
"brief": "",
|
|
@@ -1692,6 +1717,7 @@ touches exists to switch to another touch."
|
|
|
1692
1717
|
],
|
|
1693
1718
|
},
|
|
1694
1719
|
],
|
|
1720
|
+
"visibility": "private",
|
|
1695
1721
|
},
|
|
1696
1722
|
{
|
|
1697
1723
|
"brief": "",
|
|
@@ -1699,6 +1725,7 @@ touches exists to switch to another touch."
|
|
|
1699
1725
|
"name": "on_input_interrupt",
|
|
1700
1726
|
"params": [],
|
|
1701
1727
|
"returns": [],
|
|
1728
|
+
"visibility": "private",
|
|
1702
1729
|
},
|
|
1703
1730
|
{
|
|
1704
1731
|
"brief": "Set hover state",
|
|
@@ -1707,6 +1734,7 @@ touches exists to switch to another touch."
|
|
|
1707
1734
|
"params": [
|
|
1708
1735
|
{
|
|
1709
1736
|
"doc": "The hover state",
|
|
1737
|
+
"isNilable": true,
|
|
1710
1738
|
"isOptional": false,
|
|
1711
1739
|
"isVararg": false,
|
|
1712
1740
|
"name": "state",
|
|
@@ -1741,6 +1769,7 @@ touches exists to switch to another touch."
|
|
|
1741
1769
|
"params": [
|
|
1742
1770
|
{
|
|
1743
1771
|
"doc": "The mouse hover state",
|
|
1772
|
+
"isNilable": true,
|
|
1744
1773
|
"isOptional": false,
|
|
1745
1774
|
"isVararg": false,
|
|
1746
1775
|
"name": "state",
|
|
@@ -1775,6 +1804,7 @@ touches exists to switch to another touch."
|
|
|
1775
1804
|
"params": [
|
|
1776
1805
|
{
|
|
1777
1806
|
"doc": "Gui node",
|
|
1807
|
+
"isNilable": true,
|
|
1778
1808
|
"isOptional": false,
|
|
1779
1809
|
"isVararg": false,
|
|
1780
1810
|
"name": "zone",
|
|
@@ -1796,6 +1826,7 @@ any hover events"
|
|
|
1796
1826
|
"params": [
|
|
1797
1827
|
{
|
|
1798
1828
|
"doc": "The hover enabled state",
|
|
1829
|
+
"isNilable": true,
|
|
1799
1830
|
"isOptional": false,
|
|
1800
1831
|
"isVararg": false,
|
|
1801
1832
|
"name": "state",
|
|
@@ -1829,6 +1860,7 @@ any hover events"
|
|
|
1829
1860
|
"name": "on_remove",
|
|
1830
1861
|
"params": [],
|
|
1831
1862
|
"returns": [],
|
|
1863
|
+
"visibility": "private",
|
|
1832
1864
|
},
|
|
1833
1865
|
{
|
|
1834
1866
|
"brief": "",
|
|
@@ -1836,6 +1868,7 @@ any hover events"
|
|
|
1836
1868
|
"name": "_set_cursor",
|
|
1837
1869
|
"params": [],
|
|
1838
1870
|
"returns": [],
|
|
1871
|
+
"visibility": "local",
|
|
1839
1872
|
},
|
|
1840
1873
|
],
|
|
1841
1874
|
"name": "druid.hover",
|
|
@@ -1845,7 +1878,7 @@ any hover events"
|
|
|
1845
1878
|
"fields": [
|
|
1846
1879
|
{
|
|
1847
1880
|
"doc": "Multiplier for free inertion. Default: 0",
|
|
1848
|
-
"isOptional":
|
|
1881
|
+
"isOptional": true,
|
|
1849
1882
|
"name": "FRICT",
|
|
1850
1883
|
"types": [
|
|
1851
1884
|
"number|nil",
|
|
@@ -1853,7 +1886,7 @@ any hover events"
|
|
|
1853
1886
|
},
|
|
1854
1887
|
{
|
|
1855
1888
|
"doc": "Multiplier for inertion, while touching. Default: 0",
|
|
1856
|
-
"isOptional":
|
|
1889
|
+
"isOptional": true,
|
|
1857
1890
|
"name": "FRICT_HOLD",
|
|
1858
1891
|
"types": [
|
|
1859
1892
|
"number|nil",
|
|
@@ -1861,7 +1894,7 @@ any hover events"
|
|
|
1861
1894
|
},
|
|
1862
1895
|
{
|
|
1863
1896
|
"doc": "Scroll speed to stop inertion. Default: 3",
|
|
1864
|
-
"isOptional":
|
|
1897
|
+
"isOptional": true,
|
|
1865
1898
|
"name": "INERT_THRESHOLD",
|
|
1866
1899
|
"types": [
|
|
1867
1900
|
"number|nil",
|
|
@@ -1869,7 +1902,7 @@ any hover events"
|
|
|
1869
1902
|
},
|
|
1870
1903
|
{
|
|
1871
1904
|
"doc": "Multiplier for inertion speed. Default: 30",
|
|
1872
|
-
"isOptional":
|
|
1905
|
+
"isOptional": true,
|
|
1873
1906
|
"name": "INERT_SPEED",
|
|
1874
1907
|
"types": [
|
|
1875
1908
|
"number|nil",
|
|
@@ -1877,7 +1910,7 @@ any hover events"
|
|
|
1877
1910
|
},
|
|
1878
1911
|
{
|
|
1879
1912
|
"doc": "Speed to check points of interests in no_inertion mode. Default: 20",
|
|
1880
|
-
"isOptional":
|
|
1913
|
+
"isOptional": true,
|
|
1881
1914
|
"name": "POINTS_DEADZONE",
|
|
1882
1915
|
"types": [
|
|
1883
1916
|
"number|nil",
|
|
@@ -1885,7 +1918,7 @@ any hover events"
|
|
|
1885
1918
|
},
|
|
1886
1919
|
{
|
|
1887
1920
|
"doc": "Scroll back returning lerp speed. Default: 35",
|
|
1888
|
-
"isOptional":
|
|
1921
|
+
"isOptional": true,
|
|
1889
1922
|
"name": "BACK_SPEED",
|
|
1890
1923
|
"types": [
|
|
1891
1924
|
"number|nil",
|
|
@@ -1893,7 +1926,7 @@ any hover events"
|
|
|
1893
1926
|
},
|
|
1894
1927
|
{
|
|
1895
1928
|
"doc": "Scroll gui.animation speed for scroll_to function. Default: 2",
|
|
1896
|
-
"isOptional":
|
|
1929
|
+
"isOptional": true,
|
|
1897
1930
|
"name": "ANIM_SPEED",
|
|
1898
1931
|
"types": [
|
|
1899
1932
|
"number|nil",
|
|
@@ -1901,7 +1934,7 @@ any hover events"
|
|
|
1901
1934
|
},
|
|
1902
1935
|
{
|
|
1903
1936
|
"doc": "extra size in pixels outside of scroll (stretch effect). Default: 0",
|
|
1904
|
-
"isOptional":
|
|
1937
|
+
"isOptional": true,
|
|
1905
1938
|
"name": "EXTRA_STRETCH_SIZE",
|
|
1906
1939
|
"types": [
|
|
1907
1940
|
"number|nil",
|
|
@@ -1909,7 +1942,7 @@ any hover events"
|
|
|
1909
1942
|
},
|
|
1910
1943
|
{
|
|
1911
1944
|
"doc": "If true, content node with size less than view node size can be scrolled. Default: false",
|
|
1912
|
-
"isOptional":
|
|
1945
|
+
"isOptional": true,
|
|
1913
1946
|
"name": "SMALL_CONTENT_SCROLL",
|
|
1914
1947
|
"types": [
|
|
1915
1948
|
"boolean|nil",
|
|
@@ -1917,7 +1950,7 @@ any hover events"
|
|
|
1917
1950
|
},
|
|
1918
1951
|
{
|
|
1919
1952
|
"doc": "The scroll speed via mouse wheel scroll or touchpad. Set to 0 to disable wheel scrolling. Default: 0",
|
|
1920
|
-
"isOptional":
|
|
1953
|
+
"isOptional": true,
|
|
1921
1954
|
"name": "WHEEL_SCROLL_SPEED",
|
|
1922
1955
|
"types": [
|
|
1923
1956
|
"number|nil",
|
|
@@ -1925,7 +1958,7 @@ any hover events"
|
|
|
1925
1958
|
},
|
|
1926
1959
|
{
|
|
1927
1960
|
"doc": "If true, invert direction for touchpad and mouse wheel scroll. Default: false",
|
|
1928
|
-
"isOptional":
|
|
1961
|
+
"isOptional": true,
|
|
1929
1962
|
"name": "WHEEL_SCROLL_INVERTED",
|
|
1930
1963
|
"types": [
|
|
1931
1964
|
"boolean|nil",
|
|
@@ -1933,7 +1966,7 @@ any hover events"
|
|
|
1933
1966
|
},
|
|
1934
1967
|
{
|
|
1935
1968
|
"doc": "If true, wheel will add inertion to scroll. Direct set position otherwise.. Default: false",
|
|
1936
|
-
"isOptional":
|
|
1969
|
+
"isOptional": true,
|
|
1937
1970
|
"name": "WHEEL_SCROLL_BY_INERTION",
|
|
1938
1971
|
"types": [
|
|
1939
1972
|
"boolean|nil",
|
|
@@ -1976,7 +2009,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
1976
2009
|
},
|
|
1977
2010
|
{
|
|
1978
2011
|
"doc": "Optional click zone to restrict scroll area",
|
|
1979
|
-
"isOptional":
|
|
2012
|
+
"isOptional": true,
|
|
1980
2013
|
"name": "click_zone",
|
|
1981
2014
|
"types": [
|
|
1982
2015
|
"node|nil",
|
|
@@ -2080,7 +2113,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2080
2113
|
},
|
|
2081
2114
|
{
|
|
2082
2115
|
"doc": "Current selected point of interest index",
|
|
2083
|
-
"isOptional":
|
|
2116
|
+
"isOptional": true,
|
|
2084
2117
|
"name": "selected",
|
|
2085
2118
|
"types": [
|
|
2086
2119
|
"number|nil",
|
|
@@ -2219,6 +2252,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2219
2252
|
},
|
|
2220
2253
|
],
|
|
2221
2254
|
"returns": [],
|
|
2255
|
+
"visibility": "private",
|
|
2222
2256
|
},
|
|
2223
2257
|
{
|
|
2224
2258
|
"brief": "",
|
|
@@ -2226,6 +2260,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2226
2260
|
"name": "on_late_init",
|
|
2227
2261
|
"params": [],
|
|
2228
2262
|
"returns": [],
|
|
2263
|
+
"visibility": "private",
|
|
2229
2264
|
},
|
|
2230
2265
|
{
|
|
2231
2266
|
"brief": "",
|
|
@@ -2233,6 +2268,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2233
2268
|
"name": "on_layout_change",
|
|
2234
2269
|
"params": [],
|
|
2235
2270
|
"returns": [],
|
|
2271
|
+
"visibility": "private",
|
|
2236
2272
|
},
|
|
2237
2273
|
{
|
|
2238
2274
|
"brief": "",
|
|
@@ -2240,6 +2276,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2240
2276
|
"name": "update",
|
|
2241
2277
|
"params": [],
|
|
2242
2278
|
"returns": [],
|
|
2279
|
+
"visibility": "private",
|
|
2243
2280
|
},
|
|
2244
2281
|
{
|
|
2245
2282
|
"brief": "",
|
|
@@ -2247,6 +2284,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2247
2284
|
"name": "on_input",
|
|
2248
2285
|
"params": [],
|
|
2249
2286
|
"returns": [],
|
|
2287
|
+
"visibility": "private",
|
|
2250
2288
|
},
|
|
2251
2289
|
{
|
|
2252
2290
|
"brief": "",
|
|
@@ -2254,6 +2292,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2254
2292
|
"name": "on_remove",
|
|
2255
2293
|
"params": [],
|
|
2256
2294
|
"returns": [],
|
|
2295
|
+
"visibility": "private",
|
|
2257
2296
|
},
|
|
2258
2297
|
{
|
|
2259
2298
|
"brief": "Start scroll to target point.",
|
|
@@ -2271,6 +2310,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2271
2310
|
},
|
|
2272
2311
|
{
|
|
2273
2312
|
"doc": "Instant scroll flag",
|
|
2313
|
+
"isNilable": true,
|
|
2274
2314
|
"isOptional": false,
|
|
2275
2315
|
"isVararg": false,
|
|
2276
2316
|
"name": "is_instant",
|
|
@@ -2297,6 +2337,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2297
2337
|
},
|
|
2298
2338
|
{
|
|
2299
2339
|
"doc": "Instant scroll flag",
|
|
2340
|
+
"isNilable": true,
|
|
2300
2341
|
"isOptional": false,
|
|
2301
2342
|
"isVararg": false,
|
|
2302
2343
|
"name": "is_instant",
|
|
@@ -2323,6 +2364,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2323
2364
|
},
|
|
2324
2365
|
{
|
|
2325
2366
|
"doc": "If true, skip the point callback",
|
|
2367
|
+
"isNilable": true,
|
|
2326
2368
|
"isOptional": false,
|
|
2327
2369
|
"isVararg": false,
|
|
2328
2370
|
"name": "is_silent",
|
|
@@ -2332,6 +2374,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2332
2374
|
},
|
|
2333
2375
|
{
|
|
2334
2376
|
"doc": "Instant scroll flag",
|
|
2377
|
+
"isNilable": true,
|
|
2335
2378
|
"isOptional": false,
|
|
2336
2379
|
"isVararg": false,
|
|
2337
2380
|
"name": "is_instant",
|
|
@@ -2358,6 +2401,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2358
2401
|
},
|
|
2359
2402
|
{
|
|
2360
2403
|
"doc": "instant scroll flag",
|
|
2404
|
+
"isNilable": true,
|
|
2361
2405
|
"isOptional": false,
|
|
2362
2406
|
"isVararg": false,
|
|
2363
2407
|
"name": "is_instant",
|
|
@@ -2401,6 +2445,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2401
2445
|
},
|
|
2402
2446
|
{
|
|
2403
2447
|
"doc": "Offset value to set, where content is starts",
|
|
2448
|
+
"isNilable": true,
|
|
2404
2449
|
"isOptional": false,
|
|
2405
2450
|
"isVararg": false,
|
|
2406
2451
|
"name": "offset",
|
|
@@ -2516,6 +2561,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2516
2561
|
"params": [
|
|
2517
2562
|
{
|
|
2518
2563
|
"doc": "Size in pixels of additional scroll area",
|
|
2564
|
+
"isNilable": true,
|
|
2519
2565
|
"isOptional": false,
|
|
2520
2566
|
"isVararg": false,
|
|
2521
2567
|
"name": "stretch_size",
|
|
@@ -2668,6 +2714,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2668
2714
|
"params": [
|
|
2669
2715
|
{
|
|
2670
2716
|
"doc": "Druid grid component",
|
|
2717
|
+
"isNilable": true,
|
|
2671
2718
|
"isOptional": false,
|
|
2672
2719
|
"isVararg": false,
|
|
2673
2720
|
"name": "grid",
|
|
@@ -2695,6 +2742,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2695
2742
|
"params": [
|
|
2696
2743
|
{
|
|
2697
2744
|
"doc": "Druid layout component",
|
|
2745
|
+
"isNilable": true,
|
|
2698
2746
|
"isOptional": false,
|
|
2699
2747
|
"isVararg": false,
|
|
2700
2748
|
"name": "layout",
|
|
@@ -2766,6 +2814,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
|
|
|
2766
2814
|
"name": "_check_points",
|
|
2767
2815
|
"params": [],
|
|
2768
2816
|
"returns": [],
|
|
2817
|
+
"visibility": "private",
|
|
2769
2818
|
},
|
|
2770
2819
|
{
|
|
2771
2820
|
"brief": "",
|
|
@@ -2905,7 +2954,7 @@ Field y have to <= field w"
|
|
|
2905
2954
|
"fields": [
|
|
2906
2955
|
{
|
|
2907
2956
|
"doc": "If true, always center grid content as grid pivot sets. Default: false",
|
|
2908
|
-
"isOptional":
|
|
2957
|
+
"isOptional": true,
|
|
2909
2958
|
"name": "IS_DYNAMIC_NODE_POSES",
|
|
2910
2959
|
"types": [
|
|
2911
2960
|
"boolean|nil",
|
|
@@ -2913,7 +2962,7 @@ Field y have to <= field w"
|
|
|
2913
2962
|
},
|
|
2914
2963
|
{
|
|
2915
2964
|
"doc": "If true, always align last row of the grid as grid pivot sets. Default: false",
|
|
2916
|
-
"isOptional":
|
|
2965
|
+
"isOptional": true,
|
|
2917
2966
|
"name": "IS_ALIGN_LAST_ROW",
|
|
2918
2967
|
"types": [
|
|
2919
2968
|
"boolean|nil",
|
|
@@ -3076,6 +3125,7 @@ Field y have to <= field w"
|
|
|
3076
3125
|
},
|
|
3077
3126
|
{
|
|
3078
3127
|
"doc": "How many nodes in row can be placed. By default 1",
|
|
3128
|
+
"isNilable": true,
|
|
3079
3129
|
"isOptional": false,
|
|
3080
3130
|
"isVararg": false,
|
|
3081
3131
|
"name": "in_row",
|
|
@@ -3102,6 +3152,7 @@ Field y have to <= field w"
|
|
|
3102
3152
|
},
|
|
3103
3153
|
],
|
|
3104
3154
|
"returns": [],
|
|
3155
|
+
"visibility": "private",
|
|
3105
3156
|
},
|
|
3106
3157
|
{
|
|
3107
3158
|
"brief": "Return pos for grid node index",
|
|
@@ -3226,6 +3277,7 @@ Field y have to <= field w"
|
|
|
3226
3277
|
"name": "on_layout_change",
|
|
3227
3278
|
"params": [],
|
|
3228
3279
|
"returns": [],
|
|
3280
|
+
"visibility": "private",
|
|
3229
3281
|
},
|
|
3230
3282
|
{
|
|
3231
3283
|
"brief": "Set grid anchor. Default anchor is equal to anchor of grid parent node",
|
|
@@ -3304,6 +3356,7 @@ Field y have to <= field w"
|
|
|
3304
3356
|
},
|
|
3305
3357
|
{
|
|
3306
3358
|
"doc": "The item position. By default add as last item",
|
|
3359
|
+
"isNilable": true,
|
|
3307
3360
|
"isOptional": false,
|
|
3308
3361
|
"isVararg": false,
|
|
3309
3362
|
"name": "index",
|
|
@@ -3313,6 +3366,7 @@ Field y have to <= field w"
|
|
|
3313
3366
|
},
|
|
3314
3367
|
{
|
|
3315
3368
|
"doc": "How shift nodes, if required. Default: const.SHIFT.RIGHT",
|
|
3369
|
+
"isNilable": true,
|
|
3316
3370
|
"isOptional": false,
|
|
3317
3371
|
"isVararg": false,
|
|
3318
3372
|
"name": "shift_policy",
|
|
@@ -3322,6 +3376,7 @@ Field y have to <= field w"
|
|
|
3322
3376
|
},
|
|
3323
3377
|
{
|
|
3324
3378
|
"doc": "If true, update node positions instantly",
|
|
3379
|
+
"isNilable": true,
|
|
3325
3380
|
"isOptional": false,
|
|
3326
3381
|
"isVararg": false,
|
|
3327
3382
|
"name": "is_instant",
|
|
@@ -3358,6 +3413,7 @@ Field y have to <= field w"
|
|
|
3358
3413
|
},
|
|
3359
3414
|
{
|
|
3360
3415
|
"doc": "If true, update node positions instantly",
|
|
3416
|
+
"isNilable": true,
|
|
3361
3417
|
"isOptional": false,
|
|
3362
3418
|
"isVararg": false,
|
|
3363
3419
|
"name": "is_instant",
|
|
@@ -3394,6 +3450,7 @@ Field y have to <= field w"
|
|
|
3394
3450
|
},
|
|
3395
3451
|
{
|
|
3396
3452
|
"doc": "How shift nodes, if required. Default: const.SHIFT.RIGHT",
|
|
3453
|
+
"isNilable": true,
|
|
3397
3454
|
"isOptional": false,
|
|
3398
3455
|
"isVararg": false,
|
|
3399
3456
|
"name": "shift_policy",
|
|
@@ -3403,6 +3460,7 @@ Field y have to <= field w"
|
|
|
3403
3460
|
},
|
|
3404
3461
|
{
|
|
3405
3462
|
"doc": "If true, update node positions instantly",
|
|
3463
|
+
"isNilable": true,
|
|
3406
3464
|
"isOptional": false,
|
|
3407
3465
|
"isVararg": false,
|
|
3408
3466
|
"name": "is_instant",
|
|
@@ -3613,6 +3671,7 @@ Field y have to <= field w"
|
|
|
3613
3671
|
"params": [
|
|
3614
3672
|
{
|
|
3615
3673
|
"doc": "The new node width",
|
|
3674
|
+
"isNilable": true,
|
|
3616
3675
|
"isOptional": false,
|
|
3617
3676
|
"isVararg": false,
|
|
3618
3677
|
"name": "width",
|
|
@@ -3622,6 +3681,7 @@ Field y have to <= field w"
|
|
|
3622
3681
|
},
|
|
3623
3682
|
{
|
|
3624
3683
|
"doc": "The new node height",
|
|
3684
|
+
"isNilable": true,
|
|
3625
3685
|
"isOptional": false,
|
|
3626
3686
|
"isVararg": false,
|
|
3627
3687
|
"name": "height",
|
|
@@ -3676,6 +3736,7 @@ Field y have to <= field w"
|
|
|
3676
3736
|
"params": [
|
|
3677
3737
|
{
|
|
3678
3738
|
"doc": "If true, node position update instantly, otherwise with set_position_function callback",
|
|
3739
|
+
"isNilable": true,
|
|
3679
3740
|
"isOptional": false,
|
|
3680
3741
|
"isVararg": false,
|
|
3681
3742
|
"name": "is_instant",
|
|
@@ -3685,6 +3746,7 @@ Field y have to <= field w"
|
|
|
3685
3746
|
},
|
|
3686
3747
|
],
|
|
3687
3748
|
"returns": [],
|
|
3749
|
+
"visibility": "private",
|
|
3688
3750
|
},
|
|
3689
3751
|
{
|
|
3690
3752
|
"brief": "Update first and last indexes of grid nodes",
|
|
@@ -3692,6 +3754,7 @@ Field y have to <= field w"
|
|
|
3692
3754
|
"name": "_update_indexes",
|
|
3693
3755
|
"params": [],
|
|
3694
3756
|
"returns": [],
|
|
3757
|
+
"visibility": "private",
|
|
3695
3758
|
},
|
|
3696
3759
|
{
|
|
3697
3760
|
"brief": "Update grid content borders, recalculate min and max values",
|
|
@@ -3699,6 +3762,7 @@ Field y have to <= field w"
|
|
|
3699
3762
|
"name": "_update_borders",
|
|
3700
3763
|
"params": [],
|
|
3701
3764
|
"returns": [],
|
|
3765
|
+
"visibility": "private",
|
|
3702
3766
|
},
|
|
3703
3767
|
{
|
|
3704
3768
|
"brief": "Update grid nodes position",
|
|
@@ -3707,6 +3771,7 @@ Field y have to <= field w"
|
|
|
3707
3771
|
"params": [
|
|
3708
3772
|
{
|
|
3709
3773
|
"doc": "If true, node position update instantly, otherwise with set_position_function callback",
|
|
3774
|
+
"isNilable": true,
|
|
3710
3775
|
"isOptional": false,
|
|
3711
3776
|
"isVararg": false,
|
|
3712
3777
|
"name": "is_instant",
|
|
@@ -3716,6 +3781,7 @@ Field y have to <= field w"
|
|
|
3716
3781
|
},
|
|
3717
3782
|
],
|
|
3718
3783
|
"returns": [],
|
|
3784
|
+
"visibility": "private",
|
|
3719
3785
|
},
|
|
3720
3786
|
{
|
|
3721
3787
|
"brief":
|
|
@@ -3745,6 +3811,7 @@ centers grid content according to pivot within its current borders."
|
|
|
3745
3811
|
],
|
|
3746
3812
|
},
|
|
3747
3813
|
],
|
|
3814
|
+
"visibility": "private",
|
|
3748
3815
|
},
|
|
3749
3816
|
{
|
|
3750
3817
|
"brief":
|
|
@@ -3765,6 +3832,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
|
|
|
3765
3832
|
],
|
|
3766
3833
|
},
|
|
3767
3834
|
],
|
|
3835
|
+
"visibility": "private",
|
|
3768
3836
|
},
|
|
3769
3837
|
{
|
|
3770
3838
|
"brief": "",
|
|
@@ -3818,7 +3886,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
|
|
|
3818
3886
|
"fields": [
|
|
3819
3887
|
{
|
|
3820
3888
|
"doc": "The postfix for TRIM adjust type. Default: ...",
|
|
3821
|
-
"isOptional":
|
|
3889
|
+
"isOptional": true,
|
|
3822
3890
|
"name": "TRIM_POSTFIX",
|
|
3823
3891
|
"types": [
|
|
3824
3892
|
"string|nil",
|
|
@@ -3826,7 +3894,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
|
|
|
3826
3894
|
},
|
|
3827
3895
|
{
|
|
3828
3896
|
"doc": "The default adjust type for any text component. Default: DOWNSCALE",
|
|
3829
|
-
"isOptional":
|
|
3897
|
+
"isOptional": true,
|
|
3830
3898
|
"name": "DEFAULT_ADJUST",
|
|
3831
3899
|
"types": [
|
|
3832
3900
|
"string|nil",
|
|
@@ -3834,7 +3902,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
|
|
|
3834
3902
|
},
|
|
3835
3903
|
{
|
|
3836
3904
|
"doc": "Amount of iterations for text adjust by height. Default: 20",
|
|
3837
|
-
"isOptional":
|
|
3905
|
+
"isOptional": true,
|
|
3838
3906
|
"name": "ADJUST_STEPS",
|
|
3839
3907
|
"types": [
|
|
3840
3908
|
"number|nil",
|
|
@@ -3842,7 +3910,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
|
|
|
3842
3910
|
},
|
|
3843
3911
|
{
|
|
3844
3912
|
"doc": "Scale step on each height adjust step. Default: 0.02",
|
|
3845
|
-
"isOptional":
|
|
3913
|
+
"isOptional": true,
|
|
3846
3914
|
"name": "ADJUST_SCALE_DELTA",
|
|
3847
3915
|
"types": [
|
|
3848
3916
|
"number|nil",
|
|
@@ -3959,6 +4027,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
3959
4027
|
},
|
|
3960
4028
|
{
|
|
3961
4029
|
"doc": "Initial text. Default value is node text from GUI scene. Default: nil",
|
|
4030
|
+
"isNilable": true,
|
|
3962
4031
|
"isOptional": false,
|
|
3963
4032
|
"isVararg": false,
|
|
3964
4033
|
"name": "value",
|
|
@@ -3968,6 +4037,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
3968
4037
|
},
|
|
3969
4038
|
{
|
|
3970
4039
|
"doc": "Adjust type for text. By default is "downscale". Options: "downscale", "trim", "no_adjust", "downscale_limited", "scroll", "scale_then_scroll", "trim_left", "scale_then_trim", "scale_then_trim_left"",
|
|
4040
|
+
"isNilable": true,
|
|
3971
4041
|
"isOptional": false,
|
|
3972
4042
|
"isVararg": false,
|
|
3973
4043
|
"name": "adjust_type",
|
|
@@ -3994,6 +4064,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
3994
4064
|
},
|
|
3995
4065
|
],
|
|
3996
4066
|
"returns": [],
|
|
4067
|
+
"visibility": "private",
|
|
3997
4068
|
},
|
|
3998
4069
|
{
|
|
3999
4070
|
"brief": "",
|
|
@@ -4001,6 +4072,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4001
4072
|
"name": "on_layout_change",
|
|
4002
4073
|
"params": [],
|
|
4003
4074
|
"returns": [],
|
|
4075
|
+
"visibility": "private",
|
|
4004
4076
|
},
|
|
4005
4077
|
{
|
|
4006
4078
|
"brief": "Calculate text width with font with respect to trailing space",
|
|
@@ -4009,6 +4081,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4009
4081
|
"params": [
|
|
4010
4082
|
{
|
|
4011
4083
|
"doc": "The text to calculate the size of, if nil - use current text",
|
|
4084
|
+
"isNilable": true,
|
|
4012
4085
|
"isOptional": false,
|
|
4013
4086
|
"isVararg": false,
|
|
4014
4087
|
"name": "text",
|
|
@@ -4265,6 +4338,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4265
4338
|
"params": [
|
|
4266
4339
|
{
|
|
4267
4340
|
"doc": "The adjust type to set, values: "downscale", "trim", "no_adjust", "downscale_limited", "scroll", "scale_then_scroll", "trim_left", "scale_then_trim", "scale_then_trim_left"",
|
|
4341
|
+
"isNilable": true,
|
|
4268
4342
|
"isOptional": false,
|
|
4269
4343
|
"isVararg": false,
|
|
4270
4344
|
"name": "adjust_type",
|
|
@@ -4274,6 +4348,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4274
4348
|
},
|
|
4275
4349
|
{
|
|
4276
4350
|
"doc": "To remove minimal scale, use \`text:set_minimal_scale(nil)\`, if pass nil - not change minimal scale",
|
|
4351
|
+
"isNilable": true,
|
|
4277
4352
|
"isOptional": false,
|
|
4278
4353
|
"isVararg": false,
|
|
4279
4354
|
"name": "minimal_scale",
|
|
@@ -4344,6 +4419,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4344
4419
|
"name": "_update_text_size",
|
|
4345
4420
|
"params": [],
|
|
4346
4421
|
"returns": [],
|
|
4422
|
+
"visibility": "private",
|
|
4347
4423
|
},
|
|
4348
4424
|
{
|
|
4349
4425
|
"brief": "Reset initial scale for text",
|
|
@@ -4351,6 +4427,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4351
4427
|
"name": "_reset_default_scale",
|
|
4352
4428
|
"params": [],
|
|
4353
4429
|
"returns": [],
|
|
4430
|
+
"visibility": "private",
|
|
4354
4431
|
},
|
|
4355
4432
|
{
|
|
4356
4433
|
"brief": "",
|
|
@@ -4378,6 +4455,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4378
4455
|
],
|
|
4379
4456
|
},
|
|
4380
4457
|
],
|
|
4458
|
+
"visibility": "private",
|
|
4381
4459
|
},
|
|
4382
4460
|
{
|
|
4383
4461
|
"brief": "Setup scale x, but can only be smaller, than start text scale",
|
|
@@ -4385,6 +4463,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4385
4463
|
"name": "_update_text_area_size",
|
|
4386
4464
|
"params": [],
|
|
4387
4465
|
"returns": [],
|
|
4466
|
+
"visibility": "private",
|
|
4388
4467
|
},
|
|
4389
4468
|
{
|
|
4390
4469
|
"brief": "",
|
|
@@ -4402,6 +4481,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4402
4481
|
},
|
|
4403
4482
|
],
|
|
4404
4483
|
"returns": [],
|
|
4484
|
+
"visibility": "private",
|
|
4405
4485
|
},
|
|
4406
4486
|
{
|
|
4407
4487
|
"brief": "",
|
|
@@ -4419,6 +4499,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4419
4499
|
},
|
|
4420
4500
|
],
|
|
4421
4501
|
"returns": [],
|
|
4502
|
+
"visibility": "private",
|
|
4422
4503
|
},
|
|
4423
4504
|
{
|
|
4424
4505
|
"brief": "",
|
|
@@ -4426,6 +4507,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4426
4507
|
"name": "_update_text_with_anchor_shift",
|
|
4427
4508
|
"params": [],
|
|
4428
4509
|
"returns": [],
|
|
4510
|
+
"visibility": "private",
|
|
4429
4511
|
},
|
|
4430
4512
|
{
|
|
4431
4513
|
"brief": "",
|
|
@@ -4433,6 +4515,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
|
|
|
4433
4515
|
"name": "_update_adjust",
|
|
4434
4516
|
"params": [],
|
|
4435
4517
|
"returns": [],
|
|
4518
|
+
"visibility": "private",
|
|
4436
4519
|
},
|
|
4437
4520
|
],
|
|
4438
4521
|
"name": "druid.text",
|
|
@@ -4468,7 +4551,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4468
4551
|
},
|
|
4469
4552
|
{
|
|
4470
4553
|
"doc": "",
|
|
4471
|
-
"isOptional":
|
|
4554
|
+
"isOptional": true,
|
|
4472
4555
|
"name": "nodes",
|
|
4473
4556
|
"types": [
|
|
4474
4557
|
"table<hash, node>|nil",
|
|
@@ -4476,7 +4559,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4476
4559
|
},
|
|
4477
4560
|
{
|
|
4478
4561
|
"doc": "",
|
|
4479
|
-
"isOptional":
|
|
4562
|
+
"isOptional": true,
|
|
4480
4563
|
"name": "style",
|
|
4481
4564
|
"types": [
|
|
4482
4565
|
"table|nil",
|
|
@@ -4508,7 +4591,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4508
4591
|
},
|
|
4509
4592
|
{
|
|
4510
4593
|
"doc": "",
|
|
4511
|
-
"isOptional":
|
|
4594
|
+
"isOptional": true,
|
|
4512
4595
|
"name": "parent",
|
|
4513
4596
|
"types": [
|
|
4514
4597
|
"druid.component|nil",
|
|
@@ -4589,7 +4672,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4589
4672
|
},
|
|
4590
4673
|
{
|
|
4591
4674
|
"doc": "Called when component is created",
|
|
4592
|
-
"isOptional":
|
|
4675
|
+
"isOptional": true,
|
|
4593
4676
|
"name": "init",
|
|
4594
4677
|
"types": [
|
|
4595
4678
|
"fun(self:druid.component, ...)|nil",
|
|
@@ -4598,7 +4681,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4598
4681
|
},
|
|
4599
4682
|
{
|
|
4600
4683
|
"doc": "Called every frame",
|
|
4601
|
-
"isOptional":
|
|
4684
|
+
"isOptional": true,
|
|
4602
4685
|
"name": "update",
|
|
4603
4686
|
"types": [
|
|
4604
4687
|
"fun(self:druid.component, dt:number)|nil",
|
|
@@ -4607,7 +4690,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4607
4690
|
},
|
|
4608
4691
|
{
|
|
4609
4692
|
"doc": "Called when component is removed",
|
|
4610
|
-
"isOptional":
|
|
4693
|
+
"isOptional": true,
|
|
4611
4694
|
"name": "on_remove",
|
|
4612
4695
|
"types": [
|
|
4613
4696
|
"fun(self:druid.component)|nil",
|
|
@@ -4616,7 +4699,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4616
4699
|
},
|
|
4617
4700
|
{
|
|
4618
4701
|
"doc": "Called when input event is triggered",
|
|
4619
|
-
"isOptional":
|
|
4702
|
+
"isOptional": true,
|
|
4620
4703
|
"name": "on_input",
|
|
4621
4704
|
"types": [
|
|
4622
4705
|
"fun(self:druid.component, action_id:hash, action:table)|nil",
|
|
@@ -4625,7 +4708,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4625
4708
|
},
|
|
4626
4709
|
{
|
|
4627
4710
|
"doc": "Called when input event is consumed before",
|
|
4628
|
-
"isOptional":
|
|
4711
|
+
"isOptional": true,
|
|
4629
4712
|
"name": "on_input_interrupt",
|
|
4630
4713
|
"types": [
|
|
4631
4714
|
"fun(self:druid.component, action_id:hash, action:table)|nil",
|
|
@@ -4634,7 +4717,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4634
4717
|
},
|
|
4635
4718
|
{
|
|
4636
4719
|
"doc": "Called when message is received",
|
|
4637
|
-
"isOptional":
|
|
4720
|
+
"isOptional": true,
|
|
4638
4721
|
"name": "on_message",
|
|
4639
4722
|
"types": [
|
|
4640
4723
|
"fun(self:druid.component, message_id:hash, message:table, sender:url)|nil",
|
|
@@ -4643,7 +4726,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4643
4726
|
},
|
|
4644
4727
|
{
|
|
4645
4728
|
"doc": "Called before update once time after GUI init",
|
|
4646
|
-
"isOptional":
|
|
4729
|
+
"isOptional": true,
|
|
4647
4730
|
"name": "on_late_init",
|
|
4648
4731
|
"types": [
|
|
4649
4732
|
"fun(self:druid.component)|nil",
|
|
@@ -4652,7 +4735,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4652
4735
|
},
|
|
4653
4736
|
{
|
|
4654
4737
|
"doc": "Called when app lost focus",
|
|
4655
|
-
"isOptional":
|
|
4738
|
+
"isOptional": true,
|
|
4656
4739
|
"name": "on_focus_lost",
|
|
4657
4740
|
"types": [
|
|
4658
4741
|
"fun(self:druid.component)|nil",
|
|
@@ -4661,7 +4744,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4661
4744
|
},
|
|
4662
4745
|
{
|
|
4663
4746
|
"doc": "Called when app gained focus",
|
|
4664
|
-
"isOptional":
|
|
4747
|
+
"isOptional": true,
|
|
4665
4748
|
"name": "on_focus_gained",
|
|
4666
4749
|
"types": [
|
|
4667
4750
|
"fun(self:druid.component)|nil",
|
|
@@ -4670,7 +4753,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4670
4753
|
},
|
|
4671
4754
|
{
|
|
4672
4755
|
"doc": "Called when style is changed",
|
|
4673
|
-
"isOptional":
|
|
4756
|
+
"isOptional": true,
|
|
4674
4757
|
"name": "on_style_change",
|
|
4675
4758
|
"types": [
|
|
4676
4759
|
"fun(self:druid.component, style: table)|nil",
|
|
@@ -4679,7 +4762,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4679
4762
|
},
|
|
4680
4763
|
{
|
|
4681
4764
|
"doc": "Called when GUI layout is changed",
|
|
4682
|
-
"isOptional":
|
|
4765
|
+
"isOptional": true,
|
|
4683
4766
|
"name": "on_layout_change",
|
|
4684
4767
|
"types": [
|
|
4685
4768
|
"fun(self:druid.component)|nil",
|
|
@@ -4688,7 +4771,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4688
4771
|
},
|
|
4689
4772
|
{
|
|
4690
4773
|
"doc": "Called when window is resized",
|
|
4691
|
-
"isOptional":
|
|
4774
|
+
"isOptional": true,
|
|
4692
4775
|
"name": "on_window_resized",
|
|
4693
4776
|
"types": [
|
|
4694
4777
|
"fun(self:druid.component)|nil",
|
|
@@ -4697,7 +4780,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4697
4780
|
},
|
|
4698
4781
|
{
|
|
4699
4782
|
"doc": "Called when language is changed",
|
|
4700
|
-
"isOptional":
|
|
4783
|
+
"isOptional": true,
|
|
4701
4784
|
"name": "on_language_change",
|
|
4702
4785
|
"types": [
|
|
4703
4786
|
"fun(self:druid.component)|nil",
|
|
@@ -4745,6 +4828,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
|
|
|
4745
4828
|
},
|
|
4746
4829
|
{
|
|
4747
4830
|
"doc": "",
|
|
4831
|
+
"isNilable": true,
|
|
4748
4832
|
"isOptional": false,
|
|
4749
4833
|
"isVararg": false,
|
|
4750
4834
|
"name": "druid_style",
|
|
@@ -4789,6 +4873,7 @@ Parent template will be added automatically if exist."
|
|
|
4789
4873
|
},
|
|
4790
4874
|
{
|
|
4791
4875
|
"doc": "",
|
|
4876
|
+
"isNilable": true,
|
|
4792
4877
|
"isOptional": false,
|
|
4793
4878
|
"isVararg": false,
|
|
4794
4879
|
"name": "template",
|
|
@@ -4833,6 +4918,7 @@ Parent template will be added automatically if exist."
|
|
|
4833
4918
|
"params": [
|
|
4834
4919
|
{
|
|
4835
4920
|
"doc": "The nodes table from gui.clone_tree or prefab node to use for clone or node id to clone",
|
|
4921
|
+
"isNilable": true,
|
|
4836
4922
|
"isOptional": false,
|
|
4837
4923
|
"isVararg": false,
|
|
4838
4924
|
"name": "nodes",
|
|
@@ -4869,6 +4955,7 @@ Parent template will be added automatically if exist."
|
|
|
4869
4955
|
],
|
|
4870
4956
|
},
|
|
4871
4957
|
],
|
|
4958
|
+
"visibility": "protected",
|
|
4872
4959
|
},
|
|
4873
4960
|
{
|
|
4874
4961
|
"brief": "Get component node by node_id. Respect to current template and nodes.",
|
|
@@ -4904,6 +4991,7 @@ Parent template will be added automatically if exist."
|
|
|
4904
4991
|
"params": [
|
|
4905
4992
|
{
|
|
4906
4993
|
"doc": "",
|
|
4994
|
+
"isNilable": true,
|
|
4907
4995
|
"isOptional": false,
|
|
4908
4996
|
"isVararg": false,
|
|
4909
4997
|
"name": "template",
|
|
@@ -4913,6 +5001,7 @@ Parent template will be added automatically if exist."
|
|
|
4913
5001
|
},
|
|
4914
5002
|
{
|
|
4915
5003
|
"doc": "The nodes table from gui.clone_tree or prefab node to use for clone or node id to clone",
|
|
5004
|
+
"isNilable": true,
|
|
4916
5005
|
"isOptional": false,
|
|
4917
5006
|
"isVararg": false,
|
|
4918
5007
|
"name": "nodes",
|
|
@@ -4932,6 +5021,7 @@ Parent template will be added automatically if exist."
|
|
|
4932
5021
|
],
|
|
4933
5022
|
},
|
|
4934
5023
|
],
|
|
5024
|
+
"visibility": "protected",
|
|
4935
5025
|
},
|
|
4936
5026
|
{
|
|
4937
5027
|
"brief": "Get component name",
|
|
@@ -4966,6 +5056,7 @@ Parent template will be added automatically if exist."
|
|
|
4966
5056
|
],
|
|
4967
5057
|
},
|
|
4968
5058
|
],
|
|
5059
|
+
"visibility": "protected",
|
|
4969
5060
|
},
|
|
4970
5061
|
{
|
|
4971
5062
|
"brief": "Get component input priority, the bigger number processed first. Default value: 10",
|
|
@@ -5000,6 +5091,7 @@ Parent template will be added automatically if exist."
|
|
|
5000
5091
|
},
|
|
5001
5092
|
{
|
|
5002
5093
|
"doc": "If true, the reset input priority will return to previous value",
|
|
5094
|
+
"isNilable": true,
|
|
5003
5095
|
"isOptional": false,
|
|
5004
5096
|
"isVararg": false,
|
|
5005
5097
|
"name": "is_temporary",
|
|
@@ -5053,6 +5145,7 @@ Parent template will be added automatically if exist."
|
|
|
5053
5145
|
],
|
|
5054
5146
|
},
|
|
5055
5147
|
],
|
|
5148
|
+
"visibility": "protected",
|
|
5056
5149
|
},
|
|
5057
5150
|
{
|
|
5058
5151
|
"brief":
|
|
@@ -5172,6 +5265,7 @@ Recursive for all children components."
|
|
|
5172
5265
|
],
|
|
5173
5266
|
},
|
|
5174
5267
|
],
|
|
5268
|
+
"visibility": "private",
|
|
5175
5269
|
},
|
|
5176
5270
|
{
|
|
5177
5271
|
"brief": "Return true, if input priority was changed",
|
|
@@ -5179,6 +5273,7 @@ Recursive for all children components."
|
|
|
5179
5273
|
"name": "_is_input_priority_changed",
|
|
5180
5274
|
"params": [],
|
|
5181
5275
|
"returns": [],
|
|
5276
|
+
"visibility": "private",
|
|
5182
5277
|
},
|
|
5183
5278
|
{
|
|
5184
5279
|
"brief": "Reset is_input_priority_changed field",
|
|
@@ -5186,6 +5281,7 @@ Recursive for all children components."
|
|
|
5186
5281
|
"name": "_reset_input_priority_changed",
|
|
5187
5282
|
"params": [],
|
|
5188
5283
|
"returns": [],
|
|
5284
|
+
"visibility": "private",
|
|
5189
5285
|
},
|
|
5190
5286
|
{
|
|
5191
5287
|
"brief": "Get current component nodes",
|
|
@@ -5203,6 +5299,7 @@ Recursive for all children components."
|
|
|
5203
5299
|
],
|
|
5204
5300
|
},
|
|
5205
5301
|
],
|
|
5302
|
+
"visibility": "protected",
|
|
5206
5303
|
},
|
|
5207
5304
|
{
|
|
5208
5305
|
"brief": "Add child to component children list",
|
|
@@ -5235,6 +5332,7 @@ Recursive for all children components."
|
|
|
5235
5332
|
],
|
|
5236
5333
|
},
|
|
5237
5334
|
],
|
|
5335
|
+
"visibility": "private",
|
|
5238
5336
|
},
|
|
5239
5337
|
{
|
|
5240
5338
|
"brief": "Remove child from component children list",
|
|
@@ -5267,6 +5365,7 @@ Recursive for all children components."
|
|
|
5267
5365
|
],
|
|
5268
5366
|
},
|
|
5269
5367
|
],
|
|
5368
|
+
"visibility": "private",
|
|
5270
5369
|
},
|
|
5271
5370
|
{
|
|
5272
5371
|
"brief": "Return all children components, recursive",
|
|
@@ -5284,6 +5383,7 @@ Recursive for all children components."
|
|
|
5284
5383
|
],
|
|
5285
5384
|
},
|
|
5286
5385
|
],
|
|
5386
|
+
"visibility": "protected",
|
|
5287
5387
|
},
|
|
5288
5388
|
],
|
|
5289
5389
|
"name": "druid.component",
|
|
@@ -5403,6 +5503,7 @@ Recursive for all children components."
|
|
|
5403
5503
|
],
|
|
5404
5504
|
},
|
|
5405
5505
|
],
|
|
5506
|
+
"visibility": "private",
|
|
5406
5507
|
},
|
|
5407
5508
|
{
|
|
5408
5509
|
"brief": "Set placeholder text",
|
|
@@ -5984,7 +6085,7 @@ Recursive for all children components."
|
|
|
5984
6085
|
},
|
|
5985
6086
|
{
|
|
5986
6087
|
"doc": "",
|
|
5987
|
-
"isOptional":
|
|
6088
|
+
"isOptional": true,
|
|
5988
6089
|
"name": "offset_x",
|
|
5989
6090
|
"types": [
|
|
5990
6091
|
"number|nil",
|
|
@@ -5992,7 +6093,7 @@ Recursive for all children components."
|
|
|
5992
6093
|
},
|
|
5993
6094
|
{
|
|
5994
6095
|
"doc": "",
|
|
5995
|
-
"isOptional":
|
|
6096
|
+
"isOptional": true,
|
|
5996
6097
|
"name": "offset_y",
|
|
5997
6098
|
"types": [
|
|
5998
6099
|
"number|nil",
|
|
@@ -6000,7 +6101,7 @@ Recursive for all children components."
|
|
|
6000
6101
|
},
|
|
6001
6102
|
{
|
|
6002
6103
|
"doc": "",
|
|
6003
|
-
"isOptional":
|
|
6104
|
+
"isOptional": true,
|
|
6004
6105
|
"name": "node_size",
|
|
6005
6106
|
"types": [
|
|
6006
6107
|
"vector3|nil",
|
|
@@ -6060,7 +6161,7 @@ Recursive for all children components."
|
|
|
6060
6161
|
},
|
|
6061
6162
|
{
|
|
6062
6163
|
"doc": "Anchor position when pivot is set (keeps content in place on resize)",
|
|
6063
|
-
"isOptional":
|
|
6164
|
+
"isOptional": true,
|
|
6064
6165
|
"name": "_anchor",
|
|
6065
6166
|
"types": [
|
|
6066
6167
|
"vector3|nil",
|
|
@@ -6086,6 +6187,7 @@ Recursive for all children components."
|
|
|
6086
6187
|
},
|
|
6087
6188
|
{
|
|
6088
6189
|
"doc": "The initial text value. Default will be gui.get_text(text_node)",
|
|
6190
|
+
"isNilable": true,
|
|
6089
6191
|
"isOptional": false,
|
|
6090
6192
|
"isVararg": false,
|
|
6091
6193
|
"name": "value",
|
|
@@ -6102,6 +6204,7 @@ Recursive for all children components."
|
|
|
6102
6204
|
"name": "on_layout_change",
|
|
6103
6205
|
"params": [],
|
|
6104
6206
|
"returns": [],
|
|
6207
|
+
"visibility": "private",
|
|
6105
6208
|
},
|
|
6106
6209
|
{
|
|
6107
6210
|
"brief": "",
|
|
@@ -6119,6 +6222,7 @@ Recursive for all children components."
|
|
|
6119
6222
|
},
|
|
6120
6223
|
],
|
|
6121
6224
|
"returns": [],
|
|
6225
|
+
"visibility": "private",
|
|
6122
6226
|
},
|
|
6123
6227
|
{
|
|
6124
6228
|
"brief":
|
|
@@ -6156,6 +6260,7 @@ rich_text:set_text("<img=texture:image,width,height>Display image with width
|
|
|
6156
6260
|
"params": [
|
|
6157
6261
|
{
|
|
6158
6262
|
"doc": "The text to set",
|
|
6263
|
+
"isNilable": true,
|
|
6159
6264
|
"isOptional": false,
|
|
6160
6265
|
"isVararg": false,
|
|
6161
6266
|
"name": "text",
|
|
@@ -6235,6 +6340,7 @@ rich_text:set_text("<img=texture:image,width,height>Display image with width
|
|
|
6235
6340
|
"name": "on_remove",
|
|
6236
6341
|
"params": [],
|
|
6237
6342
|
"returns": [],
|
|
6343
|
+
"visibility": "private",
|
|
6238
6344
|
},
|
|
6239
6345
|
{
|
|
6240
6346
|
"brief": "Clear all created words.",
|
|
@@ -6347,6 +6453,7 @@ rich_text:set_text("<img=texture:image,width,height>Display image with width
|
|
|
6347
6453
|
],
|
|
6348
6454
|
},
|
|
6349
6455
|
],
|
|
6456
|
+
"visibility": "private",
|
|
6350
6457
|
},
|
|
6351
6458
|
{
|
|
6352
6459
|
"brief": "Set the width of the rich text, not affects the size of current spawned words",
|
|
@@ -6547,7 +6654,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6547
6654
|
},
|
|
6548
6655
|
{
|
|
6549
6656
|
"doc": "The minimum size x",
|
|
6550
|
-
"isOptional":
|
|
6657
|
+
"isOptional": true,
|
|
6551
6658
|
"name": "min_size_x",
|
|
6552
6659
|
"types": [
|
|
6553
6660
|
"number|nil",
|
|
@@ -6555,7 +6662,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6555
6662
|
},
|
|
6556
6663
|
{
|
|
6557
6664
|
"doc": "The minimum size y",
|
|
6558
|
-
"isOptional":
|
|
6665
|
+
"isOptional": true,
|
|
6559
6666
|
"name": "min_size_y",
|
|
6560
6667
|
"types": [
|
|
6561
6668
|
"number|nil",
|
|
@@ -6563,7 +6670,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6563
6670
|
},
|
|
6564
6671
|
{
|
|
6565
6672
|
"doc": "The maximum size x",
|
|
6566
|
-
"isOptional":
|
|
6673
|
+
"isOptional": true,
|
|
6567
6674
|
"name": "max_size_x",
|
|
6568
6675
|
"types": [
|
|
6569
6676
|
"number|nil",
|
|
@@ -6571,7 +6678,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6571
6678
|
},
|
|
6572
6679
|
{
|
|
6573
6680
|
"doc": "The maximum size y",
|
|
6574
|
-
"isOptional":
|
|
6681
|
+
"isOptional": true,
|
|
6575
6682
|
"name": "max_size_y",
|
|
6576
6683
|
"types": [
|
|
6577
6684
|
"number|nil",
|
|
@@ -6637,6 +6744,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6637
6744
|
},
|
|
6638
6745
|
{
|
|
6639
6746
|
"doc": "Callback on size changed",
|
|
6747
|
+
"isNilable": true,
|
|
6640
6748
|
"isOptional": false,
|
|
6641
6749
|
"isVararg": false,
|
|
6642
6750
|
"name": "callback",
|
|
@@ -6653,6 +6761,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6653
6761
|
"name": "on_late_init",
|
|
6654
6762
|
"params": [],
|
|
6655
6763
|
"returns": [],
|
|
6764
|
+
"visibility": "private",
|
|
6656
6765
|
},
|
|
6657
6766
|
{
|
|
6658
6767
|
"brief": "",
|
|
@@ -6660,6 +6769,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6660
6769
|
"name": "on_remove",
|
|
6661
6770
|
"params": [],
|
|
6662
6771
|
"returns": [],
|
|
6772
|
+
"visibility": "private",
|
|
6663
6773
|
},
|
|
6664
6774
|
{
|
|
6665
6775
|
"brief": "Refresh the origins of the container, origins is the size and position of the container when it was created",
|
|
@@ -6701,6 +6811,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6701
6811
|
},
|
|
6702
6812
|
],
|
|
6703
6813
|
"returns": [],
|
|
6814
|
+
"visibility": "private",
|
|
6704
6815
|
},
|
|
6705
6816
|
{
|
|
6706
6817
|
"brief": "Set new size of layout node",
|
|
@@ -6709,6 +6820,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6709
6820
|
"params": [
|
|
6710
6821
|
{
|
|
6711
6822
|
"doc": "The width to set",
|
|
6823
|
+
"isNilable": true,
|
|
6712
6824
|
"isOptional": false,
|
|
6713
6825
|
"isVararg": false,
|
|
6714
6826
|
"name": "width",
|
|
@@ -6718,6 +6830,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6718
6830
|
},
|
|
6719
6831
|
{
|
|
6720
6832
|
"doc": "The height to set",
|
|
6833
|
+
"isNilable": true,
|
|
6721
6834
|
"isOptional": false,
|
|
6722
6835
|
"isVararg": false,
|
|
6723
6836
|
"name": "height",
|
|
@@ -6727,6 +6840,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6727
6840
|
},
|
|
6728
6841
|
{
|
|
6729
6842
|
"doc": "If set will keep the corner position relative to the new size",
|
|
6843
|
+
"isNilable": true,
|
|
6730
6844
|
"isOptional": false,
|
|
6731
6845
|
"isVararg": false,
|
|
6732
6846
|
"name": "anchor_pivot",
|
|
@@ -6874,6 +6988,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6874
6988
|
"name": "on_window_resized",
|
|
6875
6989
|
"params": [],
|
|
6876
6990
|
"returns": [],
|
|
6991
|
+
"visibility": "private",
|
|
6877
6992
|
},
|
|
6878
6993
|
{
|
|
6879
6994
|
"brief": "",
|
|
@@ -6891,6 +7006,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6891
7006
|
},
|
|
6892
7007
|
{
|
|
6893
7008
|
"doc": "stretch, fit, stretch_x, stretch_y. Default: Pick from node, "fit" or "stretch"",
|
|
7009
|
+
"isNilable": true,
|
|
6894
7010
|
"isOptional": false,
|
|
6895
7011
|
"isVararg": false,
|
|
6896
7012
|
"name": "mode",
|
|
@@ -6900,6 +7016,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6900
7016
|
},
|
|
6901
7017
|
{
|
|
6902
7018
|
"doc": "",
|
|
7019
|
+
"isNilable": true,
|
|
6903
7020
|
"isOptional": false,
|
|
6904
7021
|
"isVararg": false,
|
|
6905
7022
|
"name": "on_resize_callback",
|
|
@@ -6944,6 +7061,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
6944
7061
|
"params": [
|
|
6945
7062
|
{
|
|
6946
7063
|
"doc": "",
|
|
7064
|
+
"isNilable": true,
|
|
6947
7065
|
"isOptional": false,
|
|
6948
7066
|
"isVararg": false,
|
|
6949
7067
|
"name": "parent_container",
|
|
@@ -7050,6 +7168,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
7050
7168
|
"params": [
|
|
7051
7169
|
{
|
|
7052
7170
|
"doc": "The minimum size x",
|
|
7171
|
+
"isNilable": true,
|
|
7053
7172
|
"isOptional": false,
|
|
7054
7173
|
"isVararg": false,
|
|
7055
7174
|
"name": "min_size_x",
|
|
@@ -7059,6 +7178,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
7059
7178
|
},
|
|
7060
7179
|
{
|
|
7061
7180
|
"doc": "The minimum size y",
|
|
7181
|
+
"isNilable": true,
|
|
7062
7182
|
"isOptional": false,
|
|
7063
7183
|
"isVararg": false,
|
|
7064
7184
|
"name": "min_size_y",
|
|
@@ -7086,6 +7206,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
7086
7206
|
"params": [
|
|
7087
7207
|
{
|
|
7088
7208
|
"doc": "The maximum size x",
|
|
7209
|
+
"isNilable": true,
|
|
7089
7210
|
"isOptional": false,
|
|
7090
7211
|
"isVararg": false,
|
|
7091
7212
|
"name": "max_size_x",
|
|
@@ -7095,6 +7216,7 @@ Create container component with druid: \`container = druid:new_container(node, m
|
|
|
7095
7216
|
},
|
|
7096
7217
|
{
|
|
7097
7218
|
"doc": "The maximum size y",
|
|
7219
|
+
"isNilable": true,
|
|
7098
7220
|
"isOptional": false,
|
|
7099
7221
|
"isVararg": false,
|
|
7100
7222
|
"name": "max_size_y",
|
|
@@ -7288,6 +7410,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7288
7410
|
"name": "on_remove",
|
|
7289
7411
|
"params": [],
|
|
7290
7412
|
"returns": [],
|
|
7413
|
+
"visibility": "private",
|
|
7291
7414
|
},
|
|
7292
7415
|
{
|
|
7293
7416
|
"brief": "Set use cache version of DataList. Requires make setup of components in on_element_add callback and clean in on_element_remove",
|
|
@@ -7376,6 +7499,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7376
7499
|
},
|
|
7377
7500
|
{
|
|
7378
7501
|
"doc": "The index to add the data at",
|
|
7502
|
+
"isNilable": true,
|
|
7379
7503
|
"isOptional": false,
|
|
7380
7504
|
"isVararg": false,
|
|
7381
7505
|
"name": "index",
|
|
@@ -7385,6 +7509,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7385
7509
|
},
|
|
7386
7510
|
{
|
|
7387
7511
|
"doc": "The constant from const.SHIFT.*",
|
|
7512
|
+
"isNilable": true,
|
|
7388
7513
|
"isOptional": false,
|
|
7389
7514
|
"isVararg": false,
|
|
7390
7515
|
"name": "shift_policy",
|
|
@@ -7412,6 +7537,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7412
7537
|
"params": [
|
|
7413
7538
|
{
|
|
7414
7539
|
"doc": "The index to remove the data at",
|
|
7540
|
+
"isNilable": true,
|
|
7415
7541
|
"isOptional": false,
|
|
7416
7542
|
"isVararg": false,
|
|
7417
7543
|
"name": "index",
|
|
@@ -7421,6 +7547,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7421
7547
|
},
|
|
7422
7548
|
{
|
|
7423
7549
|
"doc": "The constant from const.SHIFT.*",
|
|
7550
|
+
"isNilable": true,
|
|
7424
7551
|
"isOptional": false,
|
|
7425
7552
|
"isVararg": false,
|
|
7426
7553
|
"name": "shift_policy",
|
|
@@ -7457,6 +7584,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7457
7584
|
},
|
|
7458
7585
|
{
|
|
7459
7586
|
"doc": "The constant from const.SHIFT.*",
|
|
7587
|
+
"isNilable": true,
|
|
7460
7588
|
"isOptional": false,
|
|
7461
7589
|
"isVararg": false,
|
|
7462
7590
|
"name": "shift_policy",
|
|
@@ -7578,6 +7706,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7578
7706
|
},
|
|
7579
7707
|
],
|
|
7580
7708
|
"returns": [],
|
|
7709
|
+
"visibility": "private",
|
|
7581
7710
|
},
|
|
7582
7711
|
{
|
|
7583
7712
|
"brief": "Remove element from passed index and add it to cache if applicable",
|
|
@@ -7595,6 +7724,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
|
|
|
7595
7724
|
},
|
|
7596
7725
|
],
|
|
7597
7726
|
"returns": [],
|
|
7727
|
+
"visibility": "private",
|
|
7598
7728
|
},
|
|
7599
7729
|
{
|
|
7600
7730
|
"brief":
|
|
@@ -7642,6 +7772,7 @@ clamped to the grid coordinate range so get_index_xy produces valid results."
|
|
|
7642
7772
|
],
|
|
7643
7773
|
},
|
|
7644
7774
|
],
|
|
7775
|
+
"visibility": "private",
|
|
7645
7776
|
},
|
|
7646
7777
|
{
|
|
7647
7778
|
"brief": "Refresh all elements in DataList",
|
|
@@ -7649,6 +7780,7 @@ clamped to the grid coordinate range so get_index_xy produces valid results."
|
|
|
7649
7780
|
"name": "_refresh",
|
|
7650
7781
|
"params": [],
|
|
7651
7782
|
"returns": [],
|
|
7783
|
+
"visibility": "private",
|
|
7652
7784
|
},
|
|
7653
7785
|
],
|
|
7654
7786
|
"name": "druid.data_list",
|
|
@@ -7747,7 +7879,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7747
7879
|
},
|
|
7748
7880
|
{
|
|
7749
7881
|
"doc": "The node to bind the hotkey to",
|
|
7750
|
-
"isOptional":
|
|
7882
|
+
"isOptional": true,
|
|
7751
7883
|
"name": "_node",
|
|
7752
7884
|
"types": [
|
|
7753
7885
|
"node|nil",
|
|
@@ -7782,6 +7914,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7782
7914
|
},
|
|
7783
7915
|
{
|
|
7784
7916
|
"doc": "The argument to pass into the callback function",
|
|
7917
|
+
"isNilable": true,
|
|
7785
7918
|
"isOptional": false,
|
|
7786
7919
|
"isVararg": false,
|
|
7787
7920
|
"name": "callback_argument",
|
|
@@ -7808,6 +7941,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7808
7941
|
},
|
|
7809
7942
|
],
|
|
7810
7943
|
"returns": [],
|
|
7944
|
+
"visibility": "private",
|
|
7811
7945
|
},
|
|
7812
7946
|
{
|
|
7813
7947
|
"brief": "Add hotkey for component callback",
|
|
@@ -7825,6 +7959,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7825
7959
|
},
|
|
7826
7960
|
{
|
|
7827
7961
|
"doc": "The argument to pass into the callback function",
|
|
7962
|
+
"isNilable": true,
|
|
7828
7963
|
"isOptional": false,
|
|
7829
7964
|
"isVararg": false,
|
|
7830
7965
|
"name": "callback_argument",
|
|
@@ -7858,6 +7993,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7858
7993
|
"name": "on_focus_gained",
|
|
7859
7994
|
"params": [],
|
|
7860
7995
|
"returns": [],
|
|
7996
|
+
"visibility": "private",
|
|
7861
7997
|
},
|
|
7862
7998
|
{
|
|
7863
7999
|
"brief": "",
|
|
@@ -7894,6 +8030,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7894
8030
|
],
|
|
7895
8031
|
},
|
|
7896
8032
|
],
|
|
8033
|
+
"visibility": "private",
|
|
7897
8034
|
},
|
|
7898
8035
|
{
|
|
7899
8036
|
"brief": "",
|
|
@@ -7902,6 +8039,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7902
8039
|
"params": [
|
|
7903
8040
|
{
|
|
7904
8041
|
"doc": "The action id",
|
|
8042
|
+
"isNilable": true,
|
|
7905
8043
|
"isOptional": false,
|
|
7906
8044
|
"isVararg": false,
|
|
7907
8045
|
"name": "action_id",
|
|
@@ -7930,6 +8068,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7930
8068
|
],
|
|
7931
8069
|
},
|
|
7932
8070
|
],
|
|
8071
|
+
"visibility": "private",
|
|
7933
8072
|
},
|
|
7934
8073
|
{
|
|
7935
8074
|
"brief": "If true, the callback will be triggered on action.repeated",
|
|
@@ -7965,6 +8104,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
7965
8104
|
"params": [
|
|
7966
8105
|
{
|
|
7967
8106
|
"doc": "The node to bind the hotkey to. Nil to unbind the node",
|
|
8107
|
+
"isNilable": true,
|
|
7968
8108
|
"isOptional": false,
|
|
7969
8109
|
"isVararg": false,
|
|
7970
8110
|
"name": "node",
|
|
@@ -8017,7 +8157,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
|
|
|
8017
8157
|
},
|
|
8018
8158
|
{
|
|
8019
8159
|
"doc": "Callback when input is initialized, use to set custom properties on self",
|
|
8020
|
-
"isOptional":
|
|
8160
|
+
"isOptional": true,
|
|
8021
8161
|
"name": "on_init",
|
|
8022
8162
|
"types": [
|
|
8023
8163
|
"fun(self: druid.input)|nil",
|
|
@@ -8161,6 +8301,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
|
|
|
8161
8301
|
},
|
|
8162
8302
|
{
|
|
8163
8303
|
"doc": "Gui keyboard type for input field",
|
|
8304
|
+
"isNilable": true,
|
|
8164
8305
|
"isOptional": false,
|
|
8165
8306
|
"isVararg": false,
|
|
8166
8307
|
"name": "keyboard_type",
|
|
@@ -8187,6 +8328,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
|
|
|
8187
8328
|
},
|
|
8188
8329
|
],
|
|
8189
8330
|
"returns": [],
|
|
8331
|
+
"visibility": "private",
|
|
8190
8332
|
},
|
|
8191
8333
|
{
|
|
8192
8334
|
"brief": "",
|
|
@@ -8195,6 +8337,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
|
|
|
8195
8337
|
"params": [
|
|
8196
8338
|
{
|
|
8197
8339
|
"doc": "The action id",
|
|
8340
|
+
"isNilable": true,
|
|
8198
8341
|
"isOptional": false,
|
|
8199
8342
|
"isVararg": false,
|
|
8200
8343
|
"name": "action_id",
|
|
@@ -8223,6 +8366,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
|
|
|
8223
8366
|
],
|
|
8224
8367
|
},
|
|
8225
8368
|
],
|
|
8369
|
+
"visibility": "private",
|
|
8226
8370
|
},
|
|
8227
8371
|
{
|
|
8228
8372
|
"brief": "",
|
|
@@ -8230,6 +8374,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
|
|
|
8230
8374
|
"name": "on_focus_lost",
|
|
8231
8375
|
"params": [],
|
|
8232
8376
|
"returns": [],
|
|
8377
|
+
"visibility": "private",
|
|
8233
8378
|
},
|
|
8234
8379
|
{
|
|
8235
8380
|
"brief": "",
|
|
@@ -8272,6 +8417,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
|
|
|
8272
8417
|
"params": [
|
|
8273
8418
|
{
|
|
8274
8419
|
"doc": "The string to apply for input field, if nil - will be set to empty string",
|
|
8420
|
+
"isNilable": true,
|
|
8275
8421
|
"isOptional": false,
|
|
8276
8422
|
"isVararg": false,
|
|
8277
8423
|
"name": "input_text",
|
|
@@ -8400,6 +8546,7 @@ ex: [^%s] to allow only non-space characters"
|
|
|
8400
8546
|
"params": [
|
|
8401
8547
|
{
|
|
8402
8548
|
"doc": "Cursor index for cursor position, if nil - will be set to the end of the text",
|
|
8549
|
+
"isNilable": true,
|
|
8403
8550
|
"isOptional": false,
|
|
8404
8551
|
"isVararg": false,
|
|
8405
8552
|
"name": "cursor_index",
|
|
@@ -8409,6 +8556,7 @@ ex: [^%s] to allow only non-space characters"
|
|
|
8409
8556
|
},
|
|
8410
8557
|
{
|
|
8411
8558
|
"doc": "Start index for cursor position, if nil - will be set to the end of the text",
|
|
8559
|
+
"isNilable": true,
|
|
8412
8560
|
"isOptional": false,
|
|
8413
8561
|
"isVararg": false,
|
|
8414
8562
|
"name": "start_index",
|
|
@@ -8418,6 +8566,7 @@ ex: [^%s] to allow only non-space characters"
|
|
|
8418
8566
|
},
|
|
8419
8567
|
{
|
|
8420
8568
|
"doc": "End index for cursor position, if nil - will be set to the start_index",
|
|
8569
|
+
"isNilable": true,
|
|
8421
8570
|
"isOptional": false,
|
|
8422
8571
|
"isVararg": false,
|
|
8423
8572
|
"name": "end_index",
|
|
@@ -8562,6 +8711,7 @@ Create lang text component with druid: \`text = druid:new_lang_text(node_name, l
|
|
|
8562
8711
|
},
|
|
8563
8712
|
{
|
|
8564
8713
|
"doc": "Default locale id or text from node as default. If not provided, will use text from the node",
|
|
8714
|
+
"isNilable": true,
|
|
8565
8715
|
"isOptional": false,
|
|
8566
8716
|
"isVararg": false,
|
|
8567
8717
|
"name": "locale_id",
|
|
@@ -8571,6 +8721,7 @@ Create lang text component with druid: \`text = druid:new_lang_text(node_name, l
|
|
|
8571
8721
|
},
|
|
8572
8722
|
{
|
|
8573
8723
|
"doc": "Adjust type for text. By default is DOWNSCALE. Look const.TEXT_ADJUST for reference",
|
|
8724
|
+
"isNilable": true,
|
|
8574
8725
|
"isOptional": false,
|
|
8575
8726
|
"isVararg": false,
|
|
8576
8727
|
"name": "adjust_type",
|
|
@@ -8587,6 +8738,7 @@ Create lang text component with druid: \`text = druid:new_lang_text(node_name, l
|
|
|
8587
8738
|
"name": "on_language_change",
|
|
8588
8739
|
"params": [],
|
|
8589
8740
|
"returns": [],
|
|
8741
|
+
"visibility": "private",
|
|
8590
8742
|
},
|
|
8591
8743
|
{
|
|
8592
8744
|
"brief": "Setup raw text to lang_text component. This will clear any locale settings.",
|
|
@@ -9030,6 +9182,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9030
9182
|
"params": [
|
|
9031
9183
|
{
|
|
9032
9184
|
"doc": "The margin x",
|
|
9185
|
+
"isNilable": true,
|
|
9033
9186
|
"isOptional": false,
|
|
9034
9187
|
"isVararg": false,
|
|
9035
9188
|
"name": "margin_x",
|
|
@@ -9039,6 +9192,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9039
9192
|
},
|
|
9040
9193
|
{
|
|
9041
9194
|
"doc": "The margin y",
|
|
9195
|
+
"isNilable": true,
|
|
9042
9196
|
"isOptional": false,
|
|
9043
9197
|
"isVararg": false,
|
|
9044
9198
|
"name": "margin_y",
|
|
@@ -9066,6 +9220,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9066
9220
|
"params": [
|
|
9067
9221
|
{
|
|
9068
9222
|
"doc": "From Left",
|
|
9223
|
+
"isNilable": true,
|
|
9069
9224
|
"isOptional": false,
|
|
9070
9225
|
"isVararg": false,
|
|
9071
9226
|
"name": "padding_x",
|
|
@@ -9075,6 +9230,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9075
9230
|
},
|
|
9076
9231
|
{
|
|
9077
9232
|
"doc": "From Top",
|
|
9233
|
+
"isNilable": true,
|
|
9078
9234
|
"isOptional": false,
|
|
9079
9235
|
"isVararg": false,
|
|
9080
9236
|
"name": "padding_y",
|
|
@@ -9084,6 +9240,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9084
9240
|
},
|
|
9085
9241
|
{
|
|
9086
9242
|
"doc": "From Right",
|
|
9243
|
+
"isNilable": true,
|
|
9087
9244
|
"isOptional": false,
|
|
9088
9245
|
"isVararg": false,
|
|
9089
9246
|
"name": "padding_z",
|
|
@@ -9093,6 +9250,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9093
9250
|
},
|
|
9094
9251
|
{
|
|
9095
9252
|
"doc": "From Bottom",
|
|
9253
|
+
"isNilable": true,
|
|
9096
9254
|
"isOptional": false,
|
|
9097
9255
|
"isVararg": false,
|
|
9098
9256
|
"name": "padding_w",
|
|
@@ -9315,6 +9473,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9315
9473
|
"params": [
|
|
9316
9474
|
{
|
|
9317
9475
|
"doc": "If true, node position update instantly, otherwise with set_position_function callback",
|
|
9476
|
+
"isNilable": true,
|
|
9318
9477
|
"isOptional": false,
|
|
9319
9478
|
"isVararg": false,
|
|
9320
9479
|
"name": "is_instant",
|
|
@@ -9404,6 +9563,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9404
9563
|
],
|
|
9405
9564
|
},
|
|
9406
9565
|
],
|
|
9566
|
+
"visibility": "local",
|
|
9407
9567
|
},
|
|
9408
9568
|
{
|
|
9409
9569
|
"brief": "",
|
|
@@ -9485,7 +9645,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9485
9645
|
"fields": [
|
|
9486
9646
|
{
|
|
9487
9647
|
"doc": "Progress bar fill rate. Higher value means faster fill. Default: 5",
|
|
9488
|
-
"isOptional":
|
|
9648
|
+
"isOptional": true,
|
|
9489
9649
|
"name": "SPEED",
|
|
9490
9650
|
"types": [
|
|
9491
9651
|
"number|nil",
|
|
@@ -9493,7 +9653,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
|
|
|
9493
9653
|
},
|
|
9494
9654
|
{
|
|
9495
9655
|
"doc": "Minimum step to fill progress bar. Default: 0.005",
|
|
9496
|
-
"isOptional":
|
|
9656
|
+
"isOptional": true,
|
|
9497
9657
|
"name": "MIN_DELTA",
|
|
9498
9658
|
"types": [
|
|
9499
9659
|
"number|nil",
|
|
@@ -9588,6 +9748,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9588
9748
|
},
|
|
9589
9749
|
{
|
|
9590
9750
|
"doc": "Initial value of progress bar (0 to 1). Default: 1",
|
|
9751
|
+
"isNilable": true,
|
|
9591
9752
|
"isOptional": false,
|
|
9592
9753
|
"isVararg": false,
|
|
9593
9754
|
"name": "init_value",
|
|
@@ -9614,6 +9775,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9614
9775
|
},
|
|
9615
9776
|
],
|
|
9616
9777
|
"returns": [],
|
|
9778
|
+
"visibility": "private",
|
|
9617
9779
|
},
|
|
9618
9780
|
{
|
|
9619
9781
|
"brief": "",
|
|
@@ -9621,6 +9783,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9621
9783
|
"name": "on_layout_change",
|
|
9622
9784
|
"params": [],
|
|
9623
9785
|
"returns": [],
|
|
9786
|
+
"visibility": "private",
|
|
9624
9787
|
},
|
|
9625
9788
|
{
|
|
9626
9789
|
"brief": "",
|
|
@@ -9628,6 +9791,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9628
9791
|
"name": "on_remove",
|
|
9629
9792
|
"params": [],
|
|
9630
9793
|
"returns": [],
|
|
9794
|
+
"visibility": "private",
|
|
9631
9795
|
},
|
|
9632
9796
|
{
|
|
9633
9797
|
"brief": "",
|
|
@@ -9776,6 +9940,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9776
9940
|
},
|
|
9777
9941
|
{
|
|
9778
9942
|
"doc": "Callback on animation ends",
|
|
9943
|
+
"isNilable": true,
|
|
9779
9944
|
"isOptional": false,
|
|
9780
9945
|
"isVararg": false,
|
|
9781
9946
|
"name": "callback",
|
|
@@ -9848,6 +10013,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9848
10013
|
},
|
|
9849
10014
|
{
|
|
9850
10015
|
"doc": "The exact value",
|
|
10016
|
+
"isNilable": true,
|
|
9851
10017
|
"isOptional": false,
|
|
9852
10018
|
"isVararg": false,
|
|
9853
10019
|
"name": "exactly",
|
|
@@ -9857,6 +10023,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9857
10023
|
},
|
|
9858
10024
|
],
|
|
9859
10025
|
"returns": [],
|
|
10026
|
+
"visibility": "private",
|
|
9860
10027
|
},
|
|
9861
10028
|
{
|
|
9862
10029
|
"brief": "",
|
|
@@ -9874,6 +10041,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
|
|
|
9874
10041
|
},
|
|
9875
10042
|
],
|
|
9876
10043
|
"returns": [],
|
|
10044
|
+
"visibility": "private",
|
|
9877
10045
|
},
|
|
9878
10046
|
],
|
|
9879
10047
|
"name": "druid.progress",
|
|
@@ -9983,7 +10151,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
9983
10151
|
},
|
|
9984
10152
|
{
|
|
9985
10153
|
"doc": "The steps of the slider",
|
|
9986
|
-
"isOptional":
|
|
10154
|
+
"isOptional": true,
|
|
9987
10155
|
"name": "steps",
|
|
9988
10156
|
"types": [
|
|
9989
10157
|
"number[]?",
|
|
@@ -10018,6 +10186,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
10018
10186
|
},
|
|
10019
10187
|
{
|
|
10020
10188
|
"doc": "On slider change callback",
|
|
10189
|
+
"isNilable": true,
|
|
10021
10190
|
"isOptional": false,
|
|
10022
10191
|
"isVararg": false,
|
|
10023
10192
|
"name": "callback",
|
|
@@ -10034,6 +10203,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
10034
10203
|
"name": "on_layout_change",
|
|
10035
10204
|
"params": [],
|
|
10036
10205
|
"returns": [],
|
|
10206
|
+
"visibility": "private",
|
|
10037
10207
|
},
|
|
10038
10208
|
{
|
|
10039
10209
|
"brief": "",
|
|
@@ -10041,6 +10211,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
10041
10211
|
"name": "on_remove",
|
|
10042
10212
|
"params": [],
|
|
10043
10213
|
"returns": [],
|
|
10214
|
+
"visibility": "private",
|
|
10044
10215
|
},
|
|
10045
10216
|
{
|
|
10046
10217
|
"brief": "",
|
|
@@ -10058,6 +10229,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
10058
10229
|
},
|
|
10059
10230
|
],
|
|
10060
10231
|
"returns": [],
|
|
10232
|
+
"visibility": "private",
|
|
10061
10233
|
},
|
|
10062
10234
|
{
|
|
10063
10235
|
"brief": "",
|
|
@@ -10065,6 +10237,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
10065
10237
|
"name": "on_window_resized",
|
|
10066
10238
|
"params": [],
|
|
10067
10239
|
"returns": [],
|
|
10240
|
+
"visibility": "private",
|
|
10068
10241
|
},
|
|
10069
10242
|
{
|
|
10070
10243
|
"brief": "",
|
|
@@ -10101,6 +10274,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
10101
10274
|
],
|
|
10102
10275
|
},
|
|
10103
10276
|
],
|
|
10277
|
+
"visibility": "private",
|
|
10104
10278
|
},
|
|
10105
10279
|
{
|
|
10106
10280
|
"brief": "Set value for slider",
|
|
@@ -10118,6 +10292,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
|
|
|
10118
10292
|
},
|
|
10119
10293
|
{
|
|
10120
10294
|
"doc": "Don't trigger event if true",
|
|
10295
|
+
"isNilable": true,
|
|
10121
10296
|
"isOptional": false,
|
|
10122
10297
|
"isVararg": false,
|
|
10123
10298
|
"name": "is_silent",
|
|
@@ -10207,6 +10382,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10207
10382
|
"params": [
|
|
10208
10383
|
{
|
|
10209
10384
|
"doc": "",
|
|
10385
|
+
"isNilable": true,
|
|
10210
10386
|
"isOptional": false,
|
|
10211
10387
|
"isVararg": false,
|
|
10212
10388
|
"name": "input_node",
|
|
@@ -10277,6 +10453,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10277
10453
|
"name": "_on_change_value",
|
|
10278
10454
|
"params": [],
|
|
10279
10455
|
"returns": [],
|
|
10456
|
+
"visibility": "private",
|
|
10280
10457
|
},
|
|
10281
10458
|
{
|
|
10282
10459
|
"brief": "",
|
|
@@ -10284,6 +10461,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10284
10461
|
"name": "_set_position",
|
|
10285
10462
|
"params": [],
|
|
10286
10463
|
"returns": [],
|
|
10464
|
+
"visibility": "private",
|
|
10287
10465
|
},
|
|
10288
10466
|
],
|
|
10289
10467
|
"name": "druid.slider",
|
|
@@ -10293,7 +10471,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10293
10471
|
"fields": [
|
|
10294
10472
|
{
|
|
10295
10473
|
"doc": "Maximum time for swipe trigger. Default: 0.4",
|
|
10296
|
-
"isOptional":
|
|
10474
|
+
"isOptional": true,
|
|
10297
10475
|
"name": "SWIPE_TIME",
|
|
10298
10476
|
"types": [
|
|
10299
10477
|
"number|nil",
|
|
@@ -10301,7 +10479,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10301
10479
|
},
|
|
10302
10480
|
{
|
|
10303
10481
|
"doc": "Minimum distance for swipe trigger. Default: 50",
|
|
10304
|
-
"isOptional":
|
|
10482
|
+
"isOptional": true,
|
|
10305
10483
|
"name": "SWIPE_THRESHOLD",
|
|
10306
10484
|
"types": [
|
|
10307
10485
|
"number|nil",
|
|
@@ -10309,7 +10487,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10309
10487
|
},
|
|
10310
10488
|
{
|
|
10311
10489
|
"doc": "If true, trigger on swipe moving, not only release action. Default: false",
|
|
10312
|
-
"isOptional":
|
|
10490
|
+
"isOptional": true,
|
|
10313
10491
|
"name": "SWIPE_TRIGGER_ON_MOVE",
|
|
10314
10492
|
"types": [
|
|
10315
10493
|
"boolean|nil",
|
|
@@ -10436,6 +10614,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10436
10614
|
"name": "on_late_init",
|
|
10437
10615
|
"params": [],
|
|
10438
10616
|
"returns": [],
|
|
10617
|
+
"visibility": "private",
|
|
10439
10618
|
},
|
|
10440
10619
|
{
|
|
10441
10620
|
"brief": "",
|
|
@@ -10453,6 +10632,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10453
10632
|
},
|
|
10454
10633
|
],
|
|
10455
10634
|
"returns": [],
|
|
10635
|
+
"visibility": "private",
|
|
10456
10636
|
},
|
|
10457
10637
|
{
|
|
10458
10638
|
"brief": "",
|
|
@@ -10489,6 +10669,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10489
10669
|
],
|
|
10490
10670
|
},
|
|
10491
10671
|
],
|
|
10672
|
+
"visibility": "private",
|
|
10492
10673
|
},
|
|
10493
10674
|
{
|
|
10494
10675
|
"brief": "",
|
|
@@ -10496,6 +10677,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10496
10677
|
"name": "on_input_interrupt",
|
|
10497
10678
|
"params": [],
|
|
10498
10679
|
"returns": [],
|
|
10680
|
+
"visibility": "private",
|
|
10499
10681
|
},
|
|
10500
10682
|
{
|
|
10501
10683
|
"brief": "Set the click zone for the swipe, useful for restricting events outside stencil node",
|
|
@@ -10504,6 +10686,7 @@ This function require the Defold version 1.3.0+"
|
|
|
10504
10686
|
"params": [
|
|
10505
10687
|
{
|
|
10506
10688
|
"doc": "Gui node",
|
|
10689
|
+
"isNilable": true,
|
|
10507
10690
|
"isOptional": false,
|
|
10508
10691
|
"isVararg": false,
|
|
10509
10692
|
"name": "zone",
|
|
@@ -10639,7 +10822,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10639
10822
|
},
|
|
10640
10823
|
{
|
|
10641
10824
|
"doc": "True if the timer is on",
|
|
10642
|
-
"isOptional":
|
|
10825
|
+
"isOptional": true,
|
|
10643
10826
|
"name": "is_on",
|
|
10644
10827
|
"types": [
|
|
10645
10828
|
"boolean|nil",
|
|
@@ -10664,6 +10847,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10664
10847
|
},
|
|
10665
10848
|
{
|
|
10666
10849
|
"doc": "Start timer value in seconds",
|
|
10850
|
+
"isNilable": true,
|
|
10667
10851
|
"isOptional": false,
|
|
10668
10852
|
"isVararg": false,
|
|
10669
10853
|
"name": "seconds_from",
|
|
@@ -10673,6 +10857,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10673
10857
|
},
|
|
10674
10858
|
{
|
|
10675
10859
|
"doc": "End timer value in seconds",
|
|
10860
|
+
"isNilable": true,
|
|
10676
10861
|
"isOptional": false,
|
|
10677
10862
|
"isVararg": false,
|
|
10678
10863
|
"name": "seconds_to",
|
|
@@ -10682,6 +10867,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10682
10867
|
},
|
|
10683
10868
|
{
|
|
10684
10869
|
"doc": "Function that triggers when timer value equals to seconds_to",
|
|
10870
|
+
"isNilable": true,
|
|
10685
10871
|
"isOptional": false,
|
|
10686
10872
|
"isVararg": false,
|
|
10687
10873
|
"name": "callback",
|
|
@@ -10698,6 +10884,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10698
10884
|
"name": "update",
|
|
10699
10885
|
"params": [],
|
|
10700
10886
|
"returns": [],
|
|
10887
|
+
"visibility": "private",
|
|
10701
10888
|
},
|
|
10702
10889
|
{
|
|
10703
10890
|
"brief": "",
|
|
@@ -10705,6 +10892,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10705
10892
|
"name": "on_layout_change",
|
|
10706
10893
|
"params": [],
|
|
10707
10894
|
"returns": [],
|
|
10895
|
+
"visibility": "private",
|
|
10708
10896
|
},
|
|
10709
10897
|
{
|
|
10710
10898
|
"brief": "Set the timer to a specific value",
|
|
@@ -10740,6 +10928,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10740
10928
|
"params": [
|
|
10741
10929
|
{
|
|
10742
10930
|
"doc": "Timer enable state",
|
|
10931
|
+
"isNilable": true,
|
|
10743
10932
|
"isOptional": false,
|
|
10744
10933
|
"isVararg": false,
|
|
10745
10934
|
"name": "is_on",
|
|
@@ -10822,6 +11011,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
|
|
|
10822
11011
|
],
|
|
10823
11012
|
},
|
|
10824
11013
|
],
|
|
11014
|
+
"visibility": "private",
|
|
10825
11015
|
},
|
|
10826
11016
|
],
|
|
10827
11017
|
"name": "druid.timer",
|
|
@@ -11355,7 +11545,7 @@ You can use these functions in your projects as well."
|
|
|
11355
11545
|
},
|
|
11356
11546
|
{
|
|
11357
11547
|
"doc": "Accelerometer x value (if present).",
|
|
11358
|
-
"isOptional":
|
|
11548
|
+
"isOptional": true,
|
|
11359
11549
|
"name": "acc_x",
|
|
11360
11550
|
"types": [
|
|
11361
11551
|
"number|nil",
|
|
@@ -11363,7 +11553,7 @@ You can use these functions in your projects as well."
|
|
|
11363
11553
|
},
|
|
11364
11554
|
{
|
|
11365
11555
|
"doc": "Accelerometer y value (if present).",
|
|
11366
|
-
"isOptional":
|
|
11556
|
+
"isOptional": true,
|
|
11367
11557
|
"name": "acc_y",
|
|
11368
11558
|
"types": [
|
|
11369
11559
|
"number|nil",
|
|
@@ -11371,7 +11561,7 @@ You can use these functions in your projects as well."
|
|
|
11371
11561
|
},
|
|
11372
11562
|
{
|
|
11373
11563
|
"doc": "Accelerometer z value (if present).",
|
|
11374
|
-
"isOptional":
|
|
11564
|
+
"isOptional": true,
|
|
11375
11565
|
"name": "acc_z",
|
|
11376
11566
|
"types": [
|
|
11377
11567
|
"number|nil",
|
|
@@ -11459,7 +11649,7 @@ You can use these functions in your projects as well."
|
|
|
11459
11649
|
},
|
|
11460
11650
|
{
|
|
11461
11651
|
"doc": "Components that should not receive input",
|
|
11462
|
-
"isOptional":
|
|
11652
|
+
"isOptional": true,
|
|
11463
11653
|
"name": "_input_blacklist",
|
|
11464
11654
|
"types": [
|
|
11465
11655
|
"druid.component[]|nil",
|
|
@@ -11468,7 +11658,7 @@ You can use these functions in your projects as well."
|
|
|
11468
11658
|
},
|
|
11469
11659
|
{
|
|
11470
11660
|
"doc": "Components that should receive input",
|
|
11471
|
-
"isOptional":
|
|
11661
|
+
"isOptional": true,
|
|
11472
11662
|
"name": "_input_whitelist",
|
|
11473
11663
|
"types": [
|
|
11474
11664
|
"druid.component[]|nil",
|
|
@@ -11605,6 +11795,7 @@ Component \`on_remove\` function will be invoked, if exist."
|
|
|
11605
11795
|
],
|
|
11606
11796
|
},
|
|
11607
11797
|
],
|
|
11798
|
+
"visibility": "package",
|
|
11608
11799
|
},
|
|
11609
11800
|
{
|
|
11610
11801
|
"brief": "Get a style of Druid instance",
|
|
@@ -11622,6 +11813,7 @@ Component \`on_remove\` function will be invoked, if exist."
|
|
|
11622
11813
|
],
|
|
11623
11814
|
},
|
|
11624
11815
|
],
|
|
11816
|
+
"visibility": "package",
|
|
11625
11817
|
},
|
|
11626
11818
|
{
|
|
11627
11819
|
"brief":
|
|
@@ -11633,6 +11825,7 @@ An example use case is performing an auto stencil check in the GUI hierarchy for
|
|
|
11633
11825
|
"name": "late_init",
|
|
11634
11826
|
"params": [],
|
|
11635
11827
|
"returns": [],
|
|
11828
|
+
"visibility": "private",
|
|
11636
11829
|
},
|
|
11637
11830
|
{
|
|
11638
11831
|
"brief": "Call this in gui_script update function.",
|
|
@@ -11748,6 +11941,7 @@ This one called by global druid.on_language_change, but can be called manually t
|
|
|
11748
11941
|
"name": "on_language_change",
|
|
11749
11942
|
"params": [],
|
|
11750
11943
|
"returns": [],
|
|
11944
|
+
"visibility": "private",
|
|
11751
11945
|
},
|
|
11752
11946
|
{
|
|
11753
11947
|
"brief":
|
|
@@ -11817,6 +12011,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11817
12011
|
"name": "_clear_late_remove",
|
|
11818
12012
|
"params": [],
|
|
11819
12013
|
"returns": [],
|
|
12014
|
+
"visibility": "private",
|
|
11820
12015
|
},
|
|
11821
12016
|
{
|
|
11822
12017
|
"brief": "Create new Druid widget instance",
|
|
@@ -11839,6 +12034,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11839
12034
|
},
|
|
11840
12035
|
{
|
|
11841
12036
|
"doc": "The template name used by widget",
|
|
12037
|
+
"isNilable": true,
|
|
11842
12038
|
"isOptional": false,
|
|
11843
12039
|
"isVararg": false,
|
|
11844
12040
|
"name": "template",
|
|
@@ -11848,6 +12044,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11848
12044
|
},
|
|
11849
12045
|
{
|
|
11850
12046
|
"doc": "The nodes table from gui.clone_tree or prefab node to use for clone or node id to clone",
|
|
12047
|
+
"isNilable": true,
|
|
11851
12048
|
"isOptional": false,
|
|
11852
12049
|
"isVararg": false,
|
|
11853
12050
|
"name": "nodes",
|
|
@@ -11893,6 +12090,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11893
12090
|
},
|
|
11894
12091
|
{
|
|
11895
12092
|
"doc": "Button callback",
|
|
12093
|
+
"isNilable": true,
|
|
11896
12094
|
"isOptional": false,
|
|
11897
12095
|
"isVararg": false,
|
|
11898
12096
|
"name": "callback",
|
|
@@ -11902,6 +12100,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11902
12100
|
},
|
|
11903
12101
|
{
|
|
11904
12102
|
"doc": "Button callback params",
|
|
12103
|
+
"isNilable": true,
|
|
11905
12104
|
"isOptional": false,
|
|
11906
12105
|
"isVararg": false,
|
|
11907
12106
|
"name": "params",
|
|
@@ -11911,6 +12110,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11911
12110
|
},
|
|
11912
12111
|
{
|
|
11913
12112
|
"doc": "Button anim node (node, if not provided)",
|
|
12113
|
+
"isNilable": true,
|
|
11914
12114
|
"isOptional": false,
|
|
11915
12115
|
"isVararg": false,
|
|
11916
12116
|
"name": "anim_node",
|
|
@@ -11965,6 +12165,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11965
12165
|
"params": [
|
|
11966
12166
|
{
|
|
11967
12167
|
"doc": "The callback(self, custom_args) to call on back event",
|
|
12168
|
+
"isNilable": true,
|
|
11968
12169
|
"isOptional": false,
|
|
11969
12170
|
"isVararg": false,
|
|
11970
12171
|
"name": "callback",
|
|
@@ -11974,6 +12175,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
11974
12175
|
},
|
|
11975
12176
|
{
|
|
11976
12177
|
"doc": "Callback argument",
|
|
12178
|
+
"isNilable": true,
|
|
11977
12179
|
"isOptional": false,
|
|
11978
12180
|
"isVararg": false,
|
|
11979
12181
|
"name": "params",
|
|
@@ -12010,6 +12212,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12010
12212
|
},
|
|
12011
12213
|
{
|
|
12012
12214
|
"doc": "Hover callback",
|
|
12215
|
+
"isNilable": true,
|
|
12013
12216
|
"isOptional": false,
|
|
12014
12217
|
"isVararg": false,
|
|
12015
12218
|
"name": "on_hover_callback",
|
|
@@ -12019,6 +12222,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12019
12222
|
},
|
|
12020
12223
|
{
|
|
12021
12224
|
"doc": "Mouse hover callback",
|
|
12225
|
+
"isNilable": true,
|
|
12022
12226
|
"isOptional": false,
|
|
12023
12227
|
"isVararg": false,
|
|
12024
12228
|
"name": "on_mouse_hover_callback",
|
|
@@ -12055,6 +12259,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12055
12259
|
},
|
|
12056
12260
|
{
|
|
12057
12261
|
"doc": "Initial text. Default value is node text from GUI scene.",
|
|
12262
|
+
"isNilable": true,
|
|
12058
12263
|
"isOptional": false,
|
|
12059
12264
|
"isVararg": false,
|
|
12060
12265
|
"name": "value",
|
|
@@ -12064,6 +12269,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12064
12269
|
},
|
|
12065
12270
|
{
|
|
12066
12271
|
"doc": "Adjust type for text. By default is DOWNSCALE. Look const.TEXT_ADJUST for reference",
|
|
12272
|
+
"isNilable": true,
|
|
12067
12273
|
"isOptional": false,
|
|
12068
12274
|
"isVararg": false,
|
|
12069
12275
|
"name": "adjust_type",
|
|
@@ -12109,6 +12315,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12109
12315
|
},
|
|
12110
12316
|
{
|
|
12111
12317
|
"doc": "How many nodes can be placed in a row",
|
|
12318
|
+
"isNilable": true,
|
|
12112
12319
|
"isOptional": false,
|
|
12113
12320
|
"isVararg": false,
|
|
12114
12321
|
"name": "in_row",
|
|
@@ -12181,6 +12388,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12181
12388
|
},
|
|
12182
12389
|
{
|
|
12183
12390
|
"doc": "Callback for on_drag_event(self, dx, dy)",
|
|
12391
|
+
"isNilable": true,
|
|
12184
12392
|
"isOptional": false,
|
|
12185
12393
|
"isVararg": false,
|
|
12186
12394
|
"name": "on_drag_callback",
|
|
@@ -12217,6 +12425,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12217
12425
|
},
|
|
12218
12426
|
{
|
|
12219
12427
|
"doc": "Swipe callback for on_swipe_end event",
|
|
12428
|
+
"isNilable": true,
|
|
12220
12429
|
"isOptional": false,
|
|
12221
12430
|
"isVararg": false,
|
|
12222
12431
|
"name": "on_swipe_callback",
|
|
@@ -12253,6 +12462,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12253
12462
|
},
|
|
12254
12463
|
{
|
|
12255
12464
|
"doc": "Default locale id or text from node as default",
|
|
12465
|
+
"isNilable": true,
|
|
12256
12466
|
"isOptional": false,
|
|
12257
12467
|
"isVararg": false,
|
|
12258
12468
|
"name": "locale_id",
|
|
@@ -12262,6 +12472,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12262
12472
|
},
|
|
12263
12473
|
{
|
|
12264
12474
|
"doc": "Adjust type for text node. Default: "downscale"",
|
|
12475
|
+
"isNilable": true,
|
|
12265
12476
|
"isOptional": false,
|
|
12266
12477
|
"isVararg": false,
|
|
12267
12478
|
"name": "adjust_type",
|
|
@@ -12307,6 +12518,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12307
12518
|
},
|
|
12308
12519
|
{
|
|
12309
12520
|
"doc": "On slider change callback",
|
|
12521
|
+
"isNilable": true,
|
|
12310
12522
|
"isOptional": false,
|
|
12311
12523
|
"isVararg": false,
|
|
12312
12524
|
"name": "callback",
|
|
@@ -12352,6 +12564,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12352
12564
|
},
|
|
12353
12565
|
{
|
|
12354
12566
|
"doc": "Gui keyboard type for input field",
|
|
12567
|
+
"isNilable": true,
|
|
12355
12568
|
"isOptional": false,
|
|
12356
12569
|
"isVararg": false,
|
|
12357
12570
|
"name": "keyboard_type",
|
|
@@ -12433,6 +12646,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12433
12646
|
},
|
|
12434
12647
|
{
|
|
12435
12648
|
"doc": "Start timer value in seconds",
|
|
12649
|
+
"isNilable": true,
|
|
12436
12650
|
"isOptional": false,
|
|
12437
12651
|
"isVararg": false,
|
|
12438
12652
|
"name": "seconds_from",
|
|
@@ -12442,6 +12656,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12442
12656
|
},
|
|
12443
12657
|
{
|
|
12444
12658
|
"doc": "End timer value in seconds",
|
|
12659
|
+
"isNilable": true,
|
|
12445
12660
|
"isOptional": false,
|
|
12446
12661
|
"isVararg": false,
|
|
12447
12662
|
"name": "seconds_to",
|
|
@@ -12451,6 +12666,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12451
12666
|
},
|
|
12452
12667
|
{
|
|
12453
12668
|
"doc": "Function on timer end",
|
|
12669
|
+
"isNilable": true,
|
|
12454
12670
|
"isOptional": false,
|
|
12455
12671
|
"isVararg": false,
|
|
12456
12672
|
"name": "callback",
|
|
@@ -12496,6 +12712,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12496
12712
|
},
|
|
12497
12713
|
{
|
|
12498
12714
|
"doc": "Initial value of progress bar. Default: 1",
|
|
12715
|
+
"isNilable": true,
|
|
12499
12716
|
"isOptional": false,
|
|
12500
12717
|
"isVararg": false,
|
|
12501
12718
|
"name": "init_value",
|
|
@@ -12532,6 +12749,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12532
12749
|
},
|
|
12533
12750
|
{
|
|
12534
12751
|
"doc": "vertical|horizontal|horizontal_wrap. Default: horizontal",
|
|
12752
|
+
"isNilable": true,
|
|
12535
12753
|
"isOptional": false,
|
|
12536
12754
|
"isVararg": false,
|
|
12537
12755
|
"name": "mode",
|
|
@@ -12568,6 +12786,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12568
12786
|
},
|
|
12569
12787
|
{
|
|
12570
12788
|
"doc": "Layout mode. Default Fit or Stretch depends from node adjust mode from GUI scene",
|
|
12789
|
+
"isNilable": true,
|
|
12571
12790
|
"isOptional": false,
|
|
12572
12791
|
"isVararg": false,
|
|
12573
12792
|
"name": "mode",
|
|
@@ -12577,6 +12796,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12577
12796
|
},
|
|
12578
12797
|
{
|
|
12579
12798
|
"doc": "Callback on size changed",
|
|
12799
|
+
"isNilable": true,
|
|
12580
12800
|
"isOptional": false,
|
|
12581
12801
|
"isVararg": false,
|
|
12582
12802
|
"name": "callback",
|
|
@@ -12613,6 +12833,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12613
12833
|
},
|
|
12614
12834
|
{
|
|
12615
12835
|
"doc": "The callback function",
|
|
12836
|
+
"isNilable": true,
|
|
12616
12837
|
"isOptional": false,
|
|
12617
12838
|
"isVararg": false,
|
|
12618
12839
|
"name": "callback",
|
|
@@ -12622,6 +12843,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12622
12843
|
},
|
|
12623
12844
|
{
|
|
12624
12845
|
"doc": "The argument to pass into the callback function",
|
|
12846
|
+
"isNilable": true,
|
|
12625
12847
|
"isOptional": false,
|
|
12626
12848
|
"isVararg": false,
|
|
12627
12849
|
"name": "callback_argument",
|
|
@@ -12658,6 +12880,7 @@ component will be not processed on the input step DruidInstance"
|
|
|
12658
12880
|
},
|
|
12659
12881
|
{
|
|
12660
12882
|
"doc": "The initial text value. Default will be gui.get_text(text_node)",
|
|
12883
|
+
"isNilable": true,
|
|
12661
12884
|
"isOptional": false,
|
|
12662
12885
|
"isVararg": false,
|
|
12663
12886
|
"name": "value",
|
|
@@ -12697,6 +12920,7 @@ As a template please check rich_input.gui layout."
|
|
|
12697
12920
|
},
|
|
12698
12921
|
{
|
|
12699
12922
|
"doc": "Nodes table from gui.clone_tree",
|
|
12923
|
+
"isNilable": true,
|
|
12700
12924
|
"isOptional": false,
|
|
12701
12925
|
"isVararg": false,
|
|
12702
12926
|
"name": "nodes",
|
|
@@ -12735,6 +12959,7 @@ As a template please check rich_input.gui layout."
|
|
|
12735
12959
|
"name": "_apply_cursor_stack",
|
|
12736
12960
|
"params": [],
|
|
12737
12961
|
"returns": [],
|
|
12962
|
+
"visibility": "local",
|
|
12738
12963
|
},
|
|
12739
12964
|
{
|
|
12740
12965
|
"brief":
|
|
@@ -12914,6 +13139,7 @@ If color_id is not found in palette and not a hex string, returns white."
|
|
|
12914
13139
|
},
|
|
12915
13140
|
{
|
|
12916
13141
|
"doc": "Default is 1",
|
|
13142
|
+
"isNilable": true,
|
|
12917
13143
|
"isOptional": false,
|
|
12918
13144
|
"isVararg": false,
|
|
12919
13145
|
"name": "alpha",
|
|
@@ -12968,6 +13194,7 @@ If color_id is not found in palette and not a hex string, returns white."
|
|
|
12968
13194
|
},
|
|
12969
13195
|
{
|
|
12970
13196
|
"doc": "",
|
|
13197
|
+
"isNilable": true,
|
|
12971
13198
|
"isOptional": false,
|
|
12972
13199
|
"isVararg": false,
|
|
12973
13200
|
"name": "alpha",
|
|
@@ -13022,6 +13249,7 @@ If color_id is not found in palette and not a hex string, returns white."
|
|
|
13022
13249
|
},
|
|
13023
13250
|
{
|
|
13024
13251
|
"doc": "",
|
|
13252
|
+
"isNilable": true,
|
|
13025
13253
|
"isOptional": false,
|
|
13026
13254
|
"isVararg": false,
|
|
13027
13255
|
"name": "alpha",
|
|
@@ -13093,6 +13321,7 @@ If color_id is not found in palette and not a hex string, returns white."
|
|
|
13093
13321
|
"name": "create_uid",
|
|
13094
13322
|
"params": [],
|
|
13095
13323
|
"returns": [],
|
|
13324
|
+
"visibility": "private",
|
|
13096
13325
|
},
|
|
13097
13326
|
{
|
|
13098
13327
|
"brief": "Сreate a new component class, which will inherit from the base Druid component.",
|
|
@@ -13101,6 +13330,7 @@ If color_id is not found in palette and not a hex string, returns white."
|
|
|
13101
13330
|
"params": [
|
|
13102
13331
|
{
|
|
13103
13332
|
"doc": "The name of the component",
|
|
13333
|
+
"isNilable": true,
|
|
13104
13334
|
"isOptional": false,
|
|
13105
13335
|
"isVararg": false,
|
|
13106
13336
|
"name": "name",
|
|
@@ -13110,6 +13340,7 @@ If color_id is not found in palette and not a hex string, returns white."
|
|
|
13110
13340
|
},
|
|
13111
13341
|
{
|
|
13112
13342
|
"doc": "The input priority. The bigger number processed first. Default value: 10",
|
|
13343
|
+
"isNilable": true,
|
|
13113
13344
|
"isOptional": false,
|
|
13114
13345
|
"isVararg": false,
|
|
13115
13346
|
"name": "input_priority",
|
|
@@ -13585,6 +13816,7 @@ which are treated as having a length of 1"
|
|
|
13585
13816
|
},
|
|
13586
13817
|
{
|
|
13587
13818
|
"doc": "The tag to search for. Nil to search for words without a tag",
|
|
13819
|
+
"isNilable": true,
|
|
13588
13820
|
"isOptional": false,
|
|
13589
13821
|
"isVararg": false,
|
|
13590
13822
|
"name": "tag",
|
|
@@ -13735,6 +13967,7 @@ which are treated as having a length of 1"
|
|
|
13735
13967
|
},
|
|
13736
13968
|
{
|
|
13737
13969
|
"doc": "The Druid style table to override style parameters for this Druid instance.",
|
|
13970
|
+
"isNilable": true,
|
|
13738
13971
|
"isOptional": false,
|
|
13739
13972
|
"isVararg": false,
|
|
13740
13973
|
"name": "style",
|
|
@@ -13912,6 +14145,7 @@ msg.url(nil, object_url, "gui_widget") -- other game object"
|
|
|
13912
14145
|
},
|
|
13913
14146
|
{
|
|
13914
14147
|
"doc": "Additional parameters to pass to the widget's init function",
|
|
14148
|
+
"isNilable": true,
|
|
13915
14149
|
"isOptional": false,
|
|
13916
14150
|
"isVararg": false,
|
|
13917
14151
|
"name": "params",
|
|
@@ -13967,6 +14201,7 @@ Only one widget can be set per game object."
|
|
|
13967
14201
|
"params": [
|
|
13968
14202
|
{
|
|
13969
14203
|
"doc": "",
|
|
14204
|
+
"isNilable": true,
|
|
13970
14205
|
"isOptional": false,
|
|
13971
14206
|
"isVararg": false,
|
|
13972
14207
|
"name": "logger_instance",
|
|
@@ -13984,6 +14219,7 @@ Only one widget can be set per game object."
|
|
|
13984
14219
|
"params": [
|
|
13985
14220
|
{
|
|
13986
14221
|
"doc": "",
|
|
14222
|
+
"isNilable": true,
|
|
13987
14223
|
"isOptional": false,
|
|
13988
14224
|
"isVararg": false,
|
|
13989
14225
|
"name": "name",
|
|
@@ -13993,6 +14229,7 @@ Only one widget can be set per game object."
|
|
|
13993
14229
|
},
|
|
13994
14230
|
{
|
|
13995
14231
|
"doc": "",
|
|
14232
|
+
"isNilable": true,
|
|
13996
14233
|
"isOptional": false,
|
|
13997
14234
|
"isVararg": false,
|
|
13998
14235
|
"name": "level",
|
|
@@ -14211,6 +14448,7 @@ The path file extension will be used to determine the Defold format (*.atlas, *.
|
|
|
14211
14448
|
},
|
|
14212
14449
|
{
|
|
14213
14450
|
"doc": "",
|
|
14451
|
+
"isNilable": true,
|
|
14214
14452
|
"isOptional": false,
|
|
14215
14453
|
"isVararg": false,
|
|
14216
14454
|
"name": "property_name",
|
|
@@ -14598,6 +14836,7 @@ text_node will be first (at left side)"
|
|
|
14598
14836
|
"params": [
|
|
14599
14837
|
{
|
|
14600
14838
|
"doc": "Gui text node",
|
|
14839
|
+
"isNilable": true,
|
|
14601
14840
|
"isOptional": false,
|
|
14602
14841
|
"isVararg": false,
|
|
14603
14842
|
"name": "text_node",
|
|
@@ -14607,6 +14846,7 @@ text_node will be first (at left side)"
|
|
|
14607
14846
|
},
|
|
14608
14847
|
{
|
|
14609
14848
|
"doc": "Gui box node",
|
|
14849
|
+
"isNilable": true,
|
|
14610
14850
|
"isOptional": false,
|
|
14611
14851
|
"isVararg": false,
|
|
14612
14852
|
"name": "icon_node",
|
|
@@ -14635,6 +14875,7 @@ text_node will be first (at left side)"
|
|
|
14635
14875
|
],
|
|
14636
14876
|
},
|
|
14637
14877
|
],
|
|
14878
|
+
"visibility": "local",
|
|
14638
14879
|
},
|
|
14639
14880
|
{
|
|
14640
14881
|
"brief":
|
|
@@ -14647,6 +14888,7 @@ icon_node will be first (at left side)"
|
|
|
14647
14888
|
"params": [
|
|
14648
14889
|
{
|
|
14649
14890
|
"doc": "Gui box node",
|
|
14891
|
+
"isNilable": true,
|
|
14650
14892
|
"isOptional": false,
|
|
14651
14893
|
"isVararg": false,
|
|
14652
14894
|
"name": "icon_node",
|
|
@@ -14656,6 +14898,7 @@ icon_node will be first (at left side)"
|
|
|
14656
14898
|
},
|
|
14657
14899
|
{
|
|
14658
14900
|
"doc": "Gui text node",
|
|
14901
|
+
"isNilable": true,
|
|
14659
14902
|
"isOptional": false,
|
|
14660
14903
|
"isVararg": false,
|
|
14661
14904
|
"name": "text_node",
|
|
@@ -14665,6 +14908,7 @@ icon_node will be first (at left side)"
|
|
|
14665
14908
|
},
|
|
14666
14909
|
{
|
|
14667
14910
|
"doc": "Offset between nodes",
|
|
14911
|
+
"isNilable": true,
|
|
14668
14912
|
"isOptional": false,
|
|
14669
14913
|
"isVararg": false,
|
|
14670
14914
|
"name": "margin",
|
|
@@ -14684,6 +14928,7 @@ icon_node will be first (at left side)"
|
|
|
14684
14928
|
],
|
|
14685
14929
|
},
|
|
14686
14930
|
],
|
|
14931
|
+
"visibility": "local",
|
|
14687
14932
|
},
|
|
14688
14933
|
{
|
|
14689
14934
|
"brief":
|
|
@@ -14697,6 +14942,7 @@ The centrate will be around 0 x position."
|
|
|
14697
14942
|
"params": [
|
|
14698
14943
|
{
|
|
14699
14944
|
"doc": "Offset between nodes",
|
|
14945
|
+
"isNilable": true,
|
|
14700
14946
|
"isOptional": false,
|
|
14701
14947
|
"isVararg": false,
|
|
14702
14948
|
"name": "margin",
|
|
@@ -14742,6 +14988,7 @@ The centrate will be around 0 x position."
|
|
|
14742
14988
|
},
|
|
14743
14989
|
{
|
|
14744
14990
|
"doc": "Full path to the template",
|
|
14991
|
+
"isNilable": true,
|
|
14745
14992
|
"isOptional": false,
|
|
14746
14993
|
"isVararg": false,
|
|
14747
14994
|
"name": "template",
|
|
@@ -14751,6 +14998,7 @@ The centrate will be around 0 x position."
|
|
|
14751
14998
|
},
|
|
14752
14999
|
{
|
|
14753
15000
|
"doc": "Nodes created with gui.clone_tree",
|
|
15001
|
+
"isNilable": true,
|
|
14754
15002
|
"isOptional": false,
|
|
14755
15003
|
"isVararg": false,
|
|
14756
15004
|
"name": "nodes",
|
|
@@ -14875,6 +15123,7 @@ The centrate will be around 0 x position."
|
|
|
14875
15123
|
},
|
|
14876
15124
|
{
|
|
14877
15125
|
"doc": "Min value. If nil, value will be clamped to positive infinity",
|
|
15126
|
+
"isNilable": true,
|
|
14878
15127
|
"isOptional": false,
|
|
14879
15128
|
"isVararg": false,
|
|
14880
15129
|
"name": "v1",
|
|
@@ -14884,6 +15133,7 @@ The centrate will be around 0 x position."
|
|
|
14884
15133
|
},
|
|
14885
15134
|
{
|
|
14886
15135
|
"doc": "Max value If nil, value will be clamped to negative infinity",
|
|
15136
|
+
"isNilable": true,
|
|
14887
15137
|
"isOptional": false,
|
|
14888
15138
|
"isVararg": false,
|
|
14889
15139
|
"name": "v2",
|
|
@@ -15001,6 +15251,7 @@ The centrate will be around 0 x position."
|
|
|
15001
15251
|
},
|
|
15002
15252
|
{
|
|
15003
15253
|
"doc": "Decimal places",
|
|
15254
|
+
"isNilable": true,
|
|
15004
15255
|
"isOptional": false,
|
|
15005
15256
|
"isVararg": false,
|
|
15006
15257
|
"name": "num_decimal_places",
|
|
@@ -15145,6 +15396,7 @@ The centrate will be around 0 x position."
|
|
|
15145
15396
|
},
|
|
15146
15397
|
{
|
|
15147
15398
|
"doc": "The source array to get elements from",
|
|
15399
|
+
"isNilable": true,
|
|
15148
15400
|
"isOptional": false,
|
|
15149
15401
|
"isVararg": false,
|
|
15150
15402
|
"name": "source",
|
|
@@ -15199,6 +15451,7 @@ The centrate will be around 0 x position."
|
|
|
15199
15451
|
},
|
|
15200
15452
|
{
|
|
15201
15453
|
"doc": "Additional node to check for click area. If nil, only node will be checked",
|
|
15454
|
+
"isNilable": true,
|
|
15202
15455
|
"isOptional": false,
|
|
15203
15456
|
"isVararg": false,
|
|
15204
15457
|
"name": "node_click_area",
|
|
@@ -15208,6 +15461,7 @@ The centrate will be around 0 x position."
|
|
|
15208
15461
|
},
|
|
15209
15462
|
],
|
|
15210
15463
|
"returns": [],
|
|
15464
|
+
"visibility": "local",
|
|
15211
15465
|
},
|
|
15212
15466
|
{
|
|
15213
15467
|
"brief": "Get size of node with scale multiplier",
|
|
@@ -15252,6 +15506,7 @@ The centrate will be around 0 x position."
|
|
|
15252
15506
|
},
|
|
15253
15507
|
{
|
|
15254
15508
|
"doc": "True if add current node scale to result",
|
|
15509
|
+
"isNilable": true,
|
|
15255
15510
|
"isOptional": false,
|
|
15256
15511
|
"isVararg": false,
|
|
15257
15512
|
"name": "include_passed_node_scale",
|
|
@@ -15430,6 +15685,7 @@ Offset shown in [-0.5 .. 0.5] range, where -0.5 is left or bottom, 0.5 is right
|
|
|
15430
15685
|
},
|
|
15431
15686
|
{
|
|
15432
15687
|
"doc": "",
|
|
15688
|
+
"isNilable": true,
|
|
15433
15689
|
"isOptional": false,
|
|
15434
15690
|
"isVararg": false,
|
|
15435
15691
|
"name": "depth",
|
|
@@ -15439,6 +15695,7 @@ Offset shown in [-0.5 .. 0.5] range, where -0.5 is left or bottom, 0.5 is right
|
|
|
15439
15695
|
},
|
|
15440
15696
|
{
|
|
15441
15697
|
"doc": "Internal parameter",
|
|
15698
|
+
"isNilable": true,
|
|
15442
15699
|
"isOptional": false,
|
|
15443
15700
|
"isVararg": false,
|
|
15444
15701
|
"name": "result",
|
|
@@ -15475,6 +15732,7 @@ Offset shown in [-0.5 .. 0.5] range, where -0.5 is left or bottom, 0.5 is right
|
|
|
15475
15732
|
},
|
|
15476
15733
|
{
|
|
15477
15734
|
"doc": "Offset from node position. Pass current node position to get non relative border values",
|
|
15735
|
+
"isNilable": true,
|
|
15478
15736
|
"isOptional": false,
|
|
15479
15737
|
"isVararg": false,
|
|
15480
15738
|
"name": "offset",
|
|
@@ -15550,6 +15808,7 @@ Shift policy can be: left, right, no_shift"
|
|
|
15550
15808
|
},
|
|
15551
15809
|
{
|
|
15552
15810
|
"doc": "Index to insert. If nil, item will be inserted at the end of array",
|
|
15811
|
+
"isNilable": true,
|
|
15553
15812
|
"isOptional": false,
|
|
15554
15813
|
"isVararg": false,
|
|
15555
15814
|
"name": "index",
|
|
@@ -15559,6 +15818,7 @@ Shift policy can be: left, right, no_shift"
|
|
|
15559
15818
|
},
|
|
15560
15819
|
{
|
|
15561
15820
|
"doc": "The druid_const.SHIFT.* constant",
|
|
15821
|
+
"isNilable": true,
|
|
15562
15822
|
"isOptional": false,
|
|
15563
15823
|
"isVararg": false,
|
|
15564
15824
|
"name": "shift_policy",
|
|
@@ -15595,6 +15855,7 @@ Shift policy can be: left, right, no_shift"
|
|
|
15595
15855
|
},
|
|
15596
15856
|
{
|
|
15597
15857
|
"doc": "Index to remove. If nil, item will be removed from the end of array",
|
|
15858
|
+
"isNilable": true,
|
|
15598
15859
|
"isOptional": false,
|
|
15599
15860
|
"isVararg": false,
|
|
15600
15861
|
"name": "index",
|
|
@@ -15604,6 +15865,7 @@ Shift policy can be: left, right, no_shift"
|
|
|
15604
15865
|
},
|
|
15605
15866
|
{
|
|
15606
15867
|
"doc": "The druid_const.SHIFT.* constant",
|
|
15868
|
+
"isNilable": true,
|
|
15607
15869
|
"isOptional": false,
|
|
15608
15870
|
"isVararg": false,
|
|
15609
15871
|
"name": "shift_policy",
|
|
@@ -15640,6 +15902,7 @@ Shift policy can be: left, right, no_shift"
|
|
|
15640
15902
|
},
|
|
15641
15903
|
{
|
|
15642
15904
|
"doc": "GUI root node to stop search",
|
|
15905
|
+
"isNilable": true,
|
|
15643
15906
|
"isOptional": false,
|
|
15644
15907
|
"isVararg": false,
|
|
15645
15908
|
"name": "root",
|
|
@@ -15705,6 +15968,7 @@ Thanks to Dragosha! ( ・ω・ ) < Hey friend!"
|
|
|
15705
15968
|
},
|
|
15706
15969
|
{
|
|
15707
15970
|
"doc": "Druid style table",
|
|
15971
|
+
"isNilable": true,
|
|
15708
15972
|
"isOptional": false,
|
|
15709
15973
|
"isVararg": false,
|
|
15710
15974
|
"name": "style",
|
|
@@ -15732,6 +15996,7 @@ Thanks to Dragosha! ( ・ω・ ) < Hey friend!"
|
|
|
15732
15996
|
"params": [
|
|
15733
15997
|
{
|
|
15734
15998
|
"doc": "",
|
|
15999
|
+
"isNilable": true,
|
|
15735
16000
|
"isOptional": false,
|
|
15736
16001
|
"isVararg": false,
|
|
15737
16002
|
"name": "logger",
|