@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,802 @@
1
+ {
2
+ "elements": [
3
+ {
4
+ "type": "CONSTANT",
5
+ "name": "b2d.shape.SHAPE_TYPE_CIRCLE",
6
+ "brief": "Circle shape type.",
7
+ "description": "Circle shape type.",
8
+ "returnvalues": [],
9
+ "parameters": [],
10
+ "examples": "",
11
+ "replaces": "",
12
+ "error": "",
13
+ "tparams": [],
14
+ "members": [],
15
+ "notes": [],
16
+ "language": ""
17
+ },
18
+ {
19
+ "type": "CONSTANT",
20
+ "name": "b2d.shape.SHAPE_TYPE_EDGE",
21
+ "brief": "Edge shape type.",
22
+ "description": "Edge shape type.",
23
+ "returnvalues": [],
24
+ "parameters": [],
25
+ "examples": "",
26
+ "replaces": "",
27
+ "error": "",
28
+ "tparams": [],
29
+ "members": [],
30
+ "notes": [],
31
+ "language": ""
32
+ },
33
+ {
34
+ "type": "CONSTANT",
35
+ "name": "b2d.shape.SHAPE_TYPE_POLYGON",
36
+ "brief": "Polygon shape type.",
37
+ "description": "Polygon shape type.",
38
+ "returnvalues": [],
39
+ "parameters": [],
40
+ "examples": "",
41
+ "replaces": "",
42
+ "error": "",
43
+ "tparams": [],
44
+ "members": [],
45
+ "notes": [],
46
+ "language": ""
47
+ },
48
+ {
49
+ "type": "CONSTANT",
50
+ "name": "b2d.shape.SHAPE_TYPE_BOX",
51
+ "brief": "Box shape type alias.",
52
+ "description": "Uses the polygon enum value, but indicates the <code>hx</code>/<code>hy</code> box convenience format.",
53
+ "returnvalues": [],
54
+ "parameters": [],
55
+ "examples": "",
56
+ "replaces": "",
57
+ "error": "",
58
+ "tparams": [],
59
+ "members": [],
60
+ "notes": [],
61
+ "language": ""
62
+ },
63
+ {
64
+ "type": "CONSTANT",
65
+ "name": "b2d.shape.SHAPE_TYPE_CHAIN",
66
+ "brief": "Chain shape type.",
67
+ "description": "Chain shape type.",
68
+ "returnvalues": [],
69
+ "parameters": [],
70
+ "examples": "",
71
+ "replaces": "",
72
+ "error": "",
73
+ "tparams": [],
74
+ "members": [],
75
+ "notes": [],
76
+ "language": ""
77
+ },
78
+ {
79
+ "type": "CONSTANT",
80
+ "name": "b2d.shape.SHAPE_TYPE_GRID",
81
+ "brief": "Grid shape type.",
82
+ "description": "Grid shape type.",
83
+ "returnvalues": [],
84
+ "parameters": [],
85
+ "examples": "",
86
+ "replaces": "",
87
+ "error": "",
88
+ "tparams": [],
89
+ "members": [],
90
+ "notes": [],
91
+ "language": ""
92
+ },
93
+ {
94
+ "type": "TYPEDEF",
95
+ "name": "b2Shape",
96
+ "brief": "Box2D shape",
97
+ "description": "Box2D shape",
98
+ "returnvalues": [],
99
+ "parameters": [
100
+ {
101
+ "name": "value",
102
+ "doc": "",
103
+ "types": ["userdata"],
104
+ "is_optional": "False"
105
+ }
106
+ ],
107
+ "examples": "",
108
+ "replaces": "",
109
+ "error": "",
110
+ "tparams": [],
111
+ "members": [],
112
+ "notes": [],
113
+ "language": ""
114
+ },
115
+ {
116
+ "type": "FUNCTION",
117
+ "name": "b2d.shape.get_shape",
118
+ "brief": "Get a shape's geometry.",
119
+ "description": "Get a shape's geometry.",
120
+ "returnvalues": [
121
+ {
122
+ "name": "shape",
123
+ "doc": "shape table with numeric <code>type</code> from <code>b2d.shape.SHAPE_TYPE_*</code>",
124
+ "types": ["table"]
125
+ }
126
+ ],
127
+ "parameters": [
128
+ {
129
+ "name": "shape_id",
130
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
131
+ "types": ["b2Shape"],
132
+ "is_optional": "False"
133
+ }
134
+ ],
135
+ "examples": "",
136
+ "replaces": "",
137
+ "error": "",
138
+ "tparams": [],
139
+ "members": [],
140
+ "notes": [],
141
+ "language": ""
142
+ },
143
+ {
144
+ "type": "FUNCTION",
145
+ "name": "b2d.shape.set_shape",
146
+ "brief": "Set a shape's geometry.",
147
+ "description": "This updates the shape geometry using the same table format as\n<code>b2d.body.create_shape</code> and <code>b2d.shape.get_shape</code>. The body mass is not\nupdated unless <code>update_mass</code> is true.",
148
+ "returnvalues": [],
149
+ "parameters": [
150
+ {
151
+ "name": "shape_id",
152
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
153
+ "types": ["b2Shape"],
154
+ "is_optional": "False"
155
+ },
156
+ {
157
+ "name": "definition",
158
+ "doc": "shape table with numeric <code>type</code> from <code>b2d.shape.SHAPE_TYPE_*</code>",
159
+ "types": ["table"],
160
+ "is_optional": "False"
161
+ },
162
+ {
163
+ "name": "update_mass",
164
+ "doc": "true to reset body mass from shapes",
165
+ "types": ["boolean"],
166
+ "is_optional": "False"
167
+ }
168
+ ],
169
+ "examples": "<div class=\"codehilite\"><pre><span></span><code><span class=\"kd\">local</span> <span class=\"n\">body</span> <span class=\"o\">=</span> <span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">get_body</span><span class=\"p\">(</span><span class=\"s2\">&quot;#collisionobject&quot;</span><span class=\"p\">)</span>\n\n<span class=\"c1\">-- Move a circle shape relative to the body origin.</span>\n<span class=\"kd\">local</span> <span class=\"n\">circle</span> <span class=\"o\">=</span> <span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">shape</span><span class=\"p\">.</span><span class=\"n\">get_shape</span><span class=\"p\">(</span><span class=\"n\">body</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">)</span>\n<span class=\"n\">circle</span><span class=\"p\">.</span><span class=\"n\">center</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span><span class=\"mi\">24</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">)</span>\n<span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">shape</span><span class=\"p\">.</span><span class=\"n\">set_shape</span><span class=\"p\">(</span><span class=\"n\">body</span><span class=\"p\">,</span> <span class=\"mi\">1</span><span class=\"p\">,</span> <span class=\"n\">circle</span><span class=\"p\">,</span> <span class=\"kc\">true</span><span class=\"p\">)</span>\n\n<span class=\"c1\">-- Replace a segment shape&#39;s local endpoints.</span>\n<span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">shape</span><span class=\"p\">.</span><span class=\"n\">set_shape</span><span class=\"p\">(</span><span class=\"n\">body</span><span class=\"p\">,</span> <span class=\"mi\">2</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"nb\">type</span> <span class=\"o\">=</span> <span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">shape</span><span class=\"p\">.</span><span class=\"n\">SHAPE_TYPE_SEGMENT</span><span class=\"p\">,</span>\n <span class=\"n\">v1</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span><span class=\"o\">-</span><span class=\"mi\">32</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">),</span>\n <span class=\"n\">v2</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span> <span class=\"mi\">32</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">),</span>\n<span class=\"p\">})</span>\n\n<span class=\"c1\">-- Update a box shape using the polygon box convenience format.</span>\n<span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">shape</span><span class=\"p\">.</span><span class=\"n\">set_shape</span><span class=\"p\">(</span><span class=\"n\">body</span><span class=\"p\">,</span> <span class=\"mi\">3</span><span class=\"p\">,</span> <span class=\"p\">{</span>\n <span class=\"nb\">type</span> <span class=\"o\">=</span> <span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">shape</span><span class=\"p\">.</span><span class=\"n\">SHAPE_TYPE_BOX</span><span class=\"p\">,</span>\n <span class=\"n\">hx</span> <span class=\"o\">=</span> <span class=\"mi\">16</span><span class=\"p\">,</span>\n <span class=\"n\">hy</span> <span class=\"o\">=</span> <span class=\"mi\">8</span><span class=\"p\">,</span>\n <span class=\"n\">center</span> <span class=\"o\">=</span> <span class=\"n\">vmath</span><span class=\"p\">.</span><span class=\"n\">vector3</span><span class=\"p\">(</span><span class=\"mi\">0</span><span class=\"p\">,</span> <span class=\"mi\">20</span><span class=\"p\">,</span> <span class=\"mi\">0</span><span class=\"p\">),</span>\n <span class=\"n\">angle</span> <span class=\"o\">=</span> <span class=\"nb\">math.rad</span><span class=\"p\">(</span><span class=\"mi\">30</span><span class=\"p\">),</span>\n<span class=\"p\">},</span> <span class=\"kc\">true</span><span class=\"p\">)</span>\n</code></pre></div>",
170
+ "replaces": "",
171
+ "error": "",
172
+ "tparams": [],
173
+ "members": [],
174
+ "notes": [],
175
+ "language": ""
176
+ },
177
+ {
178
+ "type": "CONSTANT",
179
+ "name": "b2d.shape.SHAPE_TYPE_CAPSULE",
180
+ "brief": "Capsule shape type.",
181
+ "description": "Capsule shape type.",
182
+ "returnvalues": [],
183
+ "parameters": [],
184
+ "examples": "",
185
+ "replaces": "",
186
+ "error": "",
187
+ "tparams": [],
188
+ "members": [],
189
+ "notes": [],
190
+ "language": ""
191
+ },
192
+ {
193
+ "type": "CONSTANT",
194
+ "name": "b2d.shape.SHAPE_TYPE_SEGMENT",
195
+ "brief": "Segment shape type.",
196
+ "description": "Segment shape type.",
197
+ "returnvalues": [],
198
+ "parameters": [],
199
+ "examples": "",
200
+ "replaces": "",
201
+ "error": "",
202
+ "tparams": [],
203
+ "members": [],
204
+ "notes": [],
205
+ "language": ""
206
+ },
207
+ {
208
+ "type": "FUNCTION",
209
+ "name": "b2d.shape.get_material",
210
+ "brief": "Get shape material id.",
211
+ "description": "Get shape material id.",
212
+ "returnvalues": [
213
+ {
214
+ "name": "material",
215
+ "doc": "shape material id",
216
+ "types": ["number"]
217
+ }
218
+ ],
219
+ "parameters": [
220
+ {
221
+ "name": "shape_id",
222
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
223
+ "types": ["b2Shape"],
224
+ "is_optional": "False"
225
+ }
226
+ ],
227
+ "examples": "",
228
+ "replaces": "",
229
+ "error": "",
230
+ "tparams": [],
231
+ "members": [],
232
+ "notes": [],
233
+ "language": ""
234
+ },
235
+ {
236
+ "type": "FUNCTION",
237
+ "name": "b2d.shape.set_material",
238
+ "brief": "Set shape material id.",
239
+ "description": "Set shape material id.",
240
+ "returnvalues": [],
241
+ "parameters": [
242
+ {
243
+ "name": "shape_id",
244
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
245
+ "types": ["b2Shape"],
246
+ "is_optional": "False"
247
+ },
248
+ {
249
+ "name": "material",
250
+ "doc": "shape material id",
251
+ "types": ["number"],
252
+ "is_optional": "False"
253
+ }
254
+ ],
255
+ "examples": "",
256
+ "replaces": "",
257
+ "error": "",
258
+ "tparams": [],
259
+ "members": [],
260
+ "notes": [],
261
+ "language": ""
262
+ },
263
+ {
264
+ "type": "FUNCTION",
265
+ "name": "b2d.shape.is_valid",
266
+ "brief": "Validate a shape handle.",
267
+ "description": "Validate a shape handle.",
268
+ "returnvalues": [
269
+ {
270
+ "name": "valid",
271
+ "doc": "true if the shape handle still refers to a live Box2D shape",
272
+ "types": ["boolean"]
273
+ }
274
+ ],
275
+ "parameters": [
276
+ {
277
+ "name": "shape_id",
278
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
279
+ "types": ["b2Shape"],
280
+ "is_optional": "False"
281
+ }
282
+ ],
283
+ "examples": "",
284
+ "replaces": "",
285
+ "error": "",
286
+ "tparams": [],
287
+ "members": [],
288
+ "notes": [],
289
+ "language": ""
290
+ },
291
+ {
292
+ "type": "FUNCTION",
293
+ "name": "b2d.shape.get_body",
294
+ "brief": "Get the body owning a shape.",
295
+ "description": "Get the body owning a shape.",
296
+ "returnvalues": [
297
+ {
298
+ "name": "body",
299
+ "doc": "owning body",
300
+ "types": ["b2Body"]
301
+ }
302
+ ],
303
+ "parameters": [
304
+ {
305
+ "name": "shape_id",
306
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
307
+ "types": ["b2Shape"],
308
+ "is_optional": "False"
309
+ }
310
+ ],
311
+ "examples": "",
312
+ "replaces": "",
313
+ "error": "",
314
+ "tparams": [],
315
+ "members": [],
316
+ "notes": [],
317
+ "language": ""
318
+ },
319
+ {
320
+ "type": "FUNCTION",
321
+ "name": "b2d.shape.get_world",
322
+ "brief": "Get the world owning a shape.",
323
+ "description": "Get the world owning a shape.",
324
+ "returnvalues": [
325
+ {
326
+ "name": "world",
327
+ "doc": "owning world",
328
+ "types": ["b2World"]
329
+ }
330
+ ],
331
+ "parameters": [
332
+ {
333
+ "name": "shape_id",
334
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
335
+ "types": ["b2Shape"],
336
+ "is_optional": "False"
337
+ }
338
+ ],
339
+ "examples": "",
340
+ "replaces": "",
341
+ "error": "",
342
+ "tparams": [],
343
+ "members": [],
344
+ "notes": [],
345
+ "language": ""
346
+ },
347
+ {
348
+ "type": "FUNCTION",
349
+ "name": "b2d.shape.enable_sensor_events",
350
+ "brief": "Enable or disable sensor events for a shape.",
351
+ "description": "Enable or disable sensor events for a shape.",
352
+ "returnvalues": [],
353
+ "parameters": [
354
+ {
355
+ "name": "shape_id",
356
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
357
+ "types": ["b2Shape"],
358
+ "is_optional": "False"
359
+ },
360
+ {
361
+ "name": "enable",
362
+ "doc": "true to enable sensor events",
363
+ "types": ["boolean"],
364
+ "is_optional": "False"
365
+ }
366
+ ],
367
+ "examples": "",
368
+ "replaces": "",
369
+ "error": "",
370
+ "tparams": [],
371
+ "members": [],
372
+ "notes": [],
373
+ "language": ""
374
+ },
375
+ {
376
+ "type": "FUNCTION",
377
+ "name": "b2d.shape.are_sensor_events_enabled",
378
+ "brief": "Check if sensor events are enabled for a shape.",
379
+ "description": "Check if sensor events are enabled for a shape.",
380
+ "returnvalues": [
381
+ {
382
+ "name": "enabled",
383
+ "doc": "true if sensor events are enabled",
384
+ "types": ["boolean"]
385
+ }
386
+ ],
387
+ "parameters": [
388
+ {
389
+ "name": "shape_id",
390
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
391
+ "types": ["b2Shape"],
392
+ "is_optional": "False"
393
+ }
394
+ ],
395
+ "examples": "",
396
+ "replaces": "",
397
+ "error": "",
398
+ "tparams": [],
399
+ "members": [],
400
+ "notes": [],
401
+ "language": ""
402
+ },
403
+ {
404
+ "type": "FUNCTION",
405
+ "name": "b2d.shape.enable_contact_events",
406
+ "brief": "Enable or disable contact events for a shape.",
407
+ "description": "Enable or disable contact events for a shape.",
408
+ "returnvalues": [],
409
+ "parameters": [
410
+ {
411
+ "name": "shape_id",
412
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
413
+ "types": ["b2Shape"],
414
+ "is_optional": "False"
415
+ },
416
+ {
417
+ "name": "enable",
418
+ "doc": "true to enable contact events",
419
+ "types": ["boolean"],
420
+ "is_optional": "False"
421
+ }
422
+ ],
423
+ "examples": "",
424
+ "replaces": "",
425
+ "error": "",
426
+ "tparams": [],
427
+ "members": [],
428
+ "notes": [],
429
+ "language": ""
430
+ },
431
+ {
432
+ "type": "FUNCTION",
433
+ "name": "b2d.shape.are_contact_events_enabled",
434
+ "brief": "Check if contact events are enabled for a shape.",
435
+ "description": "Check if contact events are enabled for a shape.",
436
+ "returnvalues": [
437
+ {
438
+ "name": "enabled",
439
+ "doc": "true if contact events are enabled",
440
+ "types": ["boolean"]
441
+ }
442
+ ],
443
+ "parameters": [
444
+ {
445
+ "name": "shape_id",
446
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
447
+ "types": ["b2Shape"],
448
+ "is_optional": "False"
449
+ }
450
+ ],
451
+ "examples": "",
452
+ "replaces": "",
453
+ "error": "",
454
+ "tparams": [],
455
+ "members": [],
456
+ "notes": [],
457
+ "language": ""
458
+ },
459
+ {
460
+ "type": "FUNCTION",
461
+ "name": "b2d.shape.enable_pre_solve_events",
462
+ "brief": "Enable or disable pre-solve events for a shape.",
463
+ "description": "Enable or disable pre-solve events for a shape.",
464
+ "returnvalues": [],
465
+ "parameters": [
466
+ {
467
+ "name": "shape_id",
468
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
469
+ "types": ["b2Shape"],
470
+ "is_optional": "False"
471
+ },
472
+ {
473
+ "name": "enable",
474
+ "doc": "true to enable pre-solve events",
475
+ "types": ["boolean"],
476
+ "is_optional": "False"
477
+ }
478
+ ],
479
+ "examples": "",
480
+ "replaces": "",
481
+ "error": "",
482
+ "tparams": [],
483
+ "members": [],
484
+ "notes": [],
485
+ "language": ""
486
+ },
487
+ {
488
+ "type": "FUNCTION",
489
+ "name": "b2d.shape.are_pre_solve_events_enabled",
490
+ "brief": "Check if pre-solve events are enabled for a shape.",
491
+ "description": "Check if pre-solve events are enabled for a shape.",
492
+ "returnvalues": [
493
+ {
494
+ "name": "enabled",
495
+ "doc": "true if pre-solve events are enabled",
496
+ "types": ["boolean"]
497
+ }
498
+ ],
499
+ "parameters": [
500
+ {
501
+ "name": "shape_id",
502
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
503
+ "types": ["b2Shape"],
504
+ "is_optional": "False"
505
+ }
506
+ ],
507
+ "examples": "",
508
+ "replaces": "",
509
+ "error": "",
510
+ "tparams": [],
511
+ "members": [],
512
+ "notes": [],
513
+ "language": ""
514
+ },
515
+ {
516
+ "type": "FUNCTION",
517
+ "name": "b2d.shape.enable_hit_events",
518
+ "brief": "Enable or disable hit events for a shape.",
519
+ "description": "Enable or disable hit events for a shape.",
520
+ "returnvalues": [],
521
+ "parameters": [
522
+ {
523
+ "name": "shape_id",
524
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
525
+ "types": ["b2Shape"],
526
+ "is_optional": "False"
527
+ },
528
+ {
529
+ "name": "enable",
530
+ "doc": "true to enable hit events",
531
+ "types": ["boolean"],
532
+ "is_optional": "False"
533
+ }
534
+ ],
535
+ "examples": "",
536
+ "replaces": "",
537
+ "error": "",
538
+ "tparams": [],
539
+ "members": [],
540
+ "notes": [],
541
+ "language": ""
542
+ },
543
+ {
544
+ "type": "FUNCTION",
545
+ "name": "b2d.shape.are_hit_events_enabled",
546
+ "brief": "Check if hit events are enabled for a shape.",
547
+ "description": "Check if hit events are enabled for a shape.",
548
+ "returnvalues": [
549
+ {
550
+ "name": "enabled",
551
+ "doc": "true if hit events are enabled",
552
+ "types": ["boolean"]
553
+ }
554
+ ],
555
+ "parameters": [
556
+ {
557
+ "name": "shape_id",
558
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
559
+ "types": ["b2Shape"],
560
+ "is_optional": "False"
561
+ }
562
+ ],
563
+ "examples": "",
564
+ "replaces": "",
565
+ "error": "",
566
+ "tparams": [],
567
+ "members": [],
568
+ "notes": [],
569
+ "language": ""
570
+ },
571
+ {
572
+ "type": "FUNCTION",
573
+ "name": "b2d.shape.ray_cast",
574
+ "brief": "Ray cast a shape directly.",
575
+ "description": "Ray cast a shape directly.",
576
+ "returnvalues": [
577
+ {
578
+ "name": "hit",
579
+ "doc": "hit table with <code>point</code>, <code>normal</code>, <code>fraction</code>, and <code>iterations</code>, or nil",
580
+ "types": ["table"]
581
+ }
582
+ ],
583
+ "parameters": [
584
+ {
585
+ "name": "shape_id",
586
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
587
+ "types": ["b2Shape"],
588
+ "is_optional": "False"
589
+ },
590
+ {
591
+ "name": "origin",
592
+ "doc": "world ray origin",
593
+ "types": ["vector3"],
594
+ "is_optional": "False"
595
+ },
596
+ {
597
+ "name": "translation",
598
+ "doc": "world ray translation",
599
+ "types": ["vector3"],
600
+ "is_optional": "False"
601
+ },
602
+ {
603
+ "name": "max_fraction",
604
+ "doc": "optional maximum translation fraction, defaults to 1",
605
+ "types": ["number"],
606
+ "is_optional": "False"
607
+ }
608
+ ],
609
+ "examples": "",
610
+ "replaces": "",
611
+ "error": "",
612
+ "tparams": [],
613
+ "members": [],
614
+ "notes": [],
615
+ "language": ""
616
+ },
617
+ {
618
+ "type": "FUNCTION",
619
+ "name": "b2d.shape.get_contact_capacity",
620
+ "brief": "Get shape contact capacity.",
621
+ "description": "Get shape contact capacity.",
622
+ "returnvalues": [
623
+ {
624
+ "name": "capacity",
625
+ "doc": "maximum contact data count",
626
+ "types": ["number"]
627
+ }
628
+ ],
629
+ "parameters": [
630
+ {
631
+ "name": "shape_id",
632
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
633
+ "types": ["b2Shape"],
634
+ "is_optional": "False"
635
+ }
636
+ ],
637
+ "examples": "",
638
+ "replaces": "",
639
+ "error": "",
640
+ "tparams": [],
641
+ "members": [],
642
+ "notes": [],
643
+ "language": ""
644
+ },
645
+ {
646
+ "type": "FUNCTION",
647
+ "name": "b2d.shape.get_contact_data",
648
+ "brief": "Get touching contact data for a shape.",
649
+ "description": "Get touching contact data for a shape.",
650
+ "returnvalues": [
651
+ {
652
+ "name": "contacts",
653
+ "doc": "array of contact tables",
654
+ "types": ["table"]
655
+ }
656
+ ],
657
+ "parameters": [
658
+ {
659
+ "name": "shape_id",
660
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
661
+ "types": ["b2Shape"],
662
+ "is_optional": "False"
663
+ }
664
+ ],
665
+ "examples": "",
666
+ "replaces": "",
667
+ "error": "",
668
+ "tparams": [],
669
+ "members": [],
670
+ "notes": [],
671
+ "language": ""
672
+ },
673
+ {
674
+ "type": "FUNCTION",
675
+ "name": "b2d.shape.get_sensor_capacity",
676
+ "brief": "Get sensor overlap capacity.",
677
+ "description": "Get sensor overlap capacity.",
678
+ "returnvalues": [
679
+ {
680
+ "name": "capacity",
681
+ "doc": "maximum sensor overlap count",
682
+ "types": ["number"]
683
+ }
684
+ ],
685
+ "parameters": [
686
+ {
687
+ "name": "shape_id",
688
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
689
+ "types": ["b2Shape"],
690
+ "is_optional": "False"
691
+ }
692
+ ],
693
+ "examples": "",
694
+ "replaces": "",
695
+ "error": "",
696
+ "tparams": [],
697
+ "members": [],
698
+ "notes": [],
699
+ "language": ""
700
+ },
701
+ {
702
+ "type": "FUNCTION",
703
+ "name": "b2d.shape.get_sensor_overlaps",
704
+ "brief": "Get sensor overlaps.",
705
+ "description": "Get sensor overlaps.",
706
+ "returnvalues": [
707
+ {
708
+ "name": "overlaps",
709
+ "doc": "array of shape info tables",
710
+ "types": ["table"]
711
+ }
712
+ ],
713
+ "parameters": [
714
+ {
715
+ "name": "shape_id",
716
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
717
+ "types": ["b2Shape"],
718
+ "is_optional": "False"
719
+ }
720
+ ],
721
+ "examples": "",
722
+ "replaces": "",
723
+ "error": "",
724
+ "tparams": [],
725
+ "members": [],
726
+ "notes": [],
727
+ "language": ""
728
+ },
729
+ {
730
+ "type": "FUNCTION",
731
+ "name": "b2d.shape.get_mass_data",
732
+ "brief": "Get mass data for a shape.",
733
+ "description": "Get mass data for a shape.",
734
+ "returnvalues": [
735
+ {
736
+ "name": "data",
737
+ "doc": "table with <code>mass</code>, <code>center</code>, and <code>inertia</code>",
738
+ "types": ["table"]
739
+ }
740
+ ],
741
+ "parameters": [
742
+ {
743
+ "name": "shape_id",
744
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
745
+ "types": ["b2Shape"],
746
+ "is_optional": "False"
747
+ }
748
+ ],
749
+ "examples": "",
750
+ "replaces": "",
751
+ "error": "",
752
+ "tparams": [],
753
+ "members": [],
754
+ "notes": [],
755
+ "language": ""
756
+ },
757
+ {
758
+ "type": "FUNCTION",
759
+ "name": "b2d.shape.get_closest_point",
760
+ "brief": "Get the closest point on a shape.",
761
+ "description": "Get the closest point on a shape.",
762
+ "returnvalues": [
763
+ {
764
+ "name": "point",
765
+ "doc": "closest world point on the shape",
766
+ "types": ["vector3"]
767
+ }
768
+ ],
769
+ "parameters": [
770
+ {
771
+ "name": "shape_id",
772
+ "doc": "shape handle from a shape info table, or pass <code>body, shape_index</code>",
773
+ "types": ["b2Shape"],
774
+ "is_optional": "False"
775
+ },
776
+ {
777
+ "name": "target",
778
+ "doc": "world target point",
779
+ "types": ["vector3"],
780
+ "is_optional": "False"
781
+ }
782
+ ],
783
+ "examples": "",
784
+ "replaces": "",
785
+ "error": "",
786
+ "tparams": [],
787
+ "members": [],
788
+ "notes": [],
789
+ "language": ""
790
+ }
791
+ ],
792
+ "info": {
793
+ "namespace": "b2d.shape",
794
+ "name": "b2d.shape",
795
+ "brief": "Box2D b2Shape documentation",
796
+ "description": "Constants for functional shape tables used with `b2d.body.create_fixture`\nand returned from `b2d.fixture.get_shape`.",
797
+ "path": "engine/gamesys/src/gamesys/scripts/box2d/v2/script_box2d_shape_v2.cpp",
798
+ "file": "",
799
+ "notes": [],
800
+ "language": "Lua"
801
+ }
802
+ }