@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/image.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare global {
|
|
|
9
9
|
/**
|
|
10
10
|
* ASTC image header
|
|
11
11
|
*/
|
|
12
|
-
interface
|
|
12
|
+
interface AstcHeader {
|
|
13
13
|
/**
|
|
14
14
|
* Image width.
|
|
15
15
|
*/
|
|
@@ -38,7 +38,7 @@ declare global {
|
|
|
38
38
|
/**
|
|
39
39
|
* Loaded buffer image data
|
|
40
40
|
*/
|
|
41
|
-
interface
|
|
41
|
+
interface LoadBufferResult {
|
|
42
42
|
/**
|
|
43
43
|
* Image width.
|
|
44
44
|
*/
|
|
@@ -50,7 +50,7 @@ declare global {
|
|
|
50
50
|
/**
|
|
51
51
|
* Image type.
|
|
52
52
|
*/
|
|
53
|
-
type: image.
|
|
53
|
+
type: image.Type;
|
|
54
54
|
/**
|
|
55
55
|
* Script buffer containing the decompressed image data.
|
|
56
56
|
*/
|
|
@@ -59,7 +59,7 @@ declare global {
|
|
|
59
59
|
/**
|
|
60
60
|
* Image loading options
|
|
61
61
|
*/
|
|
62
|
-
interface
|
|
62
|
+
interface LoadOptions {
|
|
63
63
|
/**
|
|
64
64
|
* Whether to premultiply alpha into the color components. Defaults to `false`.
|
|
65
65
|
*/
|
|
@@ -72,7 +72,7 @@ declare global {
|
|
|
72
72
|
/**
|
|
73
73
|
* Loaded string image data
|
|
74
74
|
*/
|
|
75
|
-
interface
|
|
75
|
+
interface LoadResult {
|
|
76
76
|
/**
|
|
77
77
|
* Image width.
|
|
78
78
|
*/
|
|
@@ -84,13 +84,13 @@ declare global {
|
|
|
84
84
|
/**
|
|
85
85
|
* Image type.
|
|
86
86
|
*/
|
|
87
|
-
type: image.
|
|
87
|
+
type: image.Type;
|
|
88
88
|
/**
|
|
89
89
|
* Raw image data.
|
|
90
90
|
*/
|
|
91
91
|
buffer: string;
|
|
92
92
|
}
|
|
93
|
-
type
|
|
93
|
+
type Type = typeof image.TYPE_RGB | typeof image.TYPE_RGBA | typeof image.TYPE_LUMINANCE | typeof image.TYPE_LUMINANCE_ALPHA;
|
|
94
94
|
/**
|
|
95
95
|
* Luminance image type.
|
|
96
96
|
*/
|
|
@@ -122,7 +122,7 @@ declare global {
|
|
|
122
122
|
* }
|
|
123
123
|
* ```
|
|
124
124
|
*/
|
|
125
|
-
function get_astc_header(buffer: string): image.
|
|
125
|
+
function get_astc_header(buffer: string): image.AstcHeader;
|
|
126
126
|
/**
|
|
127
127
|
* Load image (PNG or JPEG) from buffer.
|
|
128
128
|
*
|
|
@@ -141,7 +141,7 @@ declare global {
|
|
|
141
141
|
* });
|
|
142
142
|
* ```
|
|
143
143
|
*/
|
|
144
|
-
function load(buffer: string): image.
|
|
144
|
+
function load(buffer: string): image.LoadResult | undefined;
|
|
145
145
|
/**
|
|
146
146
|
* Load image (PNG or JPEG) from buffer.
|
|
147
147
|
*
|
|
@@ -160,7 +160,7 @@ declare global {
|
|
|
160
160
|
* });
|
|
161
161
|
* ```
|
|
162
162
|
*/
|
|
163
|
-
function load(buffer: string, options: boolean | image.
|
|
163
|
+
function load(buffer: string, options: boolean | image.LoadOptions): image.LoadResult | undefined;
|
|
164
164
|
/**
|
|
165
165
|
* Load image (PNG or JPEG) from a string buffer.
|
|
166
166
|
*
|
|
@@ -193,7 +193,7 @@ declare global {
|
|
|
193
193
|
* });
|
|
194
194
|
* ```
|
|
195
195
|
*/
|
|
196
|
-
function load_buffer(buffer: string): image.
|
|
196
|
+
function load_buffer(buffer: string): image.LoadBufferResult | undefined;
|
|
197
197
|
/**
|
|
198
198
|
* Load image (PNG or JPEG) from a string buffer.
|
|
199
199
|
*
|
|
@@ -226,7 +226,7 @@ declare global {
|
|
|
226
226
|
* });
|
|
227
227
|
* ```
|
|
228
228
|
*/
|
|
229
|
-
function load_buffer(buffer: string, options: boolean | image.
|
|
229
|
+
function load_buffer(buffer: string, options: boolean | image.LoadOptions): image.LoadBufferResult | undefined;
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
|
package/generated/json.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare global {
|
|
|
7
7
|
/**
|
|
8
8
|
* JSON decoding options
|
|
9
9
|
*/
|
|
10
|
-
export interface
|
|
10
|
+
export interface DecodeOptions {
|
|
11
11
|
/**
|
|
12
12
|
* Decode JSON `null` as json.null instead of `nil`.
|
|
13
13
|
*/
|
|
@@ -16,7 +16,7 @@ declare global {
|
|
|
16
16
|
/**
|
|
17
17
|
* JSON encoding options
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface EncodeOptions {
|
|
20
20
|
/**
|
|
21
21
|
* Encode an empty table as an object instead of an array. The default is true.
|
|
22
22
|
*/
|
|
@@ -59,7 +59,7 @@ declare global {
|
|
|
59
59
|
* // }
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
|
-
export function decode(json: string, options?: json.
|
|
62
|
+
export function decode(json: string, options?: json.DecodeOptions): unknown;
|
|
63
63
|
/**
|
|
64
64
|
* Encode a lua table to a JSON string.
|
|
65
65
|
* A Lua error is raised for syntax errors.
|
|
@@ -86,7 +86,7 @@ declare global {
|
|
|
86
86
|
* // {"persons":[{"name":"John Doe"},{"name":"Darth Vader"}]}
|
|
87
87
|
* ```
|
|
88
88
|
*/
|
|
89
|
-
export function encode(tbl: unknown, options?: json.
|
|
89
|
+
export function encode(tbl: unknown, options?: json.EncodeOptions): string;
|
|
90
90
|
export { _null as null };
|
|
91
91
|
}
|
|
92
92
|
}
|
package/generated/label.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare global {
|
|
|
9
9
|
/**
|
|
10
10
|
* Rich-text layout object
|
|
11
11
|
*/
|
|
12
|
-
interface
|
|
12
|
+
interface LayoutObject {
|
|
13
13
|
/**
|
|
14
14
|
* object type, currently `link` or `sprite`
|
|
15
15
|
*/
|
|
@@ -70,7 +70,7 @@ declare global {
|
|
|
70
70
|
* }
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
|
-
function get_layout_objects(url: string | Hash | Url): label.
|
|
73
|
+
function get_layout_objects(url: string | Hash | Url): label.LayoutObject[];
|
|
74
74
|
/**
|
|
75
75
|
* Gets the text from a label component
|
|
76
76
|
* This function is deprecated. Use `go.get("#label", "text")` instead.
|
|
@@ -81,7 +81,7 @@ declare global {
|
|
|
81
81
|
* ```ts
|
|
82
82
|
* export default defineScript({
|
|
83
83
|
* init() {
|
|
84
|
-
* const text = go.get<label.
|
|
84
|
+
* const text = go.get<label.Properties>()("#label", "text");
|
|
85
85
|
* print(text);
|
|
86
86
|
* },
|
|
87
87
|
* });
|
|
@@ -100,13 +100,13 @@ declare global {
|
|
|
100
100
|
* ```ts
|
|
101
101
|
* export default defineScript({
|
|
102
102
|
* init() {
|
|
103
|
-
* go.set<label.
|
|
103
|
+
* go.set<label.Properties>()("#label", "text", "Hello World!");
|
|
104
104
|
* },
|
|
105
105
|
* });
|
|
106
106
|
* ```
|
|
107
107
|
*/
|
|
108
108
|
function set_text(url: string | Hash | Url, text: string | number): void;
|
|
109
|
-
interface
|
|
109
|
+
interface Properties {
|
|
110
110
|
/**
|
|
111
111
|
* The color of the label. The type of the property is vector4.
|
|
112
112
|
*/
|
|
@@ -6,7 +6,7 @@ declare global {
|
|
|
6
6
|
* Functions and constants to access resources.
|
|
7
7
|
*/
|
|
8
8
|
namespace liveupdate {
|
|
9
|
-
type
|
|
9
|
+
type LiveUpdate = typeof liveupdate.LIVEUPDATE_BUNDLED_RESOURCE_MISMATCH | typeof liveupdate.LIVEUPDATE_ENGINE_VERSION_MISMATCH | typeof liveupdate.LIVEUPDATE_FORMAT_ERROR | typeof liveupdate.LIVEUPDATE_INVAL | typeof liveupdate.LIVEUPDATE_INVALID_HEADER | typeof liveupdate.LIVEUPDATE_INVALID_RESOURCE | typeof liveupdate.LIVEUPDATE_IO_ERROR | typeof liveupdate.LIVEUPDATE_MEM_ERROR | typeof liveupdate.LIVEUPDATE_OK | typeof liveupdate.LIVEUPDATE_SCHEME_MISMATCH | typeof liveupdate.LIVEUPDATE_SIGNATURE_MISMATCH | typeof liveupdate.LIVEUPDATE_UNKNOWN | typeof liveupdate.LIVEUPDATE_VERSION_MISMATCH | typeof liveupdate.LIVEUPDATE_NOT_INITIALIZED;
|
|
10
10
|
/**
|
|
11
11
|
* Mismatch between between expected bundled resources and actual bundled resources. The manifest expects a resource to be in the bundle, but it was not found in the bundle. This is typically the case when a non-excluded resource was modified between publishing the bundle and publishing the manifest.
|
|
12
12
|
*/
|
|
@@ -83,7 +83,7 @@ declare global {
|
|
|
83
83
|
* liveupdate.add_mount("season_pack_1", "zip:/path/to/easter_pack_1.zip", 30, (result) => {}); // season pack, overriding content in the other packs
|
|
84
84
|
* ```
|
|
85
85
|
*/
|
|
86
|
-
function add_mount(name: string | Hash, uri: string, priority: number, callback: (self: unknown, name: Hash, uri: string, result: liveupdate.
|
|
86
|
+
function add_mount(name: string | Hash, uri: string, priority: number, callback: (self: unknown, name: Hash, uri: string, result: liveupdate.LiveUpdate) => void): liveupdate.LiveUpdate;
|
|
87
87
|
/**
|
|
88
88
|
* Get an array of the current mounts
|
|
89
89
|
* This can be used to determine if a new mount is needed or not
|
|
@@ -140,7 +140,7 @@ declare global {
|
|
|
140
140
|
* liveupdate.remove_mount("season_pack_1");
|
|
141
141
|
* ```
|
|
142
142
|
*/
|
|
143
|
-
function remove_mount(name: string | Hash): liveupdate.
|
|
143
|
+
function remove_mount(name: string | Hash): liveupdate.LiveUpdate;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
|
package/generated/material.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare global {
|
|
|
9
9
|
/**
|
|
10
10
|
* Shader constant information
|
|
11
11
|
*/
|
|
12
|
-
interface
|
|
12
|
+
interface ConstantInfo {
|
|
13
13
|
/**
|
|
14
14
|
* Constant name.
|
|
15
15
|
*/
|
|
@@ -17,31 +17,31 @@ declare global {
|
|
|
17
17
|
/**
|
|
18
18
|
* Constant type.
|
|
19
19
|
*/
|
|
20
|
-
type: material.
|
|
20
|
+
type: material.ConstantType;
|
|
21
21
|
/**
|
|
22
22
|
* Constant value or values. Present for user constants.
|
|
23
23
|
*/
|
|
24
|
-
value?: material.
|
|
24
|
+
value?: material.ConstantInfoValue;
|
|
25
25
|
}
|
|
26
|
-
type
|
|
26
|
+
type ConstantInfoValue = Vector4 | Matrix4 | Vector4[] | Matrix4[];
|
|
27
27
|
/**
|
|
28
28
|
* Shader constant update
|
|
29
29
|
*/
|
|
30
|
-
interface
|
|
30
|
+
interface ConstantOptions {
|
|
31
31
|
/**
|
|
32
32
|
* Constant type.
|
|
33
33
|
*/
|
|
34
|
-
type?: material.
|
|
34
|
+
type?: material.ConstantType;
|
|
35
35
|
/**
|
|
36
36
|
* Constant value or values.
|
|
37
37
|
*/
|
|
38
|
-
value?: material.
|
|
38
|
+
value?: material.ConstantValue;
|
|
39
39
|
}
|
|
40
|
-
type
|
|
40
|
+
type ConstantValue = number | Vector3 | Vector4 | Matrix4 | (number | Vector3 | Vector4 | Matrix4)[];
|
|
41
41
|
/**
|
|
42
42
|
* Named material vertex attribute update
|
|
43
43
|
*/
|
|
44
|
-
interface
|
|
44
|
+
interface NamedVertexAttributeOptions {
|
|
45
45
|
/**
|
|
46
46
|
* Attribute name.
|
|
47
47
|
*/
|
|
@@ -49,7 +49,7 @@ declare global {
|
|
|
49
49
|
/**
|
|
50
50
|
* Attribute value.
|
|
51
51
|
*/
|
|
52
|
-
value?: material.
|
|
52
|
+
value?: material.VertexAttributeValue;
|
|
53
53
|
/**
|
|
54
54
|
* Whether integer data is normalized.
|
|
55
55
|
*/
|
|
@@ -57,20 +57,20 @@ declare global {
|
|
|
57
57
|
/**
|
|
58
58
|
* Attribute data type.
|
|
59
59
|
*/
|
|
60
|
-
data_type?: graphics.
|
|
60
|
+
data_type?: graphics.DataType;
|
|
61
61
|
/**
|
|
62
62
|
* Attribute coordinate space.
|
|
63
63
|
*/
|
|
64
|
-
coordinate_space?: graphics.
|
|
64
|
+
coordinate_space?: graphics.CoordinateSpace;
|
|
65
65
|
/**
|
|
66
66
|
* Attribute semantic.
|
|
67
67
|
*/
|
|
68
|
-
semantic_type?: graphics.
|
|
68
|
+
semantic_type?: graphics.SemanticType;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Texture sampler information
|
|
72
72
|
*/
|
|
73
|
-
interface
|
|
73
|
+
interface SamplerInfo {
|
|
74
74
|
/**
|
|
75
75
|
* Sampler name.
|
|
76
76
|
*/
|
|
@@ -78,27 +78,27 @@ declare global {
|
|
|
78
78
|
/**
|
|
79
79
|
* Sampler texture type.
|
|
80
80
|
*/
|
|
81
|
-
type: graphics.
|
|
81
|
+
type: graphics.TextureType | 6 | 7 | 8 | 9 | 10;
|
|
82
82
|
/**
|
|
83
83
|
* Horizontal wrap mode.
|
|
84
84
|
*/
|
|
85
|
-
u_wrap: graphics.
|
|
85
|
+
u_wrap: graphics.TextureWrap;
|
|
86
86
|
/**
|
|
87
87
|
* Vertical wrap mode.
|
|
88
88
|
*/
|
|
89
|
-
v_wrap: graphics.
|
|
89
|
+
v_wrap: graphics.TextureWrap;
|
|
90
90
|
/**
|
|
91
91
|
* Depth wrap mode.
|
|
92
92
|
*/
|
|
93
|
-
w_wrap: graphics.
|
|
93
|
+
w_wrap: graphics.TextureWrap;
|
|
94
94
|
/**
|
|
95
95
|
* Minification filter.
|
|
96
96
|
*/
|
|
97
|
-
min_filter: graphics.
|
|
97
|
+
min_filter: graphics.TextureFilter;
|
|
98
98
|
/**
|
|
99
99
|
* Magnification filter.
|
|
100
100
|
*/
|
|
101
|
-
mag_filter: graphics.
|
|
101
|
+
mag_filter: graphics.TextureFilter;
|
|
102
102
|
/**
|
|
103
103
|
* Maximum anisotropy.
|
|
104
104
|
*/
|
|
@@ -107,27 +107,27 @@ declare global {
|
|
|
107
107
|
/**
|
|
108
108
|
* Texture sampler update
|
|
109
109
|
*/
|
|
110
|
-
interface
|
|
110
|
+
interface SamplerOptions {
|
|
111
111
|
/**
|
|
112
112
|
* Horizontal wrap mode.
|
|
113
113
|
*/
|
|
114
|
-
u_wrap?: graphics.
|
|
114
|
+
u_wrap?: graphics.TextureWrap;
|
|
115
115
|
/**
|
|
116
116
|
* Vertical wrap mode.
|
|
117
117
|
*/
|
|
118
|
-
v_wrap?: graphics.
|
|
118
|
+
v_wrap?: graphics.TextureWrap;
|
|
119
119
|
/**
|
|
120
120
|
* Depth wrap mode.
|
|
121
121
|
*/
|
|
122
|
-
w_wrap?: graphics.
|
|
122
|
+
w_wrap?: graphics.TextureWrap;
|
|
123
123
|
/**
|
|
124
124
|
* Minification filter.
|
|
125
125
|
*/
|
|
126
|
-
min_filter?: graphics.
|
|
126
|
+
min_filter?: graphics.TextureFilter;
|
|
127
127
|
/**
|
|
128
128
|
* Magnification filter.
|
|
129
129
|
*/
|
|
130
|
-
mag_filter?: graphics.
|
|
130
|
+
mag_filter?: graphics.TextureFilter;
|
|
131
131
|
/**
|
|
132
132
|
* Maximum anisotropy.
|
|
133
133
|
*/
|
|
@@ -136,7 +136,7 @@ declare global {
|
|
|
136
136
|
/**
|
|
137
137
|
* Texture information
|
|
138
138
|
*/
|
|
139
|
-
interface
|
|
139
|
+
interface TextureInfo {
|
|
140
140
|
/**
|
|
141
141
|
* Texture resource path, if backed by a resource.
|
|
142
142
|
*/
|
|
@@ -168,16 +168,16 @@ declare global {
|
|
|
168
168
|
/**
|
|
169
169
|
* Texture type.
|
|
170
170
|
*/
|
|
171
|
-
type: graphics.
|
|
171
|
+
type: graphics.TextureType;
|
|
172
172
|
/**
|
|
173
173
|
* Texture usage flags.
|
|
174
174
|
*/
|
|
175
|
-
flags: graphics.
|
|
175
|
+
flags: graphics.TextureUsageFlag | number;
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
178
|
* Material vertex attribute information
|
|
179
179
|
*/
|
|
180
|
-
interface
|
|
180
|
+
interface VertexAttributeInfo {
|
|
181
181
|
/**
|
|
182
182
|
* Attribute name.
|
|
183
183
|
*/
|
|
@@ -185,7 +185,7 @@ declare global {
|
|
|
185
185
|
/**
|
|
186
186
|
* Attribute value.
|
|
187
187
|
*/
|
|
188
|
-
value: material.
|
|
188
|
+
value: material.VertexAttributeValue;
|
|
189
189
|
/**
|
|
190
190
|
* Whether integer data is normalized.
|
|
191
191
|
*/
|
|
@@ -193,24 +193,24 @@ declare global {
|
|
|
193
193
|
/**
|
|
194
194
|
* Attribute data type.
|
|
195
195
|
*/
|
|
196
|
-
data_type: graphics.
|
|
196
|
+
data_type: graphics.DataType;
|
|
197
197
|
/**
|
|
198
198
|
* Attribute coordinate space.
|
|
199
199
|
*/
|
|
200
|
-
coordinate_space: graphics.
|
|
200
|
+
coordinate_space: graphics.CoordinateSpace;
|
|
201
201
|
/**
|
|
202
202
|
* Attribute semantic.
|
|
203
203
|
*/
|
|
204
|
-
semantic_type: graphics.
|
|
204
|
+
semantic_type: graphics.SemanticType;
|
|
205
205
|
}
|
|
206
206
|
/**
|
|
207
207
|
* Material vertex attribute update
|
|
208
208
|
*/
|
|
209
|
-
interface
|
|
209
|
+
interface VertexAttributeOptions {
|
|
210
210
|
/**
|
|
211
211
|
* Attribute value.
|
|
212
212
|
*/
|
|
213
|
-
value?: material.
|
|
213
|
+
value?: material.VertexAttributeValue;
|
|
214
214
|
/**
|
|
215
215
|
* Whether integer data is normalized.
|
|
216
216
|
*/
|
|
@@ -218,18 +218,18 @@ declare global {
|
|
|
218
218
|
/**
|
|
219
219
|
* Attribute data type.
|
|
220
220
|
*/
|
|
221
|
-
data_type?: graphics.
|
|
221
|
+
data_type?: graphics.DataType;
|
|
222
222
|
/**
|
|
223
223
|
* Attribute coordinate space.
|
|
224
224
|
*/
|
|
225
|
-
coordinate_space?: graphics.
|
|
225
|
+
coordinate_space?: graphics.CoordinateSpace;
|
|
226
226
|
/**
|
|
227
227
|
* Attribute semantic.
|
|
228
228
|
*/
|
|
229
|
-
semantic_type?: graphics.
|
|
229
|
+
semantic_type?: graphics.SemanticType;
|
|
230
230
|
}
|
|
231
|
-
type
|
|
232
|
-
type
|
|
231
|
+
type VertexAttributeValue = number | Vector3 | Vector4 | Matrix4 | number[];
|
|
232
|
+
type ConstantType = typeof material.CONSTANT_TYPE_USER | typeof material.CONSTANT_TYPE_USER_COLOR | typeof material.CONSTANT_TYPE_USER_MATRIX4 | typeof material.CONSTANT_TYPE_VIEWPROJ | typeof material.CONSTANT_TYPE_WORLD | typeof material.CONSTANT_TYPE_TEXTURE | typeof material.CONSTANT_TYPE_VIEW | typeof material.CONSTANT_TYPE_PROJECTION | typeof material.CONSTANT_TYPE_NORMAL | typeof material.CONSTANT_TYPE_WORLDVIEW | typeof material.CONSTANT_TYPE_WORLDVIEWPROJ | typeof material.CONSTANT_TYPE_TIME | typeof material.CONSTANT_TYPE_WORLD_INVERSE | typeof material.CONSTANT_TYPE_VIEW_INVERSE | typeof material.CONSTANT_TYPE_PROJECTION_INVERSE | typeof material.CONSTANT_TYPE_VIEWPROJ_INVERSE | typeof material.CONSTANT_TYPE_WORLDVIEW_INVERSE | typeof material.CONSTANT_TYPE_WORLDVIEWPROJ_INVERSE;
|
|
233
233
|
/**
|
|
234
234
|
* Normal matrix constant.
|
|
235
235
|
*/
|
|
@@ -322,7 +322,7 @@ declare global {
|
|
|
322
322
|
* });
|
|
323
323
|
* ```
|
|
324
324
|
*/
|
|
325
|
-
function get_constants(path: Hash | string): material.
|
|
325
|
+
function get_constants(path: Hash | string): material.ConstantInfo[];
|
|
326
326
|
/**
|
|
327
327
|
* Returns a table of all the texture samplers in the material. This function will return all the texture samplers
|
|
328
328
|
* that are used in both the vertex and the fragment shaders.
|
|
@@ -343,7 +343,7 @@ declare global {
|
|
|
343
343
|
* });
|
|
344
344
|
* ```
|
|
345
345
|
*/
|
|
346
|
-
function get_samplers(path: Hash | string): material.
|
|
346
|
+
function get_samplers(path: Hash | string): material.SamplerInfo[];
|
|
347
347
|
/**
|
|
348
348
|
* Returns a table of all the textures from the material.
|
|
349
349
|
*
|
|
@@ -363,7 +363,7 @@ declare global {
|
|
|
363
363
|
* });
|
|
364
364
|
* ```
|
|
365
365
|
*/
|
|
366
|
-
function get_textures(path: Hash | string): LuaMap<number, material.
|
|
366
|
+
function get_textures(path: Hash | string): LuaMap<number, material.TextureInfo>;
|
|
367
367
|
/**
|
|
368
368
|
* Returns a table of all the vertex attributes in the material. This function will return all the vertex attributes
|
|
369
369
|
* that are used in the vertex shader of the material.
|
|
@@ -384,7 +384,7 @@ declare global {
|
|
|
384
384
|
* });
|
|
385
385
|
* ```
|
|
386
386
|
*/
|
|
387
|
-
function get_vertex_attributes(path: Hash | string): material.
|
|
387
|
+
function get_vertex_attributes(path: Hash | string): material.VertexAttributeInfo[];
|
|
388
388
|
/**
|
|
389
389
|
* Sets shader constants in a material, if the constants exist.
|
|
390
390
|
*
|
|
@@ -415,7 +415,7 @@ declare global {
|
|
|
415
415
|
* });
|
|
416
416
|
* ```
|
|
417
417
|
*/
|
|
418
|
-
function set_constants(path: Hash | string, constants: LuaMap<string | Hash, material.
|
|
418
|
+
function set_constants(path: Hash | string, constants: LuaMap<string | Hash, material.ConstantOptions> | Record<string, material.ConstantOptions>): void;
|
|
419
419
|
/**
|
|
420
420
|
* Sets texture samplers in a material, if the samplers exist. Use this function to change the settings of texture samplers.
|
|
421
421
|
* To set actual textures that should be bound to the samplers, use the `material.set_textures` function instead.
|
|
@@ -438,7 +438,7 @@ declare global {
|
|
|
438
438
|
* });
|
|
439
439
|
* ```
|
|
440
440
|
*/
|
|
441
|
-
function set_samplers(path: Hash | string, samplers: LuaMap<string | Hash, material.
|
|
441
|
+
function set_samplers(path: Hash | string, samplers: LuaMap<string | Hash, material.SamplerOptions> | Record<string, material.SamplerOptions>): void;
|
|
442
442
|
/**
|
|
443
443
|
* Sets textures in a material, if the samplers exist.
|
|
444
444
|
*
|
|
@@ -483,7 +483,7 @@ declare global {
|
|
|
483
483
|
* });
|
|
484
484
|
* ```
|
|
485
485
|
*/
|
|
486
|
-
function set_vertex_attributes(path: Hash | string, attributes: LuaMap<string | Hash, material.
|
|
486
|
+
function set_vertex_attributes(path: Hash | string, attributes: LuaMap<string | Hash, material.VertexAttributeOptions> | Record<string, material.VertexAttributeOptions> | material.NamedVertexAttributeOptions[]): void;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
|
package/generated/model.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare global {
|
|
|
9
9
|
/**
|
|
10
10
|
* Axis-aligned bounding box
|
|
11
11
|
*/
|
|
12
|
-
interface
|
|
12
|
+
interface Aabb {
|
|
13
13
|
/**
|
|
14
14
|
* minimum local-space bounds
|
|
15
15
|
*/
|
|
@@ -22,7 +22,7 @@ declare global {
|
|
|
22
22
|
/**
|
|
23
23
|
* Model animation playback properties
|
|
24
24
|
*/
|
|
25
|
-
interface
|
|
25
|
+
interface PlayProperties {
|
|
26
26
|
/**
|
|
27
27
|
* duration of a linear blend from the current animation
|
|
28
28
|
*/
|
|
@@ -53,7 +53,7 @@ declare global {
|
|
|
53
53
|
* model.get_aabb("#empty"); // => { min = vmath.vector3(0, 0, 0), max = vmath.vector3(0, 0, 0) }
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
function get_aabb(url: string | Hash | Url): model.
|
|
56
|
+
function get_aabb(url: string | Hash | Url): model.Aabb;
|
|
57
57
|
/**
|
|
58
58
|
* Returns a table of numbers with one entry per morph target on the first mesh of the model that has morph targets.
|
|
59
59
|
* Values reflect the rig state at call time (after animation, and any active script override from model.set_blend_weights).
|
|
@@ -106,7 +106,7 @@ declare global {
|
|
|
106
106
|
* model.get_mesh_aabb("#model"); // => { hash("Sword") = { min = vmath.vector3(-0.5, -0.5, 0), max = vmath.vector3(0.5, 0.5, 0) }, hash("Shield") = { min = vmath.vector3(-0.5, -0.5, -0.5), max = vmath.vector3(0.5, 0.5, 0.5) } }
|
|
107
107
|
* ```
|
|
108
108
|
*/
|
|
109
|
-
function get_mesh_aabb(url: string | Hash | Url): LuaTable<Hash, model.
|
|
109
|
+
function get_mesh_aabb(url: string | Hash | Url): LuaTable<Hash, model.Aabb>;
|
|
110
110
|
/**
|
|
111
111
|
* Get the enabled state of a mesh
|
|
112
112
|
*
|
|
@@ -183,7 +183,7 @@ declare global {
|
|
|
183
183
|
* });
|
|
184
184
|
* ```
|
|
185
185
|
*/
|
|
186
|
-
function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: go.
|
|
186
|
+
function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: go.Playback, play_properties?: model.PlayProperties, complete_function?: (self: unknown, message_id: Hash, message: BuiltinMessages["model_animation_done"]) => void): void;
|
|
187
187
|
/**
|
|
188
188
|
* Resets a shader constant for a model component.
|
|
189
189
|
* The constant must be defined in the material assigned to the model.
|
|
@@ -233,7 +233,7 @@ declare global {
|
|
|
233
233
|
* ```
|
|
234
234
|
*/
|
|
235
235
|
function set_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash, enabled: boolean): void;
|
|
236
|
-
interface
|
|
236
|
+
interface Properties {
|
|
237
237
|
/**
|
|
238
238
|
* The current animation set on the component. The type of the property is hash.
|
|
239
239
|
*/
|
|
@@ -248,37 +248,69 @@ declare global {
|
|
|
248
248
|
*/
|
|
249
249
|
playback_rate: number;
|
|
250
250
|
/**
|
|
251
|
-
* The texture hash id of the model
|
|
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
252
|
*/
|
|
253
253
|
texture0: Hash;
|
|
254
254
|
/**
|
|
255
|
-
* The texture hash id of the model
|
|
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
256
|
*/
|
|
257
257
|
texture1: Hash;
|
|
258
258
|
/**
|
|
259
|
-
* The texture hash id of the model
|
|
259
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
260
260
|
*/
|
|
261
261
|
texture2: Hash;
|
|
262
262
|
/**
|
|
263
|
-
* The texture hash id of the model
|
|
263
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
264
264
|
*/
|
|
265
265
|
texture3: Hash;
|
|
266
266
|
/**
|
|
267
|
-
* The texture hash id of the model
|
|
267
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
268
268
|
*/
|
|
269
269
|
texture4: Hash;
|
|
270
270
|
/**
|
|
271
|
-
* The texture hash id of the model
|
|
271
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
272
272
|
*/
|
|
273
273
|
texture5: Hash;
|
|
274
274
|
/**
|
|
275
|
-
* The texture hash id of the model
|
|
275
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
276
276
|
*/
|
|
277
277
|
texture6: Hash;
|
|
278
278
|
/**
|
|
279
|
-
* The texture hash id of the model
|
|
279
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
280
280
|
*/
|
|
281
281
|
texture7: Hash;
|
|
282
|
+
/**
|
|
283
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
284
|
+
*/
|
|
285
|
+
texture8: Hash;
|
|
286
|
+
/**
|
|
287
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
288
|
+
*/
|
|
289
|
+
texture9: Hash;
|
|
290
|
+
/**
|
|
291
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
292
|
+
*/
|
|
293
|
+
texture10: Hash;
|
|
294
|
+
/**
|
|
295
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
296
|
+
*/
|
|
297
|
+
texture11: Hash;
|
|
298
|
+
/**
|
|
299
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
300
|
+
*/
|
|
301
|
+
texture12: Hash;
|
|
302
|
+
/**
|
|
303
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
304
|
+
*/
|
|
305
|
+
texture13: Hash;
|
|
306
|
+
/**
|
|
307
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
308
|
+
*/
|
|
309
|
+
texture14: Hash;
|
|
310
|
+
/**
|
|
311
|
+
* The texture hash id of the model, read and written on the texture unit the key's number names (`texture3` is unit 3).
|
|
312
|
+
*/
|
|
313
|
+
texture15: Hash;
|
|
282
314
|
}
|
|
283
315
|
}
|
|
284
316
|
}
|
|
@@ -10,13 +10,13 @@ declare global {
|
|
|
10
10
|
/**
|
|
11
11
|
* Options used when stopping particle effects.
|
|
12
12
|
*/
|
|
13
|
-
interface
|
|
13
|
+
interface StopOptions {
|
|
14
14
|
/**
|
|
15
15
|
* Instantly clear spawned particles.
|
|
16
16
|
*/
|
|
17
17
|
clear?: boolean;
|
|
18
18
|
}
|
|
19
|
-
type
|
|
19
|
+
type EmitterState = typeof particlefx.EMITTER_STATE_POSTSPAWN | typeof particlefx.EMITTER_STATE_PRESPAWN | typeof particlefx.EMITTER_STATE_SLEEPING | typeof particlefx.EMITTER_STATE_SPAWNING;
|
|
20
20
|
/**
|
|
21
21
|
* postspawn state The emitter is not spawning any particles, but has particles that are still alive.
|
|
22
22
|
*/
|
|
@@ -57,7 +57,7 @@ declare global {
|
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
59
|
*/
|
|
60
|
-
function play(url: string | Hash | Url, emitter_state_function?: (self: unknown, id: Hash, emitter: Hash, state: particlefx.
|
|
60
|
+
function play(url: string | Hash | Url, emitter_state_function?: (self: unknown, id: Hash, emitter: Hash, state: particlefx.EmitterState) => void): void;
|
|
61
61
|
/**
|
|
62
62
|
* Resets a shader constant for a particle FX component emitter.
|
|
63
63
|
* The constant must be defined in the material assigned to the emitter.
|
|
@@ -147,8 +147,8 @@ declare global {
|
|
|
147
147
|
* });
|
|
148
148
|
* ```
|
|
149
149
|
*/
|
|
150
|
-
function stop(url: string | Hash | Url, options: particlefx.
|
|
151
|
-
interface
|
|
150
|
+
function stop(url: string | Hash | Url, options: particlefx.StopOptions): void;
|
|
151
|
+
interface Properties {
|
|
152
152
|
/**
|
|
153
153
|
* The animation used during rendering by an emitter in a particle FX component.
|
|
154
154
|
* The property type is a hash and refers to a valid animation in an atlas or a tile source resource.
|