@defold-typescript/types 0.52.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/api-signatures.json +2074 -1964
- package/dist/cli-runtime.js +8966 -0
- package/dist/identity-vocabulary.json +660 -0
- package/dist/src/index.d.ts +18 -0
- package/examples/translations.json +15 -15
- 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/generated/b2d.d.ts +39 -39
- package/generated/b2d_body.d.ts +11 -11
- package/generated/b2d_chain.d.ts +3 -3
- package/generated/b2d_fixture.d.ts +5 -5
- package/generated/b2d_joint.d.ts +29 -29
- package/generated/b2d_shape.d.ts +13 -13
- package/generated/b2d_world.d.ts +15 -15
- package/generated/buffer.d.ts +5 -6
- package/generated/bullet3d.d.ts +6 -6
- package/generated/bullet3d_collision_object.d.ts +9 -9
- package/generated/bullet3d_constraint.d.ts +78 -78
- package/generated/bullet3d_rigid_body.d.ts +3 -3
- package/generated/bullet3d_shape.d.ts +11 -11
- package/generated/bullet3d_world.d.ts +20 -20
- package/generated/camera.d.ts +4 -4
- package/generated/collectionfactory.d.ts +2 -3
- package/generated/collectionproxy.d.ts +5 -5
- package/generated/compute.d.ts +5 -5
- package/generated/crash.d.ts +7 -7
- package/generated/editor-vm/http.d.ts +13 -13
- package/generated/editor-vm/image.d.ts +4 -4
- package/generated/editor-vm/json.d.ts +1 -1
- package/generated/editor-vm/tilemap_tiles.d.ts +9 -9
- package/generated/editor-vm/zip.d.ts +4 -4
- package/generated/editor.d.ts +183 -183
- package/generated/factory.d.ts +2 -3
- package/generated/font.d.ts +4 -4
- package/generated/go.d.ts +10 -12
- package/generated/graphics.d.ts +23 -26
- package/generated/gui.d.ts +44 -58
- package/generated/http.d.ts +2 -2
- package/generated/image.d.ts +12 -12
- package/generated/json.d.ts +4 -4
- package/generated/label.d.ts +5 -5
- package/generated/liveupdate.d.ts +3 -3
- package/generated/material.d.ts +48 -48
- package/generated/model.d.ts +46 -14
- package/generated/particlefx.d.ts +5 -5
- package/generated/physics.d.ts +19 -19
- package/generated/profiler.d.ts +3 -5
- package/generated/render-script-modules/b2d.d.ts +39 -39
- package/generated/render-script-modules/bullet3d.d.ts +5 -5
- package/generated/render-script-modules/collectionfactory.d.ts +1 -2
- package/generated/render-script-modules/collectionproxy.d.ts +3 -3
- package/generated/render-script-modules/factory.d.ts +1 -2
- package/generated/render-script-modules/go.d.ts +8 -10
- package/generated/render-script-modules/label.d.ts +2 -2
- package/generated/render-script-modules/model.d.ts +43 -11
- package/generated/render-script-modules/particlefx.d.ts +3 -3
- package/generated/render-script-modules/physics.d.ts +12 -12
- package/generated/render-script-modules/resource.d.ts +52 -53
- package/generated/render-script-modules/sound.d.ts +4 -4
- package/generated/render-script-modules/sprite.d.ts +2 -2
- package/generated/render-script-modules/tilemap.d.ts +2 -2
- package/generated/render.d.ts +44 -45
- package/generated/resource.d.ts +58 -59
- package/generated/socket.d.ts +18 -23
- package/generated/sound.d.ts +6 -6
- package/generated/sprite.d.ts +3 -3
- package/generated/sys.d.ts +20 -21
- package/generated/tilemap.d.ts +3 -3
- package/generated/timer.d.ts +3 -3
- package/generated/versions/defold-1.12.4/b2d.d.ts +2 -2
- package/generated/versions/defold-1.12.4/b2d_body.d.ts +2 -2
- package/generated/versions/defold-1.12.4/go.d.ts +2 -2
- package/generated/versions/defold-1.12.4/graphics.d.ts +1 -1
- package/generated/versions/defold-1.12.4/gui.d.ts +18 -19
- package/generated/versions/defold-1.12.4/label.d.ts +1 -1
- package/generated/versions/defold-1.12.4/model.d.ts +42 -10
- package/generated/versions/defold-1.12.4/particlefx.d.ts +1 -1
- package/generated/versions/defold-1.12.4/physics.d.ts +1 -1
- package/generated/versions/defold-1.12.4/render.d.ts +5 -5
- package/generated/versions/defold-1.12.4/resource.d.ts +8 -8
- package/generated/versions/defold-1.12.4/socket.d.ts +12 -12
- package/generated/versions/defold-1.12.4/sound.d.ts +1 -1
- package/generated/versions/defold-1.12.4/sprite.d.ts +1 -1
- package/generated/versions/defold-1.12.4/sys.d.ts +2 -2
- package/generated/versions/defold-1.12.4/tilemap.d.ts +1 -1
- package/generated/versions/defold-1.12.4/window.d.ts +3 -4
- package/generated/versions/defold-1.13.0/b2d.d.ts +2 -2
- package/generated/versions/defold-1.13.0/b2d_body.d.ts +2 -2
- package/generated/versions/defold-1.13.0/b2d_chain.d.ts +1 -1
- package/generated/versions/defold-1.13.0/b2d_joint.d.ts +1 -1
- package/generated/versions/defold-1.13.0/b2d_shape.d.ts +1 -1
- package/generated/versions/defold-1.13.0/camera.d.ts +1 -1
- package/generated/versions/defold-1.13.0/go.d.ts +2 -2
- package/generated/versions/defold-1.13.0/graphics.d.ts +1 -1
- package/generated/versions/defold-1.13.0/gui.d.ts +18 -19
- package/generated/versions/defold-1.13.0/label.d.ts +1 -1
- package/generated/versions/defold-1.13.0/model.d.ts +42 -10
- package/generated/versions/defold-1.13.0/particlefx.d.ts +1 -1
- package/generated/versions/defold-1.13.0/physics.d.ts +1 -1
- package/generated/versions/defold-1.13.0/render.d.ts +5 -5
- package/generated/versions/defold-1.13.0/resource.d.ts +8 -8
- package/generated/versions/defold-1.13.0/socket.d.ts +12 -12
- package/generated/versions/defold-1.13.0/sound.d.ts +1 -1
- package/generated/versions/defold-1.13.0/sprite.d.ts +1 -1
- package/generated/versions/defold-1.13.0/sys.d.ts +2 -2
- package/generated/versions/defold-1.13.0/tilemap.d.ts +1 -1
- package/generated/versions/defold-1.13.0/window.d.ts +3 -4
- package/generated/versions/defold-1.13.1/b2d.d.ts +2 -2
- package/generated/versions/defold-1.13.1/b2d_body.d.ts +2 -2
- package/generated/versions/defold-1.13.1/b2d_chain.d.ts +1 -1
- package/generated/versions/defold-1.13.1/b2d_joint.d.ts +1 -1
- package/generated/versions/defold-1.13.1/b2d_shape.d.ts +1 -1
- package/generated/versions/defold-1.13.1/camera.d.ts +1 -1
- package/generated/versions/defold-1.13.1/go.d.ts +2 -2
- package/generated/versions/defold-1.13.1/graphics.d.ts +1 -1
- package/generated/versions/defold-1.13.1/gui.d.ts +18 -19
- package/generated/versions/defold-1.13.1/label.d.ts +1 -1
- package/generated/versions/defold-1.13.1/model.d.ts +42 -10
- package/generated/versions/defold-1.13.1/particlefx.d.ts +1 -1
- package/generated/versions/defold-1.13.1/physics.d.ts +1 -1
- package/generated/versions/defold-1.13.1/render.d.ts +5 -5
- package/generated/versions/defold-1.13.1/resource.d.ts +8 -8
- package/generated/versions/defold-1.13.1/socket.d.ts +12 -12
- package/generated/versions/defold-1.13.1/sound.d.ts +1 -1
- package/generated/versions/defold-1.13.1/sprite.d.ts +1 -1
- package/generated/versions/defold-1.13.1/sys.d.ts +2 -2
- package/generated/versions/defold-1.13.1/tilemap.d.ts +1 -1
- package/generated/versions/defold-1.13.1/window.d.ts +3 -4
- package/generated/versions/defold-1.13.2/b2d.d.ts +39 -39
- package/generated/versions/defold-1.13.2/b2d_body.d.ts +11 -11
- package/generated/versions/defold-1.13.2/b2d_chain.d.ts +3 -3
- package/generated/versions/defold-1.13.2/b2d_fixture.d.ts +5 -5
- package/generated/versions/defold-1.13.2/b2d_joint.d.ts +29 -29
- package/generated/versions/defold-1.13.2/b2d_shape.d.ts +13 -13
- package/generated/versions/defold-1.13.2/b2d_world.d.ts +15 -15
- package/generated/versions/defold-1.13.2/buffer.d.ts +5 -6
- package/generated/versions/defold-1.13.2/bullet3d.d.ts +6 -6
- package/generated/versions/defold-1.13.2/bullet3d_collision_object.d.ts +9 -9
- package/generated/versions/defold-1.13.2/bullet3d_constraint.d.ts +78 -78
- package/generated/versions/defold-1.13.2/bullet3d_rigid_body.d.ts +3 -3
- package/generated/versions/defold-1.13.2/bullet3d_shape.d.ts +11 -11
- package/generated/versions/defold-1.13.2/bullet3d_world.d.ts +20 -20
- package/generated/versions/defold-1.13.2/camera.d.ts +4 -4
- package/generated/versions/defold-1.13.2/collectionfactory.d.ts +2 -3
- package/generated/versions/defold-1.13.2/collectionproxy.d.ts +5 -5
- package/generated/versions/defold-1.13.2/compute.d.ts +5 -5
- package/generated/versions/defold-1.13.2/crash.d.ts +7 -7
- package/generated/versions/defold-1.13.2/editor-vm/http.d.ts +13 -13
- package/generated/versions/defold-1.13.2/editor-vm/image.d.ts +4 -4
- package/generated/versions/defold-1.13.2/editor-vm/json.d.ts +1 -1
- package/generated/versions/defold-1.13.2/editor-vm/tilemap_tiles.d.ts +9 -9
- package/generated/versions/defold-1.13.2/editor-vm/zip.d.ts +4 -4
- package/generated/versions/defold-1.13.2/editor.d.ts +183 -183
- package/generated/versions/defold-1.13.2/factory.d.ts +2 -3
- package/generated/versions/defold-1.13.2/font.d.ts +4 -4
- package/generated/versions/defold-1.13.2/go.d.ts +10 -12
- package/generated/versions/defold-1.13.2/graphics.d.ts +22 -25
- package/generated/versions/defold-1.13.2/gui.d.ts +44 -58
- package/generated/versions/defold-1.13.2/http.d.ts +2 -2
- package/generated/versions/defold-1.13.2/image.d.ts +12 -12
- package/generated/versions/defold-1.13.2/json.d.ts +4 -4
- package/generated/versions/defold-1.13.2/label.d.ts +5 -5
- package/generated/versions/defold-1.13.2/liveupdate.d.ts +3 -3
- package/generated/versions/defold-1.13.2/material.d.ts +48 -48
- package/generated/versions/defold-1.13.2/model.d.ts +46 -14
- package/generated/versions/defold-1.13.2/particlefx.d.ts +5 -5
- package/generated/versions/defold-1.13.2/physics.d.ts +19 -19
- package/generated/versions/defold-1.13.2/profiler.d.ts +3 -5
- package/generated/versions/defold-1.13.2/render.d.ts +43 -44
- package/generated/versions/defold-1.13.2/resource.d.ts +58 -59
- package/generated/versions/defold-1.13.2/socket.d.ts +18 -23
- package/generated/versions/defold-1.13.2/sound.d.ts +6 -6
- package/generated/versions/defold-1.13.2/sprite.d.ts +3 -3
- package/generated/versions/defold-1.13.2/sys.d.ts +20 -21
- package/generated/versions/defold-1.13.2/tilemap.d.ts +3 -3
- package/generated/versions/defold-1.13.2/timer.d.ts +3 -3
- package/generated/versions/defold-1.13.2/vmath.d.ts +0 -1
- package/generated/versions/defold-1.13.2/window.d.ts +8 -10
- package/generated/vmath.d.ts +0 -1
- package/generated/window.d.ts +8 -10
- package/identity-vocabulary.json +41 -34
- package/package.json +13 -5
- 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 +10 -4
- package/scripts/generate-api-signatures.ts +1 -1
- package/scripts/import-defold-release.ts +1 -1
- package/scripts/regen.ts +35 -9
- package/scripts/shared-handle-methods.ts +3 -2
- package/scripts/signature-store-fs.ts +37 -17
- package/scripts/sync-api-docs.ts +127 -20
- package/src/api-doc.ts +19 -4
- package/src/api-identity.ts +32 -1
- package/src/component-properties.d.ts +8 -8
- package/src/core-types.ts +29 -13
- package/src/doc-corrections.ts +9 -0
- package/src/emit-dts.ts +770 -214
- package/src/engine-type-name.ts +33 -0
- package/src/go-overloads.d.ts +10 -10
- package/src/gui-overloads.d.ts +11 -11
- package/src/index-slot-classifications.ts +75 -9
- package/src/index.ts +4 -1
- package/src/lifecycle.ts +2 -2
- package/src/publish-dts.ts +16 -0
- package/src/script-api.ts +36 -38
- package/src/socket-types.d.ts +3 -3
- package/src/library-index-slot-classifications.ts +0 -332
package/generated/sprite.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare global {
|
|
|
9
9
|
/**
|
|
10
10
|
* Sprite flipbook playback properties
|
|
11
11
|
*/
|
|
12
|
-
interface
|
|
12
|
+
interface PlayProperties {
|
|
13
13
|
/**
|
|
14
14
|
* Normalized initial animation cursor.
|
|
15
15
|
*/
|
|
@@ -114,7 +114,7 @@ declare global {
|
|
|
114
114
|
* });
|
|
115
115
|
* ```
|
|
116
116
|
*/
|
|
117
|
-
function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function: ((self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void) | undefined, play_properties: sprite.
|
|
117
|
+
function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function: ((self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void) | undefined, play_properties: sprite.PlayProperties): void;
|
|
118
118
|
/**
|
|
119
119
|
* Resets a shader constant for a sprite component.
|
|
120
120
|
* The constant must be defined in the material assigned to the sprite.
|
|
@@ -178,7 +178,7 @@ declare global {
|
|
|
178
178
|
* ```
|
|
179
179
|
*/
|
|
180
180
|
function set_vflip(url: string | Hash | Url, flip: boolean): void;
|
|
181
|
-
interface
|
|
181
|
+
interface Properties {
|
|
182
182
|
/**
|
|
183
183
|
* READ ONLY The current animation id. An animation that plays currently for the sprite. The type of the property is hash.
|
|
184
184
|
*/
|
package/generated/sys.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare global {
|
|
|
10
10
|
/**
|
|
11
11
|
* Application information
|
|
12
12
|
*/
|
|
13
|
-
interface
|
|
13
|
+
interface ApplicationInfo {
|
|
14
14
|
/**
|
|
15
15
|
* Whether the queried application is installed.
|
|
16
16
|
*/
|
|
@@ -19,7 +19,7 @@ declare global {
|
|
|
19
19
|
/**
|
|
20
20
|
* Engine information
|
|
21
21
|
*/
|
|
22
|
-
interface
|
|
22
|
+
interface EngineInfo {
|
|
23
23
|
/**
|
|
24
24
|
* Defold engine version.
|
|
25
25
|
*/
|
|
@@ -36,7 +36,7 @@ declare global {
|
|
|
36
36
|
/**
|
|
37
37
|
* Network-interface information
|
|
38
38
|
*/
|
|
39
|
-
interface
|
|
39
|
+
interface InterfaceInfo {
|
|
40
40
|
/**
|
|
41
41
|
* Interface name.
|
|
42
42
|
*/
|
|
@@ -65,11 +65,11 @@ declare global {
|
|
|
65
65
|
/**
|
|
66
66
|
* Asynchronous buffer-load result
|
|
67
67
|
*/
|
|
68
|
-
interface
|
|
68
|
+
interface LoadBufferResult {
|
|
69
69
|
/**
|
|
70
70
|
* Request status.
|
|
71
71
|
*/
|
|
72
|
-
status: sys.
|
|
72
|
+
status: sys.RequestStatus;
|
|
73
73
|
/**
|
|
74
74
|
* Loaded payload for a successful request.
|
|
75
75
|
*/
|
|
@@ -78,7 +78,7 @@ declare global {
|
|
|
78
78
|
/**
|
|
79
79
|
* URL opening attributes
|
|
80
80
|
*/
|
|
81
|
-
interface
|
|
81
|
+
interface OpenUrlAttributes {
|
|
82
82
|
/**
|
|
83
83
|
* HTML5 browsing context: `_self`, `_blank`, `_parent`, `_top`, or a named window.
|
|
84
84
|
*/
|
|
@@ -87,7 +87,7 @@ declare global {
|
|
|
87
87
|
/**
|
|
88
88
|
* System information
|
|
89
89
|
*/
|
|
90
|
-
interface
|
|
90
|
+
interface SysInfo {
|
|
91
91
|
/**
|
|
92
92
|
* Device model on iOS and Android.
|
|
93
93
|
*/
|
|
@@ -136,15 +136,14 @@ declare global {
|
|
|
136
136
|
/**
|
|
137
137
|
* System-information options
|
|
138
138
|
*/
|
|
139
|
-
interface
|
|
139
|
+
interface SysInfoOptions {
|
|
140
140
|
/**
|
|
141
141
|
* Omit operating-system-protected values such as `device_ident`.
|
|
142
142
|
*/
|
|
143
143
|
ignore_secure?: boolean;
|
|
144
144
|
}
|
|
145
|
-
type
|
|
146
|
-
type
|
|
147
|
-
type REQUEST_STATUS = typeof sys.REQUEST_STATUS_ERROR_IO_ERROR | typeof sys.REQUEST_STATUS_ERROR_NOT_FOUND | typeof sys.REQUEST_STATUS_FINISHED;
|
|
145
|
+
type Network = typeof sys.NETWORK_CONNECTED | typeof sys.NETWORK_CONNECTED_CELLULAR | typeof sys.NETWORK_DISCONNECTED;
|
|
146
|
+
type RequestStatus = typeof sys.REQUEST_STATUS_ERROR_IO_ERROR | typeof sys.REQUEST_STATUS_ERROR_NOT_FOUND | typeof sys.REQUEST_STATUS_FINISHED;
|
|
148
147
|
/**
|
|
149
148
|
* Connected through Wi-Fi or another non-cellular network.
|
|
150
149
|
*/
|
|
@@ -255,7 +254,7 @@ declare global {
|
|
|
255
254
|
* // ...
|
|
256
255
|
* ```
|
|
257
256
|
*/
|
|
258
|
-
function get_application_info(app_string: string): sys.
|
|
257
|
+
function get_application_info(app_string: string): sys.ApplicationInfo;
|
|
259
258
|
/**
|
|
260
259
|
* The path from which the application is run.
|
|
261
260
|
* This function will raise a Lua error if unable to get the application support path.
|
|
@@ -378,7 +377,7 @@ declare global {
|
|
|
378
377
|
* }
|
|
379
378
|
* ```
|
|
380
379
|
*/
|
|
381
|
-
function get_connectivity(): sys.
|
|
380
|
+
function get_connectivity(): sys.Network;
|
|
382
381
|
/**
|
|
383
382
|
* Returns a table with engine information.
|
|
384
383
|
*
|
|
@@ -392,7 +391,7 @@ declare global {
|
|
|
392
391
|
* gui.set_text(gui.get_node("version"), version_str);
|
|
393
392
|
* ```
|
|
394
393
|
*/
|
|
395
|
-
function get_engine_info(): sys.
|
|
394
|
+
function get_engine_info(): sys.EngineInfo;
|
|
396
395
|
/**
|
|
397
396
|
* Create a path to the host device for unit testing
|
|
398
397
|
* Useful for saving logs etc during development
|
|
@@ -429,7 +428,7 @@ declare global {
|
|
|
429
428
|
* }
|
|
430
429
|
* ```
|
|
431
430
|
*/
|
|
432
|
-
function get_ifaddrs(): sys.
|
|
431
|
+
function get_ifaddrs(): sys.InterfaceInfo[];
|
|
433
432
|
/**
|
|
434
433
|
* The save-file path is operating system specific and is typically located under the user's home directory.
|
|
435
434
|
* This function will raise a Lua error if unable to get the save file path.
|
|
@@ -476,7 +475,7 @@ declare global {
|
|
|
476
475
|
* }
|
|
477
476
|
* ```
|
|
478
477
|
*/
|
|
479
|
-
function get_sys_info(): sys.
|
|
478
|
+
function get_sys_info(): sys.SysInfo;
|
|
480
479
|
/**
|
|
481
480
|
* Returns a table with system information.
|
|
482
481
|
*
|
|
@@ -491,7 +490,7 @@ declare global {
|
|
|
491
490
|
* }
|
|
492
491
|
* ```
|
|
493
492
|
*/
|
|
494
|
-
function get_sys_info(options: sys.
|
|
493
|
+
function get_sys_info(options: sys.SysInfoOptions): sys.SysInfo;
|
|
495
494
|
/**
|
|
496
495
|
* If the file exists, it must have been created by `sys.save` to be loaded.
|
|
497
496
|
* This function will raise a Lua error if an error occurs while loading the file.
|
|
@@ -560,7 +559,7 @@ declare global {
|
|
|
560
559
|
* Load binary data from a custom project resource and update a texture resource:
|
|
561
560
|
* ```ts
|
|
562
561
|
* // Load binary data from a custom project resource and update a texture resource:
|
|
563
|
-
* function my_callback(self: unknown, request_id: number, result: sys.
|
|
562
|
+
* function my_callback(self: unknown, request_id: number, result: sys.LoadBufferResult) {
|
|
564
563
|
* const format = graphics.TEXTURE_FORMAT_RGBA;
|
|
565
564
|
* if (result.status === sys.REQUEST_STATUS_FINISHED && result.buffer !== undefined && format !== undefined) {
|
|
566
565
|
* resource.set_texture("/my_texture", { type: graphics.TEXTURE_TYPE_2D, width: 128, height: 128, format }, result.buffer);
|
|
@@ -573,7 +572,7 @@ declare global {
|
|
|
573
572
|
* Load binary data from non-custom resource files on disk:
|
|
574
573
|
* ```ts
|
|
575
574
|
* // Load binary data from non-custom resource files on disk:
|
|
576
|
-
* function my_callback(self: unknown, request_id: number, result: sys.
|
|
575
|
+
* function my_callback(self: unknown, request_id: number, result: sys.LoadBufferResult) {
|
|
577
576
|
* const { first_request, second_request } = self as { first_request: number; second_request: number };
|
|
578
577
|
* if (result.status !== sys.REQUEST_STATUS_FINISHED) {
|
|
579
578
|
* // uh oh! File could not be found, do something graceful
|
|
@@ -594,7 +593,7 @@ declare global {
|
|
|
594
593
|
* });
|
|
595
594
|
* ```
|
|
596
595
|
*/
|
|
597
|
-
function load_buffer_async(path: string, status_callback: (self: unknown, request_id: number, result: sys.
|
|
596
|
+
function load_buffer_async(path: string, status_callback: (self: unknown, request_id: number, result: sys.LoadBufferResult) => void): number;
|
|
598
597
|
/**
|
|
599
598
|
* Loads a custom resource. Specify the full filename of the resource that you want
|
|
600
599
|
* to load. When loaded, the file data is returned as a string.
|
|
@@ -652,7 +651,7 @@ declare global {
|
|
|
652
651
|
* }
|
|
653
652
|
* ```
|
|
654
653
|
*/
|
|
655
|
-
function open_url(url: string, attributes: sys.
|
|
654
|
+
function open_url(url: string, attributes: sys.OpenUrlAttributes): boolean;
|
|
656
655
|
/**
|
|
657
656
|
* Reboots the game engine with a specified set of arguments.
|
|
658
657
|
* Arguments will be translated into command line arguments. Calling reboot
|
package/generated/tilemap.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare global {
|
|
|
6
6
|
* Functions and messages used to manipulate tile map components.
|
|
7
7
|
*/
|
|
8
8
|
namespace tilemap {
|
|
9
|
-
type
|
|
9
|
+
type Transform = typeof tilemap.H_FLIP | typeof tilemap.ROTATE_180 | typeof tilemap.ROTATE_270 | typeof tilemap.ROTATE_90 | typeof tilemap.V_FLIP;
|
|
10
10
|
/**
|
|
11
11
|
* flip tile horizontally
|
|
12
12
|
*/
|
|
@@ -176,7 +176,7 @@ declare global {
|
|
|
176
176
|
* }
|
|
177
177
|
* ```
|
|
178
178
|
*/
|
|
179
|
-
function set_tile(url: string | Hash | Url, layer: string | Hash, x: number, y: number, tile: number, transform_bitmask?: tilemap.
|
|
179
|
+
function set_tile(url: string | Hash | Url, layer: string | Hash, x: number, y: number, tile: number, transform_bitmask?: tilemap.Transform | number): boolean;
|
|
180
180
|
/**
|
|
181
181
|
* Sets the visibility of the tilemap layer
|
|
182
182
|
*
|
|
@@ -190,7 +190,7 @@ declare global {
|
|
|
190
190
|
* ```
|
|
191
191
|
*/
|
|
192
192
|
function set_visible(url: string | Hash | Url, layer: string | Hash, visible: boolean): void;
|
|
193
|
-
interface
|
|
193
|
+
interface Properties {
|
|
194
194
|
/**
|
|
195
195
|
* The material used when rendering the tile map. The type of the property is hash.
|
|
196
196
|
*/
|
package/generated/timer.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare global {
|
|
|
11
11
|
/**
|
|
12
12
|
* Timer information
|
|
13
13
|
*/
|
|
14
|
-
interface
|
|
14
|
+
interface Info {
|
|
15
15
|
/**
|
|
16
16
|
* Time remaining until the next callback.
|
|
17
17
|
*/
|
|
@@ -25,7 +25,7 @@ declare global {
|
|
|
25
25
|
*/
|
|
26
26
|
repeating: boolean;
|
|
27
27
|
}
|
|
28
|
-
type
|
|
28
|
+
type TimerHandle = number;
|
|
29
29
|
/**
|
|
30
30
|
* Indicates an invalid timer handle
|
|
31
31
|
*/
|
|
@@ -111,7 +111,7 @@ declare global {
|
|
|
111
111
|
* }
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
114
|
-
function get_info(handle: number): timer.
|
|
114
|
+
function get_info(handle: number): timer.Info | undefined;
|
|
115
115
|
/**
|
|
116
116
|
* Manual triggering a callback for a timer.
|
|
117
117
|
*
|
|
@@ -6,8 +6,8 @@ declare global {
|
|
|
6
6
|
* Functions for interacting with Box2D.
|
|
7
7
|
*/
|
|
8
8
|
namespace b2d {
|
|
9
|
-
type
|
|
10
|
-
type
|
|
9
|
+
type B2Body = Opaque<"b2Body">;
|
|
10
|
+
type B2World = Opaque<"b2World">;
|
|
11
11
|
/**
|
|
12
12
|
* Get the Box2D body from a collision object
|
|
13
13
|
*
|
|
@@ -6,8 +6,8 @@ declare global {
|
|
|
6
6
|
* Functions for interacting with Box2D bodies.
|
|
7
7
|
*/
|
|
8
8
|
namespace b2d.body {
|
|
9
|
-
type
|
|
10
|
-
type
|
|
9
|
+
type B2Body = Opaque<"b2Body">;
|
|
10
|
+
type B2World = Opaque<"b2World">;
|
|
11
11
|
/**
|
|
12
12
|
* Dynamic body
|
|
13
13
|
*/
|
|
@@ -9,7 +9,7 @@ declare global {
|
|
|
9
9
|
*/
|
|
10
10
|
namespace go {
|
|
11
11
|
export type Easing = typeof go.EASING_INBACK | typeof go.EASING_INBOUNCE | typeof go.EASING_INCIRC | typeof go.EASING_INCUBIC | typeof go.EASING_INELASTIC | typeof go.EASING_INEXPO | typeof go.EASING_INOUTBACK | typeof go.EASING_INOUTBOUNCE | typeof go.EASING_INOUTCIRC | typeof go.EASING_INOUTCUBIC | typeof go.EASING_INOUTELASTIC | typeof go.EASING_INOUTEXPO | typeof go.EASING_INOUTQUAD | typeof go.EASING_INOUTQUART | typeof go.EASING_INOUTQUINT | typeof go.EASING_INOUTSINE | typeof go.EASING_INQUAD | typeof go.EASING_INQUART | typeof go.EASING_INQUINT | typeof go.EASING_INSINE | typeof go.EASING_LINEAR | typeof go.EASING_OUTBACK | typeof go.EASING_OUTBOUNCE | typeof go.EASING_OUTCIRC | typeof go.EASING_OUTCUBIC | typeof go.EASING_OUTELASTIC | typeof go.EASING_OUTEXPO | typeof go.EASING_OUTINBACK | typeof go.EASING_OUTINBOUNCE | typeof go.EASING_OUTINCIRC | typeof go.EASING_OUTINCUBIC | typeof go.EASING_OUTINELASTIC | typeof go.EASING_OUTINEXPO | typeof go.EASING_OUTINQUAD | typeof go.EASING_OUTINQUART | typeof go.EASING_OUTINQUINT | typeof go.EASING_OUTINSINE | typeof go.EASING_OUTQUAD | typeof go.EASING_OUTQUART | typeof go.EASING_OUTQUINT | typeof go.EASING_OUTSINE;
|
|
12
|
-
export type Playback = typeof go.
|
|
12
|
+
export type Playback = typeof go.PLAYBACK_LOOP_BACKWARD | typeof go.PLAYBACK_LOOP_FORWARD | typeof go.PLAYBACK_LOOP_PINGPONG | typeof go.PLAYBACK_NONE | typeof go.PLAYBACK_ONCE_BACKWARD | typeof go.PLAYBACK_ONCE_FORWARD | typeof go.PLAYBACK_ONCE_PINGPONG;
|
|
13
13
|
/**
|
|
14
14
|
* in-back
|
|
15
15
|
*/
|
|
@@ -826,7 +826,7 @@ declare global {
|
|
|
826
826
|
*/
|
|
827
827
|
export function world_to_local_transform(transformation: Matrix4, url?: SceneGameObjectAddress | Hash | Url): Matrix4;
|
|
828
828
|
export { _delete as delete };
|
|
829
|
-
export interface
|
|
829
|
+
export interface Properties {
|
|
830
830
|
/**
|
|
831
831
|
* The rotation of the game object expressed in Euler angles.
|
|
832
832
|
* Euler angles are specified in degrees in the interval (-360, 360).
|
|
@@ -6,7 +6,7 @@ declare global {
|
|
|
6
6
|
namespace graphics {
|
|
7
7
|
type BlendFactor = typeof graphics.BLEND_FACTOR_ZERO | typeof graphics.BLEND_FACTOR_ONE | typeof graphics.BLEND_FACTOR_SRC_COLOR | typeof graphics.BLEND_FACTOR_ONE_MINUS_SRC_COLOR | typeof graphics.BLEND_FACTOR_DST_COLOR | typeof graphics.BLEND_FACTOR_ONE_MINUS_DST_COLOR | typeof graphics.BLEND_FACTOR_SRC_ALPHA | typeof graphics.BLEND_FACTOR_ONE_MINUS_SRC_ALPHA | typeof graphics.BLEND_FACTOR_DST_ALPHA | typeof graphics.BLEND_FACTOR_ONE_MINUS_DST_ALPHA | typeof graphics.BLEND_FACTOR_SRC_ALPHA_SATURATE | typeof graphics.BLEND_FACTOR_CONSTANT_COLOR | typeof graphics.BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR | typeof graphics.BLEND_FACTOR_CONSTANT_ALPHA | typeof graphics.BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA;
|
|
8
8
|
type BufferType = typeof graphics.BUFFER_TYPE_COLOR0_BIT | typeof graphics.BUFFER_TYPE_COLOR1_BIT | typeof graphics.BUFFER_TYPE_COLOR2_BIT | typeof graphics.BUFFER_TYPE_COLOR3_BIT | typeof graphics.BUFFER_TYPE_DEPTH_BIT | typeof graphics.BUFFER_TYPE_STENCIL_BIT;
|
|
9
|
-
type State = typeof graphics.
|
|
9
|
+
type State = typeof graphics.STATE_ALPHA_TEST | typeof graphics.STATE_ALPHA_TEST_SUPPORTED | typeof graphics.STATE_BLEND | typeof graphics.STATE_CULL_FACE | typeof graphics.STATE_DEPTH_TEST | typeof graphics.STATE_POLYGON_OFFSET_FILL | typeof graphics.STATE_SCISSOR_TEST | typeof graphics.STATE_STENCIL_TEST;
|
|
10
10
|
const BLEND_FACTOR_CONSTANT_ALPHA: number & { readonly __brand: "graphics.BLEND_FACTOR_CONSTANT_ALPHA" };
|
|
11
11
|
const BLEND_FACTOR_CONSTANT_COLOR: number & { readonly __brand: "graphics.BLEND_FACTOR_CONSTANT_COLOR" };
|
|
12
12
|
const BLEND_FACTOR_DST_ALPHA: number & { readonly __brand: "graphics.BLEND_FACTOR_DST_ALPHA" };
|
|
@@ -8,20 +8,19 @@ declare global {
|
|
|
8
8
|
* accessible only from gui scripts.
|
|
9
9
|
*/
|
|
10
10
|
namespace gui {
|
|
11
|
-
type
|
|
12
|
-
type
|
|
11
|
+
type Adjust = typeof gui.ADJUST_FIT | typeof gui.ADJUST_ZOOM | typeof gui.ADJUST_STRETCH;
|
|
12
|
+
type Anchor = typeof gui.ANCHOR_BOTTOM | typeof gui.ANCHOR_LEFT | typeof gui.ANCHOR_NONE | typeof gui.ANCHOR_RIGHT | typeof gui.ANCHOR_TOP;
|
|
13
|
+
type Blend = typeof gui.BLEND_ALPHA | typeof gui.BLEND_ADD | typeof gui.BLEND_ADD_ALPHA | typeof gui.BLEND_MULT | typeof gui.BLEND_SCREEN;
|
|
13
14
|
type ClippingMode = typeof gui.CLIPPING_MODE_NONE | typeof gui.CLIPPING_MODE_STENCIL;
|
|
14
15
|
type Easing = typeof gui.EASING_INBACK | typeof gui.EASING_INBOUNCE | typeof gui.EASING_INCIRC | typeof gui.EASING_INCUBIC | typeof gui.EASING_INELASTIC | typeof gui.EASING_INEXPO | typeof gui.EASING_INOUTBACK | typeof gui.EASING_INOUTBOUNCE | typeof gui.EASING_INOUTCIRC | typeof gui.EASING_INOUTCUBIC | typeof gui.EASING_INOUTELASTIC | typeof gui.EASING_INOUTEXPO | typeof gui.EASING_INOUTQUAD | typeof gui.EASING_INOUTQUART | typeof gui.EASING_INOUTQUINT | typeof gui.EASING_INOUTSINE | typeof gui.EASING_INQUAD | typeof gui.EASING_INQUART | typeof gui.EASING_INQUINT | typeof gui.EASING_INSINE | typeof gui.EASING_LINEAR | typeof gui.EASING_OUTBACK | typeof gui.EASING_OUTBOUNCE | typeof gui.EASING_OUTCIRC | typeof gui.EASING_OUTCUBIC | typeof gui.EASING_OUTELASTIC | typeof gui.EASING_OUTEXPO | typeof gui.EASING_OUTINBACK | typeof gui.EASING_OUTINBOUNCE | typeof gui.EASING_OUTINCIRC | typeof gui.EASING_OUTINCUBIC | typeof gui.EASING_OUTINELASTIC | typeof gui.EASING_OUTINEXPO | typeof gui.EASING_OUTINQUAD | typeof gui.EASING_OUTINQUART | typeof gui.EASING_OUTINQUINT | typeof gui.EASING_OUTINSINE | typeof gui.EASING_OUTQUAD | typeof gui.EASING_OUTQUART | typeof gui.EASING_OUTQUINT | typeof gui.EASING_OUTSINE;
|
|
15
16
|
type KeyboardType = typeof gui.KEYBOARD_TYPE_DEFAULT | typeof gui.KEYBOARD_TYPE_EMAIL | typeof gui.KEYBOARD_TYPE_NUMBER_PAD | typeof gui.KEYBOARD_TYPE_PASSWORD;
|
|
16
|
-
type NodeType = typeof gui.TYPE_BOX | typeof gui.TYPE_TEXT | typeof gui.TYPE_PIE | typeof gui.TYPE_PARTICLEFX | typeof gui.TYPE_CUSTOM;
|
|
17
17
|
type PieBounds = typeof gui.PIEBOUNDS_RECTANGLE | typeof gui.PIEBOUNDS_ELLIPSE;
|
|
18
18
|
type Pivot = typeof gui.PIVOT_CENTER | typeof gui.PIVOT_N | typeof gui.PIVOT_NE | typeof gui.PIVOT_E | typeof gui.PIVOT_SE | typeof gui.PIVOT_S | typeof gui.PIVOT_SW | typeof gui.PIVOT_W | typeof gui.PIVOT_NW;
|
|
19
19
|
type Playback = typeof gui.PLAYBACK_ONCE_FORWARD | typeof gui.PLAYBACK_ONCE_BACKWARD | typeof gui.PLAYBACK_ONCE_PINGPONG | typeof gui.PLAYBACK_LOOP_FORWARD | typeof gui.PLAYBACK_LOOP_BACKWARD | typeof gui.PLAYBACK_LOOP_PINGPONG;
|
|
20
|
-
type
|
|
21
|
-
type
|
|
20
|
+
type Prop = typeof gui.PROP_POSITION | typeof gui.PROP_ROTATION | typeof gui.PROP_EULER | typeof gui.PROP_SCALE | typeof gui.PROP_COLOR | typeof gui.PROP_OUTLINE | typeof gui.PROP_SHADOW | typeof gui.PROP_SIZE | typeof gui.PROP_FILL_ANGLE | typeof gui.PROP_INNER_RADIUS | typeof gui.PROP_LEADING | typeof gui.PROP_TRACKING | typeof gui.PROP_SLICE9;
|
|
21
|
+
type SafeArea = typeof gui.SAFE_AREA_NONE | typeof gui.SAFE_AREA_LONG | typeof gui.SAFE_AREA_SHORT | typeof gui.SAFE_AREA_BOTH;
|
|
22
22
|
type SizeMode = typeof gui.SIZE_MODE_MANUAL | typeof gui.SIZE_MODE_AUTO;
|
|
23
|
-
type
|
|
24
|
-
type YAnchor = typeof gui.ANCHOR_NONE | typeof gui.ANCHOR_TOP | typeof gui.ANCHOR_BOTTOM;
|
|
23
|
+
type Type = typeof gui.TYPE_BOX | typeof gui.TYPE_TEXT | typeof gui.TYPE_PIE | typeof gui.TYPE_PARTICLEFX | typeof gui.TYPE_CUSTOM;
|
|
25
24
|
/**
|
|
26
25
|
* Adjust mode is used when the screen resolution differs from the project settings.
|
|
27
26
|
* The fit mode ensures that the entire node is visible in the adjusted gui scene.
|
|
@@ -486,7 +485,7 @@ declare global {
|
|
|
486
485
|
* gui.cancel_animations(node);
|
|
487
486
|
* ```
|
|
488
487
|
*/
|
|
489
|
-
function cancel_animations(node: Opaque<"node">, property?: string | gui.
|
|
488
|
+
function cancel_animations(node: Opaque<"node">, property?: string | gui.Prop | Hash): void;
|
|
490
489
|
/**
|
|
491
490
|
* Cancels any running flipbook animation on the specified node.
|
|
492
491
|
*
|
|
@@ -563,7 +562,7 @@ declare global {
|
|
|
563
562
|
* - `gui.ADJUST_ZOOM`
|
|
564
563
|
* - `gui.ADJUST_STRETCH`
|
|
565
564
|
*/
|
|
566
|
-
function get_adjust_mode(node: Opaque<"node">): gui.
|
|
565
|
+
function get_adjust_mode(node: Opaque<"node">): gui.Adjust;
|
|
567
566
|
/**
|
|
568
567
|
* gets the node alpha
|
|
569
568
|
*
|
|
@@ -584,7 +583,7 @@ declare global {
|
|
|
584
583
|
* - `gui.BLEND_MULT`
|
|
585
584
|
* - `gui.BLEND_SCREEN`
|
|
586
585
|
*/
|
|
587
|
-
function get_blend_mode(node: Opaque<"node">): gui.
|
|
586
|
+
function get_blend_mode(node: Opaque<"node">): gui.Blend;
|
|
588
587
|
/**
|
|
589
588
|
* If node is set as an inverted clipping node, it will clip anything inside as opposed to outside.
|
|
590
589
|
*
|
|
@@ -978,7 +977,7 @@ declare global {
|
|
|
978
977
|
*
|
|
979
978
|
* @param node - node from which to get the type
|
|
980
979
|
*/
|
|
981
|
-
function get_type(node: Opaque<"node">): LuaMultiReturn<[gui.
|
|
980
|
+
function get_type(node: Opaque<"node">): LuaMultiReturn<[gui.Type, number | undefined]>;
|
|
982
981
|
/**
|
|
983
982
|
* Returns `true` if a node is visible and `false` if it's not.
|
|
984
983
|
* Invisible nodes are not rendered.
|
|
@@ -1003,7 +1002,7 @@ declare global {
|
|
|
1003
1002
|
* - `gui.ANCHOR_LEFT`
|
|
1004
1003
|
* - `gui.ANCHOR_RIGHT`
|
|
1005
1004
|
*/
|
|
1006
|
-
function get_xanchor(node: Opaque<"node">): gui.
|
|
1005
|
+
function get_xanchor(node: Opaque<"node">): Exclude<gui.Anchor, typeof gui.ANCHOR_BOTTOM | typeof gui.ANCHOR_TOP>;
|
|
1007
1006
|
/**
|
|
1008
1007
|
* The y-anchor specifies how the node is moved when the game is run in a different resolution.
|
|
1009
1008
|
*
|
|
@@ -1014,7 +1013,7 @@ declare global {
|
|
|
1014
1013
|
* - `gui.ANCHOR_TOP`
|
|
1015
1014
|
* - `gui.ANCHOR_BOTTOM`
|
|
1016
1015
|
*/
|
|
1017
|
-
function get_yanchor(node: Opaque<"node">): gui.
|
|
1016
|
+
function get_yanchor(node: Opaque<"node">): Exclude<gui.Anchor, typeof gui.ANCHOR_LEFT | typeof gui.ANCHOR_RIGHT>;
|
|
1018
1017
|
/**
|
|
1019
1018
|
* Hides the on-display touch keyboard on the device.
|
|
1020
1019
|
*/
|
|
@@ -1380,7 +1379,7 @@ declare global {
|
|
|
1380
1379
|
* - `gui.ADJUST_ZOOM`
|
|
1381
1380
|
* - `gui.ADJUST_STRETCH`
|
|
1382
1381
|
*/
|
|
1383
|
-
function set_adjust_mode(node: Opaque<"node">, adjust_mode: gui.
|
|
1382
|
+
function set_adjust_mode(node: Opaque<"node">, adjust_mode: gui.Adjust): void;
|
|
1384
1383
|
/**
|
|
1385
1384
|
* sets the node alpha
|
|
1386
1385
|
*
|
|
@@ -1401,7 +1400,7 @@ declare global {
|
|
|
1401
1400
|
* - `gui.BLEND_MULT`
|
|
1402
1401
|
* - `gui.BLEND_SCREEN`
|
|
1403
1402
|
*/
|
|
1404
|
-
function set_blend_mode(node: Opaque<"node">, blend_mode: gui.
|
|
1403
|
+
function set_blend_mode(node: Opaque<"node">, blend_mode: gui.Blend): void;
|
|
1405
1404
|
/**
|
|
1406
1405
|
* If node is set as an inverted clipping node, it will clip anything inside as opposed to outside.
|
|
1407
1406
|
*
|
|
@@ -1668,7 +1667,7 @@ declare global {
|
|
|
1668
1667
|
* - `gui.SAFE_AREA_SHORT`
|
|
1669
1668
|
* - `gui.SAFE_AREA_BOTH`
|
|
1670
1669
|
*/
|
|
1671
|
-
function set_safe_area_mode(mode: gui.
|
|
1670
|
+
function set_safe_area_mode(mode: gui.SafeArea): void;
|
|
1672
1671
|
/**
|
|
1673
1672
|
* Sets the scaling of the supplied node.
|
|
1674
1673
|
*
|
|
@@ -1878,7 +1877,7 @@ declare global {
|
|
|
1878
1877
|
* - `gui.ANCHOR_LEFT`
|
|
1879
1878
|
* - `gui.ANCHOR_RIGHT`
|
|
1880
1879
|
*/
|
|
1881
|
-
function set_xanchor(node: Opaque<"node">, anchor: gui.
|
|
1880
|
+
function set_xanchor(node: Opaque<"node">, anchor: Exclude<gui.Anchor, typeof gui.ANCHOR_BOTTOM | typeof gui.ANCHOR_TOP>): void;
|
|
1882
1881
|
/**
|
|
1883
1882
|
* The y-anchor specifies how the node is moved when the game is run in a different resolution.
|
|
1884
1883
|
*
|
|
@@ -1889,7 +1888,7 @@ declare global {
|
|
|
1889
1888
|
* - `gui.ANCHOR_TOP`
|
|
1890
1889
|
* - `gui.ANCHOR_BOTTOM`
|
|
1891
1890
|
*/
|
|
1892
|
-
function set_yanchor(node: Opaque<"node">, anchor: gui.
|
|
1891
|
+
function set_yanchor(node: Opaque<"node">, anchor: Exclude<gui.Anchor, typeof gui.ANCHOR_LEFT | typeof gui.ANCHOR_RIGHT>): void;
|
|
1893
1892
|
/**
|
|
1894
1893
|
* Shows the on-display touch keyboard.
|
|
1895
1894
|
* The specified type of keyboard is displayed if it is available on
|
|
@@ -1923,7 +1922,7 @@ declare global {
|
|
|
1923
1922
|
* - boolean `clear`: instantly clear spawned particles
|
|
1924
1923
|
*/
|
|
1925
1924
|
function stop_particlefx(node: Opaque<"node">, options: { clear?: boolean }): void;
|
|
1926
|
-
interface
|
|
1925
|
+
interface Properties {
|
|
1927
1926
|
/**
|
|
1928
1927
|
* The fonts used in the gui. The type of the property is hash.
|
|
1929
1928
|
* Key must be specified in options table.
|
|
@@ -155,7 +155,7 @@ declare global {
|
|
|
155
155
|
* });
|
|
156
156
|
* ```
|
|
157
157
|
*/
|
|
158
|
-
function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: go.Playback, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: Hash, message: BuiltinMessages["model_animation_done"]) => void): void;
|
|
158
|
+
function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: Exclude<go.Playback, typeof go.PLAYBACK_NONE>, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: Hash, message: BuiltinMessages["model_animation_done"]) => void): void;
|
|
159
159
|
/**
|
|
160
160
|
* Enable or disable visibility of a mesh
|
|
161
161
|
*
|
|
@@ -173,7 +173,7 @@ declare global {
|
|
|
173
173
|
* ```
|
|
174
174
|
*/
|
|
175
175
|
function set_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash, enabled: boolean): void;
|
|
176
|
-
interface
|
|
176
|
+
interface Properties {
|
|
177
177
|
/**
|
|
178
178
|
* The current animation set on the component. The type of the property is hash.
|
|
179
179
|
*/
|
|
@@ -192,37 +192,69 @@ declare global {
|
|
|
192
192
|
*/
|
|
193
193
|
playback_rate: number;
|
|
194
194
|
/**
|
|
195
|
-
* The texture hash id of the model
|
|
195
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
196
196
|
*/
|
|
197
197
|
texture0: Hash;
|
|
198
198
|
/**
|
|
199
|
-
* The texture hash id of the model
|
|
199
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
200
200
|
*/
|
|
201
201
|
texture1: Hash;
|
|
202
202
|
/**
|
|
203
|
-
* The texture hash id of the model
|
|
203
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
204
204
|
*/
|
|
205
205
|
texture2: Hash;
|
|
206
206
|
/**
|
|
207
|
-
* The texture hash id of the model
|
|
207
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
208
208
|
*/
|
|
209
209
|
texture3: Hash;
|
|
210
210
|
/**
|
|
211
|
-
* The texture hash id of the model
|
|
211
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
212
212
|
*/
|
|
213
213
|
texture4: Hash;
|
|
214
214
|
/**
|
|
215
|
-
* The texture hash id of the model
|
|
215
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
216
216
|
*/
|
|
217
217
|
texture5: Hash;
|
|
218
218
|
/**
|
|
219
|
-
* The texture hash id of the model
|
|
219
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
220
220
|
*/
|
|
221
221
|
texture6: Hash;
|
|
222
222
|
/**
|
|
223
|
-
* The texture hash id of the model
|
|
223
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
224
224
|
*/
|
|
225
225
|
texture7: Hash;
|
|
226
|
+
/**
|
|
227
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
228
|
+
*/
|
|
229
|
+
texture8: Hash;
|
|
230
|
+
/**
|
|
231
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
232
|
+
*/
|
|
233
|
+
texture9: Hash;
|
|
234
|
+
/**
|
|
235
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
236
|
+
*/
|
|
237
|
+
texture10: Hash;
|
|
238
|
+
/**
|
|
239
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
240
|
+
*/
|
|
241
|
+
texture11: Hash;
|
|
242
|
+
/**
|
|
243
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
244
|
+
*/
|
|
245
|
+
texture12: Hash;
|
|
246
|
+
/**
|
|
247
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
248
|
+
*/
|
|
249
|
+
texture13: Hash;
|
|
250
|
+
/**
|
|
251
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
252
|
+
*/
|
|
253
|
+
texture14: Hash;
|
|
254
|
+
/**
|
|
255
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
256
|
+
*/
|
|
257
|
+
texture15: Hash;
|
|
226
258
|
}
|
|
227
259
|
}
|
|
228
260
|
}
|
|
@@ -156,7 +156,7 @@ declare global {
|
|
|
156
156
|
* ```
|
|
157
157
|
*/
|
|
158
158
|
function stop(url: string | Hash | Url, options: { clear?: boolean }): void;
|
|
159
|
-
interface
|
|
159
|
+
interface Properties {
|
|
160
160
|
/**
|
|
161
161
|
* The animation used during rendering by an emitter in a particle FX component.
|
|
162
162
|
* The property type is a hash and refers to a valid animation in an atlas or a tile source resource.
|
|
@@ -572,7 +572,7 @@ declare global {
|
|
|
572
572
|
* ```
|
|
573
573
|
*/
|
|
574
574
|
function wakeup(url: string | Hash | Url): void;
|
|
575
|
-
interface
|
|
575
|
+
interface Properties {
|
|
576
576
|
/**
|
|
577
577
|
* The angular damping value for the collision object. Setting this value alters the damping of
|
|
578
578
|
* angular motion of the object (rotation). Valid values are between 0 (no damping) and 1 (full damping).
|
|
@@ -14,9 +14,9 @@ declare global {
|
|
|
14
14
|
* require features not in OpenGL ES 2.0, but those will not work cross platform.
|
|
15
15
|
*/
|
|
16
16
|
namespace render {
|
|
17
|
-
type
|
|
18
|
-
type
|
|
19
|
-
type
|
|
17
|
+
type ConstantBuffer = Opaque<"constant_buffer"> & { [name: string]: Vector4 | Matrix4 | ConstantArray<Vector4> | ConstantArray<Matrix4> };
|
|
18
|
+
type RenderTarget = Opaque<"render_target">;
|
|
19
|
+
type Texture = Opaque<"texture">;
|
|
20
20
|
type ClearBufferKey = typeof graphics.BUFFER_TYPE_COLOR0_BIT | typeof graphics.BUFFER_TYPE_DEPTH_BIT | typeof graphics.BUFFER_TYPE_STENCIL_BIT;
|
|
21
21
|
type RenderTargetTextureType = typeof graphics.TEXTURE_TYPE_2D | typeof graphics.TEXTURE_TYPE_CUBE_MAP;
|
|
22
22
|
type RenderTargetParams = Record<string | number, unknown>;
|
|
@@ -186,7 +186,7 @@ declare global {
|
|
|
186
186
|
* });
|
|
187
187
|
* ```
|
|
188
188
|
*/
|
|
189
|
-
function disable_state(state: graphics.State): void;
|
|
189
|
+
function disable_state(state: Exclude<graphics.State, typeof graphics.STATE_ALPHA_TEST_SUPPORTED | typeof graphics.STATE_SCISSOR_TEST>): void;
|
|
190
190
|
/**
|
|
191
191
|
* Disables a texture that has previourly been enabled.
|
|
192
192
|
*
|
|
@@ -409,7 +409,7 @@ declare global {
|
|
|
409
409
|
* });
|
|
410
410
|
* ```
|
|
411
411
|
*/
|
|
412
|
-
function enable_state(state: graphics.State): void;
|
|
412
|
+
function enable_state(state: Exclude<graphics.State, typeof graphics.STATE_ALPHA_TEST_SUPPORTED | typeof graphics.STATE_SCISSOR_TEST>): void;
|
|
413
413
|
/**
|
|
414
414
|
* Sets the specified texture handle for a render target attachment or a regular texture
|
|
415
415
|
* that should be used for rendering. The texture can be bound to either a texture unit
|