@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.
- package/dist/cli-runtime.js +8966 -0
- package/dist/identity-vocabulary.json +660 -0
- package/dist/src/index.d.ts +18 -0
- package/fixtures/defold-1.12.4/b2d_body_doc.json +1327 -0
- package/fixtures/defold-1.12.4/b2d_doc.json +107 -0
- package/fixtures/defold-1.12.4/base_doc.json +758 -0
- package/fixtures/defold-1.12.4/bit_doc.json +404 -0
- package/fixtures/defold-1.12.4/buffer_doc.json +422 -0
- package/fixtures/defold-1.12.4/camera_doc.json +664 -0
- package/fixtures/defold-1.12.4/collectionfactory_doc.json +219 -0
- package/fixtures/defold-1.12.4/collectionproxy_doc.json +289 -0
- package/fixtures/defold-1.12.4/coroutine_doc.json +151 -0
- package/fixtures/defold-1.12.4/crash_doc.json +497 -0
- package/fixtures/defold-1.12.4/debug_doc.json +410 -0
- package/fixtures/defold-1.12.4/factory_doc.json +219 -0
- package/fixtures/defold-1.12.4/font_doc.json +141 -0
- package/fixtures/defold-1.12.4/globals_doc.json +42 -0
- package/fixtures/defold-1.12.4/go-instance-functions.json +111 -0
- package/fixtures/defold-1.12.4/go_doc.json +1901 -0
- package/fixtures/defold-1.12.4/graphics_doc.json +1634 -0
- package/fixtures/defold-1.12.4/gui_doc.json +5249 -0
- package/fixtures/defold-1.12.4/html5_doc.json +64 -0
- package/fixtures/defold-1.12.4/http_doc.json +66 -0
- package/fixtures/defold-1.12.4/image_doc.json +170 -0
- package/fixtures/defold-1.12.4/io_doc.json +399 -0
- package/fixtures/defold-1.12.4/json_doc.json +97 -0
- package/fixtures/defold-1.12.4/label_doc.json +220 -0
- package/fixtures/defold-1.12.4/liveupdate_doc.json +308 -0
- package/fixtures/defold-1.12.4/math_doc.json +702 -0
- package/fixtures/defold-1.12.4/messages_doc.json +579 -0
- package/fixtures/defold-1.12.4/model_doc.json +315 -0
- package/fixtures/defold-1.12.4/msg_doc.json +137 -0
- package/fixtures/defold-1.12.4/os_doc.json +266 -0
- package/fixtures/defold-1.12.4/package_doc.json +139 -0
- package/fixtures/defold-1.12.4/particlefx_doc.json +249 -0
- package/fixtures/defold-1.12.4/physics_doc.json +1120 -0
- package/fixtures/defold-1.12.4/profiler_doc.json +375 -0
- package/fixtures/defold-1.12.4/render_doc.json +1167 -0
- package/fixtures/defold-1.12.4/resource_doc.json +762 -0
- package/fixtures/defold-1.12.4/socket_doc.json +2194 -0
- package/fixtures/defold-1.12.4/sound_doc.json +582 -0
- package/fixtures/defold-1.12.4/sprite_doc.json +245 -0
- package/fixtures/defold-1.12.4/string_doc.json +412 -0
- package/fixtures/defold-1.12.4/sys_doc.json +853 -0
- package/fixtures/defold-1.12.4/table_doc.json +166 -0
- package/fixtures/defold-1.12.4/tilemap_doc.json +374 -0
- package/fixtures/defold-1.12.4/timer_doc.json +153 -0
- package/fixtures/defold-1.12.4/types_doc.json +212 -0
- package/fixtures/defold-1.12.4/vmath_doc.json +1814 -0
- package/fixtures/defold-1.12.4/window_doc.json +388 -0
- package/fixtures/defold-1.12.4/zlib_doc.json +70 -0
- package/fixtures/defold-1.13.0/b2d_body_doc.json +2428 -0
- package/fixtures/defold-1.13.0/b2d_chain_doc.json +394 -0
- package/fixtures/defold-1.13.0/b2d_doc.json +128 -0
- package/fixtures/defold-1.13.0/b2d_fixture_doc.json +594 -0
- package/fixtures/defold-1.13.0/b2d_joint_doc.json +3315 -0
- package/fixtures/defold-1.13.0/b2d_shape_doc.json +802 -0
- package/fixtures/defold-1.13.0/b2d_world_doc.json +1314 -0
- package/fixtures/defold-1.13.0/base_doc.json +758 -0
- package/fixtures/defold-1.13.0/bit_doc.json +404 -0
- package/fixtures/defold-1.13.0/buffer_doc.json +422 -0
- package/fixtures/defold-1.13.0/camera_doc.json +900 -0
- package/fixtures/defold-1.13.0/collectionfactory_doc.json +219 -0
- package/fixtures/defold-1.13.0/collectionproxy_doc.json +289 -0
- package/fixtures/defold-1.13.0/compute_doc.json +182 -0
- package/fixtures/defold-1.13.0/coroutine_doc.json +151 -0
- package/fixtures/defold-1.13.0/crash_doc.json +497 -0
- package/fixtures/defold-1.13.0/debug_doc.json +410 -0
- package/fixtures/defold-1.13.0/editor_doc.json +3665 -0
- package/fixtures/defold-1.13.0/editor_http_doc.json +273 -0
- package/fixtures/defold-1.13.0/editor_json_doc.json +59 -0
- package/fixtures/defold-1.13.0/editor_localization_doc.json +138 -0
- package/fixtures/defold-1.13.0/editor_pprint_doc.json +36 -0
- package/fixtures/defold-1.13.0/editor_tilemap_tiles_doc.json +235 -0
- package/fixtures/defold-1.13.0/editor_zip_doc.json +163 -0
- package/fixtures/defold-1.13.0/editor_zlib_doc.json +48 -0
- package/fixtures/defold-1.13.0/factory_doc.json +219 -0
- package/fixtures/defold-1.13.0/font_doc.json +141 -0
- package/fixtures/defold-1.13.0/globals_doc.json +42 -0
- package/fixtures/defold-1.13.0/go-instance-functions.json +101 -0
- package/fixtures/defold-1.13.0/go_doc.json +1989 -0
- package/fixtures/defold-1.13.0/graphics_doc.json +1886 -0
- package/fixtures/defold-1.13.0/gui_doc.json +5277 -0
- package/fixtures/defold-1.13.0/html5_doc.json +64 -0
- package/fixtures/defold-1.13.0/http_doc.json +66 -0
- package/fixtures/defold-1.13.0/image_doc.json +170 -0
- package/fixtures/defold-1.13.0/import-manifest.json +10558 -0
- package/fixtures/defold-1.13.0/io_doc.json +399 -0
- package/fixtures/defold-1.13.0/json_doc.json +97 -0
- package/fixtures/defold-1.13.0/label_doc.json +220 -0
- package/fixtures/defold-1.13.0/liveupdate_doc.json +330 -0
- package/fixtures/defold-1.13.0/material_doc.json +238 -0
- package/fixtures/defold-1.13.0/math_doc.json +702 -0
- package/fixtures/defold-1.13.0/model_doc.json +412 -0
- package/fixtures/defold-1.13.0/msg_doc.json +137 -0
- package/fixtures/defold-1.13.0/os_doc.json +266 -0
- package/fixtures/defold-1.13.0/package_doc.json +139 -0
- package/fixtures/defold-1.13.0/particlefx_doc.json +249 -0
- package/fixtures/defold-1.13.0/physics_doc.json +1492 -0
- package/fixtures/defold-1.13.0/profiler_doc.json +375 -0
- package/fixtures/defold-1.13.0/render_doc.json +1381 -0
- package/fixtures/defold-1.13.0/resource_doc.json +762 -0
- package/fixtures/defold-1.13.0/socket_doc.json +2194 -0
- package/fixtures/defold-1.13.0/sound_doc.json +582 -0
- package/fixtures/defold-1.13.0/sprite_doc.json +335 -0
- package/fixtures/defold-1.13.0/string_doc.json +412 -0
- package/fixtures/defold-1.13.0/sys_doc.json +1142 -0
- package/fixtures/defold-1.13.0/table_doc.json +166 -0
- package/fixtures/defold-1.13.0/tilemap_doc.json +402 -0
- package/fixtures/defold-1.13.0/timer_doc.json +153 -0
- package/fixtures/defold-1.13.0/types_doc.json +212 -0
- package/fixtures/defold-1.13.0/vmath_doc.json +1814 -0
- package/fixtures/defold-1.13.0/window_doc.json +388 -0
- package/fixtures/defold-1.13.0/zlib_doc.json +70 -0
- package/fixtures/defold-1.13.1/b2d_body_doc.json +2428 -0
- package/fixtures/defold-1.13.1/b2d_chain_doc.json +394 -0
- package/fixtures/defold-1.13.1/b2d_doc.json +128 -0
- package/fixtures/defold-1.13.1/b2d_fixture_doc.json +594 -0
- package/fixtures/defold-1.13.1/b2d_joint_doc.json +3315 -0
- package/fixtures/defold-1.13.1/b2d_shape_doc.json +802 -0
- package/fixtures/defold-1.13.1/b2d_world_doc.json +1314 -0
- package/fixtures/defold-1.13.1/base_doc.json +758 -0
- package/fixtures/defold-1.13.1/bit_doc.json +404 -0
- package/fixtures/defold-1.13.1/buffer_doc.json +422 -0
- package/fixtures/defold-1.13.1/camera_doc.json +900 -0
- package/fixtures/defold-1.13.1/collectionfactory_doc.json +219 -0
- package/fixtures/defold-1.13.1/collectionproxy_doc.json +323 -0
- package/fixtures/defold-1.13.1/compute_doc.json +182 -0
- package/fixtures/defold-1.13.1/coroutine_doc.json +151 -0
- package/fixtures/defold-1.13.1/crash_doc.json +497 -0
- package/fixtures/defold-1.13.1/debug_doc.json +410 -0
- package/fixtures/defold-1.13.1/editor_doc.json +3880 -0
- package/fixtures/defold-1.13.1/editor_http_doc.json +273 -0
- package/fixtures/defold-1.13.1/editor_image_doc.json +128 -0
- package/fixtures/defold-1.13.1/editor_json_doc.json +59 -0
- package/fixtures/defold-1.13.1/editor_localization_doc.json +138 -0
- package/fixtures/defold-1.13.1/editor_pprint_doc.json +36 -0
- package/fixtures/defold-1.13.1/editor_tilemap_tiles_doc.json +235 -0
- package/fixtures/defold-1.13.1/editor_zip_doc.json +163 -0
- package/fixtures/defold-1.13.1/editor_zlib_doc.json +48 -0
- package/fixtures/defold-1.13.1/factory_doc.json +219 -0
- package/fixtures/defold-1.13.1/font_doc.json +141 -0
- package/fixtures/defold-1.13.1/globals_doc.json +42 -0
- package/fixtures/defold-1.13.1/go-instance-functions.json +102 -0
- package/fixtures/defold-1.13.1/go_doc.json +1989 -0
- package/fixtures/defold-1.13.1/graphics_doc.json +1886 -0
- package/fixtures/defold-1.13.1/gui_doc.json +5277 -0
- package/fixtures/defold-1.13.1/html5_doc.json +64 -0
- package/fixtures/defold-1.13.1/http_doc.json +66 -0
- package/fixtures/defold-1.13.1/image_doc.json +170 -0
- package/fixtures/defold-1.13.1/import-manifest.json +10091 -0
- package/fixtures/defold-1.13.1/io_doc.json +399 -0
- package/fixtures/defold-1.13.1/json_doc.json +97 -0
- package/fixtures/defold-1.13.1/label_doc.json +220 -0
- package/fixtures/defold-1.13.1/liveupdate_doc.json +330 -0
- package/fixtures/defold-1.13.1/material_doc.json +238 -0
- package/fixtures/defold-1.13.1/math_doc.json +702 -0
- package/fixtures/defold-1.13.1/model_doc.json +412 -0
- package/fixtures/defold-1.13.1/msg_doc.json +137 -0
- package/fixtures/defold-1.13.1/os_doc.json +266 -0
- package/fixtures/defold-1.13.1/package_doc.json +139 -0
- package/fixtures/defold-1.13.1/particlefx_doc.json +249 -0
- package/fixtures/defold-1.13.1/physics_doc.json +1492 -0
- package/fixtures/defold-1.13.1/profiler_doc.json +375 -0
- package/fixtures/defold-1.13.1/render_doc.json +1381 -0
- package/fixtures/defold-1.13.1/resource_doc.json +762 -0
- package/fixtures/defold-1.13.1/socket_doc.json +2194 -0
- package/fixtures/defold-1.13.1/sound_doc.json +582 -0
- package/fixtures/defold-1.13.1/sprite_doc.json +335 -0
- package/fixtures/defold-1.13.1/string_doc.json +412 -0
- package/fixtures/defold-1.13.1/sys_doc.json +1142 -0
- package/fixtures/defold-1.13.1/table_doc.json +166 -0
- package/fixtures/defold-1.13.1/tilemap_doc.json +402 -0
- package/fixtures/defold-1.13.1/timer_doc.json +153 -0
- package/fixtures/defold-1.13.1/types_doc.json +212 -0
- package/fixtures/defold-1.13.1/vmath_doc.json +1814 -0
- package/fixtures/defold-1.13.1/window_doc.json +388 -0
- package/fixtures/defold-1.13.1/zlib_doc.json +70 -0
- package/fixtures/defold-1.13.2/b2d_body_doc.json +2359 -0
- package/fixtures/defold-1.13.2/b2d_chain_doc.json +395 -0
- package/fixtures/defold-1.13.2/b2d_doc.json +1945 -0
- package/fixtures/defold-1.13.2/b2d_fixture_doc.json +595 -0
- package/fixtures/defold-1.13.2/b2d_joint_doc.json +3178 -0
- package/fixtures/defold-1.13.2/b2d_shape_doc.json +767 -0
- package/fixtures/defold-1.13.2/b2d_world_doc.json +1315 -0
- package/fixtures/defold-1.13.2/base_doc.json +759 -0
- package/fixtures/defold-1.13.2/bit_doc.json +405 -0
- package/fixtures/defold-1.13.2/buffer_doc.json +393 -0
- package/fixtures/defold-1.13.2/bullet3d_collision_object_doc.json +1206 -0
- package/fixtures/defold-1.13.2/bullet3d_constraint_doc.json +2455 -0
- package/fixtures/defold-1.13.2/bullet3d_doc.json +215 -0
- package/fixtures/defold-1.13.2/bullet3d_rigid_body_doc.json +1376 -0
- package/fixtures/defold-1.13.2/bullet3d_shape_doc.json +430 -0
- package/fixtures/defold-1.13.2/bullet3d_world_doc.json +855 -0
- package/fixtures/defold-1.13.2/camera_doc.json +887 -0
- package/fixtures/defold-1.13.2/collectionfactory_doc.json +206 -0
- package/fixtures/defold-1.13.2/collectionproxy_doc.json +397 -0
- package/fixtures/defold-1.13.2/compute_doc.json +183 -0
- package/fixtures/defold-1.13.2/coroutine_doc.json +152 -0
- package/fixtures/defold-1.13.2/crash_doc.json +483 -0
- package/fixtures/defold-1.13.2/debug_doc.json +411 -0
- package/fixtures/defold-1.13.2/editor_doc.json +6320 -0
- package/fixtures/defold-1.13.2/editor_http_doc.json +476 -0
- package/fixtures/defold-1.13.2/editor_image_doc.json +129 -0
- package/fixtures/defold-1.13.2/editor_json_doc.json +81 -0
- package/fixtures/defold-1.13.2/editor_localization_doc.json +139 -0
- package/fixtures/defold-1.13.2/editor_pprint_doc.json +37 -0
- package/fixtures/defold-1.13.2/editor_tilemap_tiles_doc.json +292 -0
- package/fixtures/defold-1.13.2/editor_zip_doc.json +237 -0
- package/fixtures/defold-1.13.2/editor_zlib_doc.json +49 -0
- package/fixtures/defold-1.13.2/factory_doc.json +206 -0
- package/fixtures/defold-1.13.2/font_doc.json +230 -0
- package/fixtures/defold-1.13.2/globals_doc.json +64 -0
- package/fixtures/defold-1.13.2/go-instance-functions.json +106 -0
- package/fixtures/defold-1.13.2/go_doc.json +1789 -0
- package/fixtures/defold-1.13.2/graphics_doc.json +1211 -0
- package/fixtures/defold-1.13.2/gui_doc.json +4735 -0
- package/fixtures/defold-1.13.2/html5_doc.json +65 -0
- package/fixtures/defold-1.13.2/http_doc.json +174 -0
- package/fixtures/defold-1.13.2/image_doc.json +298 -0
- package/fixtures/defold-1.13.2/import-manifest.json +10902 -0
- package/fixtures/defold-1.13.2/io_doc.json +400 -0
- package/fixtures/defold-1.13.2/json_doc.json +140 -0
- package/fixtures/defold-1.13.2/label_doc.json +427 -0
- package/fixtures/defold-1.13.2/liveupdate_doc.json +221 -0
- package/fixtures/defold-1.13.2/material_doc.json +773 -0
- package/fixtures/defold-1.13.2/math_doc.json +703 -0
- package/fixtures/defold-1.13.2/model_doc.json +472 -0
- package/fixtures/defold-1.13.2/msg_doc.json +169 -0
- package/fixtures/defold-1.13.2/os_doc.json +269 -0
- package/fixtures/defold-1.13.2/package_doc.json +140 -0
- package/fixtures/defold-1.13.2/particlefx_doc.json +249 -0
- package/fixtures/defold-1.13.2/physics_doc.json +1624 -0
- package/fixtures/defold-1.13.2/profiler_doc.json +348 -0
- package/fixtures/defold-1.13.2/render_doc.json +1623 -0
- package/fixtures/defold-1.13.2/resource_doc.json +1539 -0
- package/fixtures/defold-1.13.2/socket_doc.json +2335 -0
- package/fixtures/defold-1.13.2/sound_doc.json +673 -0
- package/fixtures/defold-1.13.2/sprite_doc.json +364 -0
- package/fixtures/defold-1.13.2/string_doc.json +413 -0
- package/fixtures/defold-1.13.2/sys_doc.json +1347 -0
- package/fixtures/defold-1.13.2/table_doc.json +167 -0
- package/fixtures/defold-1.13.2/tilemap_doc.json +369 -0
- package/fixtures/defold-1.13.2/timer_doc.json +214 -0
- package/fixtures/defold-1.13.2/types_doc.json +213 -0
- package/fixtures/defold-1.13.2/vmath_doc.json +2056 -0
- package/fixtures/defold-1.13.2/window_doc.json +426 -0
- package/fixtures/defold-1.13.2/zlib_doc.json +71 -0
- package/fixtures/defold-1.14.0/b2d_body_doc.json +2359 -0
- package/fixtures/defold-1.14.0/b2d_chain_doc.json +395 -0
- package/fixtures/defold-1.14.0/b2d_doc.json +1973 -0
- package/fixtures/defold-1.14.0/b2d_fixture_doc.json +595 -0
- package/fixtures/defold-1.14.0/b2d_joint_doc.json +3178 -0
- package/fixtures/defold-1.14.0/b2d_shape_doc.json +767 -0
- package/fixtures/defold-1.14.0/b2d_world_doc.json +1315 -0
- package/fixtures/defold-1.14.0/base_doc.json +759 -0
- package/fixtures/defold-1.14.0/bit_doc.json +405 -0
- package/fixtures/defold-1.14.0/buffer_doc.json +393 -0
- package/fixtures/defold-1.14.0/bullet3d_collision_object_doc.json +1206 -0
- package/fixtures/defold-1.14.0/bullet3d_constraint_doc.json +2455 -0
- package/fixtures/defold-1.14.0/bullet3d_doc.json +243 -0
- package/fixtures/defold-1.14.0/bullet3d_rigid_body_doc.json +1376 -0
- package/fixtures/defold-1.14.0/bullet3d_shape_doc.json +430 -0
- package/fixtures/defold-1.14.0/bullet3d_world_doc.json +855 -0
- package/fixtures/defold-1.14.0/camera_doc.json +887 -0
- package/fixtures/defold-1.14.0/collectionfactory_doc.json +206 -0
- package/fixtures/defold-1.14.0/collectionproxy_doc.json +397 -0
- package/fixtures/defold-1.14.0/compute_doc.json +183 -0
- package/fixtures/defold-1.14.0/coroutine_doc.json +152 -0
- package/fixtures/defold-1.14.0/crash_doc.json +483 -0
- package/fixtures/defold-1.14.0/debug_doc.json +411 -0
- package/fixtures/defold-1.14.0/editor_doc.json +6320 -0
- package/fixtures/defold-1.14.0/editor_http_doc.json +476 -0
- package/fixtures/defold-1.14.0/editor_image_doc.json +129 -0
- package/fixtures/defold-1.14.0/editor_json_doc.json +81 -0
- package/fixtures/defold-1.14.0/editor_localization_doc.json +139 -0
- package/fixtures/defold-1.14.0/editor_pprint_doc.json +37 -0
- package/fixtures/defold-1.14.0/editor_tilemap_tiles_doc.json +292 -0
- package/fixtures/defold-1.14.0/editor_zip_doc.json +237 -0
- package/fixtures/defold-1.14.0/editor_zlib_doc.json +49 -0
- package/fixtures/defold-1.14.0/factory_doc.json +206 -0
- package/fixtures/defold-1.14.0/font_doc.json +230 -0
- package/fixtures/defold-1.14.0/globals_doc.json +64 -0
- package/fixtures/defold-1.14.0/go-instance-functions.json +106 -0
- package/fixtures/defold-1.14.0/go_doc.json +1789 -0
- package/fixtures/defold-1.14.0/graphics_doc.json +1257 -0
- package/fixtures/defold-1.14.0/gui_doc.json +4735 -0
- package/fixtures/defold-1.14.0/html5_doc.json +65 -0
- package/fixtures/defold-1.14.0/http_doc.json +174 -0
- package/fixtures/defold-1.14.0/image_doc.json +298 -0
- package/fixtures/defold-1.14.0/import-manifest.json +10260 -0
- package/fixtures/defold-1.14.0/io_doc.json +400 -0
- package/fixtures/defold-1.14.0/json_doc.json +140 -0
- package/fixtures/defold-1.14.0/label_doc.json +427 -0
- package/fixtures/defold-1.14.0/liveupdate_doc.json +221 -0
- package/fixtures/defold-1.14.0/material_doc.json +773 -0
- package/fixtures/defold-1.14.0/math_doc.json +703 -0
- package/fixtures/defold-1.14.0/model_doc.json +472 -0
- package/fixtures/defold-1.14.0/msg_doc.json +169 -0
- package/fixtures/defold-1.14.0/os_doc.json +269 -0
- package/fixtures/defold-1.14.0/package_doc.json +140 -0
- package/fixtures/defold-1.14.0/particlefx_doc.json +249 -0
- package/fixtures/defold-1.14.0/physics_doc.json +1624 -0
- package/fixtures/defold-1.14.0/profiler_doc.json +348 -0
- package/fixtures/defold-1.14.0/render_doc.json +1628 -0
- package/fixtures/defold-1.14.0/resource_doc.json +1539 -0
- package/fixtures/defold-1.14.0/socket_doc.json +2335 -0
- package/fixtures/defold-1.14.0/sound_doc.json +673 -0
- package/fixtures/defold-1.14.0/sprite_doc.json +364 -0
- package/fixtures/defold-1.14.0/string_doc.json +413 -0
- package/fixtures/defold-1.14.0/sys_doc.json +1347 -0
- package/fixtures/defold-1.14.0/table_doc.json +167 -0
- package/fixtures/defold-1.14.0/tilemap_doc.json +369 -0
- package/fixtures/defold-1.14.0/timer_doc.json +214 -0
- package/fixtures/defold-1.14.0/types_doc.json +213 -0
- package/fixtures/defold-1.14.0/vmath_doc.json +2056 -0
- package/fixtures/defold-1.14.0/window_doc.json +426 -0
- package/fixtures/defold-1.14.0/zlib_doc.json +71 -0
- package/package.json +13 -6
- package/scripts/cli-runtime.ts +18 -0
- package/scripts/example-store-io.ts +2 -2
- package/scripts/extension-goldens.ts +9 -5
- package/scripts/generate-api-availability.ts +1 -1
- package/scripts/generate-api-signatures.ts +1 -1
- package/scripts/import-defold-release.ts +1 -1
- package/scripts/regen.ts +35 -9
- package/scripts/signature-store-fs.ts +37 -17
- package/scripts/sync-api-docs.ts +127 -20
- package/src/api-doc.ts +11 -4
- package/src/emit-dts.ts +115 -21
- package/src/index-slot-classifications.ts +75 -9
- package/src/index.ts +3 -1
- package/src/publish-dts.ts +16 -0
- package/src/script-api.ts +36 -38
- package/src/library-index-slot-classifications.ts +0 -332
|
@@ -0,0 +1,1327 @@
|
|
|
1
|
+
{
|
|
2
|
+
"elements": [
|
|
3
|
+
{
|
|
4
|
+
"type": "TYPEDEF",
|
|
5
|
+
"name": "b2World",
|
|
6
|
+
"brief": "Box2D world",
|
|
7
|
+
"description": "Box2D world",
|
|
8
|
+
"returnvalues": [],
|
|
9
|
+
"parameters": [
|
|
10
|
+
{
|
|
11
|
+
"name": "value",
|
|
12
|
+
"doc": "",
|
|
13
|
+
"types": ["userdata"],
|
|
14
|
+
"is_optional": "False"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"examples": "",
|
|
18
|
+
"replaces": "",
|
|
19
|
+
"error": "",
|
|
20
|
+
"tparams": [],
|
|
21
|
+
"members": [],
|
|
22
|
+
"notes": [],
|
|
23
|
+
"language": ""
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "TYPEDEF",
|
|
27
|
+
"name": "b2Body",
|
|
28
|
+
"brief": "Box2D body",
|
|
29
|
+
"description": "Box2D body",
|
|
30
|
+
"returnvalues": [],
|
|
31
|
+
"parameters": [
|
|
32
|
+
{
|
|
33
|
+
"name": "value",
|
|
34
|
+
"doc": "",
|
|
35
|
+
"types": ["userdata"],
|
|
36
|
+
"is_optional": "False"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"examples": "",
|
|
40
|
+
"replaces": "",
|
|
41
|
+
"error": "",
|
|
42
|
+
"tparams": [],
|
|
43
|
+
"members": [],
|
|
44
|
+
"notes": [],
|
|
45
|
+
"language": ""
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "CONSTANT",
|
|
49
|
+
"name": "b2d.body.B2_STATIC_BODY",
|
|
50
|
+
"brief": "Static (immovable) body",
|
|
51
|
+
"description": "Static (immovable) body",
|
|
52
|
+
"returnvalues": [],
|
|
53
|
+
"parameters": [],
|
|
54
|
+
"examples": "",
|
|
55
|
+
"replaces": "",
|
|
56
|
+
"error": "",
|
|
57
|
+
"tparams": [],
|
|
58
|
+
"members": [],
|
|
59
|
+
"notes": [],
|
|
60
|
+
"language": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "CONSTANT",
|
|
64
|
+
"name": "b2d.body.B2_KINEMATIC_BODY",
|
|
65
|
+
"brief": "Kinematic body",
|
|
66
|
+
"description": "Kinematic body",
|
|
67
|
+
"returnvalues": [],
|
|
68
|
+
"parameters": [],
|
|
69
|
+
"examples": "",
|
|
70
|
+
"replaces": "",
|
|
71
|
+
"error": "",
|
|
72
|
+
"tparams": [],
|
|
73
|
+
"members": [],
|
|
74
|
+
"notes": [],
|
|
75
|
+
"language": ""
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "CONSTANT",
|
|
79
|
+
"name": "b2d.body.B2_DYNAMIC_BODY",
|
|
80
|
+
"brief": "Dynamic body",
|
|
81
|
+
"description": "Dynamic body",
|
|
82
|
+
"returnvalues": [],
|
|
83
|
+
"parameters": [],
|
|
84
|
+
"examples": "",
|
|
85
|
+
"replaces": "",
|
|
86
|
+
"error": "",
|
|
87
|
+
"tparams": [],
|
|
88
|
+
"members": [],
|
|
89
|
+
"notes": [],
|
|
90
|
+
"language": ""
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "FUNCTION",
|
|
94
|
+
"name": "b2d.body.set_transform",
|
|
95
|
+
"brief": "Set the position of the body's origin and rotation",
|
|
96
|
+
"description": "Set the position of the body's origin and rotation.\nThis breaks any contacts and wakes the other bodies.\nManipulating a body's transform may cause non-physical behavior.",
|
|
97
|
+
"returnvalues": [],
|
|
98
|
+
"parameters": [
|
|
99
|
+
{
|
|
100
|
+
"name": "body",
|
|
101
|
+
"doc": "body",
|
|
102
|
+
"types": ["b2Body"],
|
|
103
|
+
"is_optional": "False"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "position",
|
|
107
|
+
"doc": "the world position of the body's local origin.",
|
|
108
|
+
"types": ["vector3"],
|
|
109
|
+
"is_optional": "False"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "angle",
|
|
113
|
+
"doc": "the world position of the body's local origin.",
|
|
114
|
+
"types": ["number"],
|
|
115
|
+
"is_optional": "False"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"examples": "",
|
|
119
|
+
"replaces": "",
|
|
120
|
+
"error": "",
|
|
121
|
+
"tparams": [],
|
|
122
|
+
"members": [],
|
|
123
|
+
"notes": [],
|
|
124
|
+
"language": ""
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": "FUNCTION",
|
|
128
|
+
"name": "b2d.body.get_position",
|
|
129
|
+
"brief": "Get the world body origin position.",
|
|
130
|
+
"description": "Get the world body origin position.",
|
|
131
|
+
"returnvalues": [
|
|
132
|
+
{
|
|
133
|
+
"name": "position",
|
|
134
|
+
"doc": "the world position of the body's origin.",
|
|
135
|
+
"types": ["vector3"]
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"parameters": [
|
|
139
|
+
{
|
|
140
|
+
"name": "body",
|
|
141
|
+
"doc": "body",
|
|
142
|
+
"types": ["b2Body"],
|
|
143
|
+
"is_optional": "False"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"examples": "",
|
|
147
|
+
"replaces": "",
|
|
148
|
+
"error": "",
|
|
149
|
+
"tparams": [],
|
|
150
|
+
"members": [],
|
|
151
|
+
"notes": [],
|
|
152
|
+
"language": ""
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "FUNCTION",
|
|
156
|
+
"name": "b2d.body.get_angle",
|
|
157
|
+
"brief": "Get the angle in radians.",
|
|
158
|
+
"description": "Get the angle in radians.",
|
|
159
|
+
"returnvalues": [
|
|
160
|
+
{
|
|
161
|
+
"name": "angle",
|
|
162
|
+
"doc": "the current world rotation angle in radians.",
|
|
163
|
+
"types": ["number"]
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"parameters": [
|
|
167
|
+
{
|
|
168
|
+
"name": "body",
|
|
169
|
+
"doc": "body",
|
|
170
|
+
"types": ["b2Body"],
|
|
171
|
+
"is_optional": "False"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"examples": "",
|
|
175
|
+
"replaces": "",
|
|
176
|
+
"error": "",
|
|
177
|
+
"tparams": [],
|
|
178
|
+
"members": [],
|
|
179
|
+
"notes": [],
|
|
180
|
+
"language": ""
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "FUNCTION",
|
|
184
|
+
"name": "b2d.body.get_world_center_of_mass",
|
|
185
|
+
"brief": "Get the world position of the center of mass.",
|
|
186
|
+
"description": "Get the world position of the center of mass.",
|
|
187
|
+
"returnvalues": [
|
|
188
|
+
{
|
|
189
|
+
"name": "center",
|
|
190
|
+
"doc": "Get the world position of the center of mass.",
|
|
191
|
+
"types": ["vector3"]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"parameters": [
|
|
195
|
+
{
|
|
196
|
+
"name": "body",
|
|
197
|
+
"doc": "body",
|
|
198
|
+
"types": ["b2Body"],
|
|
199
|
+
"is_optional": "False"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"examples": "",
|
|
203
|
+
"replaces": "",
|
|
204
|
+
"error": "",
|
|
205
|
+
"tparams": [],
|
|
206
|
+
"members": [],
|
|
207
|
+
"notes": [],
|
|
208
|
+
"language": ""
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "FUNCTION",
|
|
212
|
+
"name": "b2d.body.get_local_center_of_mass",
|
|
213
|
+
"brief": "Get the local position of the center of mass.",
|
|
214
|
+
"description": "Get the local position of the center of mass.",
|
|
215
|
+
"returnvalues": [
|
|
216
|
+
{
|
|
217
|
+
"name": "center",
|
|
218
|
+
"doc": "Get the local position of the center of mass.",
|
|
219
|
+
"types": ["vector3"]
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"parameters": [
|
|
223
|
+
{
|
|
224
|
+
"name": "body",
|
|
225
|
+
"doc": "body",
|
|
226
|
+
"types": ["b2Body"],
|
|
227
|
+
"is_optional": "False"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"examples": "",
|
|
231
|
+
"replaces": "",
|
|
232
|
+
"error": "",
|
|
233
|
+
"tparams": [],
|
|
234
|
+
"members": [],
|
|
235
|
+
"notes": [],
|
|
236
|
+
"language": ""
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"type": "FUNCTION",
|
|
240
|
+
"name": "b2d.body.set_linear_velocity",
|
|
241
|
+
"brief": "Set the linear velocity of the center of mass.",
|
|
242
|
+
"description": "Set the linear velocity of the center of mass.",
|
|
243
|
+
"returnvalues": [],
|
|
244
|
+
"parameters": [
|
|
245
|
+
{
|
|
246
|
+
"name": "body",
|
|
247
|
+
"doc": "body",
|
|
248
|
+
"types": ["b2Body"],
|
|
249
|
+
"is_optional": "False"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "velocity",
|
|
253
|
+
"doc": "the new linear velocity of the center of mass.",
|
|
254
|
+
"types": ["vector3"],
|
|
255
|
+
"is_optional": "False"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"examples": "",
|
|
259
|
+
"replaces": "",
|
|
260
|
+
"error": "",
|
|
261
|
+
"tparams": [],
|
|
262
|
+
"members": [],
|
|
263
|
+
"notes": [],
|
|
264
|
+
"language": ""
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "FUNCTION",
|
|
268
|
+
"name": "b2d.body.get_linear_velocity",
|
|
269
|
+
"brief": "Get the linear velocity of the center of mass.",
|
|
270
|
+
"description": "Get the linear velocity of the center of mass.",
|
|
271
|
+
"returnvalues": [
|
|
272
|
+
{
|
|
273
|
+
"name": "velocity",
|
|
274
|
+
"doc": "the linear velocity of the center of mass.",
|
|
275
|
+
"types": ["vector3"]
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"parameters": [
|
|
279
|
+
{
|
|
280
|
+
"name": "body",
|
|
281
|
+
"doc": "body",
|
|
282
|
+
"types": ["b2Body"],
|
|
283
|
+
"is_optional": "False"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"examples": "",
|
|
287
|
+
"replaces": "",
|
|
288
|
+
"error": "",
|
|
289
|
+
"tparams": [],
|
|
290
|
+
"members": [],
|
|
291
|
+
"notes": [],
|
|
292
|
+
"language": ""
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "FUNCTION",
|
|
296
|
+
"name": "b2d.body.set_angular_velocity",
|
|
297
|
+
"brief": "Set the angular velocity.",
|
|
298
|
+
"description": "Set the angular velocity.",
|
|
299
|
+
"returnvalues": [],
|
|
300
|
+
"parameters": [
|
|
301
|
+
{
|
|
302
|
+
"name": "body",
|
|
303
|
+
"doc": "body",
|
|
304
|
+
"types": ["b2Body"],
|
|
305
|
+
"is_optional": "False"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "omega",
|
|
309
|
+
"doc": "the new angular velocity in radians/second.",
|
|
310
|
+
"types": ["number"],
|
|
311
|
+
"is_optional": "False"
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"examples": "",
|
|
315
|
+
"replaces": "",
|
|
316
|
+
"error": "",
|
|
317
|
+
"tparams": [],
|
|
318
|
+
"members": [],
|
|
319
|
+
"notes": [],
|
|
320
|
+
"language": ""
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"type": "FUNCTION",
|
|
324
|
+
"name": "b2d.body.get_angular_velocity",
|
|
325
|
+
"brief": "Get the angular velocity.",
|
|
326
|
+
"description": "Get the angular velocity.",
|
|
327
|
+
"returnvalues": [
|
|
328
|
+
{
|
|
329
|
+
"name": "velocity",
|
|
330
|
+
"doc": "the angular velocity in radians/second.",
|
|
331
|
+
"types": ["number"]
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"parameters": [
|
|
335
|
+
{
|
|
336
|
+
"name": "body",
|
|
337
|
+
"doc": "body",
|
|
338
|
+
"types": ["b2Body"],
|
|
339
|
+
"is_optional": "False"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"examples": "",
|
|
343
|
+
"replaces": "",
|
|
344
|
+
"error": "",
|
|
345
|
+
"tparams": [],
|
|
346
|
+
"members": [],
|
|
347
|
+
"notes": [],
|
|
348
|
+
"language": ""
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": "FUNCTION",
|
|
352
|
+
"name": "b2d.body.apply_force",
|
|
353
|
+
"brief": "Apply a force at a world point. If the force is no...",
|
|
354
|
+
"description": "Apply a force at a world point. If the force is not\napplied at the center of mass, it will generate a torque and\naffect the angular velocity. This wakes up the body.",
|
|
355
|
+
"returnvalues": [],
|
|
356
|
+
"parameters": [
|
|
357
|
+
{
|
|
358
|
+
"name": "body",
|
|
359
|
+
"doc": "body",
|
|
360
|
+
"types": ["b2Body"],
|
|
361
|
+
"is_optional": "False"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "force",
|
|
365
|
+
"doc": "the world force vector, usually in Newtons (N).",
|
|
366
|
+
"types": ["vector3"],
|
|
367
|
+
"is_optional": "False"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "point",
|
|
371
|
+
"doc": "the world position of the point of application.",
|
|
372
|
+
"types": ["vector3"],
|
|
373
|
+
"is_optional": "False"
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"examples": "",
|
|
377
|
+
"replaces": "",
|
|
378
|
+
"error": "",
|
|
379
|
+
"tparams": [],
|
|
380
|
+
"members": [],
|
|
381
|
+
"notes": [],
|
|
382
|
+
"language": ""
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"type": "FUNCTION",
|
|
386
|
+
"name": "b2d.body.apply_force_to_center",
|
|
387
|
+
"brief": "Apply a force to the center of mass. This wakes up the body.",
|
|
388
|
+
"description": "Apply a force to the center of mass. This wakes up the body.",
|
|
389
|
+
"returnvalues": [],
|
|
390
|
+
"parameters": [
|
|
391
|
+
{
|
|
392
|
+
"name": "body",
|
|
393
|
+
"doc": "body",
|
|
394
|
+
"types": ["b2Body"],
|
|
395
|
+
"is_optional": "False"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "force",
|
|
399
|
+
"doc": "the world force vector, usually in Newtons (N).",
|
|
400
|
+
"types": ["vector3"],
|
|
401
|
+
"is_optional": "False"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"examples": "",
|
|
405
|
+
"replaces": "",
|
|
406
|
+
"error": "",
|
|
407
|
+
"tparams": [],
|
|
408
|
+
"members": [],
|
|
409
|
+
"notes": [],
|
|
410
|
+
"language": ""
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"type": "FUNCTION",
|
|
414
|
+
"name": "b2d.body.apply_torque",
|
|
415
|
+
"brief": "Apply a torque. This affects the angular velocity\n...",
|
|
416
|
+
"description": "Apply a torque. This affects the angular velocity\nwithout affecting the linear velocity of the center of mass.\nThis wakes up the body.",
|
|
417
|
+
"returnvalues": [],
|
|
418
|
+
"parameters": [
|
|
419
|
+
{
|
|
420
|
+
"name": "body",
|
|
421
|
+
"doc": "body",
|
|
422
|
+
"types": ["b2Body"],
|
|
423
|
+
"is_optional": "False"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "torque",
|
|
427
|
+
"doc": "torque about the z-axis (out of the screen), usually in N-m.",
|
|
428
|
+
"types": ["number"],
|
|
429
|
+
"is_optional": "False"
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
"examples": "",
|
|
433
|
+
"replaces": "",
|
|
434
|
+
"error": "",
|
|
435
|
+
"tparams": [],
|
|
436
|
+
"members": [],
|
|
437
|
+
"notes": [],
|
|
438
|
+
"language": ""
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"type": "FUNCTION",
|
|
442
|
+
"name": "b2d.body.apply_linear_impulse",
|
|
443
|
+
"brief": "Apply an impulse at a point. This immediately modi...",
|
|
444
|
+
"description": "Apply an impulse at a point. This immediately modifies the velocity.\nIt also modifies the angular velocity if the point of application\nis not at the center of mass. This wakes up the body.",
|
|
445
|
+
"returnvalues": [],
|
|
446
|
+
"parameters": [
|
|
447
|
+
{
|
|
448
|
+
"name": "body",
|
|
449
|
+
"doc": "body",
|
|
450
|
+
"types": ["b2Body"],
|
|
451
|
+
"is_optional": "False"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "impulse",
|
|
455
|
+
"doc": "the world impulse vector, usually in N-seconds or kg-m/s.",
|
|
456
|
+
"types": ["vector3"],
|
|
457
|
+
"is_optional": "False"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "point",
|
|
461
|
+
"doc": "the world position of the point of application.",
|
|
462
|
+
"types": ["vector3"],
|
|
463
|
+
"is_optional": "False"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"examples": "",
|
|
467
|
+
"replaces": "",
|
|
468
|
+
"error": "",
|
|
469
|
+
"tparams": [],
|
|
470
|
+
"members": [],
|
|
471
|
+
"notes": [],
|
|
472
|
+
"language": ""
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"type": "FUNCTION",
|
|
476
|
+
"name": "b2d.body.apply_angular_impulse",
|
|
477
|
+
"brief": "Apply an angular impulse.",
|
|
478
|
+
"description": "Apply an angular impulse.",
|
|
479
|
+
"returnvalues": [],
|
|
480
|
+
"parameters": [
|
|
481
|
+
{
|
|
482
|
+
"name": "body",
|
|
483
|
+
"doc": "body",
|
|
484
|
+
"types": ["b2Body"],
|
|
485
|
+
"is_optional": "False"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "impulse",
|
|
489
|
+
"doc": "impulse the angular impulse in units of kg<em>m</em>m/s",
|
|
490
|
+
"types": ["number"],
|
|
491
|
+
"is_optional": "False"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"examples": "",
|
|
495
|
+
"replaces": "",
|
|
496
|
+
"error": "",
|
|
497
|
+
"tparams": [],
|
|
498
|
+
"members": [],
|
|
499
|
+
"notes": [],
|
|
500
|
+
"language": ""
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"type": "FUNCTION",
|
|
504
|
+
"name": "b2d.body.get_mass",
|
|
505
|
+
"brief": "Get the total mass of the body.",
|
|
506
|
+
"description": "Get the total mass of the body.",
|
|
507
|
+
"returnvalues": [
|
|
508
|
+
{
|
|
509
|
+
"name": "mass",
|
|
510
|
+
"doc": "the mass, usually in kilograms (kg).",
|
|
511
|
+
"types": ["number"]
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"parameters": [
|
|
515
|
+
{
|
|
516
|
+
"name": "body",
|
|
517
|
+
"doc": "body",
|
|
518
|
+
"types": ["b2Body"],
|
|
519
|
+
"is_optional": "False"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"examples": "",
|
|
523
|
+
"replaces": "",
|
|
524
|
+
"error": "",
|
|
525
|
+
"tparams": [],
|
|
526
|
+
"members": [],
|
|
527
|
+
"notes": [],
|
|
528
|
+
"language": ""
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"type": "FUNCTION",
|
|
532
|
+
"name": "b2d.body.get_rotational_inertia",
|
|
533
|
+
"brief": "Get the rotational inertia of the body about the local origin.",
|
|
534
|
+
"description": "Get the rotational inertia of the body about the local origin.",
|
|
535
|
+
"returnvalues": [
|
|
536
|
+
{
|
|
537
|
+
"name": "inertia",
|
|
538
|
+
"doc": "the rotational inertia, usually in kg-m^2.",
|
|
539
|
+
"types": ["number"]
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"parameters": [
|
|
543
|
+
{
|
|
544
|
+
"name": "body",
|
|
545
|
+
"doc": "body",
|
|
546
|
+
"types": ["b2Body"],
|
|
547
|
+
"is_optional": "False"
|
|
548
|
+
}
|
|
549
|
+
],
|
|
550
|
+
"examples": "",
|
|
551
|
+
"replaces": "",
|
|
552
|
+
"error": "",
|
|
553
|
+
"tparams": [],
|
|
554
|
+
"members": [],
|
|
555
|
+
"notes": [],
|
|
556
|
+
"language": ""
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"type": "FUNCTION",
|
|
560
|
+
"name": "b2d.body.reset_mass_data",
|
|
561
|
+
"brief": "This resets the mass properties to the sum of the ...",
|
|
562
|
+
"description": "This resets the mass properties to the sum of the mass properties of the fixtures.\nThis normally does not need to be called unless you called SetMassData to override",
|
|
563
|
+
"returnvalues": [],
|
|
564
|
+
"parameters": [
|
|
565
|
+
{
|
|
566
|
+
"name": "body",
|
|
567
|
+
"doc": "body",
|
|
568
|
+
"types": ["b2Body"],
|
|
569
|
+
"is_optional": "False"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"examples": "",
|
|
573
|
+
"replaces": "",
|
|
574
|
+
"error": "",
|
|
575
|
+
"tparams": [],
|
|
576
|
+
"members": [],
|
|
577
|
+
"notes": [],
|
|
578
|
+
"language": ""
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"type": "FUNCTION",
|
|
582
|
+
"name": "b2d.body.get_world_point",
|
|
583
|
+
"brief": "Get the world coordinates of a point given the local coordinates.",
|
|
584
|
+
"description": "Get the world coordinates of a point given the local coordinates.",
|
|
585
|
+
"returnvalues": [
|
|
586
|
+
{
|
|
587
|
+
"name": "vector",
|
|
588
|
+
"doc": "the same point expressed in world coordinates.",
|
|
589
|
+
"types": ["vector3"]
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"parameters": [
|
|
593
|
+
{
|
|
594
|
+
"name": "body",
|
|
595
|
+
"doc": "body",
|
|
596
|
+
"types": ["b2Body"],
|
|
597
|
+
"is_optional": "False"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "local_vector",
|
|
601
|
+
"doc": "localPoint a point on the body measured relative the the body's origin.",
|
|
602
|
+
"types": ["vector3"],
|
|
603
|
+
"is_optional": "False"
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"examples": "",
|
|
607
|
+
"replaces": "",
|
|
608
|
+
"error": "",
|
|
609
|
+
"tparams": [],
|
|
610
|
+
"members": [],
|
|
611
|
+
"notes": [],
|
|
612
|
+
"language": ""
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"type": "FUNCTION",
|
|
616
|
+
"name": "b2d.body.get_world_vector",
|
|
617
|
+
"brief": "Get the world coordinates of a vector given the local coordinates.",
|
|
618
|
+
"description": "Get the world coordinates of a vector given the local coordinates.",
|
|
619
|
+
"returnvalues": [
|
|
620
|
+
{
|
|
621
|
+
"name": "vector",
|
|
622
|
+
"doc": "the same vector expressed in world coordinates.",
|
|
623
|
+
"types": ["vector3"]
|
|
624
|
+
}
|
|
625
|
+
],
|
|
626
|
+
"parameters": [
|
|
627
|
+
{
|
|
628
|
+
"name": "body",
|
|
629
|
+
"doc": "body",
|
|
630
|
+
"types": ["b2Body"],
|
|
631
|
+
"is_optional": "False"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"name": "local_vector",
|
|
635
|
+
"doc": "a vector fixed in the body.",
|
|
636
|
+
"types": ["vector3"],
|
|
637
|
+
"is_optional": "False"
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
"examples": "",
|
|
641
|
+
"replaces": "",
|
|
642
|
+
"error": "",
|
|
643
|
+
"tparams": [],
|
|
644
|
+
"members": [],
|
|
645
|
+
"notes": [],
|
|
646
|
+
"language": ""
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"type": "FUNCTION",
|
|
650
|
+
"name": "b2d.body.get_local_point",
|
|
651
|
+
"brief": "Gets a local point relative to the body's origin given a world point.",
|
|
652
|
+
"description": "Gets a local point relative to the body's origin given a world point.",
|
|
653
|
+
"returnvalues": [
|
|
654
|
+
{
|
|
655
|
+
"name": "vector",
|
|
656
|
+
"doc": "the corresponding local point relative to the body's origin.",
|
|
657
|
+
"types": ["vector3"]
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"parameters": [
|
|
661
|
+
{
|
|
662
|
+
"name": "body",
|
|
663
|
+
"doc": "body",
|
|
664
|
+
"types": ["b2Body"],
|
|
665
|
+
"is_optional": "False"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "world_point",
|
|
669
|
+
"doc": "a point in world coordinates.",
|
|
670
|
+
"types": ["vector3"],
|
|
671
|
+
"is_optional": "False"
|
|
672
|
+
}
|
|
673
|
+
],
|
|
674
|
+
"examples": "",
|
|
675
|
+
"replaces": "",
|
|
676
|
+
"error": "",
|
|
677
|
+
"tparams": [],
|
|
678
|
+
"members": [],
|
|
679
|
+
"notes": [],
|
|
680
|
+
"language": ""
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"type": "FUNCTION",
|
|
684
|
+
"name": "b2d.body.get_local_vector",
|
|
685
|
+
"brief": "Gets a local vector given a world vector.",
|
|
686
|
+
"description": "Gets a local vector given a world vector.",
|
|
687
|
+
"returnvalues": [
|
|
688
|
+
{
|
|
689
|
+
"name": "vector",
|
|
690
|
+
"doc": "the corresponding local vector.",
|
|
691
|
+
"types": ["vector3"]
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"parameters": [
|
|
695
|
+
{
|
|
696
|
+
"name": "body",
|
|
697
|
+
"doc": "body",
|
|
698
|
+
"types": ["b2Body"],
|
|
699
|
+
"is_optional": "False"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "world_vector",
|
|
703
|
+
"doc": "a vector in world coordinates.",
|
|
704
|
+
"types": ["vector3"],
|
|
705
|
+
"is_optional": "False"
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
"examples": "",
|
|
709
|
+
"replaces": "",
|
|
710
|
+
"error": "",
|
|
711
|
+
"tparams": [],
|
|
712
|
+
"members": [],
|
|
713
|
+
"notes": [],
|
|
714
|
+
"language": ""
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"type": "FUNCTION",
|
|
718
|
+
"name": "b2d.body.get_linear_velocity_from_world_point",
|
|
719
|
+
"brief": "Get the world linear velocity of a world point attached to this body.",
|
|
720
|
+
"description": "Get the world linear velocity of a world point attached to this body.",
|
|
721
|
+
"returnvalues": [
|
|
722
|
+
{
|
|
723
|
+
"name": "velocity",
|
|
724
|
+
"doc": "the world velocity of a point.",
|
|
725
|
+
"types": ["vector3"]
|
|
726
|
+
}
|
|
727
|
+
],
|
|
728
|
+
"parameters": [
|
|
729
|
+
{
|
|
730
|
+
"name": "body",
|
|
731
|
+
"doc": "body",
|
|
732
|
+
"types": ["b2Body"],
|
|
733
|
+
"is_optional": "False"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "world_point",
|
|
737
|
+
"doc": "a point in world coordinates.",
|
|
738
|
+
"types": ["vector3"],
|
|
739
|
+
"is_optional": "False"
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
"examples": "",
|
|
743
|
+
"replaces": "",
|
|
744
|
+
"error": "",
|
|
745
|
+
"tparams": [],
|
|
746
|
+
"members": [],
|
|
747
|
+
"notes": [],
|
|
748
|
+
"language": ""
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"type": "FUNCTION",
|
|
752
|
+
"name": "b2d.body.get_linear_velocity_from_local_point",
|
|
753
|
+
"brief": "Get the world velocity of a local point.",
|
|
754
|
+
"description": "Get the world velocity of a local point.",
|
|
755
|
+
"returnvalues": [
|
|
756
|
+
{
|
|
757
|
+
"name": "velocity",
|
|
758
|
+
"doc": "the world velocity of a point.",
|
|
759
|
+
"types": ["vector3"]
|
|
760
|
+
}
|
|
761
|
+
],
|
|
762
|
+
"parameters": [
|
|
763
|
+
{
|
|
764
|
+
"name": "body",
|
|
765
|
+
"doc": "body",
|
|
766
|
+
"types": ["b2Body"],
|
|
767
|
+
"is_optional": "False"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"name": "local_point",
|
|
771
|
+
"doc": "a point in local coordinates.",
|
|
772
|
+
"types": ["vector3"],
|
|
773
|
+
"is_optional": "False"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"examples": "",
|
|
777
|
+
"replaces": "",
|
|
778
|
+
"error": "",
|
|
779
|
+
"tparams": [],
|
|
780
|
+
"members": [],
|
|
781
|
+
"notes": [],
|
|
782
|
+
"language": ""
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"type": "FUNCTION",
|
|
786
|
+
"name": "b2d.body.set_linear_damping",
|
|
787
|
+
"brief": "Set the linear damping of the body.",
|
|
788
|
+
"description": "Set the linear damping of the body.",
|
|
789
|
+
"returnvalues": [],
|
|
790
|
+
"parameters": [
|
|
791
|
+
{
|
|
792
|
+
"name": "body",
|
|
793
|
+
"doc": "body",
|
|
794
|
+
"types": ["b2Body"],
|
|
795
|
+
"is_optional": "False"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"name": "damping",
|
|
799
|
+
"doc": "the damping",
|
|
800
|
+
"types": ["number"],
|
|
801
|
+
"is_optional": "False"
|
|
802
|
+
}
|
|
803
|
+
],
|
|
804
|
+
"examples": "",
|
|
805
|
+
"replaces": "",
|
|
806
|
+
"error": "",
|
|
807
|
+
"tparams": [],
|
|
808
|
+
"members": [],
|
|
809
|
+
"notes": [],
|
|
810
|
+
"language": ""
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"type": "FUNCTION",
|
|
814
|
+
"name": "b2d.body.get_linear_damping",
|
|
815
|
+
"brief": "Get the linear damping of the body.",
|
|
816
|
+
"description": "Get the linear damping of the body.",
|
|
817
|
+
"returnvalues": [
|
|
818
|
+
{
|
|
819
|
+
"name": "damping",
|
|
820
|
+
"doc": "the damping",
|
|
821
|
+
"types": ["number"]
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"parameters": [
|
|
825
|
+
{
|
|
826
|
+
"name": "body",
|
|
827
|
+
"doc": "body",
|
|
828
|
+
"types": ["b2Body"],
|
|
829
|
+
"is_optional": "False"
|
|
830
|
+
}
|
|
831
|
+
],
|
|
832
|
+
"examples": "",
|
|
833
|
+
"replaces": "",
|
|
834
|
+
"error": "",
|
|
835
|
+
"tparams": [],
|
|
836
|
+
"members": [],
|
|
837
|
+
"notes": [],
|
|
838
|
+
"language": ""
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"type": "FUNCTION",
|
|
842
|
+
"name": "b2d.body.set_angular_damping",
|
|
843
|
+
"brief": "Set the angular damping of the body.",
|
|
844
|
+
"description": "Set the angular damping of the body.",
|
|
845
|
+
"returnvalues": [],
|
|
846
|
+
"parameters": [
|
|
847
|
+
{
|
|
848
|
+
"name": "body",
|
|
849
|
+
"doc": "body",
|
|
850
|
+
"types": ["b2Body"],
|
|
851
|
+
"is_optional": "False"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "damping",
|
|
855
|
+
"doc": "the damping",
|
|
856
|
+
"types": ["number"],
|
|
857
|
+
"is_optional": "False"
|
|
858
|
+
}
|
|
859
|
+
],
|
|
860
|
+
"examples": "",
|
|
861
|
+
"replaces": "",
|
|
862
|
+
"error": "",
|
|
863
|
+
"tparams": [],
|
|
864
|
+
"members": [],
|
|
865
|
+
"notes": [],
|
|
866
|
+
"language": ""
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"type": "FUNCTION",
|
|
870
|
+
"name": "b2d.body.get_angular_damping",
|
|
871
|
+
"brief": "Get the angular damping of the body.",
|
|
872
|
+
"description": "Get the angular damping of the body.",
|
|
873
|
+
"returnvalues": [
|
|
874
|
+
{
|
|
875
|
+
"name": "damping",
|
|
876
|
+
"doc": "the damping",
|
|
877
|
+
"types": ["number"]
|
|
878
|
+
}
|
|
879
|
+
],
|
|
880
|
+
"parameters": [
|
|
881
|
+
{
|
|
882
|
+
"name": "body",
|
|
883
|
+
"doc": "body",
|
|
884
|
+
"types": ["b2Body"],
|
|
885
|
+
"is_optional": "False"
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"examples": "",
|
|
889
|
+
"replaces": "",
|
|
890
|
+
"error": "",
|
|
891
|
+
"tparams": [],
|
|
892
|
+
"members": [],
|
|
893
|
+
"notes": [],
|
|
894
|
+
"language": ""
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"type": "FUNCTION",
|
|
898
|
+
"name": "b2d.body.set_gravity_scale",
|
|
899
|
+
"brief": "Set the gravity scale of the body.",
|
|
900
|
+
"description": "Set the gravity scale of the body.",
|
|
901
|
+
"returnvalues": [],
|
|
902
|
+
"parameters": [
|
|
903
|
+
{
|
|
904
|
+
"name": "body",
|
|
905
|
+
"doc": "body",
|
|
906
|
+
"types": ["b2Body"],
|
|
907
|
+
"is_optional": "False"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "scale",
|
|
911
|
+
"doc": "the scale",
|
|
912
|
+
"types": ["number"],
|
|
913
|
+
"is_optional": "False"
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"examples": "",
|
|
917
|
+
"replaces": "",
|
|
918
|
+
"error": "",
|
|
919
|
+
"tparams": [],
|
|
920
|
+
"members": [],
|
|
921
|
+
"notes": [],
|
|
922
|
+
"language": ""
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"type": "FUNCTION",
|
|
926
|
+
"name": "b2d.body.get_gravity_scale",
|
|
927
|
+
"brief": "Get the gravity scale of the body.",
|
|
928
|
+
"description": "Get the gravity scale of the body.",
|
|
929
|
+
"returnvalues": [
|
|
930
|
+
{
|
|
931
|
+
"name": "scale",
|
|
932
|
+
"doc": "the scale",
|
|
933
|
+
"types": ["number"]
|
|
934
|
+
}
|
|
935
|
+
],
|
|
936
|
+
"parameters": [
|
|
937
|
+
{
|
|
938
|
+
"name": "body",
|
|
939
|
+
"doc": "body",
|
|
940
|
+
"types": ["b2Body"],
|
|
941
|
+
"is_optional": "False"
|
|
942
|
+
}
|
|
943
|
+
],
|
|
944
|
+
"examples": "",
|
|
945
|
+
"replaces": "",
|
|
946
|
+
"error": "",
|
|
947
|
+
"tparams": [],
|
|
948
|
+
"members": [],
|
|
949
|
+
"notes": [],
|
|
950
|
+
"language": ""
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"type": "FUNCTION",
|
|
954
|
+
"name": "b2d.body.set_type",
|
|
955
|
+
"brief": "Set the type of this body. This may alter the mass and velocity.",
|
|
956
|
+
"description": "Set the type of this body. This may alter the mass and velocity.",
|
|
957
|
+
"returnvalues": [],
|
|
958
|
+
"parameters": [
|
|
959
|
+
{
|
|
960
|
+
"name": "body",
|
|
961
|
+
"doc": "body",
|
|
962
|
+
"types": ["b2Body"],
|
|
963
|
+
"is_optional": "False"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "type",
|
|
967
|
+
"doc": "the body type",
|
|
968
|
+
"types": ["b2BodyType"],
|
|
969
|
+
"is_optional": "False"
|
|
970
|
+
}
|
|
971
|
+
],
|
|
972
|
+
"examples": "",
|
|
973
|
+
"replaces": "",
|
|
974
|
+
"error": "",
|
|
975
|
+
"tparams": [],
|
|
976
|
+
"members": [],
|
|
977
|
+
"notes": [],
|
|
978
|
+
"language": ""
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"type": "FUNCTION",
|
|
982
|
+
"name": "b2d.body.get_type",
|
|
983
|
+
"brief": "Get the type of this body.",
|
|
984
|
+
"description": "Get the type of this body.",
|
|
985
|
+
"returnvalues": [
|
|
986
|
+
{
|
|
987
|
+
"name": "type",
|
|
988
|
+
"doc": "the body type",
|
|
989
|
+
"types": ["b2BodyType"]
|
|
990
|
+
}
|
|
991
|
+
],
|
|
992
|
+
"parameters": [
|
|
993
|
+
{
|
|
994
|
+
"name": "body",
|
|
995
|
+
"doc": "body",
|
|
996
|
+
"types": ["b2Body"],
|
|
997
|
+
"is_optional": "False"
|
|
998
|
+
}
|
|
999
|
+
],
|
|
1000
|
+
"examples": "",
|
|
1001
|
+
"replaces": "",
|
|
1002
|
+
"error": "",
|
|
1003
|
+
"tparams": [],
|
|
1004
|
+
"members": [],
|
|
1005
|
+
"notes": [],
|
|
1006
|
+
"language": ""
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"type": "FUNCTION",
|
|
1010
|
+
"name": "b2d.body.set_bullet",
|
|
1011
|
+
"brief": "Should this body be treated like a bullet for continuous collision detection?",
|
|
1012
|
+
"description": "Should this body be treated like a bullet for continuous collision detection?",
|
|
1013
|
+
"returnvalues": [],
|
|
1014
|
+
"parameters": [
|
|
1015
|
+
{
|
|
1016
|
+
"name": "body",
|
|
1017
|
+
"doc": "body",
|
|
1018
|
+
"types": ["b2Body"],
|
|
1019
|
+
"is_optional": "False"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"name": "enable",
|
|
1023
|
+
"doc": "if true, the body will be in bullet mode",
|
|
1024
|
+
"types": ["boolean"],
|
|
1025
|
+
"is_optional": "False"
|
|
1026
|
+
}
|
|
1027
|
+
],
|
|
1028
|
+
"examples": "",
|
|
1029
|
+
"replaces": "",
|
|
1030
|
+
"error": "",
|
|
1031
|
+
"tparams": [],
|
|
1032
|
+
"members": [],
|
|
1033
|
+
"notes": [],
|
|
1034
|
+
"language": ""
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"type": "FUNCTION",
|
|
1038
|
+
"name": "b2d.body.is_bullet",
|
|
1039
|
+
"brief": "Is this body in bullet mode",
|
|
1040
|
+
"description": "Is this body in bullet mode",
|
|
1041
|
+
"returnvalues": [
|
|
1042
|
+
{
|
|
1043
|
+
"name": "enabled",
|
|
1044
|
+
"doc": "true if the body is in bullet mode",
|
|
1045
|
+
"types": ["boolean"]
|
|
1046
|
+
}
|
|
1047
|
+
],
|
|
1048
|
+
"parameters": [
|
|
1049
|
+
{
|
|
1050
|
+
"name": "body",
|
|
1051
|
+
"doc": "body",
|
|
1052
|
+
"types": ["b2Body"],
|
|
1053
|
+
"is_optional": "False"
|
|
1054
|
+
}
|
|
1055
|
+
],
|
|
1056
|
+
"examples": "",
|
|
1057
|
+
"replaces": "",
|
|
1058
|
+
"error": "",
|
|
1059
|
+
"tparams": [],
|
|
1060
|
+
"members": [],
|
|
1061
|
+
"notes": [],
|
|
1062
|
+
"language": ""
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"type": "FUNCTION",
|
|
1066
|
+
"name": "b2d.body.enable_sleep",
|
|
1067
|
+
"brief": "You can disable sleeping on this body. If you disable sleeping, the body will be woken.",
|
|
1068
|
+
"description": "You can disable sleeping on this body. If you disable sleeping, the body will be woken.",
|
|
1069
|
+
"returnvalues": [],
|
|
1070
|
+
"parameters": [
|
|
1071
|
+
{
|
|
1072
|
+
"name": "body",
|
|
1073
|
+
"doc": "body",
|
|
1074
|
+
"types": ["b2Body"],
|
|
1075
|
+
"is_optional": "False"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"name": "enable",
|
|
1079
|
+
"doc": "if false, the body will never sleep, and consume more CPU",
|
|
1080
|
+
"types": ["boolean"],
|
|
1081
|
+
"is_optional": "False"
|
|
1082
|
+
}
|
|
1083
|
+
],
|
|
1084
|
+
"examples": "",
|
|
1085
|
+
"replaces": "",
|
|
1086
|
+
"error": "",
|
|
1087
|
+
"tparams": [],
|
|
1088
|
+
"members": [],
|
|
1089
|
+
"notes": [],
|
|
1090
|
+
"language": ""
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"type": "FUNCTION",
|
|
1094
|
+
"name": "b2d.body.is_sleeping_enabled",
|
|
1095
|
+
"brief": "Is this body allowed to sleep",
|
|
1096
|
+
"description": "Is this body allowed to sleep",
|
|
1097
|
+
"returnvalues": [
|
|
1098
|
+
{
|
|
1099
|
+
"name": "enabled",
|
|
1100
|
+
"doc": "true if the body is allowed to sleep",
|
|
1101
|
+
"types": ["boolean"]
|
|
1102
|
+
}
|
|
1103
|
+
],
|
|
1104
|
+
"parameters": [
|
|
1105
|
+
{
|
|
1106
|
+
"name": "body",
|
|
1107
|
+
"doc": "body",
|
|
1108
|
+
"types": ["b2Body"],
|
|
1109
|
+
"is_optional": "False"
|
|
1110
|
+
}
|
|
1111
|
+
],
|
|
1112
|
+
"examples": "",
|
|
1113
|
+
"replaces": "",
|
|
1114
|
+
"error": "",
|
|
1115
|
+
"tparams": [],
|
|
1116
|
+
"members": [],
|
|
1117
|
+
"notes": [],
|
|
1118
|
+
"language": ""
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"type": "FUNCTION",
|
|
1122
|
+
"name": "b2d.body.set_awake",
|
|
1123
|
+
"brief": "Set the sleep state of the body. A sleeping body has very low CPU cost.",
|
|
1124
|
+
"description": "Set the sleep state of the body. A sleeping body has very low CPU cost.",
|
|
1125
|
+
"returnvalues": [],
|
|
1126
|
+
"parameters": [
|
|
1127
|
+
{
|
|
1128
|
+
"name": "body",
|
|
1129
|
+
"doc": "body",
|
|
1130
|
+
"types": ["b2Body"],
|
|
1131
|
+
"is_optional": "False"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "enable",
|
|
1135
|
+
"doc": "flag set to false to put body to sleep, true to wake it.",
|
|
1136
|
+
"types": ["boolean"],
|
|
1137
|
+
"is_optional": "False"
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
"examples": "",
|
|
1141
|
+
"replaces": "",
|
|
1142
|
+
"error": "",
|
|
1143
|
+
"tparams": [],
|
|
1144
|
+
"members": [],
|
|
1145
|
+
"notes": [],
|
|
1146
|
+
"language": ""
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"type": "FUNCTION",
|
|
1150
|
+
"name": "b2d.body.is_awake",
|
|
1151
|
+
"brief": "Get the sleeping state of this body.",
|
|
1152
|
+
"description": "Get the sleeping state of this body.",
|
|
1153
|
+
"returnvalues": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": "enabled",
|
|
1156
|
+
"doc": "true if the body is awake, false if it's sleeping.",
|
|
1157
|
+
"types": ["boolean"]
|
|
1158
|
+
}
|
|
1159
|
+
],
|
|
1160
|
+
"parameters": [
|
|
1161
|
+
{
|
|
1162
|
+
"name": "body",
|
|
1163
|
+
"doc": "body",
|
|
1164
|
+
"types": ["b2Body"],
|
|
1165
|
+
"is_optional": "False"
|
|
1166
|
+
}
|
|
1167
|
+
],
|
|
1168
|
+
"examples": "",
|
|
1169
|
+
"replaces": "",
|
|
1170
|
+
"error": "",
|
|
1171
|
+
"tparams": [],
|
|
1172
|
+
"members": [],
|
|
1173
|
+
"notes": [],
|
|
1174
|
+
"language": ""
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"type": "FUNCTION",
|
|
1178
|
+
"name": "b2d.body.set_active",
|
|
1179
|
+
"brief": "Set the active state of the body",
|
|
1180
|
+
"description": "Set the active state of the body. An inactive body is not\nsimulated and cannot be collided with or woken up.\nIf you pass a flag of true, all fixtures will be added to the\nbroad-phase.\nIf you pass a flag of false, all fixtures will be removed from\nthe broad-phase and all contacts will be destroyed.\nFixtures and joints are otherwise unaffected. You may continue\nto create/destroy fixtures and joints on inactive bodies.\nFixtures on an inactive body are implicitly inactive and will\nnot participate in collisions, ray-casts, or queries.\nJoints connected to an inactive body are implicitly inactive.\nAn inactive body is still owned by a b2World object and remains\nin the body list.",
|
|
1181
|
+
"returnvalues": [],
|
|
1182
|
+
"parameters": [
|
|
1183
|
+
{
|
|
1184
|
+
"name": "body",
|
|
1185
|
+
"doc": "body",
|
|
1186
|
+
"types": ["b2Body"],
|
|
1187
|
+
"is_optional": "False"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "enable",
|
|
1191
|
+
"doc": "true if the body should be active",
|
|
1192
|
+
"types": ["boolean"],
|
|
1193
|
+
"is_optional": "False"
|
|
1194
|
+
}
|
|
1195
|
+
],
|
|
1196
|
+
"examples": "",
|
|
1197
|
+
"replaces": "",
|
|
1198
|
+
"error": "",
|
|
1199
|
+
"tparams": [],
|
|
1200
|
+
"members": [],
|
|
1201
|
+
"notes": [],
|
|
1202
|
+
"language": ""
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"type": "FUNCTION",
|
|
1206
|
+
"name": "b2d.body.is_active",
|
|
1207
|
+
"brief": "Get the active state of the body.",
|
|
1208
|
+
"description": "Get the active state of the body.",
|
|
1209
|
+
"returnvalues": [
|
|
1210
|
+
{
|
|
1211
|
+
"name": "enabled",
|
|
1212
|
+
"doc": "is the body active",
|
|
1213
|
+
"types": ["boolean"]
|
|
1214
|
+
}
|
|
1215
|
+
],
|
|
1216
|
+
"parameters": [
|
|
1217
|
+
{
|
|
1218
|
+
"name": "body",
|
|
1219
|
+
"doc": "body",
|
|
1220
|
+
"types": ["b2Body"],
|
|
1221
|
+
"is_optional": "False"
|
|
1222
|
+
}
|
|
1223
|
+
],
|
|
1224
|
+
"examples": "",
|
|
1225
|
+
"replaces": "",
|
|
1226
|
+
"error": "",
|
|
1227
|
+
"tparams": [],
|
|
1228
|
+
"members": [],
|
|
1229
|
+
"notes": [],
|
|
1230
|
+
"language": ""
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"type": "FUNCTION",
|
|
1234
|
+
"name": "b2d.body.set_fixed_rotation",
|
|
1235
|
+
"brief": "Set this body to have fixed rotation. This causes the mass to be reset.",
|
|
1236
|
+
"description": "Set this body to have fixed rotation. This causes the mass to be reset.",
|
|
1237
|
+
"returnvalues": [],
|
|
1238
|
+
"parameters": [
|
|
1239
|
+
{
|
|
1240
|
+
"name": "body",
|
|
1241
|
+
"doc": "body",
|
|
1242
|
+
"types": ["b2Body"],
|
|
1243
|
+
"is_optional": "False"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "enable",
|
|
1247
|
+
"doc": "true if the rotation should be fixed",
|
|
1248
|
+
"types": ["boolean"],
|
|
1249
|
+
"is_optional": "False"
|
|
1250
|
+
}
|
|
1251
|
+
],
|
|
1252
|
+
"examples": "",
|
|
1253
|
+
"replaces": "",
|
|
1254
|
+
"error": "",
|
|
1255
|
+
"tparams": [],
|
|
1256
|
+
"members": [],
|
|
1257
|
+
"notes": [],
|
|
1258
|
+
"language": ""
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"type": "FUNCTION",
|
|
1262
|
+
"name": "b2d.body.is_fixed_rotation",
|
|
1263
|
+
"brief": "Does this body have fixed rotation?",
|
|
1264
|
+
"description": "Does this body have fixed rotation?",
|
|
1265
|
+
"returnvalues": [
|
|
1266
|
+
{
|
|
1267
|
+
"name": "enabled",
|
|
1268
|
+
"doc": "is the rotation fixed",
|
|
1269
|
+
"types": ["boolean"]
|
|
1270
|
+
}
|
|
1271
|
+
],
|
|
1272
|
+
"parameters": [
|
|
1273
|
+
{
|
|
1274
|
+
"name": "body",
|
|
1275
|
+
"doc": "body",
|
|
1276
|
+
"types": ["b2Body"],
|
|
1277
|
+
"is_optional": "False"
|
|
1278
|
+
}
|
|
1279
|
+
],
|
|
1280
|
+
"examples": "",
|
|
1281
|
+
"replaces": "",
|
|
1282
|
+
"error": "",
|
|
1283
|
+
"tparams": [],
|
|
1284
|
+
"members": [],
|
|
1285
|
+
"notes": [],
|
|
1286
|
+
"language": ""
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"type": "FUNCTION",
|
|
1290
|
+
"name": "b2d.body.get_world",
|
|
1291
|
+
"brief": "Get the parent world of this body.",
|
|
1292
|
+
"description": "Get the parent world of this body.",
|
|
1293
|
+
"returnvalues": [
|
|
1294
|
+
{
|
|
1295
|
+
"name": "world",
|
|
1296
|
+
"doc": "",
|
|
1297
|
+
"types": ["b2World"]
|
|
1298
|
+
}
|
|
1299
|
+
],
|
|
1300
|
+
"parameters": [
|
|
1301
|
+
{
|
|
1302
|
+
"name": "body",
|
|
1303
|
+
"doc": "body",
|
|
1304
|
+
"types": ["b2Body"],
|
|
1305
|
+
"is_optional": "False"
|
|
1306
|
+
}
|
|
1307
|
+
],
|
|
1308
|
+
"examples": "",
|
|
1309
|
+
"replaces": "",
|
|
1310
|
+
"error": "",
|
|
1311
|
+
"tparams": [],
|
|
1312
|
+
"members": [],
|
|
1313
|
+
"notes": [],
|
|
1314
|
+
"language": ""
|
|
1315
|
+
}
|
|
1316
|
+
],
|
|
1317
|
+
"info": {
|
|
1318
|
+
"namespace": "b2d.body",
|
|
1319
|
+
"name": "b2d.body",
|
|
1320
|
+
"brief": "Box2D b2Body documentation",
|
|
1321
|
+
"description": "Functions for interacting with Box2D bodies.",
|
|
1322
|
+
"path": "engine/gamesys/src/gamesys/scripts/box2d/script_box2d_body.cpp",
|
|
1323
|
+
"file": "",
|
|
1324
|
+
"notes": [],
|
|
1325
|
+
"language": "Lua"
|
|
1326
|
+
}
|
|
1327
|
+
}
|