@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,3178 @@
1
+ {
2
+ "elements": [
3
+ {
4
+ "type": "TYPEDEF",
5
+ "name": "b2Joint",
6
+ "brief": "Box2D joint",
7
+ "description": "An opaque handle connecting two <span class=\"type\">b2Body</span> values. Create one with a\nfunction such as <a href=\"#b2d\">b2d.joint.create_distance</a>, use the functions in\n<code>b2d.joint</code> to inspect or configure it, and release it with\n<a href=\"#b2d\">b2d.joint.destroy</a>. Joints are also destroyed when either connected body\nor its physics world is destroyed.",
8
+ "returnvalues": [],
9
+ "parameters": [
10
+ {
11
+ "name": "value",
12
+ "doc": "Box2D joint handle",
13
+ "types": ["userdata"],
14
+ "is_optional": "False"
15
+ }
16
+ ],
17
+ "examples": "<div class=\"codehilite\"><pre><span></span><code><span class=\"kd\">local</span> <span class=\"n\">body_a</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_a&quot;</span><span class=\"p\">)</span>\n<span class=\"kd\">local</span> <span class=\"n\">body_b</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_b&quot;</span><span class=\"p\">)</span>\n<span class=\"kd\">local</span> <span class=\"n\">joint</span> <span class=\"o\">=</span> <span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">joint</span><span class=\"p\">.</span><span class=\"n\">create_distance</span><span class=\"p\">(</span><span class=\"n\">body_a</span><span class=\"p\">,</span> <span class=\"n\">body_b</span><span class=\"p\">)</span>\n<span class=\"nb\">print</span><span class=\"p\">(</span><span class=\"n\">b2d</span><span class=\"p\">.</span><span class=\"n\">joint</span><span class=\"p\">.</span><span class=\"n\">get_type</span><span class=\"p\">(</span><span class=\"n\">joint</span><span class=\"p\">))</span>\n</code></pre></div>",
18
+ "replaces": "",
19
+ "error": "",
20
+ "tparams": [],
21
+ "members": [],
22
+ "notes": [],
23
+ "language": ""
24
+ },
25
+ {
26
+ "type": "ENUM",
27
+ "name": "b2d.joint.JOINT_TYPE",
28
+ "brief": "Box2D joint types.",
29
+ "description": "Box2D joint types.",
30
+ "returnvalues": [],
31
+ "parameters": [],
32
+ "examples": "",
33
+ "replaces": "",
34
+ "error": "",
35
+ "tparams": [],
36
+ "members": [
37
+ {
38
+ "name": "b2d.joint.JOINT_TYPE_DISTANCE",
39
+ "doc": "Distance joint type.",
40
+ "type": ""
41
+ },
42
+ {
43
+ "name": "b2d.joint.JOINT_TYPE_FILTER",
44
+ "doc": "Filter joint type.",
45
+ "type": ""
46
+ },
47
+ {
48
+ "name": "b2d.joint.JOINT_TYPE_FRICTION",
49
+ "doc": "Friction joint type.",
50
+ "type": ""
51
+ },
52
+ {
53
+ "name": "b2d.joint.JOINT_TYPE_GEAR",
54
+ "doc": "Gear joint type.",
55
+ "type": ""
56
+ },
57
+ {
58
+ "name": "b2d.joint.JOINT_TYPE_MOTOR",
59
+ "doc": "Motor joint type.",
60
+ "type": ""
61
+ },
62
+ {
63
+ "name": "b2d.joint.JOINT_TYPE_MOUSE",
64
+ "doc": "Mouse joint type.",
65
+ "type": ""
66
+ },
67
+ {
68
+ "name": "b2d.joint.JOINT_TYPE_PRISMATIC",
69
+ "doc": "Prismatic joint type.",
70
+ "type": ""
71
+ },
72
+ {
73
+ "name": "b2d.joint.JOINT_TYPE_PULLEY",
74
+ "doc": "Pulley joint type.",
75
+ "type": ""
76
+ },
77
+ {
78
+ "name": "b2d.joint.JOINT_TYPE_REVOLUTE",
79
+ "doc": "Revolute joint type.",
80
+ "type": ""
81
+ },
82
+ {
83
+ "name": "b2d.joint.JOINT_TYPE_ROPE",
84
+ "doc": "Rope joint type.",
85
+ "type": ""
86
+ },
87
+ {
88
+ "name": "b2d.joint.JOINT_TYPE_UNKNOWN",
89
+ "doc": "Unknown joint type.",
90
+ "type": ""
91
+ },
92
+ {
93
+ "name": "b2d.joint.JOINT_TYPE_WELD",
94
+ "doc": "Weld joint type.",
95
+ "type": ""
96
+ },
97
+ {
98
+ "name": "b2d.joint.JOINT_TYPE_WHEEL",
99
+ "doc": "Wheel joint type.",
100
+ "type": ""
101
+ }
102
+ ],
103
+ "notes": [],
104
+ "language": ""
105
+ },
106
+ {
107
+ "type": "ENUM",
108
+ "name": "b2d.joint.LIMIT_STATE",
109
+ "brief": "Box2D joint limit states.",
110
+ "description": "Box2D joint limit states.",
111
+ "returnvalues": [],
112
+ "parameters": [],
113
+ "examples": "",
114
+ "replaces": "",
115
+ "error": "",
116
+ "tparams": [],
117
+ "members": [
118
+ {
119
+ "name": "b2d.joint.LIMIT_STATE_AT_LOWER",
120
+ "doc": "At lower limit state.",
121
+ "type": ""
122
+ },
123
+ {
124
+ "name": "b2d.joint.LIMIT_STATE_AT_UPPER",
125
+ "doc": "At upper limit state.",
126
+ "type": ""
127
+ },
128
+ {
129
+ "name": "b2d.joint.LIMIT_STATE_EQUAL",
130
+ "doc": "Equal limits state.",
131
+ "type": ""
132
+ },
133
+ {
134
+ "name": "b2d.joint.LIMIT_STATE_INACTIVE",
135
+ "doc": "Inactive limit state.",
136
+ "type": ""
137
+ }
138
+ ],
139
+ "notes": [],
140
+ "language": ""
141
+ },
142
+ {
143
+ "type": "FUNCTION",
144
+ "name": "b2d.joint.destroy",
145
+ "brief": "Destroy a joint created by <code>b2d.joint</code>.",
146
+ "description": "Destroy a joint created by <code>b2d.joint</code>.",
147
+ "returnvalues": [],
148
+ "parameters": [
149
+ {
150
+ "name": "joint",
151
+ "doc": "joint",
152
+ "types": ["b2Joint"],
153
+ "is_optional": "False"
154
+ }
155
+ ],
156
+ "examples": "",
157
+ "replaces": "",
158
+ "error": "",
159
+ "tparams": [],
160
+ "members": [],
161
+ "notes": [],
162
+ "language": ""
163
+ },
164
+ {
165
+ "type": "FUNCTION",
166
+ "name": "b2d.joint.get_type",
167
+ "brief": "Get the joint type.",
168
+ "description": "Get the joint type.",
169
+ "returnvalues": [
170
+ {
171
+ "name": "type",
172
+ "doc": "one of the <code>JOINT_TYPE_*</code> constants",
173
+ "types": ["b2d.joint.JOINT_TYPE"]
174
+ }
175
+ ],
176
+ "parameters": [
177
+ {
178
+ "name": "joint",
179
+ "doc": "joint",
180
+ "types": ["b2Joint"],
181
+ "is_optional": "False"
182
+ }
183
+ ],
184
+ "examples": "",
185
+ "replaces": "",
186
+ "error": "",
187
+ "tparams": [],
188
+ "members": [],
189
+ "notes": [],
190
+ "language": ""
191
+ },
192
+ {
193
+ "type": "FUNCTION",
194
+ "name": "b2d.joint.get_body_a",
195
+ "brief": "Get the first body connected to a joint.",
196
+ "description": "Get the first body connected to a joint.",
197
+ "returnvalues": [
198
+ {
199
+ "name": "body",
200
+ "doc": "body A",
201
+ "types": ["b2Body"]
202
+ }
203
+ ],
204
+ "parameters": [
205
+ {
206
+ "name": "joint",
207
+ "doc": "joint",
208
+ "types": ["b2Joint"],
209
+ "is_optional": "False"
210
+ }
211
+ ],
212
+ "examples": "",
213
+ "replaces": "",
214
+ "error": "",
215
+ "tparams": [],
216
+ "members": [],
217
+ "notes": [],
218
+ "language": ""
219
+ },
220
+ {
221
+ "type": "FUNCTION",
222
+ "name": "b2d.joint.get_body_b",
223
+ "brief": "Get the second body connected to a joint.",
224
+ "description": "Get the second body connected to a joint.",
225
+ "returnvalues": [
226
+ {
227
+ "name": "body",
228
+ "doc": "body B",
229
+ "types": ["b2Body"]
230
+ }
231
+ ],
232
+ "parameters": [
233
+ {
234
+ "name": "joint",
235
+ "doc": "joint",
236
+ "types": ["b2Joint"],
237
+ "is_optional": "False"
238
+ }
239
+ ],
240
+ "examples": "",
241
+ "replaces": "",
242
+ "error": "",
243
+ "tparams": [],
244
+ "members": [],
245
+ "notes": [],
246
+ "language": ""
247
+ },
248
+ {
249
+ "type": "FUNCTION",
250
+ "name": "b2d.joint.get_local_anchor_a",
251
+ "brief": "Get the local anchor on body A.",
252
+ "description": "Get the local anchor on body A.",
253
+ "returnvalues": [
254
+ {
255
+ "name": "anchor",
256
+ "doc": "local anchor",
257
+ "types": ["vector3"]
258
+ }
259
+ ],
260
+ "parameters": [
261
+ {
262
+ "name": "joint",
263
+ "doc": "joint",
264
+ "types": ["b2Joint"],
265
+ "is_optional": "False"
266
+ }
267
+ ],
268
+ "examples": "",
269
+ "replaces": "",
270
+ "error": "",
271
+ "tparams": [],
272
+ "members": [],
273
+ "notes": [],
274
+ "language": ""
275
+ },
276
+ {
277
+ "type": "FUNCTION",
278
+ "name": "b2d.joint.get_local_anchor_b",
279
+ "brief": "Get the local anchor on body B.",
280
+ "description": "Get the local anchor on body B.",
281
+ "returnvalues": [
282
+ {
283
+ "name": "anchor",
284
+ "doc": "local anchor",
285
+ "types": ["vector3"]
286
+ }
287
+ ],
288
+ "parameters": [
289
+ {
290
+ "name": "joint",
291
+ "doc": "joint",
292
+ "types": ["b2Joint"],
293
+ "is_optional": "False"
294
+ }
295
+ ],
296
+ "examples": "",
297
+ "replaces": "",
298
+ "error": "",
299
+ "tparams": [],
300
+ "members": [],
301
+ "notes": [],
302
+ "language": ""
303
+ },
304
+ {
305
+ "type": "FUNCTION",
306
+ "name": "b2d.joint.get_anchor_a",
307
+ "brief": "Get the world anchor on body A.",
308
+ "description": "Get the world anchor on body A.",
309
+ "returnvalues": [
310
+ {
311
+ "name": "anchor",
312
+ "doc": "world anchor",
313
+ "types": ["vector3"]
314
+ }
315
+ ],
316
+ "parameters": [
317
+ {
318
+ "name": "joint",
319
+ "doc": "joint",
320
+ "types": ["b2Joint"],
321
+ "is_optional": "False"
322
+ }
323
+ ],
324
+ "examples": "",
325
+ "replaces": "",
326
+ "error": "",
327
+ "tparams": [],
328
+ "members": [],
329
+ "notes": [],
330
+ "language": ""
331
+ },
332
+ {
333
+ "type": "FUNCTION",
334
+ "name": "b2d.joint.get_anchor_b",
335
+ "brief": "Get the world anchor on body B.",
336
+ "description": "Get the world anchor on body B.",
337
+ "returnvalues": [
338
+ {
339
+ "name": "anchor",
340
+ "doc": "world anchor",
341
+ "types": ["vector3"]
342
+ }
343
+ ],
344
+ "parameters": [
345
+ {
346
+ "name": "joint",
347
+ "doc": "joint",
348
+ "types": ["b2Joint"],
349
+ "is_optional": "False"
350
+ }
351
+ ],
352
+ "examples": "",
353
+ "replaces": "",
354
+ "error": "",
355
+ "tparams": [],
356
+ "members": [],
357
+ "notes": [],
358
+ "language": ""
359
+ },
360
+ {
361
+ "type": "FUNCTION",
362
+ "name": "b2d.joint.is_active",
363
+ "brief": "Get whether the joint is active.",
364
+ "description": "Get whether the joint is active.",
365
+ "returnvalues": [
366
+ {
367
+ "name": "active",
368
+ "doc": "true if the joint is active",
369
+ "types": ["boolean"]
370
+ }
371
+ ],
372
+ "parameters": [
373
+ {
374
+ "name": "joint",
375
+ "doc": "joint",
376
+ "types": ["b2Joint"],
377
+ "is_optional": "False"
378
+ }
379
+ ],
380
+ "examples": "",
381
+ "replaces": "",
382
+ "error": "",
383
+ "tparams": [],
384
+ "members": [],
385
+ "notes": [],
386
+ "language": ""
387
+ },
388
+ {
389
+ "type": "FUNCTION",
390
+ "name": "b2d.joint.get_collide_connected",
391
+ "brief": "Get whether connected bodies can collide.",
392
+ "description": "Get whether connected bodies can collide.",
393
+ "returnvalues": [
394
+ {
395
+ "name": "collide",
396
+ "doc": "true if connected bodies can collide",
397
+ "types": ["boolean"]
398
+ }
399
+ ],
400
+ "parameters": [
401
+ {
402
+ "name": "joint",
403
+ "doc": "joint",
404
+ "types": ["b2Joint"],
405
+ "is_optional": "False"
406
+ }
407
+ ],
408
+ "examples": "",
409
+ "replaces": "",
410
+ "error": "",
411
+ "tparams": [],
412
+ "members": [],
413
+ "notes": [],
414
+ "language": ""
415
+ },
416
+ {
417
+ "type": "FUNCTION",
418
+ "name": "b2d.joint.set_mouse_target",
419
+ "brief": "Set the target for a mouse joint.",
420
+ "description": "Set the target for a mouse joint.",
421
+ "returnvalues": [],
422
+ "parameters": [
423
+ {
424
+ "name": "joint",
425
+ "doc": "mouse joint",
426
+ "types": ["b2Joint"],
427
+ "is_optional": "False"
428
+ },
429
+ {
430
+ "name": "target",
431
+ "doc": "world target",
432
+ "types": ["vector3"],
433
+ "is_optional": "False"
434
+ }
435
+ ],
436
+ "examples": "",
437
+ "replaces": "",
438
+ "error": "",
439
+ "tparams": [],
440
+ "members": [],
441
+ "notes": [],
442
+ "language": ""
443
+ },
444
+ {
445
+ "type": "FUNCTION",
446
+ "name": "b2d.joint.get_mouse_target",
447
+ "brief": "Get the target for a mouse joint.",
448
+ "description": "Get the target for a mouse joint.",
449
+ "returnvalues": [
450
+ {
451
+ "name": "target",
452
+ "doc": "world target",
453
+ "types": ["vector3"]
454
+ }
455
+ ],
456
+ "parameters": [
457
+ {
458
+ "name": "joint",
459
+ "doc": "mouse joint",
460
+ "types": ["b2Joint"],
461
+ "is_optional": "False"
462
+ }
463
+ ],
464
+ "examples": "",
465
+ "replaces": "",
466
+ "error": "",
467
+ "tparams": [],
468
+ "members": [],
469
+ "notes": [],
470
+ "language": ""
471
+ },
472
+ {
473
+ "type": "FUNCTION",
474
+ "name": "b2d.joint.set_length",
475
+ "brief": "Set the distance joint length.",
476
+ "description": "Set the distance joint length.",
477
+ "returnvalues": [],
478
+ "parameters": [
479
+ {
480
+ "name": "joint",
481
+ "doc": "distance joint",
482
+ "types": ["b2Joint"],
483
+ "is_optional": "False"
484
+ },
485
+ {
486
+ "name": "length",
487
+ "doc": "length in project units",
488
+ "types": ["number"],
489
+ "is_optional": "False"
490
+ }
491
+ ],
492
+ "examples": "",
493
+ "replaces": "",
494
+ "error": "",
495
+ "tparams": [],
496
+ "members": [],
497
+ "notes": [],
498
+ "language": ""
499
+ },
500
+ {
501
+ "type": "FUNCTION",
502
+ "name": "b2d.joint.get_length",
503
+ "brief": "Get the distance joint length.",
504
+ "description": "Get the distance joint length.",
505
+ "returnvalues": [
506
+ {
507
+ "name": "length",
508
+ "doc": "length in project units",
509
+ "types": ["number"]
510
+ }
511
+ ],
512
+ "parameters": [
513
+ {
514
+ "name": "joint",
515
+ "doc": "distance joint",
516
+ "types": ["b2Joint"],
517
+ "is_optional": "False"
518
+ }
519
+ ],
520
+ "examples": "",
521
+ "replaces": "",
522
+ "error": "",
523
+ "tparams": [],
524
+ "members": [],
525
+ "notes": [],
526
+ "language": ""
527
+ },
528
+ {
529
+ "type": "FUNCTION",
530
+ "name": "b2d.joint.set_frequency",
531
+ "brief": "Set spring frequency.",
532
+ "description": "Set spring frequency.",
533
+ "returnvalues": [],
534
+ "parameters": [
535
+ {
536
+ "name": "joint",
537
+ "doc": "distance, mouse, weld, or wheel joint",
538
+ "types": ["b2Joint"],
539
+ "is_optional": "False"
540
+ },
541
+ {
542
+ "name": "frequency",
543
+ "doc": "frequency in hertz",
544
+ "types": ["number"],
545
+ "is_optional": "False"
546
+ }
547
+ ],
548
+ "examples": "",
549
+ "replaces": "",
550
+ "error": "",
551
+ "tparams": [],
552
+ "members": [],
553
+ "notes": [],
554
+ "language": ""
555
+ },
556
+ {
557
+ "type": "FUNCTION",
558
+ "name": "b2d.joint.get_frequency",
559
+ "brief": "Get spring frequency.",
560
+ "description": "Get spring frequency.",
561
+ "returnvalues": [
562
+ {
563
+ "name": "frequency",
564
+ "doc": "frequency in hertz",
565
+ "types": ["number"]
566
+ }
567
+ ],
568
+ "parameters": [
569
+ {
570
+ "name": "joint",
571
+ "doc": "distance, mouse, weld, or wheel joint",
572
+ "types": ["b2Joint"],
573
+ "is_optional": "False"
574
+ }
575
+ ],
576
+ "examples": "",
577
+ "replaces": "",
578
+ "error": "",
579
+ "tparams": [],
580
+ "members": [],
581
+ "notes": [],
582
+ "language": ""
583
+ },
584
+ {
585
+ "type": "FUNCTION",
586
+ "name": "b2d.joint.set_hertz",
587
+ "brief": "Alias for <code>b2d.joint.set_frequency</code>.",
588
+ "description": "Alias for <code>b2d.joint.set_frequency</code>.",
589
+ "returnvalues": [],
590
+ "parameters": [
591
+ {
592
+ "name": "joint",
593
+ "doc": "distance, mouse, weld, or wheel joint",
594
+ "types": ["b2Joint"],
595
+ "is_optional": "False"
596
+ },
597
+ {
598
+ "name": "hertz",
599
+ "doc": "frequency in hertz",
600
+ "types": ["number"],
601
+ "is_optional": "False"
602
+ }
603
+ ],
604
+ "examples": "",
605
+ "replaces": "",
606
+ "error": "",
607
+ "tparams": [],
608
+ "members": [],
609
+ "notes": [],
610
+ "language": ""
611
+ },
612
+ {
613
+ "type": "FUNCTION",
614
+ "name": "b2d.joint.get_hertz",
615
+ "brief": "Alias for <code>b2d.joint.get_frequency</code>.",
616
+ "description": "Alias for <code>b2d.joint.get_frequency</code>.",
617
+ "returnvalues": [
618
+ {
619
+ "name": "hertz",
620
+ "doc": "frequency in hertz",
621
+ "types": ["number"]
622
+ }
623
+ ],
624
+ "parameters": [
625
+ {
626
+ "name": "joint",
627
+ "doc": "distance, mouse, weld, or wheel joint",
628
+ "types": ["b2Joint"],
629
+ "is_optional": "False"
630
+ }
631
+ ],
632
+ "examples": "",
633
+ "replaces": "",
634
+ "error": "",
635
+ "tparams": [],
636
+ "members": [],
637
+ "notes": [],
638
+ "language": ""
639
+ },
640
+ {
641
+ "type": "FUNCTION",
642
+ "name": "b2d.joint.set_damping_ratio",
643
+ "brief": "Set spring damping ratio.",
644
+ "description": "Set spring damping ratio.",
645
+ "returnvalues": [],
646
+ "parameters": [
647
+ {
648
+ "name": "joint",
649
+ "doc": "distance, mouse, weld, or wheel joint",
650
+ "types": ["b2Joint"],
651
+ "is_optional": "False"
652
+ },
653
+ {
654
+ "name": "ratio",
655
+ "doc": "damping ratio",
656
+ "types": ["number"],
657
+ "is_optional": "False"
658
+ }
659
+ ],
660
+ "examples": "",
661
+ "replaces": "",
662
+ "error": "",
663
+ "tparams": [],
664
+ "members": [],
665
+ "notes": [],
666
+ "language": ""
667
+ },
668
+ {
669
+ "type": "FUNCTION",
670
+ "name": "b2d.joint.get_damping_ratio",
671
+ "brief": "Get spring damping ratio.",
672
+ "description": "Get spring damping ratio.",
673
+ "returnvalues": [
674
+ {
675
+ "name": "ratio",
676
+ "doc": "damping ratio",
677
+ "types": ["number"]
678
+ }
679
+ ],
680
+ "parameters": [
681
+ {
682
+ "name": "joint",
683
+ "doc": "distance, mouse, weld, or wheel joint",
684
+ "types": ["b2Joint"],
685
+ "is_optional": "False"
686
+ }
687
+ ],
688
+ "examples": "",
689
+ "replaces": "",
690
+ "error": "",
691
+ "tparams": [],
692
+ "members": [],
693
+ "notes": [],
694
+ "language": ""
695
+ },
696
+ {
697
+ "type": "FUNCTION",
698
+ "name": "b2d.joint.set_spring_damping_ratio",
699
+ "brief": "Alias for <code>b2d.joint.set_damping_ratio</code>.",
700
+ "description": "Alias for <code>b2d.joint.set_damping_ratio</code>.",
701
+ "returnvalues": [],
702
+ "parameters": [
703
+ {
704
+ "name": "joint",
705
+ "doc": "distance, mouse, weld, or wheel joint",
706
+ "types": ["b2Joint"],
707
+ "is_optional": "False"
708
+ },
709
+ {
710
+ "name": "ratio",
711
+ "doc": "damping ratio",
712
+ "types": ["number"],
713
+ "is_optional": "False"
714
+ }
715
+ ],
716
+ "examples": "",
717
+ "replaces": "",
718
+ "error": "",
719
+ "tparams": [],
720
+ "members": [],
721
+ "notes": [],
722
+ "language": ""
723
+ },
724
+ {
725
+ "type": "FUNCTION",
726
+ "name": "b2d.joint.get_spring_damping_ratio",
727
+ "brief": "Alias for <code>b2d.joint.get_damping_ratio</code>.",
728
+ "description": "Alias for <code>b2d.joint.get_damping_ratio</code>.",
729
+ "returnvalues": [
730
+ {
731
+ "name": "ratio",
732
+ "doc": "damping ratio",
733
+ "types": ["number"]
734
+ }
735
+ ],
736
+ "parameters": [
737
+ {
738
+ "name": "joint",
739
+ "doc": "distance, mouse, weld, or wheel joint",
740
+ "types": ["b2Joint"],
741
+ "is_optional": "False"
742
+ }
743
+ ],
744
+ "examples": "",
745
+ "replaces": "",
746
+ "error": "",
747
+ "tparams": [],
748
+ "members": [],
749
+ "notes": [],
750
+ "language": ""
751
+ },
752
+ {
753
+ "type": "FUNCTION",
754
+ "name": "b2d.joint.get_local_axis_a",
755
+ "brief": "Get the local axis on body A.",
756
+ "description": "Get the local axis on body A.",
757
+ "returnvalues": [
758
+ {
759
+ "name": "axis",
760
+ "doc": "local axis",
761
+ "types": ["vector3"]
762
+ }
763
+ ],
764
+ "parameters": [
765
+ {
766
+ "name": "joint",
767
+ "doc": "prismatic or wheel joint",
768
+ "types": ["b2Joint"],
769
+ "is_optional": "False"
770
+ }
771
+ ],
772
+ "examples": "",
773
+ "replaces": "",
774
+ "error": "",
775
+ "tparams": [],
776
+ "members": [],
777
+ "notes": [],
778
+ "language": ""
779
+ },
780
+ {
781
+ "type": "FUNCTION",
782
+ "name": "b2d.joint.get_reference_angle",
783
+ "brief": "Get the reference angle.",
784
+ "description": "Get the reference angle.",
785
+ "returnvalues": [
786
+ {
787
+ "name": "angle",
788
+ "doc": "reference angle in radians",
789
+ "types": ["number"]
790
+ }
791
+ ],
792
+ "parameters": [
793
+ {
794
+ "name": "joint",
795
+ "doc": "prismatic, revolute, or weld joint",
796
+ "types": ["b2Joint"],
797
+ "is_optional": "False"
798
+ }
799
+ ],
800
+ "examples": "",
801
+ "replaces": "",
802
+ "error": "",
803
+ "tparams": [],
804
+ "members": [],
805
+ "notes": [],
806
+ "language": ""
807
+ },
808
+ {
809
+ "type": "FUNCTION",
810
+ "name": "b2d.joint.get_joint_translation",
811
+ "brief": "Get joint translation.",
812
+ "description": "Get joint translation.",
813
+ "returnvalues": [
814
+ {
815
+ "name": "translation",
816
+ "doc": "translation in project units",
817
+ "types": ["number"]
818
+ }
819
+ ],
820
+ "parameters": [
821
+ {
822
+ "name": "joint",
823
+ "doc": "prismatic or wheel joint",
824
+ "types": ["b2Joint"],
825
+ "is_optional": "False"
826
+ }
827
+ ],
828
+ "examples": "",
829
+ "replaces": "",
830
+ "error": "",
831
+ "tparams": [],
832
+ "members": [],
833
+ "notes": [],
834
+ "language": ""
835
+ },
836
+ {
837
+ "type": "FUNCTION",
838
+ "name": "b2d.joint.get_joint_speed",
839
+ "brief": "Get joint speed.",
840
+ "description": "Get joint speed.",
841
+ "returnvalues": [
842
+ {
843
+ "name": "speed",
844
+ "doc": "joint speed",
845
+ "types": ["number"]
846
+ }
847
+ ],
848
+ "parameters": [
849
+ {
850
+ "name": "joint",
851
+ "doc": "prismatic, revolute, or wheel joint",
852
+ "types": ["b2Joint"],
853
+ "is_optional": "False"
854
+ }
855
+ ],
856
+ "examples": "",
857
+ "replaces": "",
858
+ "error": "",
859
+ "tparams": [],
860
+ "members": [],
861
+ "notes": [],
862
+ "language": ""
863
+ },
864
+ {
865
+ "type": "FUNCTION",
866
+ "name": "b2d.joint.get_joint_angle",
867
+ "brief": "Get revolute joint angle.",
868
+ "description": "Get revolute joint angle.",
869
+ "returnvalues": [
870
+ {
871
+ "name": "angle",
872
+ "doc": "angle in radians",
873
+ "types": ["number"]
874
+ }
875
+ ],
876
+ "parameters": [
877
+ {
878
+ "name": "joint",
879
+ "doc": "revolute joint",
880
+ "types": ["b2Joint"],
881
+ "is_optional": "False"
882
+ }
883
+ ],
884
+ "examples": "",
885
+ "replaces": "",
886
+ "error": "",
887
+ "tparams": [],
888
+ "members": [],
889
+ "notes": [],
890
+ "language": ""
891
+ },
892
+ {
893
+ "type": "FUNCTION",
894
+ "name": "b2d.joint.enable_limit",
895
+ "brief": "Enable or disable joint limits.",
896
+ "description": "Enable or disable joint limits.",
897
+ "returnvalues": [],
898
+ "parameters": [
899
+ {
900
+ "name": "joint",
901
+ "doc": "prismatic or revolute joint",
902
+ "types": ["b2Joint"],
903
+ "is_optional": "False"
904
+ },
905
+ {
906
+ "name": "enable",
907
+ "doc": "true to enable limits",
908
+ "types": ["boolean"],
909
+ "is_optional": "False"
910
+ }
911
+ ],
912
+ "examples": "",
913
+ "replaces": "",
914
+ "error": "",
915
+ "tparams": [],
916
+ "members": [],
917
+ "notes": [],
918
+ "language": ""
919
+ },
920
+ {
921
+ "type": "FUNCTION",
922
+ "name": "b2d.joint.is_limit_enabled",
923
+ "brief": "Get whether joint limits are enabled.",
924
+ "description": "Get whether joint limits are enabled.",
925
+ "returnvalues": [
926
+ {
927
+ "name": "enabled",
928
+ "doc": "true if limits are enabled",
929
+ "types": ["boolean"]
930
+ }
931
+ ],
932
+ "parameters": [
933
+ {
934
+ "name": "joint",
935
+ "doc": "prismatic or revolute joint",
936
+ "types": ["b2Joint"],
937
+ "is_optional": "False"
938
+ }
939
+ ],
940
+ "examples": "",
941
+ "replaces": "",
942
+ "error": "",
943
+ "tparams": [],
944
+ "members": [],
945
+ "notes": [],
946
+ "language": ""
947
+ },
948
+ {
949
+ "type": "FUNCTION",
950
+ "name": "b2d.joint.set_limits",
951
+ "brief": "Set joint limits.",
952
+ "description": "Set joint limits.",
953
+ "returnvalues": [],
954
+ "parameters": [
955
+ {
956
+ "name": "joint",
957
+ "doc": "prismatic or revolute joint",
958
+ "types": ["b2Joint"],
959
+ "is_optional": "False"
960
+ },
961
+ {
962
+ "name": "lower",
963
+ "doc": "lower limit",
964
+ "types": ["number"],
965
+ "is_optional": "False"
966
+ },
967
+ {
968
+ "name": "upper",
969
+ "doc": "upper limit",
970
+ "types": ["number"],
971
+ "is_optional": "False"
972
+ }
973
+ ],
974
+ "examples": "",
975
+ "replaces": "",
976
+ "error": "",
977
+ "tparams": [],
978
+ "members": [],
979
+ "notes": [],
980
+ "language": ""
981
+ },
982
+ {
983
+ "type": "FUNCTION",
984
+ "name": "b2d.joint.get_lower_limit",
985
+ "brief": "Get the lower joint limit.",
986
+ "description": "Get the lower joint limit.",
987
+ "returnvalues": [
988
+ {
989
+ "name": "lower",
990
+ "doc": "lower limit",
991
+ "types": ["number"]
992
+ }
993
+ ],
994
+ "parameters": [
995
+ {
996
+ "name": "joint",
997
+ "doc": "prismatic or revolute joint",
998
+ "types": ["b2Joint"],
999
+ "is_optional": "False"
1000
+ }
1001
+ ],
1002
+ "examples": "",
1003
+ "replaces": "",
1004
+ "error": "",
1005
+ "tparams": [],
1006
+ "members": [],
1007
+ "notes": [],
1008
+ "language": ""
1009
+ },
1010
+ {
1011
+ "type": "FUNCTION",
1012
+ "name": "b2d.joint.get_upper_limit",
1013
+ "brief": "Get the upper joint limit.",
1014
+ "description": "Get the upper joint limit.",
1015
+ "returnvalues": [
1016
+ {
1017
+ "name": "upper",
1018
+ "doc": "upper limit",
1019
+ "types": ["number"]
1020
+ }
1021
+ ],
1022
+ "parameters": [
1023
+ {
1024
+ "name": "joint",
1025
+ "doc": "prismatic or revolute joint",
1026
+ "types": ["b2Joint"],
1027
+ "is_optional": "False"
1028
+ }
1029
+ ],
1030
+ "examples": "",
1031
+ "replaces": "",
1032
+ "error": "",
1033
+ "tparams": [],
1034
+ "members": [],
1035
+ "notes": [],
1036
+ "language": ""
1037
+ },
1038
+ {
1039
+ "type": "FUNCTION",
1040
+ "name": "b2d.joint.enable_motor",
1041
+ "brief": "Enable or disable the joint motor.",
1042
+ "description": "Enable or disable the joint motor.",
1043
+ "returnvalues": [],
1044
+ "parameters": [
1045
+ {
1046
+ "name": "joint",
1047
+ "doc": "prismatic, revolute, or wheel joint",
1048
+ "types": ["b2Joint"],
1049
+ "is_optional": "False"
1050
+ },
1051
+ {
1052
+ "name": "enable",
1053
+ "doc": "true to enable the motor",
1054
+ "types": ["boolean"],
1055
+ "is_optional": "False"
1056
+ }
1057
+ ],
1058
+ "examples": "",
1059
+ "replaces": "",
1060
+ "error": "",
1061
+ "tparams": [],
1062
+ "members": [],
1063
+ "notes": [],
1064
+ "language": ""
1065
+ },
1066
+ {
1067
+ "type": "FUNCTION",
1068
+ "name": "b2d.joint.is_motor_enabled",
1069
+ "brief": "Get whether the joint motor is enabled.",
1070
+ "description": "Get whether the joint motor is enabled.",
1071
+ "returnvalues": [
1072
+ {
1073
+ "name": "enabled",
1074
+ "doc": "true if the motor is enabled",
1075
+ "types": ["boolean"]
1076
+ }
1077
+ ],
1078
+ "parameters": [
1079
+ {
1080
+ "name": "joint",
1081
+ "doc": "prismatic, revolute, or wheel joint",
1082
+ "types": ["b2Joint"],
1083
+ "is_optional": "False"
1084
+ }
1085
+ ],
1086
+ "examples": "",
1087
+ "replaces": "",
1088
+ "error": "",
1089
+ "tparams": [],
1090
+ "members": [],
1091
+ "notes": [],
1092
+ "language": ""
1093
+ },
1094
+ {
1095
+ "type": "FUNCTION",
1096
+ "name": "b2d.joint.set_motor_speed",
1097
+ "brief": "Set motor speed.",
1098
+ "description": "Set motor speed.",
1099
+ "returnvalues": [],
1100
+ "parameters": [
1101
+ {
1102
+ "name": "joint",
1103
+ "doc": "prismatic, revolute, or wheel joint",
1104
+ "types": ["b2Joint"],
1105
+ "is_optional": "False"
1106
+ },
1107
+ {
1108
+ "name": "speed",
1109
+ "doc": "motor speed",
1110
+ "types": ["number"],
1111
+ "is_optional": "False"
1112
+ }
1113
+ ],
1114
+ "examples": "",
1115
+ "replaces": "",
1116
+ "error": "",
1117
+ "tparams": [],
1118
+ "members": [],
1119
+ "notes": [],
1120
+ "language": ""
1121
+ },
1122
+ {
1123
+ "type": "FUNCTION",
1124
+ "name": "b2d.joint.get_motor_speed",
1125
+ "brief": "Get motor speed.",
1126
+ "description": "Get motor speed.",
1127
+ "returnvalues": [
1128
+ {
1129
+ "name": "speed",
1130
+ "doc": "motor speed",
1131
+ "types": ["number"]
1132
+ }
1133
+ ],
1134
+ "parameters": [
1135
+ {
1136
+ "name": "joint",
1137
+ "doc": "prismatic, revolute, or wheel joint",
1138
+ "types": ["b2Joint"],
1139
+ "is_optional": "False"
1140
+ }
1141
+ ],
1142
+ "examples": "",
1143
+ "replaces": "",
1144
+ "error": "",
1145
+ "tparams": [],
1146
+ "members": [],
1147
+ "notes": [],
1148
+ "language": ""
1149
+ },
1150
+ {
1151
+ "type": "FUNCTION",
1152
+ "name": "b2d.joint.set_max_motor_force",
1153
+ "brief": "Set maximum motor force.",
1154
+ "description": "Set maximum motor force.",
1155
+ "returnvalues": [],
1156
+ "parameters": [
1157
+ {
1158
+ "name": "joint",
1159
+ "doc": "prismatic joint",
1160
+ "types": ["b2Joint"],
1161
+ "is_optional": "False"
1162
+ },
1163
+ {
1164
+ "name": "force",
1165
+ "doc": "maximum motor force",
1166
+ "types": ["number"],
1167
+ "is_optional": "False"
1168
+ }
1169
+ ],
1170
+ "examples": "",
1171
+ "replaces": "",
1172
+ "error": "",
1173
+ "tparams": [],
1174
+ "members": [],
1175
+ "notes": [],
1176
+ "language": ""
1177
+ },
1178
+ {
1179
+ "type": "FUNCTION",
1180
+ "name": "b2d.joint.get_max_motor_force",
1181
+ "brief": "Get maximum motor force.",
1182
+ "description": "Get maximum motor force.",
1183
+ "returnvalues": [
1184
+ {
1185
+ "name": "force",
1186
+ "doc": "maximum motor force",
1187
+ "types": ["number"]
1188
+ }
1189
+ ],
1190
+ "parameters": [
1191
+ {
1192
+ "name": "joint",
1193
+ "doc": "prismatic joint",
1194
+ "types": ["b2Joint"],
1195
+ "is_optional": "False"
1196
+ }
1197
+ ],
1198
+ "examples": "",
1199
+ "replaces": "",
1200
+ "error": "",
1201
+ "tparams": [],
1202
+ "members": [],
1203
+ "notes": [],
1204
+ "language": ""
1205
+ },
1206
+ {
1207
+ "type": "FUNCTION",
1208
+ "name": "b2d.joint.get_motor_force",
1209
+ "brief": "Get current motor force.",
1210
+ "description": "Get current motor force.",
1211
+ "returnvalues": [
1212
+ {
1213
+ "name": "force",
1214
+ "doc": "motor force",
1215
+ "types": ["number"]
1216
+ }
1217
+ ],
1218
+ "parameters": [
1219
+ {
1220
+ "name": "joint",
1221
+ "doc": "prismatic joint",
1222
+ "types": ["b2Joint"],
1223
+ "is_optional": "False"
1224
+ },
1225
+ {
1226
+ "name": "inv_dt",
1227
+ "doc": "inverse time step",
1228
+ "types": ["number"],
1229
+ "is_optional": "False"
1230
+ }
1231
+ ],
1232
+ "examples": "",
1233
+ "replaces": "",
1234
+ "error": "",
1235
+ "tparams": [],
1236
+ "members": [],
1237
+ "notes": [],
1238
+ "language": ""
1239
+ },
1240
+ {
1241
+ "type": "FUNCTION",
1242
+ "name": "b2d.joint.set_max_motor_torque",
1243
+ "brief": "Set maximum motor torque.",
1244
+ "description": "Set maximum motor torque.",
1245
+ "returnvalues": [],
1246
+ "parameters": [
1247
+ {
1248
+ "name": "joint",
1249
+ "doc": "revolute or wheel joint",
1250
+ "types": ["b2Joint"],
1251
+ "is_optional": "False"
1252
+ },
1253
+ {
1254
+ "name": "torque",
1255
+ "doc": "maximum motor torque",
1256
+ "types": ["number"],
1257
+ "is_optional": "False"
1258
+ }
1259
+ ],
1260
+ "examples": "",
1261
+ "replaces": "",
1262
+ "error": "",
1263
+ "tparams": [],
1264
+ "members": [],
1265
+ "notes": [],
1266
+ "language": ""
1267
+ },
1268
+ {
1269
+ "type": "FUNCTION",
1270
+ "name": "b2d.joint.get_max_motor_torque",
1271
+ "brief": "Get maximum motor torque.",
1272
+ "description": "Get maximum motor torque.",
1273
+ "returnvalues": [
1274
+ {
1275
+ "name": "torque",
1276
+ "doc": "maximum motor torque",
1277
+ "types": ["number"]
1278
+ }
1279
+ ],
1280
+ "parameters": [
1281
+ {
1282
+ "name": "joint",
1283
+ "doc": "revolute or wheel joint",
1284
+ "types": ["b2Joint"],
1285
+ "is_optional": "False"
1286
+ }
1287
+ ],
1288
+ "examples": "",
1289
+ "replaces": "",
1290
+ "error": "",
1291
+ "tparams": [],
1292
+ "members": [],
1293
+ "notes": [],
1294
+ "language": ""
1295
+ },
1296
+ {
1297
+ "type": "FUNCTION",
1298
+ "name": "b2d.joint.get_motor_torque",
1299
+ "brief": "Get current motor torque.",
1300
+ "description": "Get current motor torque.",
1301
+ "returnvalues": [
1302
+ {
1303
+ "name": "torque",
1304
+ "doc": "motor torque",
1305
+ "types": ["number"]
1306
+ }
1307
+ ],
1308
+ "parameters": [
1309
+ {
1310
+ "name": "joint",
1311
+ "doc": "revolute or wheel joint",
1312
+ "types": ["b2Joint"],
1313
+ "is_optional": "False"
1314
+ },
1315
+ {
1316
+ "name": "inv_dt",
1317
+ "doc": "inverse time step",
1318
+ "types": ["number"],
1319
+ "is_optional": "False"
1320
+ }
1321
+ ],
1322
+ "examples": "",
1323
+ "replaces": "",
1324
+ "error": "",
1325
+ "tparams": [],
1326
+ "members": [],
1327
+ "notes": [],
1328
+ "language": ""
1329
+ },
1330
+ {
1331
+ "type": "FUNCTION",
1332
+ "name": "b2d.joint.set_max_force",
1333
+ "brief": "Set maximum force.",
1334
+ "description": "Set maximum force.",
1335
+ "returnvalues": [],
1336
+ "parameters": [
1337
+ {
1338
+ "name": "joint",
1339
+ "doc": "mouse or friction joint",
1340
+ "types": ["b2Joint"],
1341
+ "is_optional": "False"
1342
+ },
1343
+ {
1344
+ "name": "force",
1345
+ "doc": "maximum force",
1346
+ "types": ["number"],
1347
+ "is_optional": "False"
1348
+ }
1349
+ ],
1350
+ "examples": "",
1351
+ "replaces": "",
1352
+ "error": "",
1353
+ "tparams": [],
1354
+ "members": [],
1355
+ "notes": [],
1356
+ "language": ""
1357
+ },
1358
+ {
1359
+ "type": "FUNCTION",
1360
+ "name": "b2d.joint.get_max_force",
1361
+ "brief": "Get maximum force.",
1362
+ "description": "Get maximum force.",
1363
+ "returnvalues": [
1364
+ {
1365
+ "name": "force",
1366
+ "doc": "maximum force",
1367
+ "types": ["number"]
1368
+ }
1369
+ ],
1370
+ "parameters": [
1371
+ {
1372
+ "name": "joint",
1373
+ "doc": "mouse or friction joint",
1374
+ "types": ["b2Joint"],
1375
+ "is_optional": "False"
1376
+ }
1377
+ ],
1378
+ "examples": "",
1379
+ "replaces": "",
1380
+ "error": "",
1381
+ "tparams": [],
1382
+ "members": [],
1383
+ "notes": [],
1384
+ "language": ""
1385
+ },
1386
+ {
1387
+ "type": "FUNCTION",
1388
+ "name": "b2d.joint.set_max_torque",
1389
+ "brief": "Set maximum torque.",
1390
+ "description": "Set maximum torque.",
1391
+ "returnvalues": [],
1392
+ "parameters": [
1393
+ {
1394
+ "name": "joint",
1395
+ "doc": "friction joint",
1396
+ "types": ["b2Joint"],
1397
+ "is_optional": "False"
1398
+ },
1399
+ {
1400
+ "name": "torque",
1401
+ "doc": "maximum torque",
1402
+ "types": ["number"],
1403
+ "is_optional": "False"
1404
+ }
1405
+ ],
1406
+ "examples": "",
1407
+ "replaces": "",
1408
+ "error": "",
1409
+ "tparams": [],
1410
+ "members": [],
1411
+ "notes": [],
1412
+ "language": ""
1413
+ },
1414
+ {
1415
+ "type": "FUNCTION",
1416
+ "name": "b2d.joint.get_max_torque",
1417
+ "brief": "Get maximum torque.",
1418
+ "description": "Get maximum torque.",
1419
+ "returnvalues": [
1420
+ {
1421
+ "name": "torque",
1422
+ "doc": "maximum torque",
1423
+ "types": ["number"]
1424
+ }
1425
+ ],
1426
+ "parameters": [
1427
+ {
1428
+ "name": "joint",
1429
+ "doc": "friction joint",
1430
+ "types": ["b2Joint"],
1431
+ "is_optional": "False"
1432
+ }
1433
+ ],
1434
+ "examples": "",
1435
+ "replaces": "",
1436
+ "error": "",
1437
+ "tparams": [],
1438
+ "members": [],
1439
+ "notes": [],
1440
+ "language": ""
1441
+ },
1442
+ {
1443
+ "type": "FUNCTION",
1444
+ "name": "b2d.joint.set_max_length",
1445
+ "brief": "Set rope maximum length.",
1446
+ "description": "Set rope maximum length.",
1447
+ "returnvalues": [],
1448
+ "parameters": [
1449
+ {
1450
+ "name": "joint",
1451
+ "doc": "rope joint",
1452
+ "types": ["b2Joint"],
1453
+ "is_optional": "False"
1454
+ },
1455
+ {
1456
+ "name": "length",
1457
+ "doc": "maximum length in project units",
1458
+ "types": ["number"],
1459
+ "is_optional": "False"
1460
+ }
1461
+ ],
1462
+ "examples": "",
1463
+ "replaces": "",
1464
+ "error": "",
1465
+ "tparams": [],
1466
+ "members": [],
1467
+ "notes": [],
1468
+ "language": ""
1469
+ },
1470
+ {
1471
+ "type": "FUNCTION",
1472
+ "name": "b2d.joint.get_max_length",
1473
+ "brief": "Get rope maximum length.",
1474
+ "description": "Get rope maximum length.",
1475
+ "returnvalues": [
1476
+ {
1477
+ "name": "length",
1478
+ "doc": "maximum length in project units",
1479
+ "types": ["number"]
1480
+ }
1481
+ ],
1482
+ "parameters": [
1483
+ {
1484
+ "name": "joint",
1485
+ "doc": "rope joint",
1486
+ "types": ["b2Joint"],
1487
+ "is_optional": "False"
1488
+ }
1489
+ ],
1490
+ "examples": "",
1491
+ "replaces": "",
1492
+ "error": "",
1493
+ "tparams": [],
1494
+ "members": [],
1495
+ "notes": [],
1496
+ "language": ""
1497
+ },
1498
+ {
1499
+ "type": "FUNCTION",
1500
+ "name": "b2d.joint.get_limit_state",
1501
+ "brief": "Get rope limit state.",
1502
+ "description": "Get rope limit state.",
1503
+ "returnvalues": [
1504
+ {
1505
+ "name": "state",
1506
+ "doc": "one of the <code>LIMIT_STATE_*</code> constants",
1507
+ "types": ["b2d.joint.LIMIT_STATE"]
1508
+ }
1509
+ ],
1510
+ "parameters": [
1511
+ {
1512
+ "name": "joint",
1513
+ "doc": "rope joint",
1514
+ "types": ["b2Joint"],
1515
+ "is_optional": "False"
1516
+ }
1517
+ ],
1518
+ "examples": "",
1519
+ "replaces": "",
1520
+ "error": "",
1521
+ "tparams": [],
1522
+ "members": [],
1523
+ "notes": [],
1524
+ "language": ""
1525
+ },
1526
+ {
1527
+ "type": "FUNCTION",
1528
+ "name": "b2d.joint.get_ground_anchor_a",
1529
+ "brief": "Get pulley ground anchor A.",
1530
+ "description": "Get pulley ground anchor A.",
1531
+ "returnvalues": [
1532
+ {
1533
+ "name": "anchor",
1534
+ "doc": "world anchor",
1535
+ "types": ["vector3"]
1536
+ }
1537
+ ],
1538
+ "parameters": [
1539
+ {
1540
+ "name": "joint",
1541
+ "doc": "pulley joint",
1542
+ "types": ["b2Joint"],
1543
+ "is_optional": "False"
1544
+ }
1545
+ ],
1546
+ "examples": "",
1547
+ "replaces": "",
1548
+ "error": "",
1549
+ "tparams": [],
1550
+ "members": [],
1551
+ "notes": [],
1552
+ "language": ""
1553
+ },
1554
+ {
1555
+ "type": "FUNCTION",
1556
+ "name": "b2d.joint.get_ground_anchor_b",
1557
+ "brief": "Get pulley ground anchor B.",
1558
+ "description": "Get pulley ground anchor B.",
1559
+ "returnvalues": [
1560
+ {
1561
+ "name": "anchor",
1562
+ "doc": "world anchor",
1563
+ "types": ["vector3"]
1564
+ }
1565
+ ],
1566
+ "parameters": [
1567
+ {
1568
+ "name": "joint",
1569
+ "doc": "pulley joint",
1570
+ "types": ["b2Joint"],
1571
+ "is_optional": "False"
1572
+ }
1573
+ ],
1574
+ "examples": "",
1575
+ "replaces": "",
1576
+ "error": "",
1577
+ "tparams": [],
1578
+ "members": [],
1579
+ "notes": [],
1580
+ "language": ""
1581
+ },
1582
+ {
1583
+ "type": "FUNCTION",
1584
+ "name": "b2d.joint.get_length_a",
1585
+ "brief": "Get pulley segment length A.",
1586
+ "description": "Get pulley segment length A.",
1587
+ "returnvalues": [
1588
+ {
1589
+ "name": "length",
1590
+ "doc": "length in project units",
1591
+ "types": ["number"]
1592
+ }
1593
+ ],
1594
+ "parameters": [
1595
+ {
1596
+ "name": "joint",
1597
+ "doc": "pulley joint",
1598
+ "types": ["b2Joint"],
1599
+ "is_optional": "False"
1600
+ }
1601
+ ],
1602
+ "examples": "",
1603
+ "replaces": "",
1604
+ "error": "",
1605
+ "tparams": [],
1606
+ "members": [],
1607
+ "notes": [],
1608
+ "language": ""
1609
+ },
1610
+ {
1611
+ "type": "FUNCTION",
1612
+ "name": "b2d.joint.get_length_b",
1613
+ "brief": "Get pulley segment length B.",
1614
+ "description": "Get pulley segment length B.",
1615
+ "returnvalues": [
1616
+ {
1617
+ "name": "length",
1618
+ "doc": "length in project units",
1619
+ "types": ["number"]
1620
+ }
1621
+ ],
1622
+ "parameters": [
1623
+ {
1624
+ "name": "joint",
1625
+ "doc": "pulley joint",
1626
+ "types": ["b2Joint"],
1627
+ "is_optional": "False"
1628
+ }
1629
+ ],
1630
+ "examples": "",
1631
+ "replaces": "",
1632
+ "error": "",
1633
+ "tparams": [],
1634
+ "members": [],
1635
+ "notes": [],
1636
+ "language": ""
1637
+ },
1638
+ {
1639
+ "type": "FUNCTION",
1640
+ "name": "b2d.joint.set_ratio",
1641
+ "brief": "Set gear joint ratio.",
1642
+ "description": "Set gear joint ratio.",
1643
+ "returnvalues": [],
1644
+ "parameters": [
1645
+ {
1646
+ "name": "joint",
1647
+ "doc": "gear joint",
1648
+ "types": ["b2Joint"],
1649
+ "is_optional": "False"
1650
+ },
1651
+ {
1652
+ "name": "ratio",
1653
+ "doc": "gear ratio",
1654
+ "types": ["number"],
1655
+ "is_optional": "False"
1656
+ }
1657
+ ],
1658
+ "examples": "",
1659
+ "replaces": "",
1660
+ "error": "",
1661
+ "tparams": [],
1662
+ "members": [],
1663
+ "notes": [],
1664
+ "language": ""
1665
+ },
1666
+ {
1667
+ "type": "FUNCTION",
1668
+ "name": "b2d.joint.get_ratio",
1669
+ "brief": "Get joint ratio.",
1670
+ "description": "Get joint ratio.",
1671
+ "returnvalues": [
1672
+ {
1673
+ "name": "ratio",
1674
+ "doc": "joint ratio",
1675
+ "types": ["number"]
1676
+ }
1677
+ ],
1678
+ "parameters": [
1679
+ {
1680
+ "name": "joint",
1681
+ "doc": "pulley or gear joint",
1682
+ "types": ["b2Joint"],
1683
+ "is_optional": "False"
1684
+ }
1685
+ ],
1686
+ "examples": "",
1687
+ "replaces": "",
1688
+ "error": "",
1689
+ "tparams": [],
1690
+ "members": [],
1691
+ "notes": [],
1692
+ "language": ""
1693
+ },
1694
+ {
1695
+ "type": "FUNCTION",
1696
+ "name": "b2d.joint.get_joint1",
1697
+ "brief": "Get the first joint connected to a gear joint.",
1698
+ "description": "Get the first joint connected to a gear joint.",
1699
+ "returnvalues": [
1700
+ {
1701
+ "name": "joint1",
1702
+ "doc": "first connected joint",
1703
+ "types": ["b2Joint"]
1704
+ }
1705
+ ],
1706
+ "parameters": [
1707
+ {
1708
+ "name": "joint",
1709
+ "doc": "gear joint",
1710
+ "types": ["b2Joint"],
1711
+ "is_optional": "False"
1712
+ }
1713
+ ],
1714
+ "examples": "",
1715
+ "replaces": "",
1716
+ "error": "",
1717
+ "tparams": [],
1718
+ "members": [],
1719
+ "notes": [],
1720
+ "language": ""
1721
+ },
1722
+ {
1723
+ "type": "FUNCTION",
1724
+ "name": "b2d.joint.get_joint2",
1725
+ "brief": "Get the second joint connected to a gear joint.",
1726
+ "description": "Get the second joint connected to a gear joint.",
1727
+ "returnvalues": [
1728
+ {
1729
+ "name": "joint2",
1730
+ "doc": "second connected joint",
1731
+ "types": ["b2Joint"]
1732
+ }
1733
+ ],
1734
+ "parameters": [
1735
+ {
1736
+ "name": "joint",
1737
+ "doc": "gear joint",
1738
+ "types": ["b2Joint"],
1739
+ "is_optional": "False"
1740
+ }
1741
+ ],
1742
+ "examples": "",
1743
+ "replaces": "",
1744
+ "error": "",
1745
+ "tparams": [],
1746
+ "members": [],
1747
+ "notes": [],
1748
+ "language": ""
1749
+ },
1750
+ {
1751
+ "type": "FUNCTION",
1752
+ "name": "b2d.joint.get_reaction_force",
1753
+ "brief": "Get reaction force.",
1754
+ "description": "Get reaction force.",
1755
+ "returnvalues": [
1756
+ {
1757
+ "name": "force",
1758
+ "doc": "reaction force",
1759
+ "types": ["vector3"]
1760
+ }
1761
+ ],
1762
+ "parameters": [
1763
+ {
1764
+ "name": "joint",
1765
+ "doc": "joint",
1766
+ "types": ["b2Joint"],
1767
+ "is_optional": "False"
1768
+ },
1769
+ {
1770
+ "name": "inv_dt",
1771
+ "doc": "inverse time step",
1772
+ "types": ["number"],
1773
+ "is_optional": "False"
1774
+ }
1775
+ ],
1776
+ "examples": "",
1777
+ "replaces": "",
1778
+ "error": "",
1779
+ "tparams": [],
1780
+ "members": [],
1781
+ "notes": [],
1782
+ "language": ""
1783
+ },
1784
+ {
1785
+ "type": "FUNCTION",
1786
+ "name": "b2d.joint.get_reaction_torque",
1787
+ "brief": "Get reaction torque.",
1788
+ "description": "Get reaction torque.",
1789
+ "returnvalues": [
1790
+ {
1791
+ "name": "torque",
1792
+ "doc": "reaction torque",
1793
+ "types": ["number"]
1794
+ }
1795
+ ],
1796
+ "parameters": [
1797
+ {
1798
+ "name": "joint",
1799
+ "doc": "joint",
1800
+ "types": ["b2Joint"],
1801
+ "is_optional": "False"
1802
+ },
1803
+ {
1804
+ "name": "inv_dt",
1805
+ "doc": "inverse time step",
1806
+ "types": ["number"],
1807
+ "is_optional": "False"
1808
+ }
1809
+ ],
1810
+ "examples": "",
1811
+ "replaces": "",
1812
+ "error": "",
1813
+ "tparams": [],
1814
+ "members": [],
1815
+ "notes": [],
1816
+ "language": ""
1817
+ },
1818
+ {
1819
+ "type": "FUNCTION",
1820
+ "name": "b2d.joint.create_distance",
1821
+ "brief": "Create a distance joint.",
1822
+ "description": "Create a distance joint.",
1823
+ "returnvalues": [
1824
+ {
1825
+ "name": "joint",
1826
+ "doc": "created joint",
1827
+ "types": ["b2Joint"]
1828
+ }
1829
+ ],
1830
+ "parameters": [
1831
+ {
1832
+ "name": "body_a",
1833
+ "doc": "first body",
1834
+ "types": ["b2Body"],
1835
+ "is_optional": "False"
1836
+ },
1837
+ {
1838
+ "name": "body_b",
1839
+ "doc": "second body",
1840
+ "types": ["b2Body"],
1841
+ "is_optional": "False"
1842
+ },
1843
+ {
1844
+ "name": "definition",
1845
+ "doc": "optional joint definition",
1846
+ "types": ["b2d.joint.distance_definition"],
1847
+ "is_optional": "True"
1848
+ }
1849
+ ],
1850
+ "examples": "",
1851
+ "replaces": "",
1852
+ "error": "",
1853
+ "tparams": [],
1854
+ "members": [],
1855
+ "notes": [],
1856
+ "language": ""
1857
+ },
1858
+ {
1859
+ "type": "FUNCTION",
1860
+ "name": "b2d.joint.create_mouse",
1861
+ "brief": "Create a mouse joint.",
1862
+ "description": "Create a mouse joint.",
1863
+ "returnvalues": [
1864
+ {
1865
+ "name": "joint",
1866
+ "doc": "created joint",
1867
+ "types": ["b2Joint"]
1868
+ }
1869
+ ],
1870
+ "parameters": [
1871
+ {
1872
+ "name": "body_a",
1873
+ "doc": "first body",
1874
+ "types": ["b2Body"],
1875
+ "is_optional": "False"
1876
+ },
1877
+ {
1878
+ "name": "body_b",
1879
+ "doc": "second body",
1880
+ "types": ["b2Body"],
1881
+ "is_optional": "False"
1882
+ },
1883
+ {
1884
+ "name": "definition",
1885
+ "doc": "optional joint definition",
1886
+ "types": ["b2d.joint.mouse_definition"],
1887
+ "is_optional": "True"
1888
+ }
1889
+ ],
1890
+ "examples": "",
1891
+ "replaces": "",
1892
+ "error": "",
1893
+ "tparams": [],
1894
+ "members": [],
1895
+ "notes": [],
1896
+ "language": ""
1897
+ },
1898
+ {
1899
+ "type": "FUNCTION",
1900
+ "name": "b2d.joint.create_prismatic",
1901
+ "brief": "Create a prismatic joint.",
1902
+ "description": "Create a prismatic joint.",
1903
+ "returnvalues": [
1904
+ {
1905
+ "name": "joint",
1906
+ "doc": "created joint",
1907
+ "types": ["b2Joint"]
1908
+ }
1909
+ ],
1910
+ "parameters": [
1911
+ {
1912
+ "name": "body_a",
1913
+ "doc": "first body",
1914
+ "types": ["b2Body"],
1915
+ "is_optional": "False"
1916
+ },
1917
+ {
1918
+ "name": "body_b",
1919
+ "doc": "second body",
1920
+ "types": ["b2Body"],
1921
+ "is_optional": "False"
1922
+ },
1923
+ {
1924
+ "name": "definition",
1925
+ "doc": "optional joint definition",
1926
+ "types": ["b2d.joint.prismatic_definition"],
1927
+ "is_optional": "True"
1928
+ }
1929
+ ],
1930
+ "examples": "",
1931
+ "replaces": "",
1932
+ "error": "",
1933
+ "tparams": [],
1934
+ "members": [],
1935
+ "notes": [],
1936
+ "language": ""
1937
+ },
1938
+ {
1939
+ "type": "FUNCTION",
1940
+ "name": "b2d.joint.create_revolute",
1941
+ "brief": "Create a revolute joint.",
1942
+ "description": "Create a revolute joint.",
1943
+ "returnvalues": [
1944
+ {
1945
+ "name": "joint",
1946
+ "doc": "created joint",
1947
+ "types": ["b2Joint"]
1948
+ }
1949
+ ],
1950
+ "parameters": [
1951
+ {
1952
+ "name": "body_a",
1953
+ "doc": "first body",
1954
+ "types": ["b2Body"],
1955
+ "is_optional": "False"
1956
+ },
1957
+ {
1958
+ "name": "body_b",
1959
+ "doc": "second body",
1960
+ "types": ["b2Body"],
1961
+ "is_optional": "False"
1962
+ },
1963
+ {
1964
+ "name": "definition",
1965
+ "doc": "optional joint definition",
1966
+ "types": ["b2d.joint.revolute_definition"],
1967
+ "is_optional": "True"
1968
+ }
1969
+ ],
1970
+ "examples": "",
1971
+ "replaces": "",
1972
+ "error": "",
1973
+ "tparams": [],
1974
+ "members": [],
1975
+ "notes": [],
1976
+ "language": ""
1977
+ },
1978
+ {
1979
+ "type": "FUNCTION",
1980
+ "name": "b2d.joint.create_weld",
1981
+ "brief": "Create a weld joint.",
1982
+ "description": "Create a weld joint.",
1983
+ "returnvalues": [
1984
+ {
1985
+ "name": "joint",
1986
+ "doc": "created joint",
1987
+ "types": ["b2Joint"]
1988
+ }
1989
+ ],
1990
+ "parameters": [
1991
+ {
1992
+ "name": "body_a",
1993
+ "doc": "first body",
1994
+ "types": ["b2Body"],
1995
+ "is_optional": "False"
1996
+ },
1997
+ {
1998
+ "name": "body_b",
1999
+ "doc": "second body",
2000
+ "types": ["b2Body"],
2001
+ "is_optional": "False"
2002
+ },
2003
+ {
2004
+ "name": "definition",
2005
+ "doc": "optional joint definition",
2006
+ "types": ["b2d.joint.weld_definition"],
2007
+ "is_optional": "True"
2008
+ }
2009
+ ],
2010
+ "examples": "",
2011
+ "replaces": "",
2012
+ "error": "",
2013
+ "tparams": [],
2014
+ "members": [],
2015
+ "notes": [],
2016
+ "language": ""
2017
+ },
2018
+ {
2019
+ "type": "FUNCTION",
2020
+ "name": "b2d.joint.create_wheel",
2021
+ "brief": "Create a wheel joint.",
2022
+ "description": "Create a wheel joint.",
2023
+ "returnvalues": [
2024
+ {
2025
+ "name": "joint",
2026
+ "doc": "created joint",
2027
+ "types": ["b2Joint"]
2028
+ }
2029
+ ],
2030
+ "parameters": [
2031
+ {
2032
+ "name": "body_a",
2033
+ "doc": "first body",
2034
+ "types": ["b2Body"],
2035
+ "is_optional": "False"
2036
+ },
2037
+ {
2038
+ "name": "body_b",
2039
+ "doc": "second body",
2040
+ "types": ["b2Body"],
2041
+ "is_optional": "False"
2042
+ },
2043
+ {
2044
+ "name": "definition",
2045
+ "doc": "optional joint definition",
2046
+ "types": ["b2d.joint.wheel_definition"],
2047
+ "is_optional": "True"
2048
+ }
2049
+ ],
2050
+ "examples": "",
2051
+ "replaces": "",
2052
+ "error": "",
2053
+ "tparams": [],
2054
+ "members": [],
2055
+ "notes": [],
2056
+ "language": ""
2057
+ },
2058
+ {
2059
+ "type": "FUNCTION",
2060
+ "name": "b2d.joint.create_friction",
2061
+ "brief": "Create a friction joint.",
2062
+ "description": "Create a friction joint.",
2063
+ "returnvalues": [
2064
+ {
2065
+ "name": "joint",
2066
+ "doc": "created joint",
2067
+ "types": ["b2Joint"]
2068
+ }
2069
+ ],
2070
+ "parameters": [
2071
+ {
2072
+ "name": "body_a",
2073
+ "doc": "first body",
2074
+ "types": ["b2Body"],
2075
+ "is_optional": "False"
2076
+ },
2077
+ {
2078
+ "name": "body_b",
2079
+ "doc": "second body",
2080
+ "types": ["b2Body"],
2081
+ "is_optional": "False"
2082
+ },
2083
+ {
2084
+ "name": "definition",
2085
+ "doc": "optional joint definition",
2086
+ "types": ["b2d.joint.friction_definition"],
2087
+ "is_optional": "True"
2088
+ }
2089
+ ],
2090
+ "examples": "",
2091
+ "replaces": "",
2092
+ "error": "",
2093
+ "tparams": [],
2094
+ "members": [],
2095
+ "notes": [],
2096
+ "language": ""
2097
+ },
2098
+ {
2099
+ "type": "FUNCTION",
2100
+ "name": "b2d.joint.create_rope",
2101
+ "brief": "Create a rope joint.",
2102
+ "description": "Create a rope joint.",
2103
+ "returnvalues": [
2104
+ {
2105
+ "name": "joint",
2106
+ "doc": "created joint",
2107
+ "types": ["b2Joint"]
2108
+ }
2109
+ ],
2110
+ "parameters": [
2111
+ {
2112
+ "name": "body_a",
2113
+ "doc": "first body",
2114
+ "types": ["b2Body"],
2115
+ "is_optional": "False"
2116
+ },
2117
+ {
2118
+ "name": "body_b",
2119
+ "doc": "second body",
2120
+ "types": ["b2Body"],
2121
+ "is_optional": "False"
2122
+ },
2123
+ {
2124
+ "name": "definition",
2125
+ "doc": "optional joint definition",
2126
+ "types": ["b2d.joint.rope_definition"],
2127
+ "is_optional": "True"
2128
+ }
2129
+ ],
2130
+ "examples": "",
2131
+ "replaces": "",
2132
+ "error": "",
2133
+ "tparams": [],
2134
+ "members": [],
2135
+ "notes": [],
2136
+ "language": ""
2137
+ },
2138
+ {
2139
+ "type": "FUNCTION",
2140
+ "name": "b2d.joint.create_pulley",
2141
+ "brief": "Create a pulley joint.",
2142
+ "description": "Create a pulley joint.",
2143
+ "returnvalues": [
2144
+ {
2145
+ "name": "joint",
2146
+ "doc": "created joint",
2147
+ "types": ["b2Joint"]
2148
+ }
2149
+ ],
2150
+ "parameters": [
2151
+ {
2152
+ "name": "body_a",
2153
+ "doc": "first body",
2154
+ "types": ["b2Body"],
2155
+ "is_optional": "False"
2156
+ },
2157
+ {
2158
+ "name": "body_b",
2159
+ "doc": "second body",
2160
+ "types": ["b2Body"],
2161
+ "is_optional": "False"
2162
+ },
2163
+ {
2164
+ "name": "definition",
2165
+ "doc": "optional joint definition",
2166
+ "types": ["b2d.joint.pulley_definition"],
2167
+ "is_optional": "True"
2168
+ }
2169
+ ],
2170
+ "examples": "",
2171
+ "replaces": "",
2172
+ "error": "",
2173
+ "tparams": [],
2174
+ "members": [],
2175
+ "notes": [],
2176
+ "language": ""
2177
+ },
2178
+ {
2179
+ "type": "FUNCTION",
2180
+ "name": "b2d.joint.create_gear",
2181
+ "brief": "Create a gear joint.",
2182
+ "description": "Create a gear joint.",
2183
+ "returnvalues": [
2184
+ {
2185
+ "name": "joint",
2186
+ "doc": "created joint",
2187
+ "types": ["b2Joint"]
2188
+ }
2189
+ ],
2190
+ "parameters": [
2191
+ {
2192
+ "name": "joint1",
2193
+ "doc": "first revolute or prismatic joint",
2194
+ "types": ["b2Joint"],
2195
+ "is_optional": "False"
2196
+ },
2197
+ {
2198
+ "name": "joint2",
2199
+ "doc": "second revolute or prismatic joint",
2200
+ "types": ["b2Joint"],
2201
+ "is_optional": "False"
2202
+ },
2203
+ {
2204
+ "name": "definition",
2205
+ "doc": "optional joint definition",
2206
+ "types": ["b2d.joint.gear_definition"],
2207
+ "is_optional": "True"
2208
+ }
2209
+ ],
2210
+ "examples": "",
2211
+ "replaces": "",
2212
+ "error": "",
2213
+ "tparams": [],
2214
+ "members": [],
2215
+ "notes": [],
2216
+ "language": ""
2217
+ },
2218
+ {
2219
+ "type": "FUNCTION",
2220
+ "name": "b2d.joint.is_valid",
2221
+ "brief": "Validate a joint handle.",
2222
+ "description": "Validate a joint handle.",
2223
+ "returnvalues": [
2224
+ {
2225
+ "name": "valid",
2226
+ "doc": "true if the joint handle still refers to a live Box2D joint",
2227
+ "types": ["boolean"]
2228
+ }
2229
+ ],
2230
+ "parameters": [
2231
+ {
2232
+ "name": "joint",
2233
+ "doc": "joint",
2234
+ "types": ["b2Joint"],
2235
+ "is_optional": "False"
2236
+ }
2237
+ ],
2238
+ "examples": "",
2239
+ "replaces": "",
2240
+ "error": "",
2241
+ "tparams": [],
2242
+ "members": [],
2243
+ "notes": [],
2244
+ "language": ""
2245
+ },
2246
+ {
2247
+ "type": "FUNCTION",
2248
+ "name": "b2d.joint.get_world",
2249
+ "brief": "Get the world owning a joint.",
2250
+ "description": "Get the world owning a joint.",
2251
+ "returnvalues": [
2252
+ {
2253
+ "name": "world",
2254
+ "doc": "owning world",
2255
+ "types": ["b2World"]
2256
+ }
2257
+ ],
2258
+ "parameters": [
2259
+ {
2260
+ "name": "joint",
2261
+ "doc": "joint",
2262
+ "types": ["b2Joint"],
2263
+ "is_optional": "False"
2264
+ }
2265
+ ],
2266
+ "examples": "",
2267
+ "replaces": "",
2268
+ "error": "",
2269
+ "tparams": [],
2270
+ "members": [],
2271
+ "notes": [],
2272
+ "language": ""
2273
+ },
2274
+ {
2275
+ "type": "FUNCTION",
2276
+ "name": "b2d.joint.set_collide_connected",
2277
+ "brief": "Set whether connected bodies can collide.",
2278
+ "description": "Set whether connected bodies can collide.",
2279
+ "returnvalues": [],
2280
+ "parameters": [
2281
+ {
2282
+ "name": "joint",
2283
+ "doc": "joint",
2284
+ "types": ["b2Joint"],
2285
+ "is_optional": "False"
2286
+ },
2287
+ {
2288
+ "name": "collide",
2289
+ "doc": "true if connected bodies can collide",
2290
+ "types": ["boolean"],
2291
+ "is_optional": "False"
2292
+ }
2293
+ ],
2294
+ "examples": "",
2295
+ "replaces": "",
2296
+ "error": "",
2297
+ "tparams": [],
2298
+ "members": [],
2299
+ "notes": [],
2300
+ "language": ""
2301
+ },
2302
+ {
2303
+ "type": "FUNCTION",
2304
+ "name": "b2d.joint.wake_bodies",
2305
+ "brief": "Wake the bodies connected to a joint.",
2306
+ "description": "Wake the bodies connected to a joint.",
2307
+ "returnvalues": [],
2308
+ "parameters": [
2309
+ {
2310
+ "name": "joint",
2311
+ "doc": "joint",
2312
+ "types": ["b2Joint"],
2313
+ "is_optional": "False"
2314
+ }
2315
+ ],
2316
+ "examples": "",
2317
+ "replaces": "",
2318
+ "error": "",
2319
+ "tparams": [],
2320
+ "members": [],
2321
+ "notes": [],
2322
+ "language": ""
2323
+ },
2324
+ {
2325
+ "type": "FUNCTION",
2326
+ "name": "b2d.joint.enable_spring",
2327
+ "brief": "Enable or disable joint spring behavior.",
2328
+ "description": "Enable or disable joint spring behavior.",
2329
+ "returnvalues": [],
2330
+ "parameters": [
2331
+ {
2332
+ "name": "joint",
2333
+ "doc": "distance, prismatic, revolute, or wheel joint",
2334
+ "types": ["b2Joint"],
2335
+ "is_optional": "False"
2336
+ },
2337
+ {
2338
+ "name": "enable",
2339
+ "doc": "true to enable the spring",
2340
+ "types": ["boolean"],
2341
+ "is_optional": "False"
2342
+ }
2343
+ ],
2344
+ "examples": "",
2345
+ "replaces": "",
2346
+ "error": "",
2347
+ "tparams": [],
2348
+ "members": [],
2349
+ "notes": [],
2350
+ "language": ""
2351
+ },
2352
+ {
2353
+ "type": "FUNCTION",
2354
+ "name": "b2d.joint.is_spring_enabled",
2355
+ "brief": "Get whether joint spring behavior is enabled.",
2356
+ "description": "Get whether joint spring behavior is enabled.",
2357
+ "returnvalues": [
2358
+ {
2359
+ "name": "enabled",
2360
+ "doc": "true if the spring is enabled",
2361
+ "types": ["boolean"]
2362
+ }
2363
+ ],
2364
+ "parameters": [
2365
+ {
2366
+ "name": "joint",
2367
+ "doc": "distance, prismatic, revolute, or wheel joint",
2368
+ "types": ["b2Joint"],
2369
+ "is_optional": "False"
2370
+ }
2371
+ ],
2372
+ "examples": "",
2373
+ "replaces": "",
2374
+ "error": "",
2375
+ "tparams": [],
2376
+ "members": [],
2377
+ "notes": [],
2378
+ "language": ""
2379
+ },
2380
+ {
2381
+ "type": "FUNCTION",
2382
+ "name": "b2d.joint.set_spring_hertz",
2383
+ "brief": "Set spring frequency.",
2384
+ "description": "Set spring frequency.",
2385
+ "returnvalues": [],
2386
+ "parameters": [
2387
+ {
2388
+ "name": "joint",
2389
+ "doc": "distance, mouse, prismatic, revolute, or wheel joint",
2390
+ "types": ["b2Joint"],
2391
+ "is_optional": "False"
2392
+ },
2393
+ {
2394
+ "name": "hertz",
2395
+ "doc": "frequency in hertz",
2396
+ "types": ["number"],
2397
+ "is_optional": "False"
2398
+ }
2399
+ ],
2400
+ "examples": "",
2401
+ "replaces": "",
2402
+ "error": "",
2403
+ "tparams": [],
2404
+ "members": [],
2405
+ "notes": [],
2406
+ "language": ""
2407
+ },
2408
+ {
2409
+ "type": "FUNCTION",
2410
+ "name": "b2d.joint.get_spring_hertz",
2411
+ "brief": "Get spring frequency.",
2412
+ "description": "Get spring frequency.",
2413
+ "returnvalues": [
2414
+ {
2415
+ "name": "hertz",
2416
+ "doc": "frequency in hertz",
2417
+ "types": ["number"]
2418
+ }
2419
+ ],
2420
+ "parameters": [
2421
+ {
2422
+ "name": "joint",
2423
+ "doc": "distance, mouse, prismatic, revolute, or wheel joint",
2424
+ "types": ["b2Joint"],
2425
+ "is_optional": "False"
2426
+ }
2427
+ ],
2428
+ "examples": "",
2429
+ "replaces": "",
2430
+ "error": "",
2431
+ "tparams": [],
2432
+ "members": [],
2433
+ "notes": [],
2434
+ "language": ""
2435
+ },
2436
+ {
2437
+ "type": "FUNCTION",
2438
+ "name": "b2d.joint.set_length_range",
2439
+ "brief": "Set the distance joint length range.",
2440
+ "description": "Set the distance joint length range.",
2441
+ "returnvalues": [],
2442
+ "parameters": [
2443
+ {
2444
+ "name": "joint",
2445
+ "doc": "distance joint",
2446
+ "types": ["b2Joint"],
2447
+ "is_optional": "False"
2448
+ },
2449
+ {
2450
+ "name": "min_length",
2451
+ "doc": "minimum length in project units",
2452
+ "types": ["number"],
2453
+ "is_optional": "False"
2454
+ },
2455
+ {
2456
+ "name": "max_length",
2457
+ "doc": "maximum length in project units",
2458
+ "types": ["number"],
2459
+ "is_optional": "False"
2460
+ }
2461
+ ],
2462
+ "examples": "",
2463
+ "replaces": "",
2464
+ "error": "",
2465
+ "tparams": [],
2466
+ "members": [],
2467
+ "notes": [],
2468
+ "language": ""
2469
+ },
2470
+ {
2471
+ "type": "FUNCTION",
2472
+ "name": "b2d.joint.set_min_length",
2473
+ "brief": "Set the distance joint minimum length.",
2474
+ "description": "Set the distance joint minimum length.",
2475
+ "returnvalues": [],
2476
+ "parameters": [
2477
+ {
2478
+ "name": "joint",
2479
+ "doc": "distance joint",
2480
+ "types": ["b2Joint"],
2481
+ "is_optional": "False"
2482
+ },
2483
+ {
2484
+ "name": "length",
2485
+ "doc": "minimum length in project units",
2486
+ "types": ["number"],
2487
+ "is_optional": "False"
2488
+ }
2489
+ ],
2490
+ "examples": "",
2491
+ "replaces": "",
2492
+ "error": "",
2493
+ "tparams": [],
2494
+ "members": [],
2495
+ "notes": [],
2496
+ "language": ""
2497
+ },
2498
+ {
2499
+ "type": "FUNCTION",
2500
+ "name": "b2d.joint.get_min_length",
2501
+ "brief": "Get the distance joint minimum length.",
2502
+ "description": "Get the distance joint minimum length.",
2503
+ "returnvalues": [
2504
+ {
2505
+ "name": "length",
2506
+ "doc": "minimum length in project units",
2507
+ "types": ["number"]
2508
+ }
2509
+ ],
2510
+ "parameters": [
2511
+ {
2512
+ "name": "joint",
2513
+ "doc": "distance joint",
2514
+ "types": ["b2Joint"],
2515
+ "is_optional": "False"
2516
+ }
2517
+ ],
2518
+ "examples": "",
2519
+ "replaces": "",
2520
+ "error": "",
2521
+ "tparams": [],
2522
+ "members": [],
2523
+ "notes": [],
2524
+ "language": ""
2525
+ },
2526
+ {
2527
+ "type": "FUNCTION",
2528
+ "name": "b2d.joint.get_current_length",
2529
+ "brief": "Get the current distance joint length.",
2530
+ "description": "Get the current distance joint length.",
2531
+ "returnvalues": [
2532
+ {
2533
+ "name": "length",
2534
+ "doc": "current length in project units",
2535
+ "types": ["number"]
2536
+ }
2537
+ ],
2538
+ "parameters": [
2539
+ {
2540
+ "name": "joint",
2541
+ "doc": "distance joint",
2542
+ "types": ["b2Joint"],
2543
+ "is_optional": "False"
2544
+ }
2545
+ ],
2546
+ "examples": "",
2547
+ "replaces": "",
2548
+ "error": "",
2549
+ "tparams": [],
2550
+ "members": [],
2551
+ "notes": [],
2552
+ "language": ""
2553
+ },
2554
+ {
2555
+ "type": "FUNCTION",
2556
+ "name": "b2d.joint.get_motor_force",
2557
+ "brief": "Get current motor force.",
2558
+ "description": "Get current motor force.",
2559
+ "returnvalues": [
2560
+ {
2561
+ "name": "force",
2562
+ "doc": "motor force",
2563
+ "types": ["number"]
2564
+ }
2565
+ ],
2566
+ "parameters": [
2567
+ {
2568
+ "name": "joint",
2569
+ "doc": "distance or prismatic joint",
2570
+ "types": ["b2Joint"],
2571
+ "is_optional": "False"
2572
+ }
2573
+ ],
2574
+ "examples": "",
2575
+ "replaces": "",
2576
+ "error": "",
2577
+ "tparams": [],
2578
+ "members": [],
2579
+ "notes": [],
2580
+ "language": ""
2581
+ },
2582
+ {
2583
+ "type": "FUNCTION",
2584
+ "name": "b2d.joint.get_motor_torque",
2585
+ "brief": "Get current motor torque.",
2586
+ "description": "Get current motor torque.",
2587
+ "returnvalues": [
2588
+ {
2589
+ "name": "torque",
2590
+ "doc": "motor torque",
2591
+ "types": ["number"]
2592
+ }
2593
+ ],
2594
+ "parameters": [
2595
+ {
2596
+ "name": "joint",
2597
+ "doc": "revolute or wheel joint",
2598
+ "types": ["b2Joint"],
2599
+ "is_optional": "False"
2600
+ }
2601
+ ],
2602
+ "examples": "",
2603
+ "replaces": "",
2604
+ "error": "",
2605
+ "tparams": [],
2606
+ "members": [],
2607
+ "notes": [],
2608
+ "language": ""
2609
+ },
2610
+ {
2611
+ "type": "FUNCTION",
2612
+ "name": "b2d.joint.set_linear_offset",
2613
+ "brief": "Set motor joint linear offset.",
2614
+ "description": "Set motor joint linear offset.",
2615
+ "returnvalues": [],
2616
+ "parameters": [
2617
+ {
2618
+ "name": "joint",
2619
+ "doc": "motor joint",
2620
+ "types": ["b2Joint"],
2621
+ "is_optional": "False"
2622
+ },
2623
+ {
2624
+ "name": "offset",
2625
+ "doc": "linear offset in project units",
2626
+ "types": ["vector3"],
2627
+ "is_optional": "False"
2628
+ }
2629
+ ],
2630
+ "examples": "",
2631
+ "replaces": "",
2632
+ "error": "",
2633
+ "tparams": [],
2634
+ "members": [],
2635
+ "notes": [],
2636
+ "language": ""
2637
+ },
2638
+ {
2639
+ "type": "FUNCTION",
2640
+ "name": "b2d.joint.get_linear_offset",
2641
+ "brief": "Get motor joint linear offset.",
2642
+ "description": "Get motor joint linear offset.",
2643
+ "returnvalues": [
2644
+ {
2645
+ "name": "offset",
2646
+ "doc": "linear offset in project units",
2647
+ "types": ["vector3"]
2648
+ }
2649
+ ],
2650
+ "parameters": [
2651
+ {
2652
+ "name": "joint",
2653
+ "doc": "motor joint",
2654
+ "types": ["b2Joint"],
2655
+ "is_optional": "False"
2656
+ }
2657
+ ],
2658
+ "examples": "",
2659
+ "replaces": "",
2660
+ "error": "",
2661
+ "tparams": [],
2662
+ "members": [],
2663
+ "notes": [],
2664
+ "language": ""
2665
+ },
2666
+ {
2667
+ "type": "FUNCTION",
2668
+ "name": "b2d.joint.set_angular_offset",
2669
+ "brief": "Set motor joint angular offset.",
2670
+ "description": "Set motor joint angular offset.",
2671
+ "returnvalues": [],
2672
+ "parameters": [
2673
+ {
2674
+ "name": "joint",
2675
+ "doc": "motor joint",
2676
+ "types": ["b2Joint"],
2677
+ "is_optional": "False"
2678
+ },
2679
+ {
2680
+ "name": "offset",
2681
+ "doc": "angular offset in radians",
2682
+ "types": ["number"],
2683
+ "is_optional": "False"
2684
+ }
2685
+ ],
2686
+ "examples": "",
2687
+ "replaces": "",
2688
+ "error": "",
2689
+ "tparams": [],
2690
+ "members": [],
2691
+ "notes": [],
2692
+ "language": ""
2693
+ },
2694
+ {
2695
+ "type": "FUNCTION",
2696
+ "name": "b2d.joint.get_angular_offset",
2697
+ "brief": "Get motor joint angular offset.",
2698
+ "description": "Get motor joint angular offset.",
2699
+ "returnvalues": [
2700
+ {
2701
+ "name": "offset",
2702
+ "doc": "angular offset in radians",
2703
+ "types": ["number"]
2704
+ }
2705
+ ],
2706
+ "parameters": [
2707
+ {
2708
+ "name": "joint",
2709
+ "doc": "motor joint",
2710
+ "types": ["b2Joint"],
2711
+ "is_optional": "False"
2712
+ }
2713
+ ],
2714
+ "examples": "",
2715
+ "replaces": "",
2716
+ "error": "",
2717
+ "tparams": [],
2718
+ "members": [],
2719
+ "notes": [],
2720
+ "language": ""
2721
+ },
2722
+ {
2723
+ "type": "FUNCTION",
2724
+ "name": "b2d.joint.set_correction_factor",
2725
+ "brief": "Set motor joint correction factor.",
2726
+ "description": "Set motor joint correction factor.",
2727
+ "returnvalues": [],
2728
+ "parameters": [
2729
+ {
2730
+ "name": "joint",
2731
+ "doc": "motor joint",
2732
+ "types": ["b2Joint"],
2733
+ "is_optional": "False"
2734
+ },
2735
+ {
2736
+ "name": "factor",
2737
+ "doc": "correction factor",
2738
+ "types": ["number"],
2739
+ "is_optional": "False"
2740
+ }
2741
+ ],
2742
+ "examples": "",
2743
+ "replaces": "",
2744
+ "error": "",
2745
+ "tparams": [],
2746
+ "members": [],
2747
+ "notes": [],
2748
+ "language": ""
2749
+ },
2750
+ {
2751
+ "type": "FUNCTION",
2752
+ "name": "b2d.joint.get_correction_factor",
2753
+ "brief": "Get motor joint correction factor.",
2754
+ "description": "Get motor joint correction factor.",
2755
+ "returnvalues": [
2756
+ {
2757
+ "name": "factor",
2758
+ "doc": "correction factor",
2759
+ "types": ["number"]
2760
+ }
2761
+ ],
2762
+ "parameters": [
2763
+ {
2764
+ "name": "joint",
2765
+ "doc": "motor joint",
2766
+ "types": ["b2Joint"],
2767
+ "is_optional": "False"
2768
+ }
2769
+ ],
2770
+ "examples": "",
2771
+ "replaces": "",
2772
+ "error": "",
2773
+ "tparams": [],
2774
+ "members": [],
2775
+ "notes": [],
2776
+ "language": ""
2777
+ },
2778
+ {
2779
+ "type": "FUNCTION",
2780
+ "name": "b2d.joint.set_reference_angle",
2781
+ "brief": "Set weld joint reference angle.",
2782
+ "description": "Set weld joint reference angle.",
2783
+ "returnvalues": [],
2784
+ "parameters": [
2785
+ {
2786
+ "name": "joint",
2787
+ "doc": "weld joint",
2788
+ "types": ["b2Joint"],
2789
+ "is_optional": "False"
2790
+ },
2791
+ {
2792
+ "name": "angle",
2793
+ "doc": "reference angle in radians",
2794
+ "types": ["number"],
2795
+ "is_optional": "False"
2796
+ }
2797
+ ],
2798
+ "examples": "",
2799
+ "replaces": "",
2800
+ "error": "",
2801
+ "tparams": [],
2802
+ "members": [],
2803
+ "notes": [],
2804
+ "language": ""
2805
+ },
2806
+ {
2807
+ "type": "FUNCTION",
2808
+ "name": "b2d.joint.set_linear_hertz",
2809
+ "brief": "Set weld joint linear frequency.",
2810
+ "description": "Set weld joint linear frequency.",
2811
+ "returnvalues": [],
2812
+ "parameters": [
2813
+ {
2814
+ "name": "joint",
2815
+ "doc": "weld joint",
2816
+ "types": ["b2Joint"],
2817
+ "is_optional": "False"
2818
+ },
2819
+ {
2820
+ "name": "hertz",
2821
+ "doc": "frequency in hertz",
2822
+ "types": ["number"],
2823
+ "is_optional": "False"
2824
+ }
2825
+ ],
2826
+ "examples": "",
2827
+ "replaces": "",
2828
+ "error": "",
2829
+ "tparams": [],
2830
+ "members": [],
2831
+ "notes": [],
2832
+ "language": ""
2833
+ },
2834
+ {
2835
+ "type": "FUNCTION",
2836
+ "name": "b2d.joint.get_linear_hertz",
2837
+ "brief": "Get weld joint linear frequency.",
2838
+ "description": "Get weld joint linear frequency.",
2839
+ "returnvalues": [
2840
+ {
2841
+ "name": "hertz",
2842
+ "doc": "frequency in hertz",
2843
+ "types": ["number"]
2844
+ }
2845
+ ],
2846
+ "parameters": [
2847
+ {
2848
+ "name": "joint",
2849
+ "doc": "weld joint",
2850
+ "types": ["b2Joint"],
2851
+ "is_optional": "False"
2852
+ }
2853
+ ],
2854
+ "examples": "",
2855
+ "replaces": "",
2856
+ "error": "",
2857
+ "tparams": [],
2858
+ "members": [],
2859
+ "notes": [],
2860
+ "language": ""
2861
+ },
2862
+ {
2863
+ "type": "FUNCTION",
2864
+ "name": "b2d.joint.set_linear_damping_ratio",
2865
+ "brief": "Set weld joint linear damping ratio.",
2866
+ "description": "Set weld joint linear damping ratio.",
2867
+ "returnvalues": [],
2868
+ "parameters": [
2869
+ {
2870
+ "name": "joint",
2871
+ "doc": "weld joint",
2872
+ "types": ["b2Joint"],
2873
+ "is_optional": "False"
2874
+ },
2875
+ {
2876
+ "name": "ratio",
2877
+ "doc": "damping ratio",
2878
+ "types": ["number"],
2879
+ "is_optional": "False"
2880
+ }
2881
+ ],
2882
+ "examples": "",
2883
+ "replaces": "",
2884
+ "error": "",
2885
+ "tparams": [],
2886
+ "members": [],
2887
+ "notes": [],
2888
+ "language": ""
2889
+ },
2890
+ {
2891
+ "type": "FUNCTION",
2892
+ "name": "b2d.joint.get_linear_damping_ratio",
2893
+ "brief": "Get weld joint linear damping ratio.",
2894
+ "description": "Get weld joint linear damping ratio.",
2895
+ "returnvalues": [
2896
+ {
2897
+ "name": "ratio",
2898
+ "doc": "damping ratio",
2899
+ "types": ["number"]
2900
+ }
2901
+ ],
2902
+ "parameters": [
2903
+ {
2904
+ "name": "joint",
2905
+ "doc": "weld joint",
2906
+ "types": ["b2Joint"],
2907
+ "is_optional": "False"
2908
+ }
2909
+ ],
2910
+ "examples": "",
2911
+ "replaces": "",
2912
+ "error": "",
2913
+ "tparams": [],
2914
+ "members": [],
2915
+ "notes": [],
2916
+ "language": ""
2917
+ },
2918
+ {
2919
+ "type": "FUNCTION",
2920
+ "name": "b2d.joint.set_angular_hertz",
2921
+ "brief": "Set weld joint angular frequency.",
2922
+ "description": "Set weld joint angular frequency.",
2923
+ "returnvalues": [],
2924
+ "parameters": [
2925
+ {
2926
+ "name": "joint",
2927
+ "doc": "weld joint",
2928
+ "types": ["b2Joint"],
2929
+ "is_optional": "False"
2930
+ },
2931
+ {
2932
+ "name": "hertz",
2933
+ "doc": "frequency in hertz",
2934
+ "types": ["number"],
2935
+ "is_optional": "False"
2936
+ }
2937
+ ],
2938
+ "examples": "",
2939
+ "replaces": "",
2940
+ "error": "",
2941
+ "tparams": [],
2942
+ "members": [],
2943
+ "notes": [],
2944
+ "language": ""
2945
+ },
2946
+ {
2947
+ "type": "FUNCTION",
2948
+ "name": "b2d.joint.get_angular_hertz",
2949
+ "brief": "Get weld joint angular frequency.",
2950
+ "description": "Get weld joint angular frequency.",
2951
+ "returnvalues": [
2952
+ {
2953
+ "name": "hertz",
2954
+ "doc": "frequency in hertz",
2955
+ "types": ["number"]
2956
+ }
2957
+ ],
2958
+ "parameters": [
2959
+ {
2960
+ "name": "joint",
2961
+ "doc": "weld joint",
2962
+ "types": ["b2Joint"],
2963
+ "is_optional": "False"
2964
+ }
2965
+ ],
2966
+ "examples": "",
2967
+ "replaces": "",
2968
+ "error": "",
2969
+ "tparams": [],
2970
+ "members": [],
2971
+ "notes": [],
2972
+ "language": ""
2973
+ },
2974
+ {
2975
+ "type": "FUNCTION",
2976
+ "name": "b2d.joint.set_angular_damping_ratio",
2977
+ "brief": "Set weld joint angular damping ratio.",
2978
+ "description": "Set weld joint angular damping ratio.",
2979
+ "returnvalues": [],
2980
+ "parameters": [
2981
+ {
2982
+ "name": "joint",
2983
+ "doc": "weld joint",
2984
+ "types": ["b2Joint"],
2985
+ "is_optional": "False"
2986
+ },
2987
+ {
2988
+ "name": "ratio",
2989
+ "doc": "damping ratio",
2990
+ "types": ["number"],
2991
+ "is_optional": "False"
2992
+ }
2993
+ ],
2994
+ "examples": "",
2995
+ "replaces": "",
2996
+ "error": "",
2997
+ "tparams": [],
2998
+ "members": [],
2999
+ "notes": [],
3000
+ "language": ""
3001
+ },
3002
+ {
3003
+ "type": "FUNCTION",
3004
+ "name": "b2d.joint.get_angular_damping_ratio",
3005
+ "brief": "Get weld joint angular damping ratio.",
3006
+ "description": "Get weld joint angular damping ratio.",
3007
+ "returnvalues": [
3008
+ {
3009
+ "name": "ratio",
3010
+ "doc": "damping ratio",
3011
+ "types": ["number"]
3012
+ }
3013
+ ],
3014
+ "parameters": [
3015
+ {
3016
+ "name": "joint",
3017
+ "doc": "weld joint",
3018
+ "types": ["b2Joint"],
3019
+ "is_optional": "False"
3020
+ }
3021
+ ],
3022
+ "examples": "",
3023
+ "replaces": "",
3024
+ "error": "",
3025
+ "tparams": [],
3026
+ "members": [],
3027
+ "notes": [],
3028
+ "language": ""
3029
+ },
3030
+ {
3031
+ "type": "FUNCTION",
3032
+ "name": "b2d.joint.get_reaction_force",
3033
+ "brief": "Get reaction force.",
3034
+ "description": "Get reaction force.",
3035
+ "returnvalues": [
3036
+ {
3037
+ "name": "force",
3038
+ "doc": "reaction force",
3039
+ "types": ["vector3"]
3040
+ }
3041
+ ],
3042
+ "parameters": [
3043
+ {
3044
+ "name": "joint",
3045
+ "doc": "joint",
3046
+ "types": ["b2Joint"],
3047
+ "is_optional": "False"
3048
+ }
3049
+ ],
3050
+ "examples": "",
3051
+ "replaces": "",
3052
+ "error": "",
3053
+ "tparams": [],
3054
+ "members": [],
3055
+ "notes": [],
3056
+ "language": ""
3057
+ },
3058
+ {
3059
+ "type": "FUNCTION",
3060
+ "name": "b2d.joint.get_reaction_torque",
3061
+ "brief": "Get reaction torque.",
3062
+ "description": "Get reaction torque.",
3063
+ "returnvalues": [
3064
+ {
3065
+ "name": "torque",
3066
+ "doc": "reaction torque",
3067
+ "types": ["number"]
3068
+ }
3069
+ ],
3070
+ "parameters": [
3071
+ {
3072
+ "name": "joint",
3073
+ "doc": "joint",
3074
+ "types": ["b2Joint"],
3075
+ "is_optional": "False"
3076
+ }
3077
+ ],
3078
+ "examples": "",
3079
+ "replaces": "",
3080
+ "error": "",
3081
+ "tparams": [],
3082
+ "members": [],
3083
+ "notes": [],
3084
+ "language": ""
3085
+ },
3086
+ {
3087
+ "type": "FUNCTION",
3088
+ "name": "b2d.joint.create_motor",
3089
+ "brief": "Create a motor joint.",
3090
+ "description": "Create a motor joint.",
3091
+ "returnvalues": [
3092
+ {
3093
+ "name": "joint",
3094
+ "doc": "created joint",
3095
+ "types": ["b2Joint"]
3096
+ }
3097
+ ],
3098
+ "parameters": [
3099
+ {
3100
+ "name": "body_a",
3101
+ "doc": "first body",
3102
+ "types": ["b2Body"],
3103
+ "is_optional": "False"
3104
+ },
3105
+ {
3106
+ "name": "body_b",
3107
+ "doc": "second body",
3108
+ "types": ["b2Body"],
3109
+ "is_optional": "False"
3110
+ },
3111
+ {
3112
+ "name": "definition",
3113
+ "doc": "optional joint definition",
3114
+ "types": ["b2d.joint.motor_definition"],
3115
+ "is_optional": "True"
3116
+ }
3117
+ ],
3118
+ "examples": "",
3119
+ "replaces": "",
3120
+ "error": "",
3121
+ "tparams": [],
3122
+ "members": [],
3123
+ "notes": [],
3124
+ "language": ""
3125
+ },
3126
+ {
3127
+ "type": "FUNCTION",
3128
+ "name": "b2d.joint.create_filter",
3129
+ "brief": "Create a filter joint.",
3130
+ "description": "Create a filter joint.",
3131
+ "returnvalues": [
3132
+ {
3133
+ "name": "joint",
3134
+ "doc": "created joint",
3135
+ "types": ["b2Joint"]
3136
+ }
3137
+ ],
3138
+ "parameters": [
3139
+ {
3140
+ "name": "body_a",
3141
+ "doc": "first body",
3142
+ "types": ["b2Body"],
3143
+ "is_optional": "False"
3144
+ },
3145
+ {
3146
+ "name": "body_b",
3147
+ "doc": "second body",
3148
+ "types": ["b2Body"],
3149
+ "is_optional": "False"
3150
+ },
3151
+ {
3152
+ "name": "definition",
3153
+ "doc": "optional definition table",
3154
+ "types": ["b2d.joint.filter_definition"],
3155
+ "is_optional": "True"
3156
+ }
3157
+ ],
3158
+ "examples": "",
3159
+ "replaces": "",
3160
+ "error": "",
3161
+ "tparams": [],
3162
+ "members": [],
3163
+ "notes": [],
3164
+ "language": ""
3165
+ }
3166
+ ],
3167
+ "info": {
3168
+ "namespace": "b2d.joint",
3169
+ "name": "b2d.joint",
3170
+ "brief": "Box2D b2Joint documentation",
3171
+ "description": "Functions for interacting with native Box2D joints.",
3172
+ "path": "engine/gamesys/src/gamesys/scripts/box2d/v2/script_box2d_joint_v2.cpp",
3173
+ "file": "",
3174
+ "notes": [],
3175
+ "language": "Lua"
3176
+ },
3177
+ "format_version": 2
3178
+ }