@defold-typescript/types 0.53.0 → 0.54.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.
Files changed (335) hide show
  1. package/dist/cli-runtime.js +8966 -0
  2. package/dist/identity-vocabulary.json +660 -0
  3. package/dist/src/index.d.ts +18 -0
  4. package/fixtures/defold-1.12.4/b2d_body_doc.json +1327 -0
  5. package/fixtures/defold-1.12.4/b2d_doc.json +107 -0
  6. package/fixtures/defold-1.12.4/base_doc.json +758 -0
  7. package/fixtures/defold-1.12.4/bit_doc.json +404 -0
  8. package/fixtures/defold-1.12.4/buffer_doc.json +422 -0
  9. package/fixtures/defold-1.12.4/camera_doc.json +664 -0
  10. package/fixtures/defold-1.12.4/collectionfactory_doc.json +219 -0
  11. package/fixtures/defold-1.12.4/collectionproxy_doc.json +289 -0
  12. package/fixtures/defold-1.12.4/coroutine_doc.json +151 -0
  13. package/fixtures/defold-1.12.4/crash_doc.json +497 -0
  14. package/fixtures/defold-1.12.4/debug_doc.json +410 -0
  15. package/fixtures/defold-1.12.4/factory_doc.json +219 -0
  16. package/fixtures/defold-1.12.4/font_doc.json +141 -0
  17. package/fixtures/defold-1.12.4/globals_doc.json +42 -0
  18. package/fixtures/defold-1.12.4/go-instance-functions.json +111 -0
  19. package/fixtures/defold-1.12.4/go_doc.json +1901 -0
  20. package/fixtures/defold-1.12.4/graphics_doc.json +1634 -0
  21. package/fixtures/defold-1.12.4/gui_doc.json +5249 -0
  22. package/fixtures/defold-1.12.4/html5_doc.json +64 -0
  23. package/fixtures/defold-1.12.4/http_doc.json +66 -0
  24. package/fixtures/defold-1.12.4/image_doc.json +170 -0
  25. package/fixtures/defold-1.12.4/io_doc.json +399 -0
  26. package/fixtures/defold-1.12.4/json_doc.json +97 -0
  27. package/fixtures/defold-1.12.4/label_doc.json +220 -0
  28. package/fixtures/defold-1.12.4/liveupdate_doc.json +308 -0
  29. package/fixtures/defold-1.12.4/math_doc.json +702 -0
  30. package/fixtures/defold-1.12.4/messages_doc.json +579 -0
  31. package/fixtures/defold-1.12.4/model_doc.json +315 -0
  32. package/fixtures/defold-1.12.4/msg_doc.json +137 -0
  33. package/fixtures/defold-1.12.4/os_doc.json +266 -0
  34. package/fixtures/defold-1.12.4/package_doc.json +139 -0
  35. package/fixtures/defold-1.12.4/particlefx_doc.json +249 -0
  36. package/fixtures/defold-1.12.4/physics_doc.json +1120 -0
  37. package/fixtures/defold-1.12.4/profiler_doc.json +375 -0
  38. package/fixtures/defold-1.12.4/render_doc.json +1167 -0
  39. package/fixtures/defold-1.12.4/resource_doc.json +762 -0
  40. package/fixtures/defold-1.12.4/socket_doc.json +2194 -0
  41. package/fixtures/defold-1.12.4/sound_doc.json +582 -0
  42. package/fixtures/defold-1.12.4/sprite_doc.json +245 -0
  43. package/fixtures/defold-1.12.4/string_doc.json +412 -0
  44. package/fixtures/defold-1.12.4/sys_doc.json +853 -0
  45. package/fixtures/defold-1.12.4/table_doc.json +166 -0
  46. package/fixtures/defold-1.12.4/tilemap_doc.json +374 -0
  47. package/fixtures/defold-1.12.4/timer_doc.json +153 -0
  48. package/fixtures/defold-1.12.4/types_doc.json +212 -0
  49. package/fixtures/defold-1.12.4/vmath_doc.json +1814 -0
  50. package/fixtures/defold-1.12.4/window_doc.json +388 -0
  51. package/fixtures/defold-1.12.4/zlib_doc.json +70 -0
  52. package/fixtures/defold-1.13.0/b2d_body_doc.json +2428 -0
  53. package/fixtures/defold-1.13.0/b2d_chain_doc.json +394 -0
  54. package/fixtures/defold-1.13.0/b2d_doc.json +128 -0
  55. package/fixtures/defold-1.13.0/b2d_fixture_doc.json +594 -0
  56. package/fixtures/defold-1.13.0/b2d_joint_doc.json +3315 -0
  57. package/fixtures/defold-1.13.0/b2d_shape_doc.json +802 -0
  58. package/fixtures/defold-1.13.0/b2d_world_doc.json +1314 -0
  59. package/fixtures/defold-1.13.0/base_doc.json +758 -0
  60. package/fixtures/defold-1.13.0/bit_doc.json +404 -0
  61. package/fixtures/defold-1.13.0/buffer_doc.json +422 -0
  62. package/fixtures/defold-1.13.0/camera_doc.json +900 -0
  63. package/fixtures/defold-1.13.0/collectionfactory_doc.json +219 -0
  64. package/fixtures/defold-1.13.0/collectionproxy_doc.json +289 -0
  65. package/fixtures/defold-1.13.0/compute_doc.json +182 -0
  66. package/fixtures/defold-1.13.0/coroutine_doc.json +151 -0
  67. package/fixtures/defold-1.13.0/crash_doc.json +497 -0
  68. package/fixtures/defold-1.13.0/debug_doc.json +410 -0
  69. package/fixtures/defold-1.13.0/editor_doc.json +3665 -0
  70. package/fixtures/defold-1.13.0/editor_http_doc.json +273 -0
  71. package/fixtures/defold-1.13.0/editor_json_doc.json +59 -0
  72. package/fixtures/defold-1.13.0/editor_localization_doc.json +138 -0
  73. package/fixtures/defold-1.13.0/editor_pprint_doc.json +36 -0
  74. package/fixtures/defold-1.13.0/editor_tilemap_tiles_doc.json +235 -0
  75. package/fixtures/defold-1.13.0/editor_zip_doc.json +163 -0
  76. package/fixtures/defold-1.13.0/editor_zlib_doc.json +48 -0
  77. package/fixtures/defold-1.13.0/factory_doc.json +219 -0
  78. package/fixtures/defold-1.13.0/font_doc.json +141 -0
  79. package/fixtures/defold-1.13.0/globals_doc.json +42 -0
  80. package/fixtures/defold-1.13.0/go-instance-functions.json +101 -0
  81. package/fixtures/defold-1.13.0/go_doc.json +1989 -0
  82. package/fixtures/defold-1.13.0/graphics_doc.json +1886 -0
  83. package/fixtures/defold-1.13.0/gui_doc.json +5277 -0
  84. package/fixtures/defold-1.13.0/html5_doc.json +64 -0
  85. package/fixtures/defold-1.13.0/http_doc.json +66 -0
  86. package/fixtures/defold-1.13.0/image_doc.json +170 -0
  87. package/fixtures/defold-1.13.0/import-manifest.json +10558 -0
  88. package/fixtures/defold-1.13.0/io_doc.json +399 -0
  89. package/fixtures/defold-1.13.0/json_doc.json +97 -0
  90. package/fixtures/defold-1.13.0/label_doc.json +220 -0
  91. package/fixtures/defold-1.13.0/liveupdate_doc.json +330 -0
  92. package/fixtures/defold-1.13.0/material_doc.json +238 -0
  93. package/fixtures/defold-1.13.0/math_doc.json +702 -0
  94. package/fixtures/defold-1.13.0/model_doc.json +412 -0
  95. package/fixtures/defold-1.13.0/msg_doc.json +137 -0
  96. package/fixtures/defold-1.13.0/os_doc.json +266 -0
  97. package/fixtures/defold-1.13.0/package_doc.json +139 -0
  98. package/fixtures/defold-1.13.0/particlefx_doc.json +249 -0
  99. package/fixtures/defold-1.13.0/physics_doc.json +1492 -0
  100. package/fixtures/defold-1.13.0/profiler_doc.json +375 -0
  101. package/fixtures/defold-1.13.0/render_doc.json +1381 -0
  102. package/fixtures/defold-1.13.0/resource_doc.json +762 -0
  103. package/fixtures/defold-1.13.0/socket_doc.json +2194 -0
  104. package/fixtures/defold-1.13.0/sound_doc.json +582 -0
  105. package/fixtures/defold-1.13.0/sprite_doc.json +335 -0
  106. package/fixtures/defold-1.13.0/string_doc.json +412 -0
  107. package/fixtures/defold-1.13.0/sys_doc.json +1142 -0
  108. package/fixtures/defold-1.13.0/table_doc.json +166 -0
  109. package/fixtures/defold-1.13.0/tilemap_doc.json +402 -0
  110. package/fixtures/defold-1.13.0/timer_doc.json +153 -0
  111. package/fixtures/defold-1.13.0/types_doc.json +212 -0
  112. package/fixtures/defold-1.13.0/vmath_doc.json +1814 -0
  113. package/fixtures/defold-1.13.0/window_doc.json +388 -0
  114. package/fixtures/defold-1.13.0/zlib_doc.json +70 -0
  115. package/fixtures/defold-1.13.1/b2d_body_doc.json +2428 -0
  116. package/fixtures/defold-1.13.1/b2d_chain_doc.json +394 -0
  117. package/fixtures/defold-1.13.1/b2d_doc.json +128 -0
  118. package/fixtures/defold-1.13.1/b2d_fixture_doc.json +594 -0
  119. package/fixtures/defold-1.13.1/b2d_joint_doc.json +3315 -0
  120. package/fixtures/defold-1.13.1/b2d_shape_doc.json +802 -0
  121. package/fixtures/defold-1.13.1/b2d_world_doc.json +1314 -0
  122. package/fixtures/defold-1.13.1/base_doc.json +758 -0
  123. package/fixtures/defold-1.13.1/bit_doc.json +404 -0
  124. package/fixtures/defold-1.13.1/buffer_doc.json +422 -0
  125. package/fixtures/defold-1.13.1/camera_doc.json +900 -0
  126. package/fixtures/defold-1.13.1/collectionfactory_doc.json +219 -0
  127. package/fixtures/defold-1.13.1/collectionproxy_doc.json +323 -0
  128. package/fixtures/defold-1.13.1/compute_doc.json +182 -0
  129. package/fixtures/defold-1.13.1/coroutine_doc.json +151 -0
  130. package/fixtures/defold-1.13.1/crash_doc.json +497 -0
  131. package/fixtures/defold-1.13.1/debug_doc.json +410 -0
  132. package/fixtures/defold-1.13.1/editor_doc.json +3880 -0
  133. package/fixtures/defold-1.13.1/editor_http_doc.json +273 -0
  134. package/fixtures/defold-1.13.1/editor_image_doc.json +128 -0
  135. package/fixtures/defold-1.13.1/editor_json_doc.json +59 -0
  136. package/fixtures/defold-1.13.1/editor_localization_doc.json +138 -0
  137. package/fixtures/defold-1.13.1/editor_pprint_doc.json +36 -0
  138. package/fixtures/defold-1.13.1/editor_tilemap_tiles_doc.json +235 -0
  139. package/fixtures/defold-1.13.1/editor_zip_doc.json +163 -0
  140. package/fixtures/defold-1.13.1/editor_zlib_doc.json +48 -0
  141. package/fixtures/defold-1.13.1/factory_doc.json +219 -0
  142. package/fixtures/defold-1.13.1/font_doc.json +141 -0
  143. package/fixtures/defold-1.13.1/globals_doc.json +42 -0
  144. package/fixtures/defold-1.13.1/go-instance-functions.json +102 -0
  145. package/fixtures/defold-1.13.1/go_doc.json +1989 -0
  146. package/fixtures/defold-1.13.1/graphics_doc.json +1886 -0
  147. package/fixtures/defold-1.13.1/gui_doc.json +5277 -0
  148. package/fixtures/defold-1.13.1/html5_doc.json +64 -0
  149. package/fixtures/defold-1.13.1/http_doc.json +66 -0
  150. package/fixtures/defold-1.13.1/image_doc.json +170 -0
  151. package/fixtures/defold-1.13.1/import-manifest.json +10091 -0
  152. package/fixtures/defold-1.13.1/io_doc.json +399 -0
  153. package/fixtures/defold-1.13.1/json_doc.json +97 -0
  154. package/fixtures/defold-1.13.1/label_doc.json +220 -0
  155. package/fixtures/defold-1.13.1/liveupdate_doc.json +330 -0
  156. package/fixtures/defold-1.13.1/material_doc.json +238 -0
  157. package/fixtures/defold-1.13.1/math_doc.json +702 -0
  158. package/fixtures/defold-1.13.1/model_doc.json +412 -0
  159. package/fixtures/defold-1.13.1/msg_doc.json +137 -0
  160. package/fixtures/defold-1.13.1/os_doc.json +266 -0
  161. package/fixtures/defold-1.13.1/package_doc.json +139 -0
  162. package/fixtures/defold-1.13.1/particlefx_doc.json +249 -0
  163. package/fixtures/defold-1.13.1/physics_doc.json +1492 -0
  164. package/fixtures/defold-1.13.1/profiler_doc.json +375 -0
  165. package/fixtures/defold-1.13.1/render_doc.json +1381 -0
  166. package/fixtures/defold-1.13.1/resource_doc.json +762 -0
  167. package/fixtures/defold-1.13.1/socket_doc.json +2194 -0
  168. package/fixtures/defold-1.13.1/sound_doc.json +582 -0
  169. package/fixtures/defold-1.13.1/sprite_doc.json +335 -0
  170. package/fixtures/defold-1.13.1/string_doc.json +412 -0
  171. package/fixtures/defold-1.13.1/sys_doc.json +1142 -0
  172. package/fixtures/defold-1.13.1/table_doc.json +166 -0
  173. package/fixtures/defold-1.13.1/tilemap_doc.json +402 -0
  174. package/fixtures/defold-1.13.1/timer_doc.json +153 -0
  175. package/fixtures/defold-1.13.1/types_doc.json +212 -0
  176. package/fixtures/defold-1.13.1/vmath_doc.json +1814 -0
  177. package/fixtures/defold-1.13.1/window_doc.json +388 -0
  178. package/fixtures/defold-1.13.1/zlib_doc.json +70 -0
  179. package/fixtures/defold-1.13.2/b2d_body_doc.json +2359 -0
  180. package/fixtures/defold-1.13.2/b2d_chain_doc.json +395 -0
  181. package/fixtures/defold-1.13.2/b2d_doc.json +1945 -0
  182. package/fixtures/defold-1.13.2/b2d_fixture_doc.json +595 -0
  183. package/fixtures/defold-1.13.2/b2d_joint_doc.json +3178 -0
  184. package/fixtures/defold-1.13.2/b2d_shape_doc.json +767 -0
  185. package/fixtures/defold-1.13.2/b2d_world_doc.json +1315 -0
  186. package/fixtures/defold-1.13.2/base_doc.json +759 -0
  187. package/fixtures/defold-1.13.2/bit_doc.json +405 -0
  188. package/fixtures/defold-1.13.2/buffer_doc.json +393 -0
  189. package/fixtures/defold-1.13.2/bullet3d_collision_object_doc.json +1206 -0
  190. package/fixtures/defold-1.13.2/bullet3d_constraint_doc.json +2455 -0
  191. package/fixtures/defold-1.13.2/bullet3d_doc.json +215 -0
  192. package/fixtures/defold-1.13.2/bullet3d_rigid_body_doc.json +1376 -0
  193. package/fixtures/defold-1.13.2/bullet3d_shape_doc.json +430 -0
  194. package/fixtures/defold-1.13.2/bullet3d_world_doc.json +855 -0
  195. package/fixtures/defold-1.13.2/camera_doc.json +887 -0
  196. package/fixtures/defold-1.13.2/collectionfactory_doc.json +206 -0
  197. package/fixtures/defold-1.13.2/collectionproxy_doc.json +397 -0
  198. package/fixtures/defold-1.13.2/compute_doc.json +183 -0
  199. package/fixtures/defold-1.13.2/coroutine_doc.json +152 -0
  200. package/fixtures/defold-1.13.2/crash_doc.json +483 -0
  201. package/fixtures/defold-1.13.2/debug_doc.json +411 -0
  202. package/fixtures/defold-1.13.2/editor_doc.json +6320 -0
  203. package/fixtures/defold-1.13.2/editor_http_doc.json +476 -0
  204. package/fixtures/defold-1.13.2/editor_image_doc.json +129 -0
  205. package/fixtures/defold-1.13.2/editor_json_doc.json +81 -0
  206. package/fixtures/defold-1.13.2/editor_localization_doc.json +139 -0
  207. package/fixtures/defold-1.13.2/editor_pprint_doc.json +37 -0
  208. package/fixtures/defold-1.13.2/editor_tilemap_tiles_doc.json +292 -0
  209. package/fixtures/defold-1.13.2/editor_zip_doc.json +237 -0
  210. package/fixtures/defold-1.13.2/editor_zlib_doc.json +49 -0
  211. package/fixtures/defold-1.13.2/factory_doc.json +206 -0
  212. package/fixtures/defold-1.13.2/font_doc.json +230 -0
  213. package/fixtures/defold-1.13.2/globals_doc.json +64 -0
  214. package/fixtures/defold-1.13.2/go-instance-functions.json +106 -0
  215. package/fixtures/defold-1.13.2/go_doc.json +1789 -0
  216. package/fixtures/defold-1.13.2/graphics_doc.json +1211 -0
  217. package/fixtures/defold-1.13.2/gui_doc.json +4735 -0
  218. package/fixtures/defold-1.13.2/html5_doc.json +65 -0
  219. package/fixtures/defold-1.13.2/http_doc.json +174 -0
  220. package/fixtures/defold-1.13.2/image_doc.json +298 -0
  221. package/fixtures/defold-1.13.2/import-manifest.json +10902 -0
  222. package/fixtures/defold-1.13.2/io_doc.json +400 -0
  223. package/fixtures/defold-1.13.2/json_doc.json +140 -0
  224. package/fixtures/defold-1.13.2/label_doc.json +427 -0
  225. package/fixtures/defold-1.13.2/liveupdate_doc.json +221 -0
  226. package/fixtures/defold-1.13.2/material_doc.json +773 -0
  227. package/fixtures/defold-1.13.2/math_doc.json +703 -0
  228. package/fixtures/defold-1.13.2/model_doc.json +472 -0
  229. package/fixtures/defold-1.13.2/msg_doc.json +169 -0
  230. package/fixtures/defold-1.13.2/os_doc.json +269 -0
  231. package/fixtures/defold-1.13.2/package_doc.json +140 -0
  232. package/fixtures/defold-1.13.2/particlefx_doc.json +249 -0
  233. package/fixtures/defold-1.13.2/physics_doc.json +1624 -0
  234. package/fixtures/defold-1.13.2/profiler_doc.json +348 -0
  235. package/fixtures/defold-1.13.2/render_doc.json +1623 -0
  236. package/fixtures/defold-1.13.2/resource_doc.json +1539 -0
  237. package/fixtures/defold-1.13.2/socket_doc.json +2335 -0
  238. package/fixtures/defold-1.13.2/sound_doc.json +673 -0
  239. package/fixtures/defold-1.13.2/sprite_doc.json +364 -0
  240. package/fixtures/defold-1.13.2/string_doc.json +413 -0
  241. package/fixtures/defold-1.13.2/sys_doc.json +1347 -0
  242. package/fixtures/defold-1.13.2/table_doc.json +167 -0
  243. package/fixtures/defold-1.13.2/tilemap_doc.json +369 -0
  244. package/fixtures/defold-1.13.2/timer_doc.json +214 -0
  245. package/fixtures/defold-1.13.2/types_doc.json +213 -0
  246. package/fixtures/defold-1.13.2/vmath_doc.json +2056 -0
  247. package/fixtures/defold-1.13.2/window_doc.json +426 -0
  248. package/fixtures/defold-1.13.2/zlib_doc.json +71 -0
  249. package/fixtures/defold-1.14.0/b2d_body_doc.json +2359 -0
  250. package/fixtures/defold-1.14.0/b2d_chain_doc.json +395 -0
  251. package/fixtures/defold-1.14.0/b2d_doc.json +1973 -0
  252. package/fixtures/defold-1.14.0/b2d_fixture_doc.json +595 -0
  253. package/fixtures/defold-1.14.0/b2d_joint_doc.json +3178 -0
  254. package/fixtures/defold-1.14.0/b2d_shape_doc.json +767 -0
  255. package/fixtures/defold-1.14.0/b2d_world_doc.json +1315 -0
  256. package/fixtures/defold-1.14.0/base_doc.json +759 -0
  257. package/fixtures/defold-1.14.0/bit_doc.json +405 -0
  258. package/fixtures/defold-1.14.0/buffer_doc.json +393 -0
  259. package/fixtures/defold-1.14.0/bullet3d_collision_object_doc.json +1206 -0
  260. package/fixtures/defold-1.14.0/bullet3d_constraint_doc.json +2455 -0
  261. package/fixtures/defold-1.14.0/bullet3d_doc.json +243 -0
  262. package/fixtures/defold-1.14.0/bullet3d_rigid_body_doc.json +1376 -0
  263. package/fixtures/defold-1.14.0/bullet3d_shape_doc.json +430 -0
  264. package/fixtures/defold-1.14.0/bullet3d_world_doc.json +855 -0
  265. package/fixtures/defold-1.14.0/camera_doc.json +887 -0
  266. package/fixtures/defold-1.14.0/collectionfactory_doc.json +206 -0
  267. package/fixtures/defold-1.14.0/collectionproxy_doc.json +397 -0
  268. package/fixtures/defold-1.14.0/compute_doc.json +183 -0
  269. package/fixtures/defold-1.14.0/coroutine_doc.json +152 -0
  270. package/fixtures/defold-1.14.0/crash_doc.json +483 -0
  271. package/fixtures/defold-1.14.0/debug_doc.json +411 -0
  272. package/fixtures/defold-1.14.0/editor_doc.json +6320 -0
  273. package/fixtures/defold-1.14.0/editor_http_doc.json +476 -0
  274. package/fixtures/defold-1.14.0/editor_image_doc.json +129 -0
  275. package/fixtures/defold-1.14.0/editor_json_doc.json +81 -0
  276. package/fixtures/defold-1.14.0/editor_localization_doc.json +139 -0
  277. package/fixtures/defold-1.14.0/editor_pprint_doc.json +37 -0
  278. package/fixtures/defold-1.14.0/editor_tilemap_tiles_doc.json +292 -0
  279. package/fixtures/defold-1.14.0/editor_zip_doc.json +237 -0
  280. package/fixtures/defold-1.14.0/editor_zlib_doc.json +49 -0
  281. package/fixtures/defold-1.14.0/factory_doc.json +206 -0
  282. package/fixtures/defold-1.14.0/font_doc.json +230 -0
  283. package/fixtures/defold-1.14.0/globals_doc.json +64 -0
  284. package/fixtures/defold-1.14.0/go-instance-functions.json +106 -0
  285. package/fixtures/defold-1.14.0/go_doc.json +1789 -0
  286. package/fixtures/defold-1.14.0/graphics_doc.json +1257 -0
  287. package/fixtures/defold-1.14.0/gui_doc.json +4735 -0
  288. package/fixtures/defold-1.14.0/html5_doc.json +65 -0
  289. package/fixtures/defold-1.14.0/http_doc.json +174 -0
  290. package/fixtures/defold-1.14.0/image_doc.json +298 -0
  291. package/fixtures/defold-1.14.0/import-manifest.json +10260 -0
  292. package/fixtures/defold-1.14.0/io_doc.json +400 -0
  293. package/fixtures/defold-1.14.0/json_doc.json +140 -0
  294. package/fixtures/defold-1.14.0/label_doc.json +427 -0
  295. package/fixtures/defold-1.14.0/liveupdate_doc.json +221 -0
  296. package/fixtures/defold-1.14.0/material_doc.json +773 -0
  297. package/fixtures/defold-1.14.0/math_doc.json +703 -0
  298. package/fixtures/defold-1.14.0/model_doc.json +472 -0
  299. package/fixtures/defold-1.14.0/msg_doc.json +169 -0
  300. package/fixtures/defold-1.14.0/os_doc.json +269 -0
  301. package/fixtures/defold-1.14.0/package_doc.json +140 -0
  302. package/fixtures/defold-1.14.0/particlefx_doc.json +249 -0
  303. package/fixtures/defold-1.14.0/physics_doc.json +1624 -0
  304. package/fixtures/defold-1.14.0/profiler_doc.json +348 -0
  305. package/fixtures/defold-1.14.0/render_doc.json +1628 -0
  306. package/fixtures/defold-1.14.0/resource_doc.json +1539 -0
  307. package/fixtures/defold-1.14.0/socket_doc.json +2335 -0
  308. package/fixtures/defold-1.14.0/sound_doc.json +673 -0
  309. package/fixtures/defold-1.14.0/sprite_doc.json +364 -0
  310. package/fixtures/defold-1.14.0/string_doc.json +413 -0
  311. package/fixtures/defold-1.14.0/sys_doc.json +1347 -0
  312. package/fixtures/defold-1.14.0/table_doc.json +167 -0
  313. package/fixtures/defold-1.14.0/tilemap_doc.json +369 -0
  314. package/fixtures/defold-1.14.0/timer_doc.json +214 -0
  315. package/fixtures/defold-1.14.0/types_doc.json +213 -0
  316. package/fixtures/defold-1.14.0/vmath_doc.json +2056 -0
  317. package/fixtures/defold-1.14.0/window_doc.json +426 -0
  318. package/fixtures/defold-1.14.0/zlib_doc.json +71 -0
  319. package/package.json +13 -6
  320. package/scripts/cli-runtime.ts +18 -0
  321. package/scripts/example-store-io.ts +2 -2
  322. package/scripts/extension-goldens.ts +9 -5
  323. package/scripts/generate-api-availability.ts +1 -1
  324. package/scripts/generate-api-signatures.ts +1 -1
  325. package/scripts/import-defold-release.ts +1 -1
  326. package/scripts/regen.ts +35 -9
  327. package/scripts/signature-store-fs.ts +37 -17
  328. package/scripts/sync-api-docs.ts +127 -20
  329. package/src/api-doc.ts +11 -4
  330. package/src/emit-dts.ts +115 -21
  331. package/src/index-slot-classifications.ts +75 -9
  332. package/src/index.ts +3 -1
  333. package/src/publish-dts.ts +16 -0
  334. package/src/script-api.ts +36 -38
  335. package/src/library-index-slot-classifications.ts +0 -332
