@defold-typescript/library-types 0.18.1
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/NOTICE +52 -0
- package/README.md +78 -0
- package/api-doc/boom.boom.json +26 -0
- package/api-doc/bridge.bridge.json +1653 -0
- package/api-doc/bzAnim.bzLibrary.json +156 -0
- package/api-doc/defcon.console.json +109 -0
- package/api-doc/defmath.defmath.json +1381 -0
- package/api-doc/defsave.defsave.json +175 -0
- package/api-doc/deftest.deftest.json +71 -0
- package/api-doc/dicebag.dicebag.json +323 -0
- package/api-doc/event.event.json +238 -0
- package/api-doc/gooey.gooey.json +963 -0
- package/api-doc/immutable.immutable.json +63 -0
- package/api-doc/in.accelerometer.json +281 -0
- package/api-doc/in.button.json +148 -0
- package/api-doc/in.cursor.json +203 -0
- package/api-doc/in.gesture.json +206 -0
- package/api-doc/in.keyboard.json +45 -0
- package/api-doc/in.mapper.json +141 -0
- package/api-doc/in.onscreen.json +265 -0
- package/api-doc/in.state.json +195 -0
- package/api-doc/in.textbox.json +213 -0
- package/api-doc/in.triggers.json +1260 -0
- package/api-doc/lang.lang.json +411 -0
- package/api-doc/log.log.json +50 -0
- package/api-doc/metrics.fps.json +88 -0
- package/api-doc/metrics.mem.json +80 -0
- package/api-doc/monarch.monarch.json +1065 -0
- package/api-doc/monarch.transitions.easings.json +206 -0
- package/api-doc/monarch.transitions.gui.json +445 -0
- package/api-doc/nakama.engine.defold.json +165 -0
- package/api-doc/nakama.nakama.json +6574 -0
- package/api-doc/nakama.util.log.json +25 -0
- package/api-doc/narrator.narrator.json +150 -0
- package/api-doc/orthographic.camera.json +1019 -0
- package/api-doc/persist.persist.json +142 -0
- package/api-doc/platypus.platypus.json +631 -0
- package/api-doc/proto.proto.json +355 -0
- package/api-doc/rendy.rendy.json +408 -0
- package/api-doc/richtext.color.json +219 -0
- package/api-doc/richtext.richtext.json +382 -0
- package/api-doc/richtext.tags.json +67 -0
- package/api-doc/saver.saver.json +553 -0
- package/api-doc/saver.storage.json +174 -0
- package/api-doc/squid.squid.json +660 -0
- package/api-doc/starly.starly.json +488 -0
- package/api-doc/tweener.tweener.json +419 -0
- package/api-doc/yagames.yagames.json +1465 -0
- package/api-doc/zzfx.api.json +85 -0
- package/generated/boom.boom.d.ts +1585 -0
- package/generated/bridge.bridge.d.ts +533 -0
- package/generated/bzAnim.bzLibrary.d.ts +93 -0
- package/generated/defcon.console.d.ts +24 -0
- package/generated/defmath.defmath.d.ts +194 -0
- package/generated/defsave.defsave.d.ts +31 -0
- package/generated/deftest.deftest.d.ts +47 -0
- package/generated/dicebag.dicebag.d.ts +90 -0
- package/generated/event.event.d.ts +54 -0
- package/generated/gooey.gooey.d.ts +261 -0
- package/generated/immutable.immutable.d.ts +13 -0
- package/generated/in.accelerometer.d.ts +37 -0
- package/generated/in.button.d.ts +20 -0
- package/generated/in.cursor.d.ts +33 -0
- package/generated/in.gesture.d.ts +64 -0
- package/generated/in.keyboard.d.ts +18 -0
- package/generated/in.mapper.d.ts +23 -0
- package/generated/in.onscreen.d.ts +58 -0
- package/generated/in.state.d.ts +34 -0
- package/generated/in.textbox.d.ts +26 -0
- package/generated/in.triggers.d.ts +180 -0
- package/generated/lang.lang.d.ts +33 -0
- package/generated/log.log.d.ts +40 -0
- package/generated/metrics.fps.d.ts +16 -0
- package/generated/metrics.mem.d.ts +16 -0
- package/generated/monarch.monarch.d.ts +412 -0
- package/generated/monarch.transitions.easings.d.ts +65 -0
- package/generated/monarch.transitions.gui.d.ts +197 -0
- package/generated/nakama.engine.defold.d.ts +24 -0
- package/generated/nakama.nakama.d.ts +594 -0
- package/generated/nakama.util.log.d.ts +10 -0
- package/generated/narrator.narrator.d.ts +66 -0
- package/generated/orthographic.camera.d.ts +308 -0
- package/generated/persist.persist.d.ts +34 -0
- package/generated/platypus.platypus.d.ts +76 -0
- package/generated/proto.proto.d.ts +36 -0
- package/generated/rendy.rendy.d.ts +184 -0
- package/generated/richtext.color.d.ts +33 -0
- package/generated/richtext.richtext.d.ts +126 -0
- package/generated/richtext.tags.d.ts +12 -0
- package/generated/saver.saver.d.ts +44 -0
- package/generated/saver.storage.d.ts +16 -0
- package/generated/squid.squid.d.ts +106 -0
- package/generated/starly.starly.d.ts +148 -0
- package/generated/tweener.tweener.d.ts +151 -0
- package/generated/yagames.yagames.d.ts +279 -0
- package/generated/zzfx.api.d.ts +20 -0
- package/library-classification.json +726 -0
- package/library-targets.json +291 -0
- package/package.json +180 -0
- package/scripts/extract-api-doc.ts +418 -0
- package/scripts/sync-library-types.ts +542 -0
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
{
|
|
2
|
+
"info": {
|
|
3
|
+
"namespace": "rendy.rendy",
|
|
4
|
+
"brief": "A versatile camera suite and render pipeline",
|
|
5
|
+
"description": "A versatile camera suite and render pipeline"
|
|
6
|
+
},
|
|
7
|
+
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "TYPEDEF",
|
|
10
|
+
"name": "CameraId"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "FUNCTION",
|
|
14
|
+
"name": "create_camera",
|
|
15
|
+
"brief": "Creates a camera. This function is called automatically by the rendy.go game object.",
|
|
16
|
+
"description": "Creates a camera. This function is called automatically by the rendy.go game object.",
|
|
17
|
+
"parameters": [
|
|
18
|
+
{
|
|
19
|
+
"name": "camera_id",
|
|
20
|
+
"doc": "The identifier for the camera.",
|
|
21
|
+
"types": [
|
|
22
|
+
"CameraId"
|
|
23
|
+
],
|
|
24
|
+
"is_optional": "False"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"returnvalues": []
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "FUNCTION",
|
|
31
|
+
"name": "destroy_camera",
|
|
32
|
+
"brief": "Destroys a camera. This function is called automatically by the rendy.go game object.",
|
|
33
|
+
"description": "Destroys a camera. This function is called automatically by the rendy.go game object.",
|
|
34
|
+
"parameters": [
|
|
35
|
+
{
|
|
36
|
+
"name": "camera_id",
|
|
37
|
+
"doc": "The identifier for the camera to be destroyed.",
|
|
38
|
+
"types": [
|
|
39
|
+
"CameraId"
|
|
40
|
+
],
|
|
41
|
+
"is_optional": "False"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"returnvalues": []
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "FUNCTION",
|
|
48
|
+
"name": "set",
|
|
49
|
+
"brief": "Sets a camera property. This function replaces the standard go.set().",
|
|
50
|
+
"description": "Sets a camera property. This function replaces the standard go.set().",
|
|
51
|
+
"parameters": [
|
|
52
|
+
{
|
|
53
|
+
"name": "camera_id",
|
|
54
|
+
"doc": "The identifier for the camera.",
|
|
55
|
+
"types": [
|
|
56
|
+
"CameraId"
|
|
57
|
+
],
|
|
58
|
+
"is_optional": "False"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "property",
|
|
62
|
+
"doc": "The property to be set.",
|
|
63
|
+
"types": [
|
|
64
|
+
"Hash | string"
|
|
65
|
+
],
|
|
66
|
+
"is_optional": "False"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "value",
|
|
70
|
+
"doc": "The value to set the property to.",
|
|
71
|
+
"types": [
|
|
72
|
+
"any"
|
|
73
|
+
],
|
|
74
|
+
"is_optional": "False"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"returnvalues": []
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "FUNCTION",
|
|
81
|
+
"name": "animate",
|
|
82
|
+
"brief": "Animates a camera property. This function replaces the standard go.animate().",
|
|
83
|
+
"description": "Animates a camera property. This function replaces the standard go.animate().",
|
|
84
|
+
"parameters": [
|
|
85
|
+
{
|
|
86
|
+
"name": "camera_id",
|
|
87
|
+
"doc": "The identifier for the camera.",
|
|
88
|
+
"types": [
|
|
89
|
+
"CameraId"
|
|
90
|
+
],
|
|
91
|
+
"is_optional": "False"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "property",
|
|
95
|
+
"doc": "The property to be animated.",
|
|
96
|
+
"types": [
|
|
97
|
+
"Hash | string"
|
|
98
|
+
],
|
|
99
|
+
"is_optional": "False"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "playback",
|
|
103
|
+
"doc": "The playback mode of the animation.",
|
|
104
|
+
"types": [
|
|
105
|
+
"typeof go.PLAYBACK_LOOP_BACKWARD | typeof go.PLAYBACK_LOOP_FORWARD | typeof go.PLAYBACK_LOOP_PINGPONG | typeof go.PLAYBACK_ONCE_BACKWARD | typeof go.PLAYBACK_ONCE_FORWARD | typeof go.PLAYBACK_ONCE_PINGPONG"
|
|
106
|
+
],
|
|
107
|
+
"is_optional": "False"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "to",
|
|
111
|
+
"doc": "The target value of the animation.",
|
|
112
|
+
"types": [
|
|
113
|
+
"Quaternion | Vector3 | Vector4 | number"
|
|
114
|
+
],
|
|
115
|
+
"is_optional": "False"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "easing",
|
|
119
|
+
"doc": "The easing function for the animation.",
|
|
120
|
+
"types": [
|
|
121
|
+
"Vector3 | typeof go.EASING_INBACK | typeof go.EASING_INBOUNCE | typeof go.EASING_INCIRC | typeof go.EASING_INCUBIC | typeof go.EASING_INELASTIC | typeof go.EASING_INEXPO | typeof go.EASING_INOUTBACK | typeof go.EASING_INOUTBOUNCE | typeof go.EASING_INOUTCIRC | typeof go.EASING_INOUTCUBIC | typeof go.EASING_INOUTELASTIC | typeof go.EASING_INOUTEXPO | typeof go.EASING_INOUTQUAD | typeof go.EASING_INOUTQUART | typeof go.EASING_INOUTQUINT | typeof go.EASING_INOUTSINE | typeof go.EASING_INQUAD | typeof go.EASING_INQUART | typeof go.EASING_INQUINT | typeof go.EASING_INSINE | typeof go.EASING_LINEAR | typeof go.EASING_OUTBACK | typeof go.EASING_OUTBOUNCE | typeof go.EASING_OUTCIRC | typeof go.EASING_OUTCUBIC | typeof go.EASING_OUTELASTIC | typeof go.EASING_OUTEXPO | typeof go.EASING_OUTINBACK | typeof go.EASING_OUTINBOUNCE | typeof go.EASING_OUTINCIRC | typeof go.EASING_OUTINCUBIC | typeof go.EASING_OUTINELASTIC | typeof go.EASING_OUTINEXPO | typeof go.EASING_OUTINQUAD | typeof go.EASING_OUTINQUART | typeof go.EASING_OUTINQUINT | typeof go.EASING_OUTINSINE | typeof go.EASING_OUTQUAD | typeof go.EASING_OUTQUART | typeof go.EASING_OUTQUINT | typeof go.EASING_OUTSINE"
|
|
122
|
+
],
|
|
123
|
+
"is_optional": "False"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "duration",
|
|
127
|
+
"doc": "The duration of the animation.",
|
|
128
|
+
"types": [
|
|
129
|
+
"number"
|
|
130
|
+
],
|
|
131
|
+
"is_optional": "False"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "delay",
|
|
135
|
+
"doc": "Optional delay before starting the animation.",
|
|
136
|
+
"types": [
|
|
137
|
+
"number"
|
|
138
|
+
],
|
|
139
|
+
"is_optional": "True"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "complete_function",
|
|
143
|
+
"doc": "Optional function to be called when the animation is complete.",
|
|
144
|
+
"types": [
|
|
145
|
+
"(this: any, url: Url, property: Hash) => void"
|
|
146
|
+
],
|
|
147
|
+
"is_optional": "True"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"returnvalues": []
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "FUNCTION",
|
|
154
|
+
"name": "cancel_animations",
|
|
155
|
+
"brief": "Cancels a camera property animation. This function replaces the standard go.cancel_animations().",
|
|
156
|
+
"description": "Cancels a camera property animation. This function replaces the standard go.cancel_animations().",
|
|
157
|
+
"parameters": [
|
|
158
|
+
{
|
|
159
|
+
"name": "camera_id",
|
|
160
|
+
"doc": "The identifier for the camera.",
|
|
161
|
+
"types": [
|
|
162
|
+
"CameraId"
|
|
163
|
+
],
|
|
164
|
+
"is_optional": "False"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "property",
|
|
168
|
+
"doc": "The property of the animation to be cancelled.",
|
|
169
|
+
"types": [
|
|
170
|
+
"Hash | string"
|
|
171
|
+
],
|
|
172
|
+
"is_optional": "False"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"returnvalues": []
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "FUNCTION",
|
|
179
|
+
"name": "get",
|
|
180
|
+
"brief": "Gets a camera property. This function is equivalent to the standard go.get().",
|
|
181
|
+
"description": "Gets a camera property. This function is equivalent to the standard go.get().",
|
|
182
|
+
"parameters": [
|
|
183
|
+
{
|
|
184
|
+
"name": "camera_id",
|
|
185
|
+
"doc": "The identifier for the camera.",
|
|
186
|
+
"types": [
|
|
187
|
+
"CameraId"
|
|
188
|
+
],
|
|
189
|
+
"is_optional": "False"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "property",
|
|
193
|
+
"doc": "The property to be retrieved.",
|
|
194
|
+
"types": [
|
|
195
|
+
"Hash | string"
|
|
196
|
+
],
|
|
197
|
+
"is_optional": "False"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"returnvalues": [
|
|
201
|
+
{
|
|
202
|
+
"name": "",
|
|
203
|
+
"doc": "The value of the specified property.",
|
|
204
|
+
"types": [
|
|
205
|
+
"unknown"
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "FUNCTION",
|
|
212
|
+
"name": "get_display_size",
|
|
213
|
+
"brief": "Gets the initial window size specified in the game.project file.",
|
|
214
|
+
"description": "Gets the initial window size specified in the game.project file.",
|
|
215
|
+
"parameters": [],
|
|
216
|
+
"returnvalues": [
|
|
217
|
+
{
|
|
218
|
+
"name": "",
|
|
219
|
+
"doc": "The initial window size.",
|
|
220
|
+
"types": [
|
|
221
|
+
"Vector3"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "FUNCTION",
|
|
228
|
+
"name": "get_window_size",
|
|
229
|
+
"brief": "Gets the current window size.",
|
|
230
|
+
"description": "Gets the current window size.",
|
|
231
|
+
"parameters": [],
|
|
232
|
+
"returnvalues": [
|
|
233
|
+
{
|
|
234
|
+
"name": "",
|
|
235
|
+
"doc": "The current window size.",
|
|
236
|
+
"types": [
|
|
237
|
+
"Vector3"
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "FUNCTION",
|
|
244
|
+
"name": "get_stack",
|
|
245
|
+
"brief": "Gets camera ids whose viewports intersect a screen position.",
|
|
246
|
+
"description": "Gets camera ids whose viewports intersect a screen position.",
|
|
247
|
+
"parameters": [
|
|
248
|
+
{
|
|
249
|
+
"name": "screen_x",
|
|
250
|
+
"doc": "The x-coordinate of the screen position.",
|
|
251
|
+
"types": [
|
|
252
|
+
"number"
|
|
253
|
+
],
|
|
254
|
+
"is_optional": "False"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "screen_y",
|
|
258
|
+
"doc": "The y-coordinate of the screen position.",
|
|
259
|
+
"types": [
|
|
260
|
+
"number"
|
|
261
|
+
],
|
|
262
|
+
"is_optional": "False"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"returnvalues": [
|
|
266
|
+
{
|
|
267
|
+
"name": "",
|
|
268
|
+
"doc": "An array of camera ids.",
|
|
269
|
+
"types": [
|
|
270
|
+
"CameraId[]"
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "FUNCTION",
|
|
277
|
+
"name": "shake",
|
|
278
|
+
"brief": "Starts a camera shake animation. If the camera is already shaking, then the animation is cancelled and restarted.",
|
|
279
|
+
"description": "Starts a camera shake animation. If the camera is already shaking, then the animation is cancelled and restarted.\nThe radius is increased or decreased over time if the scaler argument is ~= 1.",
|
|
280
|
+
"parameters": [
|
|
281
|
+
{
|
|
282
|
+
"name": "camera_id",
|
|
283
|
+
"doc": "The identifier for the camera.",
|
|
284
|
+
"types": [
|
|
285
|
+
"CameraId"
|
|
286
|
+
],
|
|
287
|
+
"is_optional": "False"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "radius",
|
|
291
|
+
"doc": "The initial radius of the camera shake.",
|
|
292
|
+
"types": [
|
|
293
|
+
"number"
|
|
294
|
+
],
|
|
295
|
+
"is_optional": "False"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "intensity",
|
|
299
|
+
"doc": "The intensity of the camera shake.",
|
|
300
|
+
"types": [
|
|
301
|
+
"number"
|
|
302
|
+
],
|
|
303
|
+
"is_optional": "False"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "duration",
|
|
307
|
+
"doc": "The duration of the camera shake animation.",
|
|
308
|
+
"types": [
|
|
309
|
+
"number"
|
|
310
|
+
],
|
|
311
|
+
"is_optional": "False"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "scaler",
|
|
315
|
+
"doc": "Optional scaler argument for adjusting the radius over time.",
|
|
316
|
+
"types": [
|
|
317
|
+
"number"
|
|
318
|
+
],
|
|
319
|
+
"is_optional": "True"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"returnvalues": []
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"type": "FUNCTION",
|
|
326
|
+
"name": "cancel_shake",
|
|
327
|
+
"brief": "Cancels an ongoing camera shake animation.",
|
|
328
|
+
"description": "Cancels an ongoing camera shake animation.",
|
|
329
|
+
"parameters": [
|
|
330
|
+
{
|
|
331
|
+
"name": "camera_id",
|
|
332
|
+
"doc": "The identifier for the camera.",
|
|
333
|
+
"types": [
|
|
334
|
+
"CameraId"
|
|
335
|
+
],
|
|
336
|
+
"is_optional": "False"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"returnvalues": []
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"type": "FUNCTION",
|
|
343
|
+
"name": "screen_to_world",
|
|
344
|
+
"brief": "Converts a screen position to a world position. The screen position's z component maps to the camera frustum's z component.",
|
|
345
|
+
"description": "Converts a screen position to a world position. The screen position's z component maps to the camera frustum's z component.",
|
|
346
|
+
"parameters": [
|
|
347
|
+
{
|
|
348
|
+
"name": "camera_id",
|
|
349
|
+
"doc": "The identifier for the camera.",
|
|
350
|
+
"types": [
|
|
351
|
+
"CameraId"
|
|
352
|
+
],
|
|
353
|
+
"is_optional": "False"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "screen_position",
|
|
357
|
+
"doc": "The screen position to be converted.",
|
|
358
|
+
"types": [
|
|
359
|
+
"Vector3"
|
|
360
|
+
],
|
|
361
|
+
"is_optional": "False"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"returnvalues": [
|
|
365
|
+
{
|
|
366
|
+
"name": "",
|
|
367
|
+
"doc": "The corresponding world position.",
|
|
368
|
+
"types": [
|
|
369
|
+
"Vector3"
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
]
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"type": "FUNCTION",
|
|
376
|
+
"name": "world_to_screen",
|
|
377
|
+
"brief": "Converts a world position to a screen position. The world position's z component maps to the camera frustum's z component.",
|
|
378
|
+
"description": "Converts a world position to a screen position. The world position's z component maps to the camera frustum's z component.",
|
|
379
|
+
"parameters": [
|
|
380
|
+
{
|
|
381
|
+
"name": "camera_id",
|
|
382
|
+
"doc": "The identifier for the camera.",
|
|
383
|
+
"types": [
|
|
384
|
+
"CameraId"
|
|
385
|
+
],
|
|
386
|
+
"is_optional": "False"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "world_position",
|
|
390
|
+
"doc": "The world position to be converted.",
|
|
391
|
+
"types": [
|
|
392
|
+
"Vector3"
|
|
393
|
+
],
|
|
394
|
+
"is_optional": "False"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"returnvalues": [
|
|
398
|
+
{
|
|
399
|
+
"name": "",
|
|
400
|
+
"doc": "The corresponding screen position.",
|
|
401
|
+
"types": [
|
|
402
|
+
"Vector3"
|
|
403
|
+
]
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
|
+
}
|
|
407
|
+
]
|
|
408
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
{
|
|
2
|
+
"info": {
|
|
3
|
+
"namespace": "richtext.color",
|
|
4
|
+
"brief": "",
|
|
5
|
+
"description": ""
|
|
6
|
+
},
|
|
7
|
+
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "FUNCTION",
|
|
10
|
+
"name": "add",
|
|
11
|
+
"brief": "",
|
|
12
|
+
"description": "",
|
|
13
|
+
"parameters": [
|
|
14
|
+
{
|
|
15
|
+
"name": "name",
|
|
16
|
+
"doc": "",
|
|
17
|
+
"types": [
|
|
18
|
+
"string"
|
|
19
|
+
],
|
|
20
|
+
"is_optional": "False"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "color",
|
|
24
|
+
"doc": "",
|
|
25
|
+
"types": [
|
|
26
|
+
"number | string"
|
|
27
|
+
],
|
|
28
|
+
"is_optional": "False"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"returnvalues": []
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "VARIABLE",
|
|
35
|
+
"name": "COLORS",
|
|
36
|
+
"types": [
|
|
37
|
+
"{ aqua: Vector4; black: Vector4; blue: Vector4; brown: Vector4; cyan: Vector4; darkblue: Vector4; fuchsia: Vector4; green: Vector4; grey: Vector4; lightblue: Vector4; lime: Vector4; magenta: Vector4; maroon: Vector4; navy: Vector4; olive: Vector4; orange: Vector4; purple: Vector4; red: Vector4; silver: Vector4; teal: Vector4; white: Vector4; yellow: Vector4; }"
|
|
38
|
+
],
|
|
39
|
+
"fields": [
|
|
40
|
+
{
|
|
41
|
+
"name": "aqua",
|
|
42
|
+
"doc": "",
|
|
43
|
+
"types": [
|
|
44
|
+
"Vector4"
|
|
45
|
+
],
|
|
46
|
+
"is_optional": "False"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "black",
|
|
50
|
+
"doc": "",
|
|
51
|
+
"types": [
|
|
52
|
+
"Vector4"
|
|
53
|
+
],
|
|
54
|
+
"is_optional": "False"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "blue",
|
|
58
|
+
"doc": "",
|
|
59
|
+
"types": [
|
|
60
|
+
"Vector4"
|
|
61
|
+
],
|
|
62
|
+
"is_optional": "False"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "brown",
|
|
66
|
+
"doc": "",
|
|
67
|
+
"types": [
|
|
68
|
+
"Vector4"
|
|
69
|
+
],
|
|
70
|
+
"is_optional": "False"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "cyan",
|
|
74
|
+
"doc": "",
|
|
75
|
+
"types": [
|
|
76
|
+
"Vector4"
|
|
77
|
+
],
|
|
78
|
+
"is_optional": "False"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "darkblue",
|
|
82
|
+
"doc": "",
|
|
83
|
+
"types": [
|
|
84
|
+
"Vector4"
|
|
85
|
+
],
|
|
86
|
+
"is_optional": "False"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "fuchsia",
|
|
90
|
+
"doc": "",
|
|
91
|
+
"types": [
|
|
92
|
+
"Vector4"
|
|
93
|
+
],
|
|
94
|
+
"is_optional": "False"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "green",
|
|
98
|
+
"doc": "",
|
|
99
|
+
"types": [
|
|
100
|
+
"Vector4"
|
|
101
|
+
],
|
|
102
|
+
"is_optional": "False"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "grey",
|
|
106
|
+
"doc": "",
|
|
107
|
+
"types": [
|
|
108
|
+
"Vector4"
|
|
109
|
+
],
|
|
110
|
+
"is_optional": "False"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "lightblue",
|
|
114
|
+
"doc": "",
|
|
115
|
+
"types": [
|
|
116
|
+
"Vector4"
|
|
117
|
+
],
|
|
118
|
+
"is_optional": "False"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "lime",
|
|
122
|
+
"doc": "",
|
|
123
|
+
"types": [
|
|
124
|
+
"Vector4"
|
|
125
|
+
],
|
|
126
|
+
"is_optional": "False"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "magenta",
|
|
130
|
+
"doc": "",
|
|
131
|
+
"types": [
|
|
132
|
+
"Vector4"
|
|
133
|
+
],
|
|
134
|
+
"is_optional": "False"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "maroon",
|
|
138
|
+
"doc": "",
|
|
139
|
+
"types": [
|
|
140
|
+
"Vector4"
|
|
141
|
+
],
|
|
142
|
+
"is_optional": "False"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "navy",
|
|
146
|
+
"doc": "",
|
|
147
|
+
"types": [
|
|
148
|
+
"Vector4"
|
|
149
|
+
],
|
|
150
|
+
"is_optional": "False"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "olive",
|
|
154
|
+
"doc": "",
|
|
155
|
+
"types": [
|
|
156
|
+
"Vector4"
|
|
157
|
+
],
|
|
158
|
+
"is_optional": "False"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "orange",
|
|
162
|
+
"doc": "",
|
|
163
|
+
"types": [
|
|
164
|
+
"Vector4"
|
|
165
|
+
],
|
|
166
|
+
"is_optional": "False"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "purple",
|
|
170
|
+
"doc": "",
|
|
171
|
+
"types": [
|
|
172
|
+
"Vector4"
|
|
173
|
+
],
|
|
174
|
+
"is_optional": "False"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "red",
|
|
178
|
+
"doc": "",
|
|
179
|
+
"types": [
|
|
180
|
+
"Vector4"
|
|
181
|
+
],
|
|
182
|
+
"is_optional": "False"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "silver",
|
|
186
|
+
"doc": "",
|
|
187
|
+
"types": [
|
|
188
|
+
"Vector4"
|
|
189
|
+
],
|
|
190
|
+
"is_optional": "False"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "teal",
|
|
194
|
+
"doc": "",
|
|
195
|
+
"types": [
|
|
196
|
+
"Vector4"
|
|
197
|
+
],
|
|
198
|
+
"is_optional": "False"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "white",
|
|
202
|
+
"doc": "",
|
|
203
|
+
"types": [
|
|
204
|
+
"Vector4"
|
|
205
|
+
],
|
|
206
|
+
"is_optional": "False"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "yellow",
|
|
210
|
+
"doc": "",
|
|
211
|
+
"types": [
|
|
212
|
+
"Vector4"
|
|
213
|
+
],
|
|
214
|
+
"is_optional": "False"
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
}
|