@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,1019 @@
|
|
|
1
|
+
{
|
|
2
|
+
"info": {
|
|
3
|
+
"namespace": "orthographic.camera",
|
|
4
|
+
"brief": "",
|
|
5
|
+
"description": ""
|
|
6
|
+
},
|
|
7
|
+
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "FUNCTION",
|
|
10
|
+
"name": "follow",
|
|
11
|
+
"brief": "Follow a game object.",
|
|
12
|
+
"description": "Follow a game object.",
|
|
13
|
+
"parameters": [
|
|
14
|
+
{
|
|
15
|
+
"name": "camera_id",
|
|
16
|
+
"doc": "undefined for the first camera",
|
|
17
|
+
"types": [
|
|
18
|
+
"Hash | Url | undefined"
|
|
19
|
+
],
|
|
20
|
+
"is_optional": "False"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "target",
|
|
24
|
+
"doc": "Game object to follow",
|
|
25
|
+
"types": [
|
|
26
|
+
"Hash | Url"
|
|
27
|
+
],
|
|
28
|
+
"is_optional": "False"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "options",
|
|
32
|
+
"doc": "Options",
|
|
33
|
+
"types": [
|
|
34
|
+
"{ lerp?: number; offset?: Vector3; horizontal?: boolean; vertical?: boolean; immediate?: boolean; }"
|
|
35
|
+
],
|
|
36
|
+
"is_optional": "True",
|
|
37
|
+
"fields": [
|
|
38
|
+
{
|
|
39
|
+
"name": "lerp",
|
|
40
|
+
"doc": "Lerp from current position to target position with lerp as t.",
|
|
41
|
+
"types": [
|
|
42
|
+
"number"
|
|
43
|
+
],
|
|
44
|
+
"is_optional": "True"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "offset",
|
|
48
|
+
"doc": "Camera offset from target position.",
|
|
49
|
+
"types": [
|
|
50
|
+
"Vector3"
|
|
51
|
+
],
|
|
52
|
+
"is_optional": "True"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "horizontal",
|
|
56
|
+
"doc": "True if following the target along the horizontal axis.",
|
|
57
|
+
"types": [
|
|
58
|
+
"boolean"
|
|
59
|
+
],
|
|
60
|
+
"is_optional": "True"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "vertical",
|
|
64
|
+
"doc": "True if following the target along the vertical axis.",
|
|
65
|
+
"types": [
|
|
66
|
+
"boolean"
|
|
67
|
+
],
|
|
68
|
+
"is_optional": "True"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "immediate",
|
|
72
|
+
"doc": "True if the camera should be immediately positioned on the target even when lerping.",
|
|
73
|
+
"types": [
|
|
74
|
+
"boolean"
|
|
75
|
+
],
|
|
76
|
+
"is_optional": "True"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"returnvalues": []
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "FUNCTION",
|
|
85
|
+
"name": "get_zoom",
|
|
86
|
+
"brief": "Get the current zoom level of the camera.",
|
|
87
|
+
"description": "Get the current zoom level of the camera.",
|
|
88
|
+
"parameters": [
|
|
89
|
+
{
|
|
90
|
+
"name": "camera_id",
|
|
91
|
+
"doc": "(hash | url), undefined for the first camera",
|
|
92
|
+
"types": [
|
|
93
|
+
"Hash | Url | undefined"
|
|
94
|
+
],
|
|
95
|
+
"is_optional": "False"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"returnvalues": [
|
|
99
|
+
{
|
|
100
|
+
"name": "",
|
|
101
|
+
"doc": "",
|
|
102
|
+
"types": [
|
|
103
|
+
"number"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "FUNCTION",
|
|
110
|
+
"name": "set_zoom",
|
|
111
|
+
"brief": "Change the zoom level of the camera.",
|
|
112
|
+
"description": "Change the zoom level of the camera.",
|
|
113
|
+
"parameters": [
|
|
114
|
+
{
|
|
115
|
+
"name": "camera_id",
|
|
116
|
+
"doc": "undefined for the first camera",
|
|
117
|
+
"types": [
|
|
118
|
+
"Hash | Url | undefined"
|
|
119
|
+
],
|
|
120
|
+
"is_optional": "False"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "zoom",
|
|
124
|
+
"doc": "The new zoom level of the camera",
|
|
125
|
+
"types": [
|
|
126
|
+
"number"
|
|
127
|
+
],
|
|
128
|
+
"is_optional": "False"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"returnvalues": []
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "FUNCTION",
|
|
135
|
+
"name": "shake",
|
|
136
|
+
"brief": "Shake the camera.",
|
|
137
|
+
"description": "Shake the camera.",
|
|
138
|
+
"parameters": [
|
|
139
|
+
{
|
|
140
|
+
"name": "camera_id",
|
|
141
|
+
"doc": "undefined for the first camera",
|
|
142
|
+
"types": [
|
|
143
|
+
"Hash | Url | undefined"
|
|
144
|
+
],
|
|
145
|
+
"is_optional": "False"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "intensity",
|
|
149
|
+
"doc": "Intensity of the shake, in percent of screen. Defaults to 0.05",
|
|
150
|
+
"types": [
|
|
151
|
+
"number"
|
|
152
|
+
],
|
|
153
|
+
"is_optional": "True"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "duration",
|
|
157
|
+
"doc": "Duration of the shake, in seconds. Defaults to 0.5",
|
|
158
|
+
"types": [
|
|
159
|
+
"number"
|
|
160
|
+
],
|
|
161
|
+
"is_optional": "True"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "direction",
|
|
165
|
+
"doc": "Direction of the shake. Possible values: `both`, `horizontal`, `vertical`. Defaults to `both`.",
|
|
166
|
+
"types": [
|
|
167
|
+
"{ both?: boolean; horizontal?: boolean; vertical?: boolean; }"
|
|
168
|
+
],
|
|
169
|
+
"is_optional": "True",
|
|
170
|
+
"fields": [
|
|
171
|
+
{
|
|
172
|
+
"name": "both",
|
|
173
|
+
"doc": "",
|
|
174
|
+
"types": [
|
|
175
|
+
"boolean"
|
|
176
|
+
],
|
|
177
|
+
"is_optional": "True"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "horizontal",
|
|
181
|
+
"doc": "",
|
|
182
|
+
"types": [
|
|
183
|
+
"boolean"
|
|
184
|
+
],
|
|
185
|
+
"is_optional": "True"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "vertical",
|
|
189
|
+
"doc": "",
|
|
190
|
+
"types": [
|
|
191
|
+
"boolean"
|
|
192
|
+
],
|
|
193
|
+
"is_optional": "True"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "cb",
|
|
199
|
+
"doc": "Function to call when the shake has finished. Optional.",
|
|
200
|
+
"types": [
|
|
201
|
+
"() => void"
|
|
202
|
+
],
|
|
203
|
+
"is_optional": "True"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"returnvalues": []
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "FUNCTION",
|
|
210
|
+
"name": "stop_shaking",
|
|
211
|
+
"brief": "Stop shaking the camera.",
|
|
212
|
+
"description": "Stop shaking the camera.",
|
|
213
|
+
"parameters": [
|
|
214
|
+
{
|
|
215
|
+
"name": "camera_id",
|
|
216
|
+
"doc": "(hash | url), undefined for the first camera",
|
|
217
|
+
"types": [
|
|
218
|
+
"Hash | Url | undefined"
|
|
219
|
+
],
|
|
220
|
+
"is_optional": "False"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"returnvalues": []
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "FUNCTION",
|
|
227
|
+
"name": "screen_to_world",
|
|
228
|
+
"brief": "Translate screen coordinates to world coordinates, based on the view and projection of the camera.",
|
|
229
|
+
"description": "Translate screen coordinates to world coordinates, based on the view and projection of the camera.",
|
|
230
|
+
"parameters": [
|
|
231
|
+
{
|
|
232
|
+
"name": "camera_id",
|
|
233
|
+
"doc": "(hash | url), undefined for the first camera",
|
|
234
|
+
"types": [
|
|
235
|
+
"Hash | Url | undefined"
|
|
236
|
+
],
|
|
237
|
+
"is_optional": "False"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "screen",
|
|
241
|
+
"doc": "Screen coordinates to convert",
|
|
242
|
+
"types": [
|
|
243
|
+
"Vector3"
|
|
244
|
+
],
|
|
245
|
+
"is_optional": "False"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"returnvalues": [
|
|
249
|
+
{
|
|
250
|
+
"name": "",
|
|
251
|
+
"doc": "",
|
|
252
|
+
"types": [
|
|
253
|
+
"Vector3"
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "FUNCTION",
|
|
260
|
+
"name": "window_to_world",
|
|
261
|
+
"brief": "Translate window coordinates to world coordinates, based on the view and projection of the camera.",
|
|
262
|
+
"description": "Translate window coordinates to world coordinates, based on the view and projection of the camera.",
|
|
263
|
+
"parameters": [
|
|
264
|
+
{
|
|
265
|
+
"name": "camera_id",
|
|
266
|
+
"doc": "(hash | url), undefined for the first camera",
|
|
267
|
+
"types": [
|
|
268
|
+
"Hash | Url | undefined"
|
|
269
|
+
],
|
|
270
|
+
"is_optional": "False"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "window",
|
|
274
|
+
"doc": "Window coordinates to convert",
|
|
275
|
+
"types": [
|
|
276
|
+
"Vector3"
|
|
277
|
+
],
|
|
278
|
+
"is_optional": "False"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"returnvalues": [
|
|
282
|
+
{
|
|
283
|
+
"name": "",
|
|
284
|
+
"doc": "",
|
|
285
|
+
"types": [
|
|
286
|
+
"Vector3"
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "FUNCTION",
|
|
293
|
+
"name": "get_display_size",
|
|
294
|
+
"brief": "Get the display size (ie from game.project).",
|
|
295
|
+
"description": "Get the display size (ie from game.project).",
|
|
296
|
+
"parameters": [],
|
|
297
|
+
"returnvalues": [
|
|
298
|
+
{
|
|
299
|
+
"name": "",
|
|
300
|
+
"doc": "",
|
|
301
|
+
"types": [
|
|
302
|
+
"LuaMultiReturn<[ number, number ]>"
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "FUNCTION",
|
|
309
|
+
"name": "get_window_size",
|
|
310
|
+
"brief": "Get window size.",
|
|
311
|
+
"description": "Get window size.",
|
|
312
|
+
"parameters": [],
|
|
313
|
+
"returnvalues": [
|
|
314
|
+
{
|
|
315
|
+
"name": "",
|
|
316
|
+
"doc": "",
|
|
317
|
+
"types": [
|
|
318
|
+
"LuaMultiReturn<[ number, number ]>"
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"type": "FUNCTION",
|
|
325
|
+
"name": "get_cameras",
|
|
326
|
+
"brief": "Get list of camera ids.",
|
|
327
|
+
"description": "Get list of camera ids.",
|
|
328
|
+
"parameters": [],
|
|
329
|
+
"returnvalues": [
|
|
330
|
+
{
|
|
331
|
+
"name": "",
|
|
332
|
+
"doc": "",
|
|
333
|
+
"types": [
|
|
334
|
+
"Array<Hash | Url | undefined>"
|
|
335
|
+
]
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "FUNCTION",
|
|
341
|
+
"name": "get_view",
|
|
342
|
+
"brief": "Get the current view of the camera.",
|
|
343
|
+
"description": "Get the current view of the camera.",
|
|
344
|
+
"parameters": [
|
|
345
|
+
{
|
|
346
|
+
"name": "camera_id",
|
|
347
|
+
"doc": "undefined for the first camera",
|
|
348
|
+
"types": [
|
|
349
|
+
"Hash | Url | undefined"
|
|
350
|
+
],
|
|
351
|
+
"is_optional": "False"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"returnvalues": [
|
|
355
|
+
{
|
|
356
|
+
"name": "",
|
|
357
|
+
"doc": "",
|
|
358
|
+
"types": [
|
|
359
|
+
"Matrix4"
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "FUNCTION",
|
|
366
|
+
"name": "get_viewport",
|
|
367
|
+
"brief": "Get the current viewport of the camera.",
|
|
368
|
+
"description": "Get the current viewport of the camera.",
|
|
369
|
+
"parameters": [
|
|
370
|
+
{
|
|
371
|
+
"name": "camera_id",
|
|
372
|
+
"doc": "undefined for the first camera",
|
|
373
|
+
"types": [
|
|
374
|
+
"Hash | Url | undefined"
|
|
375
|
+
],
|
|
376
|
+
"is_optional": "False"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"returnvalues": [
|
|
380
|
+
{
|
|
381
|
+
"name": "",
|
|
382
|
+
"doc": "",
|
|
383
|
+
"types": [
|
|
384
|
+
"LuaMultiReturn<[ number, number, number, number ]>"
|
|
385
|
+
]
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"type": "FUNCTION",
|
|
391
|
+
"name": "get_projection",
|
|
392
|
+
"brief": "Get the current projection of the camera.",
|
|
393
|
+
"description": "Get the current projection of the camera.",
|
|
394
|
+
"parameters": [
|
|
395
|
+
{
|
|
396
|
+
"name": "camera_id",
|
|
397
|
+
"doc": "undefined for the first camera",
|
|
398
|
+
"types": [
|
|
399
|
+
"Hash | Url | undefined"
|
|
400
|
+
],
|
|
401
|
+
"is_optional": "False"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"returnvalues": [
|
|
405
|
+
{
|
|
406
|
+
"name": "",
|
|
407
|
+
"doc": "",
|
|
408
|
+
"types": [
|
|
409
|
+
"Matrix4"
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"type": "FUNCTION",
|
|
416
|
+
"name": "get_projection_id",
|
|
417
|
+
"brief": "Get the current projection id of the camera.",
|
|
418
|
+
"description": "Get the current projection id of the camera.",
|
|
419
|
+
"parameters": [
|
|
420
|
+
{
|
|
421
|
+
"name": "camera_id",
|
|
422
|
+
"doc": "undefined for the first camera",
|
|
423
|
+
"types": [
|
|
424
|
+
"Hash | Url | undefined"
|
|
425
|
+
],
|
|
426
|
+
"is_optional": "False"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"returnvalues": [
|
|
430
|
+
{
|
|
431
|
+
"name": "",
|
|
432
|
+
"doc": "",
|
|
433
|
+
"types": [
|
|
434
|
+
"Hash"
|
|
435
|
+
]
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"type": "FUNCTION",
|
|
441
|
+
"name": "recoil",
|
|
442
|
+
"brief": "Apply a recoil effect to the camera. The recoil will decay using linear interpolation.",
|
|
443
|
+
"description": "Apply a recoil effect to the camera. The recoil will decay using linear interpolation.",
|
|
444
|
+
"parameters": [
|
|
445
|
+
{
|
|
446
|
+
"name": "camera_id",
|
|
447
|
+
"doc": "",
|
|
448
|
+
"types": [
|
|
449
|
+
"Hash | Url"
|
|
450
|
+
],
|
|
451
|
+
"is_optional": "False"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "offset",
|
|
455
|
+
"doc": "Offset to apply to the camera. Defaults to 0.05",
|
|
456
|
+
"types": [
|
|
457
|
+
"Vector3"
|
|
458
|
+
],
|
|
459
|
+
"is_optional": "False"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "duration",
|
|
463
|
+
"doc": "Duration of the recoil, in seconds. Defaults to 0.5",
|
|
464
|
+
"types": [
|
|
465
|
+
"number"
|
|
466
|
+
],
|
|
467
|
+
"is_optional": "True"
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
"returnvalues": []
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"type": "FUNCTION",
|
|
474
|
+
"name": "get_offset",
|
|
475
|
+
"brief": "Get the current offset of the camera (caused by shake or recoil)",
|
|
476
|
+
"description": "Get the current offset of the camera (caused by shake or recoil)",
|
|
477
|
+
"parameters": [
|
|
478
|
+
{
|
|
479
|
+
"name": "camera_id",
|
|
480
|
+
"doc": "undefined for the first camera",
|
|
481
|
+
"types": [
|
|
482
|
+
"Hash | Url | undefined"
|
|
483
|
+
],
|
|
484
|
+
"is_optional": "False"
|
|
485
|
+
}
|
|
486
|
+
],
|
|
487
|
+
"returnvalues": [
|
|
488
|
+
{
|
|
489
|
+
"name": "",
|
|
490
|
+
"doc": "",
|
|
491
|
+
"types": [
|
|
492
|
+
"Vector3"
|
|
493
|
+
]
|
|
494
|
+
}
|
|
495
|
+
]
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"type": "FUNCTION",
|
|
499
|
+
"name": "follow_offset",
|
|
500
|
+
"brief": "Change the camera follow offset.",
|
|
501
|
+
"description": "Change the camera follow offset.",
|
|
502
|
+
"parameters": [
|
|
503
|
+
{
|
|
504
|
+
"name": "camera_id",
|
|
505
|
+
"doc": "undefined for the first camera",
|
|
506
|
+
"types": [
|
|
507
|
+
"Hash | Url | undefined"
|
|
508
|
+
],
|
|
509
|
+
"is_optional": "False"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "offset",
|
|
513
|
+
"doc": "Camera offset from target position.",
|
|
514
|
+
"types": [
|
|
515
|
+
"Vector3"
|
|
516
|
+
],
|
|
517
|
+
"is_optional": "False"
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"returnvalues": []
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"type": "FUNCTION",
|
|
524
|
+
"name": "unfollow",
|
|
525
|
+
"brief": "Stop following a game object.",
|
|
526
|
+
"description": "Stop following a game object.",
|
|
527
|
+
"parameters": [
|
|
528
|
+
{
|
|
529
|
+
"name": "camera_id",
|
|
530
|
+
"doc": "undefined for the first camera",
|
|
531
|
+
"types": [
|
|
532
|
+
"Hash | Url | undefined"
|
|
533
|
+
],
|
|
534
|
+
"is_optional": "False"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"returnvalues": []
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"type": "FUNCTION",
|
|
541
|
+
"name": "deadzone",
|
|
542
|
+
"brief": "If following a game object this will add a deadzone around the camera position where the camera position will not update. If the target moves to the edge of the deadzone the camera will start to follow until the target returns within the bounds of the deadzone.",
|
|
543
|
+
"description": "If following a game object this will add a deadzone around the camera position where the camera position will not update. If the target moves to the edge of the deadzone the camera will start to follow until the target returns within the bounds of the deadzone.",
|
|
544
|
+
"parameters": [
|
|
545
|
+
{
|
|
546
|
+
"name": "camera_id",
|
|
547
|
+
"doc": "undefined for the first camera",
|
|
548
|
+
"types": [
|
|
549
|
+
"Hash | Url | undefined"
|
|
550
|
+
],
|
|
551
|
+
"is_optional": "False"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"name": "left",
|
|
555
|
+
"doc": "Number of pixels to the left of the camera",
|
|
556
|
+
"types": [
|
|
557
|
+
"number"
|
|
558
|
+
],
|
|
559
|
+
"is_optional": "False"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "top",
|
|
563
|
+
"doc": "Number of pixels above the camera",
|
|
564
|
+
"types": [
|
|
565
|
+
"number"
|
|
566
|
+
],
|
|
567
|
+
"is_optional": "False"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "right",
|
|
571
|
+
"doc": "Number of pixels to the right of the camera",
|
|
572
|
+
"types": [
|
|
573
|
+
"number"
|
|
574
|
+
],
|
|
575
|
+
"is_optional": "False"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "bottom",
|
|
579
|
+
"doc": "Number of pixels below the camera",
|
|
580
|
+
"types": [
|
|
581
|
+
"number"
|
|
582
|
+
],
|
|
583
|
+
"is_optional": "False"
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"returnvalues": []
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"type": "FUNCTION",
|
|
590
|
+
"name": "bounds",
|
|
591
|
+
"brief": "Limits the camera position to within the specified rectangle.",
|
|
592
|
+
"description": "Limits the camera position to within the specified rectangle.",
|
|
593
|
+
"parameters": [
|
|
594
|
+
{
|
|
595
|
+
"name": "camera_id",
|
|
596
|
+
"doc": "undefined for the first camera",
|
|
597
|
+
"types": [
|
|
598
|
+
"Hash | Url | undefined"
|
|
599
|
+
],
|
|
600
|
+
"is_optional": "False"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "left",
|
|
604
|
+
"doc": "Left edge of the camera bounds",
|
|
605
|
+
"types": [
|
|
606
|
+
"number"
|
|
607
|
+
],
|
|
608
|
+
"is_optional": "False"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "top",
|
|
612
|
+
"doc": "Top edge of camera bounds",
|
|
613
|
+
"types": [
|
|
614
|
+
"number"
|
|
615
|
+
],
|
|
616
|
+
"is_optional": "False"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "right",
|
|
620
|
+
"doc": "Right edge of camera bounds",
|
|
621
|
+
"types": [
|
|
622
|
+
"number"
|
|
623
|
+
],
|
|
624
|
+
"is_optional": "False"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "bottom",
|
|
628
|
+
"doc": "Bottom edge of camera bounds",
|
|
629
|
+
"types": [
|
|
630
|
+
"number"
|
|
631
|
+
],
|
|
632
|
+
"is_optional": "False"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"returnvalues": []
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"type": "FUNCTION",
|
|
639
|
+
"name": "screen_to_world_bounds",
|
|
640
|
+
"brief": "Translate screen boundaries (corners) to world coordinates, based on the view and projection of the camera.",
|
|
641
|
+
"description": "Translate screen boundaries (corners) to world coordinates, based on the view and projection of the camera.",
|
|
642
|
+
"parameters": [
|
|
643
|
+
{
|
|
644
|
+
"name": "camera_id",
|
|
645
|
+
"doc": "undefined for the first camera",
|
|
646
|
+
"types": [
|
|
647
|
+
"Hash | Url | undefined"
|
|
648
|
+
],
|
|
649
|
+
"is_optional": "False"
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"returnvalues": [
|
|
653
|
+
{
|
|
654
|
+
"name": "",
|
|
655
|
+
"doc": "",
|
|
656
|
+
"types": [
|
|
657
|
+
"Vector4"
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"type": "FUNCTION",
|
|
664
|
+
"name": "world_to_screen",
|
|
665
|
+
"brief": "Translate world coordinates to screen coordinates, based on the view and projection of the camera, optionally taking into account an adjust mode. This is useful when manually culling game objects and you need to determine if a world coordinate will be visible or not. It can also be used to position gui nodes on top of game objects.",
|
|
666
|
+
"description": "Translate world coordinates to screen coordinates, based on the view and projection of the camera, optionally taking into account an adjust mode. This is useful when manually culling game objects and you need to determine if a world coordinate will be visible or not. It can also be used to position gui nodes on top of game objects.",
|
|
667
|
+
"parameters": [
|
|
668
|
+
{
|
|
669
|
+
"name": "camera_id",
|
|
670
|
+
"doc": "undefined for the first camera",
|
|
671
|
+
"types": [
|
|
672
|
+
"Hash | Url | undefined"
|
|
673
|
+
],
|
|
674
|
+
"is_optional": "False"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "world",
|
|
678
|
+
"doc": "World coordinates to convert",
|
|
679
|
+
"types": [
|
|
680
|
+
"Vector3"
|
|
681
|
+
],
|
|
682
|
+
"is_optional": "False"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "adjust_mode",
|
|
686
|
+
"doc": "One of gui.ADJUST_FIT, gui.ADJUST_ZOOM and gui.ADJUST_STRETCH, or undefined to not take into account the adjust mode.",
|
|
687
|
+
"types": [
|
|
688
|
+
"typeof gui.ADJUST_FIT | typeof gui.ADJUST_STRETCH | typeof gui.ADJUST_ZOOM"
|
|
689
|
+
],
|
|
690
|
+
"is_optional": "True"
|
|
691
|
+
}
|
|
692
|
+
],
|
|
693
|
+
"returnvalues": [
|
|
694
|
+
{
|
|
695
|
+
"name": "",
|
|
696
|
+
"doc": "",
|
|
697
|
+
"types": [
|
|
698
|
+
"Vector3"
|
|
699
|
+
]
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"type": "FUNCTION",
|
|
705
|
+
"name": "unproject",
|
|
706
|
+
"brief": "Translate screen coordinates to world coordinates using the specified view and projection.",
|
|
707
|
+
"description": "Translate screen coordinates to world coordinates using the specified view and projection.",
|
|
708
|
+
"parameters": [
|
|
709
|
+
{
|
|
710
|
+
"name": "view",
|
|
711
|
+
"doc": "",
|
|
712
|
+
"types": [
|
|
713
|
+
"Matrix4"
|
|
714
|
+
],
|
|
715
|
+
"is_optional": "False"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "projection",
|
|
719
|
+
"doc": "",
|
|
720
|
+
"types": [
|
|
721
|
+
"Matrix4"
|
|
722
|
+
],
|
|
723
|
+
"is_optional": "False"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"name": "screen",
|
|
727
|
+
"doc": "Screen coordinates to convert",
|
|
728
|
+
"types": [
|
|
729
|
+
"Vector3"
|
|
730
|
+
],
|
|
731
|
+
"is_optional": "False"
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
"returnvalues": [
|
|
735
|
+
{
|
|
736
|
+
"name": "",
|
|
737
|
+
"doc": "",
|
|
738
|
+
"types": [
|
|
739
|
+
"Vector3"
|
|
740
|
+
]
|
|
741
|
+
}
|
|
742
|
+
]
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"type": "FUNCTION",
|
|
746
|
+
"name": "project",
|
|
747
|
+
"brief": "Translate world coordinates to screen coordinates using the specified view and projection.",
|
|
748
|
+
"description": "Translate world coordinates to screen coordinates using the specified view and projection.",
|
|
749
|
+
"parameters": [
|
|
750
|
+
{
|
|
751
|
+
"name": "view",
|
|
752
|
+
"doc": "",
|
|
753
|
+
"types": [
|
|
754
|
+
"Matrix4"
|
|
755
|
+
],
|
|
756
|
+
"is_optional": "False"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "projection",
|
|
760
|
+
"doc": "",
|
|
761
|
+
"types": [
|
|
762
|
+
"Matrix4"
|
|
763
|
+
],
|
|
764
|
+
"is_optional": "False"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "world",
|
|
768
|
+
"doc": "World coordinates to convert",
|
|
769
|
+
"types": [
|
|
770
|
+
"Vector3"
|
|
771
|
+
],
|
|
772
|
+
"is_optional": "False"
|
|
773
|
+
}
|
|
774
|
+
],
|
|
775
|
+
"returnvalues": [
|
|
776
|
+
{
|
|
777
|
+
"name": "",
|
|
778
|
+
"doc": "",
|
|
779
|
+
"types": [
|
|
780
|
+
"Vector3"
|
|
781
|
+
]
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"type": "FUNCTION",
|
|
787
|
+
"name": "add_projector",
|
|
788
|
+
"brief": "Add a custom projector that can be used by cameras in your project (see configuration above).",
|
|
789
|
+
"description": "Add a custom projector that can be used by cameras in your project (see configuration above).",
|
|
790
|
+
"parameters": [
|
|
791
|
+
{
|
|
792
|
+
"name": "projector_id",
|
|
793
|
+
"doc": "Id of the projector. Used as a value in the projection field of the camera script.",
|
|
794
|
+
"types": [
|
|
795
|
+
"Hash"
|
|
796
|
+
],
|
|
797
|
+
"is_optional": "False"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "projector_fn",
|
|
801
|
+
"doc": "The function to call when a projection matrix is needed for the camera. The function will receive the id, near_z and far_z values of the camera.",
|
|
802
|
+
"types": [
|
|
803
|
+
"(id: Hash, near_z: number, far_z: number) => void"
|
|
804
|
+
],
|
|
805
|
+
"is_optional": "False"
|
|
806
|
+
}
|
|
807
|
+
],
|
|
808
|
+
"returnvalues": []
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"type": "FUNCTION",
|
|
812
|
+
"name": "use_projector",
|
|
813
|
+
"brief": "Set a specific projector for a camera. This must be either one of the predefined projectors (see above) or a custom projector added using `camera.add_projector()`.",
|
|
814
|
+
"description": "Set a specific projector for a camera. This must be either one of the predefined projectors (see above) or a custom projector added using `camera.add_projector()`.",
|
|
815
|
+
"parameters": [
|
|
816
|
+
{
|
|
817
|
+
"name": "camera_id",
|
|
818
|
+
"doc": "undefined for the first camera",
|
|
819
|
+
"types": [
|
|
820
|
+
"Hash | Url | undefined"
|
|
821
|
+
],
|
|
822
|
+
"is_optional": "False"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "projector_id",
|
|
826
|
+
"doc": "Id of the projector.",
|
|
827
|
+
"types": [
|
|
828
|
+
"Hash"
|
|
829
|
+
],
|
|
830
|
+
"is_optional": "False"
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"returnvalues": []
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"type": "FUNCTION",
|
|
837
|
+
"name": "set_window_scaling_factor",
|
|
838
|
+
"brief": "Set window scaling factor (basically retina or no retina screen). There is no built-in way to detect if Defold is running on a retina or non retina screen. This information combined with the High DPI setting in game.project can be used to ensure that the zoom behaves the same way regardless of screen type and High DPI setting. You can use an extension such as DefOS to get the window scaling factor.",
|
|
839
|
+
"description": "Set window scaling factor (basically retina or no retina screen). There is no built-in way to detect if Defold is running on a retina or non retina screen. This information combined with the High DPI setting in game.project can be used to ensure that the zoom behaves the same way regardless of screen type and High DPI setting. You can use an extension such as DefOS to get the window scaling factor.",
|
|
840
|
+
"parameters": [
|
|
841
|
+
{
|
|
842
|
+
"name": "scaling_factor",
|
|
843
|
+
"doc": "Current window scaling factor",
|
|
844
|
+
"types": [
|
|
845
|
+
"number"
|
|
846
|
+
],
|
|
847
|
+
"is_optional": "False"
|
|
848
|
+
}
|
|
849
|
+
],
|
|
850
|
+
"returnvalues": []
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"type": "VARIABLE",
|
|
854
|
+
"name": "PROJECTOR",
|
|
855
|
+
"types": [
|
|
856
|
+
"{ FIXED_ZOOM: Hash; DEFAULT: Hash; FIXED_AUTO: Hash; }"
|
|
857
|
+
],
|
|
858
|
+
"fields": [
|
|
859
|
+
{
|
|
860
|
+
"name": "FIXED_ZOOM",
|
|
861
|
+
"doc": "",
|
|
862
|
+
"types": [
|
|
863
|
+
"Hash"
|
|
864
|
+
],
|
|
865
|
+
"is_optional": "False"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "DEFAULT",
|
|
869
|
+
"doc": "",
|
|
870
|
+
"types": [
|
|
871
|
+
"Hash"
|
|
872
|
+
],
|
|
873
|
+
"is_optional": "False"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "FIXED_AUTO",
|
|
877
|
+
"doc": "",
|
|
878
|
+
"types": [
|
|
879
|
+
"Hash"
|
|
880
|
+
],
|
|
881
|
+
"is_optional": "False"
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"type": "VARIABLE",
|
|
887
|
+
"name": "SHAKE_BOTH",
|
|
888
|
+
"types": [
|
|
889
|
+
"Hash"
|
|
890
|
+
]
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"type": "VARIABLE",
|
|
894
|
+
"name": "SHAKE_VERTICAL",
|
|
895
|
+
"types": [
|
|
896
|
+
"Hash"
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"type": "VARIABLE",
|
|
901
|
+
"name": "SHAKE_HORIZONTAL",
|
|
902
|
+
"types": [
|
|
903
|
+
"Hash"
|
|
904
|
+
]
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"type": "VARIABLE",
|
|
908
|
+
"name": "ORTHOGRAPHIC_RENDER_SCRIPT_USED",
|
|
909
|
+
"types": [
|
|
910
|
+
"boolean"
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"type": "VARIABLE",
|
|
915
|
+
"name": "MSG_DISABLE",
|
|
916
|
+
"types": [
|
|
917
|
+
"Hash"
|
|
918
|
+
]
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"type": "VARIABLE",
|
|
922
|
+
"name": "MSG_UNFOLLOW",
|
|
923
|
+
"types": [
|
|
924
|
+
"Hash"
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"type": "VARIABLE",
|
|
929
|
+
"name": "MSG_FOLLOW",
|
|
930
|
+
"types": [
|
|
931
|
+
"Hash"
|
|
932
|
+
]
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"type": "VARIABLE",
|
|
936
|
+
"name": "MSG_FOLLOW_OFFSET",
|
|
937
|
+
"types": [
|
|
938
|
+
"Hash"
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"type": "VARIABLE",
|
|
943
|
+
"name": "MSG_RECOIL",
|
|
944
|
+
"types": [
|
|
945
|
+
"Hash"
|
|
946
|
+
]
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"type": "VARIABLE",
|
|
950
|
+
"name": "MSG_SHAKE",
|
|
951
|
+
"types": [
|
|
952
|
+
"Hash"
|
|
953
|
+
]
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"type": "VARIABLE",
|
|
957
|
+
"name": "MSG_SHAKE_COMPLETED",
|
|
958
|
+
"types": [
|
|
959
|
+
"Hash"
|
|
960
|
+
]
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"type": "VARIABLE",
|
|
964
|
+
"name": "MSG_STOP_SHAKING",
|
|
965
|
+
"types": [
|
|
966
|
+
"Hash"
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"type": "VARIABLE",
|
|
971
|
+
"name": "MSG_DEADZONE",
|
|
972
|
+
"types": [
|
|
973
|
+
"Hash"
|
|
974
|
+
]
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"type": "VARIABLE",
|
|
978
|
+
"name": "MSG_BOUNDS",
|
|
979
|
+
"types": [
|
|
980
|
+
"Hash"
|
|
981
|
+
]
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"type": "VARIABLE",
|
|
985
|
+
"name": "MSG_UPDATE_CAMERA",
|
|
986
|
+
"types": [
|
|
987
|
+
"Hash"
|
|
988
|
+
]
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"type": "VARIABLE",
|
|
992
|
+
"name": "MSG_ZOOM_TO",
|
|
993
|
+
"types": [
|
|
994
|
+
"Hash"
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"type": "VARIABLE",
|
|
999
|
+
"name": "MSG_USE_PROJECTION",
|
|
1000
|
+
"types": [
|
|
1001
|
+
"Hash"
|
|
1002
|
+
]
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"type": "VARIABLE",
|
|
1006
|
+
"name": "MSG_VIEWPORT",
|
|
1007
|
+
"types": [
|
|
1008
|
+
"Hash"
|
|
1009
|
+
]
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"type": "VARIABLE",
|
|
1013
|
+
"name": "MSG_ENABLE",
|
|
1014
|
+
"types": [
|
|
1015
|
+
"Hash"
|
|
1016
|
+
]
|
|
1017
|
+
}
|
|
1018
|
+
]
|
|
1019
|
+
}
|