@@ -0,0 +1,1314 @@
1
+ {
2
+ "elements": [
3
+ {
4
+ "type": "FUNCTION",
5
+ "name": "b2d.world.overlap_aabb",
6
+ "brief": "Overlap an AABB.",
7
+ "description": "Overlap an AABB.",
8
+ "returnvalues": [
9
+ {
10
+ "name": "fixtures",
11
+ "doc": "array of fixture info tables",
12
+ "types": ["table"]
13
+ },
14
+ {
15
+ "name": "stats",
16
+ "doc": "table with <code>node_visits</code> and <code>leaf_visits</code>",
17
+ "types": ["table"]
18
+ }
19
+ ],
20
+ "parameters": [
21
+ {
22
+ "name": "world",
23
+ "doc": "world from <code>b2d.get_world</code> or <code>b2d.body.get_world</code>",
24
+ "types": ["b2World"],
25
+ "is_optional": "False"
26
+ },
27
+ {
28
+ "name": "aabb",
29
+ "doc": "table with <code>lower</code> and <code>upper</code> vector3 fields",
30
+ "types": ["table"],
31
+ "is_optional": "False"
32
+ },
33
+ {
34
+ "name": "filter",
35
+ "doc": "optional query filter with <code>category_bits</code>, <code>mask_bits</code>, and optional <code>group_index</code>",
36
+ "types": ["table"],
37
+ "is_optional": "False"
38
+ },
39
+ {
40
+ "name": "max_results",
41
+ "doc": "optional maximum result count",
42
+ "types": ["number"],
43
+ "is_optional": "False"
44
+ }
45
+ ],
46
+ "examples": "",
47
+ "replaces": "",
48
+ "error": "",
49
+ "tparams": [],
50
+ "members": [],
51
+ "notes": [],
52
+ "language": ""
53
+ },
54
+ {
55
+ "type": "FUNCTION",
56
+ "name": "b2d.world.overlap_shape",
57
+ "brief": "Overlap a shape.",
58
+ "description": "Overlap a shape.",
59
+ "returnvalues": [
60
+ {
61
+ "name": "fixtures",
62
+ "doc": "array of fixture info tables",
63
+ "types": ["table"]
64
+ },
65
+ {
66
+ "name": "stats",
67
+ "doc": "table with <code>node_visits</code> and <code>leaf_visits</code>",
68
+ "types": ["table"]
69
+ }
70
+ ],
71
+ "parameters": [
72
+ {
73
+ "name": "world",
74
+ "doc": "world from <code>b2d.get_world</code> or <code>b2d.body.get_world</code>",
75
+ "types": ["b2World"],
76
+ "is_optional": "False"
77
+ },
78
+ {
79
+ "name": "shape",
80
+ "doc": "shape table using the same format as the <code>shape</code> field in <code>b2d.body.create_fixture</code>",
81
+ "types": ["table"],
82
+ "is_optional": "False"
83
+ },
84
+ {
85
+ "name": "filter",
86
+ "doc": "optional query filter with <code>category_bits</code>, <code>mask_bits</code>, and optional <code>group_index</code>",
87
+ "types": ["table"],
88
+ "is_optional": "False"
89
+ },
90
+ {
91
+ "name": "max_results",
92
+ "doc": "optional maximum result count",
93
+ "types": ["number"],
94
+ "is_optional": "False"
95
+ }
96
+ ],
97
+ "examples": "",
98
+ "replaces": "",
99
+ "error": "",
100
+ "tparams": [],
101
+ "members": [],
102
+ "notes": [],
103
+ "language": ""
104
+ },
105
+ {
106
+ "type": "FUNCTION",
107
+ "name": "b2d.world.cast_ray",
108
+ "brief": "Cast a ray.",
109
+ "description": "Cast a ray.",
110
+ "returnvalues": [
111
+ {
112
+ "name": "hits",
113
+ "doc": "array of hit tables with <code>fixture</code>, <code>shape</code>, <code>point</code>, <code>normal</code>, and <code>fraction</code>",
114
+ "types": ["table"]
115
+ },
116
+ {
117
+ "name": "stats",
118
+ "doc": "table with <code>node_visits</code> and <code>leaf_visits</code>",
119
+ "types": ["table"]
120
+ }
121
+ ],
122
+ "parameters": [
123
+ {
124
+ "name": "world",
125
+ "doc": "world from <code>b2d.get_world</code> or <code>b2d.body.get_world</code>",
126
+ "types": ["b2World"],
127
+ "is_optional": "False"
128
+ },
129
+ {
130
+ "name": "origin",
131
+ "doc": "world ray origin",
132
+ "types": ["vector3"],
133
+ "is_optional": "False"
134
+ },
135
+ {
136
+ "name": "translation",
137
+ "doc": "world ray translation",
138
+ "types": ["vector3"],
139
+ "is_optional": "False"
140
+ },
141
+ {
142
+ "name": "filter",
143
+ "doc": "optional query filter with <code>category_bits</code>, <code>mask_bits</code>, and optional <code>group_index</code>",
144
+ "types": ["table"],
145
+ "is_optional": "False"
146
+ },
147
+ {
148
+ "name": "max_results",
149
+ "doc": "optional maximum result count",
150
+ "types": ["number"],
151
+ "is_optional": "False"
152
+ }
153
+ ],
154
+ "examples": "",
155
+ "replaces": "",
156
+ "error": "",
157
+ "tparams": [],
158
+ "members": [],
159
+ "notes": [],
160
+ "language": ""
161
+ },
162
+ {
163
+ "type": "FUNCTION",
164
+ "name": "b2d.world.cast_ray_closest",
165
+ "brief": "Cast a ray and return the closest hit.",
166
+ "description": "Cast a ray and return the closest hit.",
167
+ "returnvalues": [
168
+ {
169
+ "name": "hit",
170
+ "doc": "hit table with <code>fixture</code>, <code>shape</code>, <code>point</code>, <code>normal</code>, <code>fraction</code>, <code>node_visits</code>, and <code>leaf_visits</code>, or nil",
171
+ "types": ["table"]
172
+ }
173
+ ],
174
+ "parameters": [
175
+ {
176
+ "name": "world",
177
+ "doc": "world from <code>b2d.get_world</code> or <code>b2d.body.get_world</code>",
178
+ "types": ["b2World"],
179
+ "is_optional": "False"
180
+ },
181
+ {
182
+ "name": "origin",
183
+ "doc": "world ray origin",
184
+ "types": ["vector3"],
185
+ "is_optional": "False"
186
+ },
187
+ {
188
+ "name": "translation",
189
+ "doc": "world ray translation",
190
+ "types": ["vector3"],
191
+ "is_optional": "False"
192
+ },
193
+ {
194
+ "name": "filter",
195
+ "doc": "optional query filter with <code>category_bits</code>, <code>mask_bits</code>, and optional <code>group_index</code>",
196
+ "types": ["table"],
197
+ "is_optional": "False"
198
+ }
199
+ ],
200
+ "examples": "",
201
+ "replaces": "",
202
+ "error": "",
203
+ "tparams": [],
204
+ "members": [],
205
+ "notes": [],
206
+ "language": ""
207
+ },
208
+ {
209
+ "type": "FUNCTION",
210
+ "name": "b2d.world.cast_shape",
211
+ "brief": "Cast a shape.",
212
+ "description": "Uses Box2D v2 time-of-impact for fixture child shapes that support distance proxies.\nGrid fixture children are skipped.",
213
+ "returnvalues": [
214
+ {
215
+ "name": "hits",
216
+ "doc": "array of hit tables with <code>fixture</code>, <code>shape</code>, <code>point</code>, <code>normal</code>, and <code>fraction</code>",
217
+ "types": ["table"]
218
+ },
219
+ {
220
+ "name": "stats",
221
+ "doc": "table with <code>node_visits</code> and <code>leaf_visits</code>",
222
+ "types": ["table"]
223
+ }
224
+ ],
225
+ "parameters": [
226
+ {
227
+ "name": "world",
228
+ "doc": "world from <code>b2d.get_world</code> or <code>b2d.body.get_world</code>",
229
+ "types": ["b2World"],
230
+ "is_optional": "False"
231
+ },
232
+ {
233
+ "name": "shape",
234
+ "doc": "shape table using the same format as the <code>shape</code> field in <code>b2d.body.create_fixture</code>",
235
+ "types": ["table"],
236
+ "is_optional": "False"
237
+ },
238
+ {
239
+ "name": "translation",
240
+ "doc": "world shape translation",
241
+ "types": ["vector3"],
242
+ "is_optional": "False"
243
+ },
244
+ {
245
+ "name": "filter",
246
+ "doc": "optional query filter with <code>category_bits</code>, <code>mask_bits</code>, and optional <code>group_index</code>",
247
+ "types": ["table"],
248
+ "is_optional": "False"
249
+ },
250
+ {
251
+ "name": "max_results",
252
+ "doc": "optional maximum result count",
253
+ "types": ["number"],
254
+ "is_optional": "False"
255
+ }
256
+ ],
257
+ "examples": "",
258
+ "replaces": "",
259
+ "error": "",
260
+ "tparams": [],
261
+ "members": [],
262
+ "notes": [],
263
+ "language": ""
264
+ },
265
+ {
266
+ "type": "FUNCTION",
267
+ "name": "b2d.world.is_valid",
268
+ "brief": "Check whether a world handle is valid.",
269
+ "description": "Check whether a world handle is valid.",
270
+ "returnvalues": [
271
+ {
272
+ "name": "valid",
273
+ "doc": "true if the world handle is valid",
274
+ "types": ["boolean"]
275
+ }
276
+ ],
277
+ "parameters": [
278
+ {
279
+ "name": "world",
280
+ "doc": "world",
281
+ "types": ["b2World"],
282
+ "is_optional": "False"
283
+ }
284
+ ],
285
+ "examples": "",
286
+ "replaces": "",
287
+ "error": "",
288
+ "tparams": [],
289
+ "members": [],
290
+ "notes": [],
291
+ "language": ""
292
+ },
293
+ {
294
+ "type": "FUNCTION",
295
+ "name": "b2d.world.is_locked",
296
+ "brief": "Check whether the world is locked.",
297
+ "description": "The world is locked during callbacks and some simulation phases. Functions\nmarked as locked during callbacks cannot be called while this returns true.",
298
+ "returnvalues": [
299
+ {
300
+ "name": "locked",
301
+ "doc": "true if the world is locked",
302
+ "types": ["boolean"]
303
+ }
304
+ ],
305
+ "parameters": [
306
+ {
307
+ "name": "world",
308
+ "doc": "world",
309
+ "types": ["b2World"],
310
+ "is_optional": "False"
311
+ }
312
+ ],
313
+ "examples": "",
314
+ "replaces": "",
315
+ "error": "",
316
+ "tparams": [],
317
+ "members": [],
318
+ "notes": [],
319
+ "language": ""
320
+ },
321
+ {
322
+ "type": "FUNCTION",
323
+ "name": "b2d.world.get_gravity",
324
+ "brief": "Get world gravity.",
325
+ "description": "Get world gravity.",
326
+ "returnvalues": [
327
+ {
328
+ "name": "gravity",
329
+ "doc": "gravity vector",
330
+ "types": ["vector3"]
331
+ }
332
+ ],
333
+ "parameters": [
334
+ {
335
+ "name": "world",
336
+ "doc": "world",
337
+ "types": ["b2World"],
338
+ "is_optional": "False"
339
+ }
340
+ ],
341
+ "examples": "",
342
+ "replaces": "",
343
+ "error": "",
344
+ "tparams": [],
345
+ "members": [],
346
+ "notes": [],
347
+ "language": ""
348
+ },
349
+ {
350
+ "type": "FUNCTION",
351
+ "name": "b2d.world.set_gravity",
352
+ "brief": "Set world gravity.",
353
+ "description": "Set world gravity.",
354
+ "returnvalues": [],
355
+ "parameters": [
356
+ {
357
+ "name": "world",
358
+ "doc": "world",
359
+ "types": ["b2World"],
360
+ "is_optional": "False"
361
+ },
362
+ {
363
+ "name": "gravity",
364
+ "doc": "gravity vector",
365
+ "types": ["vector3"],
366
+ "is_optional": "False"
367
+ }
368
+ ],
369
+ "examples": "",
370
+ "replaces": "",
371
+ "error": "",
372
+ "tparams": [],
373
+ "members": [],
374
+ "notes": [],
375
+ "language": ""
376
+ },
377
+ {
378
+ "type": "FUNCTION",
379
+ "name": "b2d.world.enable_sleeping",
380
+ "brief": "Enable or disable world sleeping.",
381
+ "description": "Enable or disable world sleeping.",
382
+ "returnvalues": [],
383
+ "parameters": [
384
+ {
385
+ "name": "world",
386
+ "doc": "world",
387
+ "types": ["b2World"],
388
+ "is_optional": "False"
389
+ },
390
+ {
391
+ "name": "enable",
392
+ "doc": "true to allow sleeping",
393
+ "types": ["boolean"],
394
+ "is_optional": "False"
395
+ }
396
+ ],
397
+ "examples": "",
398
+ "replaces": "",
399
+ "error": "",
400
+ "tparams": [],
401
+ "members": [],
402
+ "notes": [],
403
+ "language": ""
404
+ },
405
+ {
406
+ "type": "FUNCTION",
407
+ "name": "b2d.world.is_sleeping_enabled",
408
+ "brief": "Get whether world sleeping is enabled.",
409
+ "description": "Get whether world sleeping is enabled.",
410
+ "returnvalues": [
411
+ {
412
+ "name": "enabled",
413
+ "doc": "true if sleeping is enabled",
414
+ "types": ["boolean"]
415
+ }
416
+ ],
417
+ "parameters": [
418
+ {
419
+ "name": "world",
420
+ "doc": "world",
421
+ "types": ["b2World"],
422
+ "is_optional": "False"
423
+ }
424
+ ],
425
+ "examples": "",
426
+ "replaces": "",
427
+ "error": "",
428
+ "tparams": [],
429
+ "members": [],
430
+ "notes": [],
431
+ "language": ""
432
+ },
433
+ {
434
+ "type": "FUNCTION",
435
+ "name": "b2d.world.enable_continuous",
436
+ "brief": "Enable or disable continuous collision.",
437
+ "description": "Enable or disable continuous collision.",
438
+ "returnvalues": [],
439
+ "parameters": [
440
+ {
441
+ "name": "world",
442
+ "doc": "world",
443
+ "types": ["b2World"],
444
+ "is_optional": "False"
445
+ },
446
+ {
447
+ "name": "enable",
448
+ "doc": "true to enable continuous collision",
449
+ "types": ["boolean"],
450
+ "is_optional": "False"
451
+ }
452
+ ],
453
+ "examples": "",
454
+ "replaces": "",
455
+ "error": "",
456
+ "tparams": [],
457
+ "members": [],
458
+ "notes": [],
459
+ "language": ""
460
+ },
461
+ {
462
+ "type": "FUNCTION",
463
+ "name": "b2d.world.is_continuous_enabled",
464
+ "brief": "Get whether continuous collision is enabled.",
465
+ "description": "Get whether continuous collision is enabled.",
466
+ "returnvalues": [
467
+ {
468
+ "name": "enabled",
469
+ "doc": "true if continuous collision is enabled",
470
+ "types": ["boolean"]
471
+ }
472
+ ],
473
+ "parameters": [
474
+ {
475
+ "name": "world",
476
+ "doc": "world",
477
+ "types": ["b2World"],
478
+ "is_optional": "False"
479
+ }
480
+ ],
481
+ "examples": "",
482
+ "replaces": "",
483
+ "error": "",
484
+ "tparams": [],
485
+ "members": [],
486
+ "notes": [],
487
+ "language": ""
488
+ },
489
+ {
490
+ "type": "FUNCTION",
491
+ "name": "b2d.world.set_restitution_threshold",
492
+ "brief": "Set the restitution threshold.",
493
+ "description": "Collisions below this relative speed use inelastic collision response.",
494
+ "returnvalues": [],
495
+ "parameters": [
496
+ {
497
+ "name": "world",
498
+ "doc": "world",
499
+ "types": ["b2World"],
500
+ "is_optional": "False"
501
+ },
502
+ {
503
+ "name": "threshold",
504
+ "doc": "restitution threshold in project units per second",
505
+ "types": ["number"],
506
+ "is_optional": "False"
507
+ }
508
+ ],
509
+ "examples": "",
510
+ "replaces": "",
511
+ "error": "",
512
+ "tparams": [],
513
+ "members": [],
514
+ "notes": [],
515
+ "language": ""
516
+ },
517
+ {
518
+ "type": "FUNCTION",
519
+ "name": "b2d.world.get_restitution_threshold",
520
+ "brief": "Get the restitution threshold.",
521
+ "description": "Get the restitution threshold.",
522
+ "returnvalues": [
523
+ {
524
+ "name": "threshold",
525
+ "doc": "restitution threshold in project units per second",
526
+ "types": ["number"]
527
+ }
528
+ ],
529
+ "parameters": [
530
+ {
531
+ "name": "world",
532
+ "doc": "world",
533
+ "types": ["b2World"],
534
+ "is_optional": "False"
535
+ }
536
+ ],
537
+ "examples": "",
538
+ "replaces": "",
539
+ "error": "",
540
+ "tparams": [],
541
+ "members": [],
542
+ "notes": [],
543
+ "language": ""
544
+ },
545
+ {
546
+ "type": "FUNCTION",
547
+ "name": "b2d.world.set_hit_event_threshold",
548
+ "brief": "Set the hit event threshold.",
549
+ "description": "Set the hit event threshold.",
550
+ "returnvalues": [],
551
+ "parameters": [
552
+ {
553
+ "name": "world",
554
+ "doc": "world",
555
+ "types": ["b2World"],
556
+ "is_optional": "False"
557
+ },
558
+ {
559
+ "name": "threshold",
560
+ "doc": "hit event threshold in project units per second",
561
+ "types": ["number"],
562
+ "is_optional": "False"
563
+ }
564
+ ],
565
+ "examples": "",
566
+ "replaces": "",
567
+ "error": "",
568
+ "tparams": [],
569
+ "members": [],
570
+ "notes": [],
571
+ "language": ""
572
+ },
573
+ {
574
+ "type": "FUNCTION",
575
+ "name": "b2d.world.get_hit_event_threshold",
576
+ "brief": "Get the hit event threshold.",
577
+ "description": "Get the hit event threshold.",
578
+ "returnvalues": [
579
+ {
580
+ "name": "threshold",
581
+ "doc": "hit event threshold in project units per second",
582
+ "types": ["number"]
583
+ }
584
+ ],
585
+ "parameters": [
586
+ {
587
+ "name": "world",
588
+ "doc": "world",
589
+ "types": ["b2World"],
590
+ "is_optional": "False"
591
+ }
592
+ ],
593
+ "examples": "",
594
+ "replaces": "",
595
+ "error": "",
596
+ "tparams": [],
597
+ "members": [],
598
+ "notes": [],
599
+ "language": ""
600
+ },
601
+ {
602
+ "type": "FUNCTION",
603
+ "name": "b2d.world.set_maximum_linear_speed",
604
+ "brief": "Set the maximum linear speed.",
605
+ "description": "Set the maximum linear speed.",
606
+ "returnvalues": [],
607
+ "parameters": [
608
+ {
609
+ "name": "world",
610
+ "doc": "world",
611
+ "types": ["b2World"],
612
+ "is_optional": "False"
613
+ },
614
+ {
615
+ "name": "speed",
616
+ "doc": "maximum linear speed in project units per second",
617
+ "types": ["number"],
618
+ "is_optional": "False"
619
+ }
620
+ ],
621
+ "examples": "",
622
+ "replaces": "",
623
+ "error": "",
624
+ "tparams": [],
625
+ "members": [],
626
+ "notes": [],
627
+ "language": ""
628
+ },
629
+ {
630
+ "type": "FUNCTION",
631
+ "name": "b2d.world.get_maximum_linear_speed",
632
+ "brief": "Get the maximum linear speed.",
633
+ "description": "Get the maximum linear speed.",
634
+ "returnvalues": [
635
+ {
636
+ "name": "speed",
637
+ "doc": "maximum linear speed in project units per second",
638
+ "types": ["number"]
639
+ }
640
+ ],
641
+ "parameters": [
642
+ {
643
+ "name": "world",
644
+ "doc": "world",
645
+ "types": ["b2World"],
646
+ "is_optional": "False"
647
+ }
648
+ ],
649
+ "examples": "",
650
+ "replaces": "",
651
+ "error": "",
652
+ "tparams": [],
653
+ "members": [],
654
+ "notes": [],
655
+ "language": ""
656
+ },
657
+ {
658
+ "type": "FUNCTION",
659
+ "name": "b2d.world.enable_warm_starting",
660
+ "brief": "Enable or disable warm starting.",
661
+ "description": "Enable or disable warm starting.",
662
+ "returnvalues": [],
663
+ "parameters": [
664
+ {
665
+ "name": "world",
666
+ "doc": "world",
667
+ "types": ["b2World"],
668
+ "is_optional": "False"
669
+ },
670
+ {
671
+ "name": "enable",
672
+ "doc": "true to enable warm starting",
673
+ "types": ["boolean"],
674
+ "is_optional": "False"
675
+ }
676
+ ],
677
+ "examples": "",
678
+ "replaces": "",
679
+ "error": "",
680
+ "tparams": [],
681
+ "members": [],
682
+ "notes": [],
683
+ "language": ""
684
+ },
685
+ {
686
+ "type": "FUNCTION",
687
+ "name": "b2d.world.is_warm_starting_enabled",
688
+ "brief": "Get whether warm starting is enabled.",
689
+ "description": "Get whether warm starting is enabled.",
690
+ "returnvalues": [
691
+ {
692
+ "name": "enabled",
693
+ "doc": "true if warm starting is enabled",
694
+ "types": ["boolean"]
695
+ }
696
+ ],
697
+ "parameters": [
698
+ {
699
+ "name": "world",
700
+ "doc": "world",
701
+ "types": ["b2World"],
702
+ "is_optional": "False"
703
+ }
704
+ ],
705
+ "examples": "",
706
+ "replaces": "",
707
+ "error": "",
708
+ "tparams": [],
709
+ "members": [],
710
+ "notes": [],
711
+ "language": ""
712
+ },
713
+ {
714
+ "type": "FUNCTION",
715
+ "name": "b2d.world.get_awake_body_count",
716
+ "brief": "Get the number of awake bodies.",
717
+ "description": "Get the number of awake bodies.",
718
+ "returnvalues": [
719
+ {
720
+ "name": "count",
721
+ "doc": "awake body count",
722
+ "types": ["number"]
723
+ }
724
+ ],
725
+ "parameters": [
726
+ {
727
+ "name": "world",
728
+ "doc": "world",
729
+ "types": ["b2World"],
730
+ "is_optional": "False"
731
+ }
732
+ ],
733
+ "examples": "",
734
+ "replaces": "",
735
+ "error": "",
736
+ "tparams": [],
737
+ "members": [],
738
+ "notes": [],
739
+ "language": ""
740
+ },
741
+ {
742
+ "type": "FUNCTION",
743
+ "name": "b2d.world.set_contact_tuning",
744
+ "brief": "Set contact solver tuning.",
745
+ "description": "Set contact solver tuning.",
746
+ "returnvalues": [],
747
+ "parameters": [
748
+ {
749
+ "name": "world",
750
+ "doc": "world",
751
+ "types": ["b2World"],
752
+ "is_optional": "False"
753
+ },
754
+ {
755
+ "name": "hertz",
756
+ "doc": "contact stiffness frequency in hertz",
757
+ "types": ["number"],
758
+ "is_optional": "False"
759
+ },
760
+ {
761
+ "name": "damping_ratio",
762
+ "doc": "contact damping ratio",
763
+ "types": ["number"],
764
+ "is_optional": "False"
765
+ },
766
+ {
767
+ "name": "pushout",
768
+ "doc": "pushout velocity in project units per second",
769
+ "types": ["number"],
770
+ "is_optional": "False"
771
+ }
772
+ ],
773
+ "examples": "",
774
+ "replaces": "",
775
+ "error": "",
776
+ "tparams": [],
777
+ "members": [],
778
+ "notes": [],
779
+ "language": ""
780
+ },
781
+ {
782
+ "type": "FUNCTION",
783
+ "name": "b2d.world.set_joint_tuning",
784
+ "brief": "Set joint solver tuning.",
785
+ "description": "Set joint solver tuning.",
786
+ "returnvalues": [],
787
+ "parameters": [
788
+ {
789
+ "name": "world",
790
+ "doc": "world",
791
+ "types": ["b2World"],
792
+ "is_optional": "False"
793
+ },
794
+ {
795
+ "name": "hertz",
796
+ "doc": "joint stiffness frequency in hertz",
797
+ "types": ["number"],
798
+ "is_optional": "False"
799
+ },
800
+ {
801
+ "name": "damping_ratio",
802
+ "doc": "joint damping ratio",
803
+ "types": ["number"],
804
+ "is_optional": "False"
805
+ }
806
+ ],
807
+ "examples": "",
808
+ "replaces": "",
809
+ "error": "",
810
+ "tparams": [],
811
+ "members": [],
812
+ "notes": [],
813
+ "language": ""
814
+ },
815
+ {
816
+ "type": "FUNCTION",
817
+ "name": "b2d.world.get_profile",
818
+ "brief": "Get world profiling data.",
819
+ "description": "The returned table contains Box2D timing fields including <code>step</code>, <code>pairs</code>,\n<code>collide</code>, <code>solve</code>, <code>merge_islands</code>, <code>prepare_stages</code>, <code>solve_constraints</code>,\n<code>prepare_constraints</code>, <code>integrate_velocities</code>, <code>warm_start</code>,\n<code>solve_impulses</code>, <code>integrate_positions</code>, <code>relax_impulses</code>,\n<code>apply_restitution</code>, <code>store_impulses</code>, <code>split_islands</code>, <code>transforms</code>,\n<code>hit_events</code>, <code>refit</code>, <code>bullets</code>, <code>sleep_islands</code>, and <code>sensors</code>.",
820
+ "returnvalues": [
821
+ {
822
+ "name": "profile",
823
+ "doc": "world profiling data",
824
+ "types": ["table"]
825
+ }
826
+ ],
827
+ "parameters": [
828
+ {
829
+ "name": "world",
830
+ "doc": "world",
831
+ "types": ["b2World"],
832
+ "is_optional": "False"
833
+ }
834
+ ],
835
+ "examples": "",
836
+ "replaces": "",
837
+ "error": "",
838
+ "tparams": [],
839
+ "members": [],
840
+ "notes": [],
841
+ "language": ""
842
+ },
843
+ {
844
+ "type": "FUNCTION",
845
+ "name": "b2d.world.get_counters",
846
+ "brief": "Get world counters.",
847
+ "description": "The returned table contains <code>body_count</code>, <code>shape_count</code>, <code>contact_count</code>,\n<code>joint_count</code>, <code>island_count</code>, <code>stack_used</code>, <code>static_tree_height</code>,\n<code>tree_height</code>, <code>byte_count</code>, <code>task_count</code>, and <code>color_counts</code>.",
848
+ "returnvalues": [
849
+ {
850
+ "name": "counters",
851
+ "doc": "world counters",
852
+ "types": ["table"]
853
+ }
854
+ ],
855
+ "parameters": [
856
+ {
857
+ "name": "world",
858
+ "doc": "world",
859
+ "types": ["b2World"],
860
+ "is_optional": "False"
861
+ }
862
+ ],
863
+ "examples": "",
864
+ "replaces": "",
865
+ "error": "",
866
+ "tparams": [],
867
+ "members": [],
868
+ "notes": [],
869
+ "language": ""
870
+ },
871
+ {
872
+ "type": "FUNCTION",
873
+ "name": "b2d.world.explode",
874
+ "brief": "Apply an explosion impulse.",
875
+ "description": "The definition table requires <code>position</code>, <code>radius</code>, <code>falloff</code>, and\n<code>impulse_per_length</code>. It may also include <code>mask_bits</code>.",
876
+ "returnvalues": [],
877
+ "parameters": [
878
+ {
879
+ "name": "world",
880
+ "doc": "world",
881
+ "types": ["b2World"],
882
+ "is_optional": "False"
883
+ },
884
+ {
885
+ "name": "definition",
886
+ "doc": "explosion definition",
887
+ "types": ["table"],
888
+ "is_optional": "False"
889
+ }
890
+ ],
891
+ "examples": "",
892
+ "replaces": "",
893
+ "error": "",
894
+ "tparams": [],
895
+ "members": [],
896
+ "notes": [],
897
+ "language": ""
898
+ },
899
+ {
900
+ "type": "FUNCTION",
901
+ "name": "b2d.world.rebuild_static_tree",
902
+ "brief": "Rebuild the static broad-phase tree.",
903
+ "description": "Rebuild the static broad-phase tree.",
904
+ "returnvalues": [],
905
+ "parameters": [
906
+ {
907
+ "name": "world",
908
+ "doc": "world",
909
+ "types": ["b2World"],
910
+ "is_optional": "False"
911
+ }
912
+ ],
913
+ "examples": "",
914
+ "replaces": "",
915
+ "error": "",
916
+ "tparams": [],
917
+ "members": [],
918
+ "notes": [],
919
+ "language": ""
920
+ },
921
+ {
922
+ "type": "FUNCTION",
923
+ "name": "b2d.world.enable_speculative",
924
+ "brief": "Enable or disable speculative collision.",
925
+ "description": "Enable or disable speculative collision.",
926
+ "returnvalues": [],
927
+ "parameters": [
928
+ {
929
+ "name": "world",
930
+ "doc": "world",
931
+ "types": ["b2World"],
932
+ "is_optional": "False"
933
+ },
934
+ {
935
+ "name": "enable",
936
+ "doc": "true to enable speculative collision",
937
+ "types": ["boolean"],
938
+ "is_optional": "False"
939
+ }
940
+ ],
941
+ "examples": "",
942
+ "replaces": "",
943
+ "error": "",
944
+ "tparams": [],
945
+ "members": [],
946
+ "notes": [],
947
+ "language": ""
948
+ },
949
+ {
950
+ "type": "FUNCTION",
951
+ "name": "b2d.world.overlap_aabb",
952
+ "brief": "Find shapes overlapping an AABB.",
953
+ "description": "The AABB table has <code>lower</code> and <code>upper</code> <code>vector3</code> fields.",
954
+ "returnvalues": [
955
+ {
956
+ "name": "hits",
957
+ "doc": "array of shape info tables",
958
+ "types": ["table"]
959
+ },
960
+ {
961
+ "name": "stats",
962
+ "doc": "tree stats table",
963
+ "types": ["table"]
964
+ }
965
+ ],
966
+ "parameters": [
967
+ {
968
+ "name": "world",
969
+ "doc": "world",
970
+ "types": ["b2World"],
971
+ "is_optional": "False"
972
+ },
973
+ {
974
+ "name": "aabb",
975
+ "doc": "AABB table with <code>lower</code> and <code>upper</code>",
976
+ "types": ["table"],
977
+ "is_optional": "False"
978
+ },
979
+ {
980
+ "name": "filter",
981
+ "doc": "optional query filter with <code>category_bits</code> and <code>mask_bits</code>",
982
+ "types": ["table"],
983
+ "is_optional": "True"
984
+ },
985
+ {
986
+ "name": "max_results",
987
+ "doc": "optional maximum result count. Omit or pass 0 for unlimited results.",
988
+ "types": ["number"],
989
+ "is_optional": "True"
990
+ }
991
+ ],
992
+ "examples": "",
993
+ "replaces": "",
994
+ "error": "",
995
+ "tparams": [],
996
+ "members": [],
997
+ "notes": [],
998
+ "language": ""
999
+ },
1000
+ {
1001
+ "type": "FUNCTION",
1002
+ "name": "b2d.world.overlap_shape",
1003
+ "brief": "Find shapes overlapping a shape proxy.",
1004
+ "description": "The shape table uses the same circle, capsule, segment, polygon, and box formats\nas <code>b2d.body.create_shape</code>.",
1005
+ "returnvalues": [
1006
+ {
1007
+ "name": "hits",
1008
+ "doc": "array of shape info tables",
1009
+ "types": ["table"]
1010
+ },
1011
+ {
1012
+ "name": "stats",
1013
+ "doc": "tree stats table",
1014
+ "types": ["table"]
1015
+ }
1016
+ ],
1017
+ "parameters": [
1018
+ {
1019
+ "name": "world",
1020
+ "doc": "world",
1021
+ "types": ["b2World"],
1022
+ "is_optional": "False"
1023
+ },
1024
+ {
1025
+ "name": "shape",
1026
+ "doc": "shape table",
1027
+ "types": ["table"],
1028
+ "is_optional": "False"
1029
+ },
1030
+ {
1031
+ "name": "filter",
1032
+ "doc": "optional query filter with <code>category_bits</code> and <code>mask_bits</code>",
1033
+ "types": ["table"],
1034
+ "is_optional": "True"
1035
+ },
1036
+ {
1037
+ "name": "max_results",
1038
+ "doc": "optional maximum result count. Omit or pass 0 for unlimited results.",
1039
+ "types": ["number"],
1040
+ "is_optional": "True"
1041
+ }
1042
+ ],
1043
+ "examples": "",
1044
+ "replaces": "",
1045
+ "error": "",
1046
+ "tparams": [],
1047
+ "members": [],
1048
+ "notes": [],
1049
+ "language": ""
1050
+ },
1051
+ {
1052
+ "type": "FUNCTION",
1053
+ "name": "b2d.world.cast_ray",
1054
+ "brief": "Cast a ray and collect hits.",
1055
+ "description": "The translation is the ray displacement from <code>origin</code>. Result order is not\nguaranteed by Box2D.",
1056
+ "returnvalues": [
1057
+ {
1058
+ "name": "hits",
1059
+ "doc": "array of cast hit tables",
1060
+ "types": ["table"]
1061
+ },
1062
+ {
1063
+ "name": "stats",
1064
+ "doc": "tree stats table",
1065
+ "types": ["table"]
1066
+ }
1067
+ ],
1068
+ "parameters": [
1069
+ {
1070
+ "name": "world",
1071
+ "doc": "world",
1072
+ "types": ["b2World"],
1073
+ "is_optional": "False"
1074
+ },
1075
+ {
1076
+ "name": "origin",
1077
+ "doc": "ray start position",
1078
+ "types": ["vector3"],
1079
+ "is_optional": "False"
1080
+ },
1081
+ {
1082
+ "name": "translation",
1083
+ "doc": "ray displacement",
1084
+ "types": ["vector3"],
1085
+ "is_optional": "False"
1086
+ },
1087
+ {
1088
+ "name": "filter",
1089
+ "doc": "optional query filter with <code>category_bits</code> and <code>mask_bits</code>",
1090
+ "types": ["table"],
1091
+ "is_optional": "True"
1092
+ },
1093
+ {
1094
+ "name": "max_results",
1095
+ "doc": "optional maximum result count. Omit or pass 0 for unlimited results.",
1096
+ "types": ["number"],
1097
+ "is_optional": "True"
1098
+ }
1099
+ ],
1100
+ "examples": "",
1101
+ "replaces": "",
1102
+ "error": "",
1103
+ "tparams": [],
1104
+ "members": [],
1105
+ "notes": [],
1106
+ "language": ""
1107
+ },
1108
+ {
1109
+ "type": "FUNCTION",
1110
+ "name": "b2d.world.cast_ray_closest",
1111
+ "brief": "Cast a ray and return the closest hit.",
1112
+ "description": "The translation is the ray displacement from <code>origin</code>.",
1113
+ "returnvalues": [
1114
+ {
1115
+ "name": "hit",
1116
+ "doc": "closest cast hit table with <code>node_visits</code> and <code>leaf_visits</code>, or <code>nil</code> on miss",
1117
+ "types": ["table", "nil"]
1118
+ }
1119
+ ],
1120
+ "parameters": [
1121
+ {
1122
+ "name": "world",
1123
+ "doc": "world",
1124
+ "types": ["b2World"],
1125
+ "is_optional": "False"
1126
+ },
1127
+ {
1128
+ "name": "origin",
1129
+ "doc": "ray start position",
1130
+ "types": ["vector3"],
1131
+ "is_optional": "False"
1132
+ },
1133
+ {
1134
+ "name": "translation",
1135
+ "doc": "ray displacement",
1136
+ "types": ["vector3"],
1137
+ "is_optional": "False"
1138
+ },
1139
+ {
1140
+ "name": "filter",
1141
+ "doc": "optional query filter with <code>category_bits</code> and <code>mask_bits</code>",
1142
+ "types": ["table"],
1143
+ "is_optional": "True"
1144
+ }
1145
+ ],
1146
+ "examples": "",
1147
+ "replaces": "",
1148
+ "error": "",
1149
+ "tparams": [],
1150
+ "members": [],
1151
+ "notes": [],
1152
+ "language": ""
1153
+ },
1154
+ {
1155
+ "type": "FUNCTION",
1156
+ "name": "b2d.world.cast_shape",
1157
+ "brief": "Cast a shape and collect hits.",
1158
+ "description": "The shape table uses the same circle, capsule, segment, polygon, and box formats\nas <code>b2d.body.create_shape</code>. The translation is the shape displacement.",
1159
+ "returnvalues": [
1160
+ {
1161
+ "name": "hits",
1162
+ "doc": "array of cast hit tables",
1163
+ "types": ["table"]
1164
+ },
1165
+ {
1166
+ "name": "stats",
1167
+ "doc": "tree stats table",
1168
+ "types": ["table"]
1169
+ }
1170
+ ],
1171
+ "parameters": [
1172
+ {
1173
+ "name": "world",
1174
+ "doc": "world",
1175
+ "types": ["b2World"],
1176
+ "is_optional": "False"
1177
+ },
1178
+ {
1179
+ "name": "shape",
1180
+ "doc": "shape table",
1181
+ "types": ["table"],
1182
+ "is_optional": "False"
1183
+ },
1184
+ {
1185
+ "name": "translation",
1186
+ "doc": "shape displacement",
1187
+ "types": ["vector3"],
1188
+ "is_optional": "False"
1189
+ },
1190
+ {
1191
+ "name": "filter",
1192
+ "doc": "optional query filter with <code>category_bits</code> and <code>mask_bits</code>",
1193
+ "types": ["table"],
1194
+ "is_optional": "True"
1195
+ },
1196
+ {
1197
+ "name": "max_results",
1198
+ "doc": "optional maximum result count. Omit or pass 0 for unlimited results.",
1199
+ "types": ["number"],
1200
+ "is_optional": "True"
1201
+ }
1202
+ ],
1203
+ "examples": "",
1204
+ "replaces": "",
1205
+ "error": "",
1206
+ "tparams": [],
1207
+ "members": [],
1208
+ "notes": [],
1209
+ "language": ""
1210
+ },
1211
+ {
1212
+ "type": "FUNCTION",
1213
+ "name": "b2d.world.cast_mover",
1214
+ "brief": "Cast a mover capsule.",
1215
+ "description": "The capsule table has <code>center1</code>, <code>center2</code>, and <code>radius</code> fields. The return\nvalue is the fraction of <code>translation</code> that can be traveled before collision,\nor 1 if there is no hit.",
1216
+ "returnvalues": [
1217
+ {
1218
+ "name": "fraction",
1219
+ "doc": "travel fraction before collision",
1220
+ "types": ["number"]
1221
+ }
1222
+ ],
1223
+ "parameters": [
1224
+ {
1225
+ "name": "world",
1226
+ "doc": "world",
1227
+ "types": ["b2World"],
1228
+ "is_optional": "False"
1229
+ },
1230
+ {
1231
+ "name": "capsule",
1232
+ "doc": "capsule table with <code>center1</code>, <code>center2</code>, and <code>radius</code>",
1233
+ "types": ["table"],
1234
+ "is_optional": "False"
1235
+ },
1236
+ {
1237
+ "name": "translation",
1238
+ "doc": "capsule displacement",
1239
+ "types": ["vector3"],
1240
+ "is_optional": "False"
1241
+ },
1242
+ {
1243
+ "name": "filter",
1244
+ "doc": "optional query filter with <code>category_bits</code> and <code>mask_bits</code>",
1245
+ "types": ["table"],
1246
+ "is_optional": "True"
1247
+ }
1248
+ ],
1249
+ "examples": "",
1250
+ "replaces": "",
1251
+ "error": "",
1252
+ "tparams": [],
1253
+ "members": [],
1254
+ "notes": [],
1255
+ "language": ""
1256
+ },
1257
+ {
1258
+ "type": "FUNCTION",
1259
+ "name": "b2d.world.collide_mover",
1260
+ "brief": "Collide a mover capsule against the world.",
1261
+ "description": "The capsule table has <code>center1</code>, <code>center2</code>, and <code>radius</code> fields. Plane result\ntables include <code>shape</code>, <code>normal</code>, <code>offset</code>, and <code>hit</code>.",
1262
+ "returnvalues": [
1263
+ {
1264
+ "name": "planes",
1265
+ "doc": "array of plane result tables",
1266
+ "types": ["table"]
1267
+ }
1268
+ ],
1269
+ "parameters": [
1270
+ {
1271
+ "name": "world",
1272
+ "doc": "world",
1273
+ "types": ["b2World"],
1274
+ "is_optional": "False"
1275
+ },
1276
+ {
1277
+ "name": "capsule",
1278
+ "doc": "capsule table with <code>center1</code>, <code>center2</code>, and <code>radius</code>",
1279
+ "types": ["table"],
1280
+ "is_optional": "False"
1281
+ },
1282
+ {
1283
+ "name": "filter",
1284
+ "doc": "optional query filter with <code>category_bits</code> and <code>mask_bits</code>",
1285
+ "types": ["table"],
1286
+ "is_optional": "True"
1287
+ },
1288
+ {
1289
+ "name": "max_results",
1290
+ "doc": "optional maximum result count. Omit or pass 0 for unlimited results.",
1291
+ "types": ["number"],
1292
+ "is_optional": "True"
1293
+ }
1294
+ ],
1295
+ "examples": "",
1296
+ "replaces": "",
1297
+ "error": "",
1298
+ "tparams": [],
1299
+ "members": [],
1300
+ "notes": [],
1301
+ "language": ""
1302
+ }
1303
+ ],
1304
+ "info": {
1305
+ "namespace": "b2d.world",
1306
+ "name": "b2d.world",
1307
+ "brief": "Box2D b2World documentation",
1308
+ "description": "Query and cast functions for the Defold-owned Box2D v2 world.",
1309
+ "path": "engine/gamesys/src/gamesys/scripts/box2d/v2/script_box2d_world_v2.cpp",
1310
+ "file": "",
1311
+ "notes": [],
1312
+ "language": "Lua"
1313
+ }
1314
+ }