typescript-to-gdscript 0.1.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/LICENSE +21 -0
- package/README.md +324 -0
- package/dist/cache/index.d.ts +203 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +609 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/checker/godot-project.d.ts +15 -0
- package/dist/checker/godot-project.d.ts.map +1 -0
- package/dist/checker/godot-project.js +14 -0
- package/dist/checker/godot-project.js.map +1 -0
- package/dist/checker/index.d.ts +61 -0
- package/dist/checker/index.d.ts.map +1 -0
- package/dist/checker/index.js +229 -0
- package/dist/checker/index.js.map +1 -0
- package/dist/checker/ts-diagnostics.d.ts +11 -0
- package/dist/checker/ts-diagnostics.d.ts.map +1 -0
- package/dist/checker/ts-diagnostics.js +67 -0
- package/dist/checker/ts-diagnostics.js.map +1 -0
- package/dist/cli/clear-cache.d.ts +3 -0
- package/dist/cli/clear-cache.d.ts.map +1 -0
- package/dist/cli/clear-cache.js +42 -0
- package/dist/cli/clear-cache.js.map +1 -0
- package/dist/cli/convert-gd.d.ts +3 -0
- package/dist/cli/convert-gd.d.ts.map +1 -0
- package/dist/cli/convert-gd.js +148 -0
- package/dist/cli/convert-gd.js.map +1 -0
- package/dist/cli/convert.d.ts +3 -0
- package/dist/cli/convert.d.ts.map +1 -0
- package/dist/cli/convert.js +165 -0
- package/dist/cli/convert.js.map +1 -0
- package/dist/cli/generate-addon-typings.d.ts +3 -0
- package/dist/cli/generate-addon-typings.d.ts.map +1 -0
- package/dist/cli/generate-addon-typings.js +31 -0
- package/dist/cli/generate-addon-typings.js.map +1 -0
- package/dist/cli/generate-gdscript-global-typings.d.ts +3 -0
- package/dist/cli/generate-gdscript-global-typings.d.ts.map +1 -0
- package/dist/cli/generate-gdscript-global-typings.js +172 -0
- package/dist/cli/generate-gdscript-global-typings.js.map +1 -0
- package/dist/cli/generate-typings.d.ts +3 -0
- package/dist/cli/generate-typings.d.ts.map +1 -0
- package/dist/cli/generate-typings.js +48 -0
- package/dist/cli/generate-typings.js.map +1 -0
- package/dist/cli/helpers.d.ts +47 -0
- package/dist/cli/helpers.d.ts.map +1 -0
- package/dist/cli/helpers.js +180 -0
- package/dist/cli/helpers.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +35 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/init.d.ts +8 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +222 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/initial-convert-gd-to-ts.d.ts +3 -0
- package/dist/cli/initial-convert-gd-to-ts.d.ts.map +1 -0
- package/dist/cli/initial-convert-gd-to-ts.js +149 -0
- package/dist/cli/initial-convert-gd-to-ts.js.map +1 -0
- package/dist/cli/lint.d.ts +3 -0
- package/dist/cli/lint.d.ts.map +1 -0
- package/dist/cli/lint.js +191 -0
- package/dist/cli/lint.js.map +1 -0
- package/dist/cli/open-editor.d.ts +21 -0
- package/dist/cli/open-editor.d.ts.map +1 -0
- package/dist/cli/open-editor.js +148 -0
- package/dist/cli/open-editor.js.map +1 -0
- package/dist/cli/set-latest.d.ts +3 -0
- package/dist/cli/set-latest.d.ts.map +1 -0
- package/dist/cli/set-latest.js +23 -0
- package/dist/cli/set-latest.js.map +1 -0
- package/dist/cli/validate-gd.d.ts +3 -0
- package/dist/cli/validate-gd.d.ts.map +1 -0
- package/dist/cli/validate-gd.js +37 -0
- package/dist/cli/validate-gd.js.map +1 -0
- package/dist/cli/watch.d.ts +3 -0
- package/dist/cli/watch.d.ts.map +1 -0
- package/dist/cli/watch.js +58 -0
- package/dist/cli/watch.js.map +1 -0
- package/dist/config/index.d.ts +142 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +161 -0
- package/dist/config/index.js.map +1 -0
- package/dist/converter/common/index.d.ts +169 -0
- package/dist/converter/common/index.d.ts.map +1 -0
- package/dist/converter/common/index.js +298 -0
- package/dist/converter/common/index.js.map +1 -0
- package/dist/converter/gd-to-ts/class-scope.d.ts +80 -0
- package/dist/converter/gd-to-ts/class-scope.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/class-scope.js +208 -0
- package/dist/converter/gd-to-ts/class-scope.js.map +1 -0
- package/dist/converter/gd-to-ts/context.d.ts +94 -0
- package/dist/converter/gd-to-ts/context.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/context.js +71 -0
- package/dist/converter/gd-to-ts/context.js.map +1 -0
- package/dist/converter/gd-to-ts/expressions.d.ts +18 -0
- package/dist/converter/gd-to-ts/expressions.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/expressions.js +535 -0
- package/dist/converter/gd-to-ts/expressions.js.map +1 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.d.ts +34 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.js +191 -0
- package/dist/converter/gd-to-ts/file-scope-emitter.js.map +1 -0
- package/dist/converter/gd-to-ts/functions.d.ts +20 -0
- package/dist/converter/gd-to-ts/functions.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/functions.js +313 -0
- package/dist/converter/gd-to-ts/functions.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.d.ts +42 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.js +173 -0
- package/dist/converter/gd-to-ts/helpers/explicit-convert.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.d.ts +19 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.js +116 -0
- package/dist/converter/gd-to-ts/helpers/nullable-return.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable.d.ts +41 -0
- package/dist/converter/gd-to-ts/helpers/nullable.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/nullable.js +526 -0
- package/dist/converter/gd-to-ts/helpers/nullable.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.d.ts +20 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.js +114 -0
- package/dist/converter/gd-to-ts/helpers/operator-fix.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.d.ts +48 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.js +217 -0
- package/dist/converter/gd-to-ts/helpers/ready-field-types.js.map +1 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.d.ts +64 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.js +336 -0
- package/dist/converter/gd-to-ts/helpers/unsafe-helpers.js.map +1 -0
- package/dist/converter/gd-to-ts/imports.d.ts +47 -0
- package/dist/converter/gd-to-ts/imports.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/imports.js +98 -0
- package/dist/converter/gd-to-ts/imports.js.map +1 -0
- package/dist/converter/gd-to-ts/index.d.ts +59 -0
- package/dist/converter/gd-to-ts/index.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/index.js +189 -0
- package/dist/converter/gd-to-ts/index.js.map +1 -0
- package/dist/converter/gd-to-ts/inject-imports.d.ts +55 -0
- package/dist/converter/gd-to-ts/inject-imports.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/inject-imports.js +161 -0
- package/dist/converter/gd-to-ts/inject-imports.js.map +1 -0
- package/dist/converter/gd-to-ts/members.d.ts +15 -0
- package/dist/converter/gd-to-ts/members.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/members.js +397 -0
- package/dist/converter/gd-to-ts/members.js.map +1 -0
- package/dist/converter/gd-to-ts/source-emitter.d.ts +27 -0
- package/dist/converter/gd-to-ts/source-emitter.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/source-emitter.js +420 -0
- package/dist/converter/gd-to-ts/source-emitter.js.map +1 -0
- package/dist/converter/gd-to-ts/statements.d.ts +6 -0
- package/dist/converter/gd-to-ts/statements.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/statements.js +385 -0
- package/dist/converter/gd-to-ts/statements.js.map +1 -0
- package/dist/converter/gd-to-ts/ts-helpers.d.ts +49 -0
- package/dist/converter/gd-to-ts/ts-helpers.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/ts-helpers.js +161 -0
- package/dist/converter/gd-to-ts/ts-helpers.js.map +1 -0
- package/dist/converter/gd-to-ts/type-inference.d.ts +41 -0
- package/dist/converter/gd-to-ts/type-inference.d.ts.map +1 -0
- package/dist/converter/gd-to-ts/type-inference.js +168 -0
- package/dist/converter/gd-to-ts/type-inference.js.map +1 -0
- package/dist/converter/ts-to-gd/class-body.d.ts +62 -0
- package/dist/converter/ts-to-gd/class-body.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/class-body.js +290 -0
- package/dist/converter/ts-to-gd/class-body.js.map +1 -0
- package/dist/converter/ts-to-gd/class-members.d.ts +18 -0
- package/dist/converter/ts-to-gd/class-members.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/class-members.js +246 -0
- package/dist/converter/ts-to-gd/class-members.js.map +1 -0
- package/dist/converter/ts-to-gd/diagnostics.d.ts +27 -0
- package/dist/converter/ts-to-gd/diagnostics.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/diagnostics.js +95 -0
- package/dist/converter/ts-to-gd/diagnostics.js.map +1 -0
- package/dist/converter/ts-to-gd/emitter.d.ts +40 -0
- package/dist/converter/ts-to-gd/emitter.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/emitter.js +88 -0
- package/dist/converter/ts-to-gd/emitter.js.map +1 -0
- package/dist/converter/ts-to-gd/expressions.d.ts +46 -0
- package/dist/converter/ts-to-gd/expressions.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/expressions.js +793 -0
- package/dist/converter/ts-to-gd/expressions.js.map +1 -0
- package/dist/converter/ts-to-gd/file-scope.d.ts +42 -0
- package/dist/converter/ts-to-gd/file-scope.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/file-scope.js +463 -0
- package/dist/converter/ts-to-gd/file-scope.js.map +1 -0
- package/dist/converter/ts-to-gd/gd-getset.d.ts +31 -0
- package/dist/converter/ts-to-gd/gd-getset.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/gd-getset.js +219 -0
- package/dist/converter/ts-to-gd/gd-getset.js.map +1 -0
- package/dist/converter/ts-to-gd/gd-helpers.d.ts +44 -0
- package/dist/converter/ts-to-gd/gd-helpers.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/gd-helpers.js +458 -0
- package/dist/converter/ts-to-gd/gd-helpers.js.map +1 -0
- package/dist/converter/ts-to-gd/imports.d.ts +67 -0
- package/dist/converter/ts-to-gd/imports.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/imports.js +150 -0
- package/dist/converter/ts-to-gd/imports.js.map +1 -0
- package/dist/converter/ts-to-gd/index.d.ts +34 -0
- package/dist/converter/ts-to-gd/index.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/index.js +52 -0
- package/dist/converter/ts-to-gd/index.js.map +1 -0
- package/dist/converter/ts-to-gd/parameters.d.ts +12 -0
- package/dist/converter/ts-to-gd/parameters.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/parameters.js +100 -0
- package/dist/converter/ts-to-gd/parameters.js.map +1 -0
- package/dist/converter/ts-to-gd/statements.d.ts +12 -0
- package/dist/converter/ts-to-gd/statements.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/statements.js +262 -0
- package/dist/converter/ts-to-gd/statements.js.map +1 -0
- package/dist/converter/ts-to-gd/transformer-types.d.ts +33 -0
- package/dist/converter/ts-to-gd/transformer-types.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/transformer-types.js +2 -0
- package/dist/converter/ts-to-gd/transformer-types.js.map +1 -0
- package/dist/converter/ts-to-gd/transformer.d.ts +83 -0
- package/dist/converter/ts-to-gd/transformer.d.ts.map +1 -0
- package/dist/converter/ts-to-gd/transformer.js +344 -0
- package/dist/converter/ts-to-gd/transformer.js.map +1 -0
- package/dist/eslint/plugin.d.ts +11 -0
- package/dist/eslint/plugin.d.ts.map +1 -0
- package/dist/eslint/plugin.js +12 -0
- package/dist/eslint/plugin.js.map +1 -0
- package/dist/eslint/rules/convert.d.ts +4 -0
- package/dist/eslint/rules/convert.d.ts.map +1 -0
- package/dist/eslint/rules/convert.js +286 -0
- package/dist/eslint/rules/convert.js.map +1 -0
- package/dist/eslint/rules/no-in-variant.d.ts +10 -0
- package/dist/eslint/rules/no-in-variant.d.ts.map +1 -0
- package/dist/eslint/rules/no-in-variant.js +126 -0
- package/dist/eslint/rules/no-in-variant.js.map +1 -0
- package/dist/godot-validate/error-parser.d.ts +64 -0
- package/dist/godot-validate/error-parser.d.ts.map +1 -0
- package/dist/godot-validate/error-parser.js +170 -0
- package/dist/godot-validate/error-parser.js.map +1 -0
- package/dist/godot-validate/index.d.ts +76 -0
- package/dist/godot-validate/index.d.ts.map +1 -0
- package/dist/godot-validate/index.js +267 -0
- package/dist/godot-validate/index.js.map +1 -0
- package/dist/godot-validate/source-map-remap.d.ts +48 -0
- package/dist/godot-validate/source-map-remap.d.ts.map +1 -0
- package/dist/godot-validate/source-map-remap.js +195 -0
- package/dist/godot-validate/source-map-remap.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/parser/gdscript/generate-types.d.ts +7 -0
- package/dist/parser/gdscript/generate-types.d.ts.map +1 -0
- package/dist/parser/gdscript/generate-types.js +134 -0
- package/dist/parser/gdscript/generate-types.js.map +1 -0
- package/dist/parser/gdscript/index.d.ts +9 -0
- package/dist/parser/gdscript/index.d.ts.map +1 -0
- package/dist/parser/gdscript/index.js +17 -0
- package/dist/parser/gdscript/index.js.map +1 -0
- package/dist/parser/gdscript/types.d.ts +689 -0
- package/dist/parser/gdscript/types.d.ts.map +1 -0
- package/dist/parser/gdscript/types.js +89 -0
- package/dist/parser/gdscript/types.js.map +1 -0
- package/dist/parser/godot-resource/index.d.ts +7 -0
- package/dist/parser/godot-resource/index.d.ts.map +1 -0
- package/dist/parser/godot-resource/index.js +14 -0
- package/dist/parser/godot-resource/index.js.map +1 -0
- package/dist/parser/godot-resource/types.d.ts +330 -0
- package/dist/parser/godot-resource/types.d.ts.map +1 -0
- package/dist/parser/godot-resource/types.js +22 -0
- package/dist/parser/godot-resource/types.js.map +1 -0
- package/dist/parser/typescript/index.d.ts +12 -0
- package/dist/parser/typescript/index.d.ts.map +1 -0
- package/dist/parser/typescript/index.js +30 -0
- package/dist/parser/typescript/index.js.map +1 -0
- package/dist/sourcemap/index.d.ts +59 -0
- package/dist/sourcemap/index.d.ts.map +1 -0
- package/dist/sourcemap/index.js +85 -0
- package/dist/sourcemap/index.js.map +1 -0
- package/dist/ts-plugin/index.d.ts +47 -0
- package/dist/ts-plugin/index.d.ts.map +1 -0
- package/dist/ts-plugin/index.js +227 -0
- package/dist/ts-plugin/index.js.map +1 -0
- package/dist/ts-plugin/lint.d.ts +48 -0
- package/dist/ts-plugin/lint.d.ts.map +1 -0
- package/dist/ts-plugin/lint.js +424 -0
- package/dist/ts-plugin/lint.js.map +1 -0
- package/dist/ts-plugin/lru.d.ts +40 -0
- package/dist/ts-plugin/lru.d.ts.map +1 -0
- package/dist/ts-plugin/lru.js +82 -0
- package/dist/ts-plugin/lru.js.map +1 -0
- package/dist/ts-plugin/navigation.d.ts +58 -0
- package/dist/ts-plugin/navigation.d.ts.map +1 -0
- package/dist/ts-plugin/navigation.js +427 -0
- package/dist/ts-plugin/navigation.js.map +1 -0
- package/dist/ts-plugin/shadow-refs.d.ts +31 -0
- package/dist/ts-plugin/shadow-refs.d.ts.map +1 -0
- package/dist/ts-plugin/shadow-refs.js +76 -0
- package/dist/ts-plugin/shadow-refs.js.map +1 -0
- package/dist/ts-plugin/snapshot-transform.d.ts +61 -0
- package/dist/ts-plugin/snapshot-transform.d.ts.map +1 -0
- package/dist/ts-plugin/snapshot-transform.js +55 -0
- package/dist/ts-plugin/snapshot-transform.js.map +1 -0
- package/dist/typings/class-generator.d.ts +54 -0
- package/dist/typings/class-generator.d.ts.map +1 -0
- package/dist/typings/class-generator.js +524 -0
- package/dist/typings/class-generator.js.map +1 -0
- package/dist/typings/classes.d.ts +24 -0
- package/dist/typings/classes.d.ts.map +1 -0
- package/dist/typings/classes.js +139 -0
- package/dist/typings/classes.js.map +1 -0
- package/dist/typings/content-generators.d.ts +62 -0
- package/dist/typings/content-generators.d.ts.map +1 -0
- package/dist/typings/content-generators.js +536 -0
- package/dist/typings/content-generators.js.map +1 -0
- package/dist/typings/global-generator.d.ts +32 -0
- package/dist/typings/global-generator.d.ts.map +1 -0
- package/dist/typings/global-generator.js +242 -0
- package/dist/typings/global-generator.js.map +1 -0
- package/dist/typings/godot-docs.d.ts +27 -0
- package/dist/typings/godot-docs.d.ts.map +1 -0
- package/dist/typings/godot-docs.js +310 -0
- package/dist/typings/godot-docs.js.map +1 -0
- package/dist/typings/godot-registry.d.ts +123 -0
- package/dist/typings/godot-registry.d.ts.map +1 -0
- package/dist/typings/godot-registry.js +157 -0
- package/dist/typings/godot-registry.js.map +1 -0
- package/dist/typings/index.d.ts +4 -0
- package/dist/typings/index.d.ts.map +1 -0
- package/dist/typings/index.js +4 -0
- package/dist/typings/index.js.map +1 -0
- package/dist/typings/override-system.d.ts +36 -0
- package/dist/typings/override-system.d.ts.map +1 -0
- package/dist/typings/override-system.js +341 -0
- package/dist/typings/override-system.js.map +1 -0
- package/dist/typings/registry-generator.d.ts +44 -0
- package/dist/typings/registry-generator.d.ts.map +1 -0
- package/dist/typings/registry-generator.js +170 -0
- package/dist/typings/registry-generator.js.map +1 -0
- package/dist/typings/scene-parser.d.ts +113 -0
- package/dist/typings/scene-parser.d.ts.map +1 -0
- package/dist/typings/scene-parser.js +436 -0
- package/dist/typings/scene-parser.js.map +1 -0
- package/dist/typings/scene-tree.d.ts +33 -0
- package/dist/typings/scene-tree.d.ts.map +1 -0
- package/dist/typings/scene-tree.js +118 -0
- package/dist/typings/scene-tree.js.map +1 -0
- package/dist/typings/scene-utils.d.ts +131 -0
- package/dist/typings/scene-utils.d.ts.map +1 -0
- package/dist/typings/scene-utils.js +604 -0
- package/dist/typings/scene-utils.js.map +1 -0
- package/dist/typings/scenes.d.ts +96 -0
- package/dist/typings/scenes.d.ts.map +1 -0
- package/dist/typings/scenes.js +368 -0
- package/dist/typings/scenes.js.map +1 -0
- package/dist/typings/type-mapping.d.ts +76 -0
- package/dist/typings/type-mapping.d.ts.map +1 -0
- package/dist/typings/type-mapping.js +239 -0
- package/dist/typings/type-mapping.js.map +1 -0
- package/dist/typings/xml-parser.d.ts +91 -0
- package/dist/typings/xml-parser.d.ts.map +1 -0
- package/dist/typings/xml-parser.js +275 -0
- package/dist/typings/xml-parser.js.map +1 -0
- package/dist/watcher/index.d.ts +74 -0
- package/dist/watcher/index.d.ts.map +1 -0
- package/dist/watcher/index.js +410 -0
- package/dist/watcher/index.js.map +1 -0
- package/package.json +115 -0
- package/ts-plugin/index.js +9 -0
- package/ts-plugin/package.json +7 -0
- package/typings/classes/AABB.d.ts +177 -0
- package/typings/classes/AESContext.d.ts +34 -0
- package/typings/classes/AStar2D.d.ts +108 -0
- package/typings/classes/AStar3D.d.ts +108 -0
- package/typings/classes/AStarGrid2D.d.ts +184 -0
- package/typings/classes/AcceptDialog.d.ts +77 -0
- package/typings/classes/AccessibilityServer.d.ts +405 -0
- package/typings/classes/AimModifier3D.d.ts +40 -0
- package/typings/classes/AnimatableBody2D.d.ts +14 -0
- package/typings/classes/AnimatableBody3D.d.ts +14 -0
- package/typings/classes/AnimatedSprite2D.d.ts +108 -0
- package/typings/classes/AnimatedSprite3D.d.ts +89 -0
- package/typings/classes/AnimatedTexture.d.ts +54 -0
- package/typings/classes/Animation.d.ts +340 -0
- package/typings/classes/AnimationLibrary.d.ts +34 -0
- package/typings/classes/AnimationMixer.d.ts +226 -0
- package/typings/classes/AnimationNode.d.ts +116 -0
- package/typings/classes/AnimationNodeAdd2.d.ts +6 -0
- package/typings/classes/AnimationNodeAdd3.d.ts +6 -0
- package/typings/classes/AnimationNodeAnimation.d.ts +64 -0
- package/typings/classes/AnimationNodeBlend2.d.ts +6 -0
- package/typings/classes/AnimationNodeBlend3.d.ts +6 -0
- package/typings/classes/AnimationNodeBlendSpace1D.d.ts +79 -0
- package/typings/classes/AnimationNodeBlendSpace2D.d.ts +104 -0
- package/typings/classes/AnimationNodeBlendTree.d.ts +53 -0
- package/typings/classes/AnimationNodeExtension.d.ts +18 -0
- package/typings/classes/AnimationNodeOneShot.d.ts +78 -0
- package/typings/classes/AnimationNodeOutput.d.ts +6 -0
- package/typings/classes/AnimationNodeStateMachine.d.ts +80 -0
- package/typings/classes/AnimationNodeStateMachinePlayback.d.ts +67 -0
- package/typings/classes/AnimationNodeStateMachineTransition.d.ts +83 -0
- package/typings/classes/AnimationNodeSub2.d.ts +6 -0
- package/typings/classes/AnimationNodeSync.d.ts +13 -0
- package/typings/classes/AnimationNodeTimeScale.d.ts +6 -0
- package/typings/classes/AnimationNodeTimeSeek.d.ts +12 -0
- package/typings/classes/AnimationNodeTransition.d.ts +45 -0
- package/typings/classes/AnimationPlayer.d.ts +203 -0
- package/typings/classes/AnimationRootNode.d.ts +8 -0
- package/typings/classes/AnimationTree.d.ts +35 -0
- package/typings/classes/Area2D.d.ts +166 -0
- package/typings/classes/Area3D.d.ts +214 -0
- package/typings/classes/Array.d.ts +301 -0
- package/typings/classes/ArrayMesh.d.ts +94 -0
- package/typings/classes/ArrayOccluder3D.d.ts +23 -0
- package/typings/classes/AspectRatioContainer.d.ts +46 -0
- package/typings/classes/AtlasTexture.d.ts +32 -0
- package/typings/classes/AudioBusLayout.d.ts +6 -0
- package/typings/classes/AudioEffect.d.ts +11 -0
- package/typings/classes/AudioEffectAmplify.d.ts +19 -0
- package/typings/classes/AudioEffectBandLimitFilter.d.ts +6 -0
- package/typings/classes/AudioEffectBandPassFilter.d.ts +6 -0
- package/typings/classes/AudioEffectCapture.d.ts +35 -0
- package/typings/classes/AudioEffectChorus.d.ts +108 -0
- package/typings/classes/AudioEffectCompressor.d.ts +47 -0
- package/typings/classes/AudioEffectDelay.d.ts +71 -0
- package/typings/classes/AudioEffectDistortion.d.ts +55 -0
- package/typings/classes/AudioEffectEQ.d.ts +15 -0
- package/typings/classes/AudioEffectEQ10.d.ts +9 -0
- package/typings/classes/AudioEffectEQ21.d.ts +9 -0
- package/typings/classes/AudioEffectEQ6.d.ts +9 -0
- package/typings/classes/AudioEffectFilter.d.ts +50 -0
- package/typings/classes/AudioEffectHardLimiter.d.ts +24 -0
- package/typings/classes/AudioEffectHighPassFilter.d.ts +6 -0
- package/typings/classes/AudioEffectHighShelfFilter.d.ts +6 -0
- package/typings/classes/AudioEffectInstance.d.ts +16 -0
- package/typings/classes/AudioEffectLimiter.d.ts +26 -0
- package/typings/classes/AudioEffectLowPassFilter.d.ts +6 -0
- package/typings/classes/AudioEffectLowShelfFilter.d.ts +6 -0
- package/typings/classes/AudioEffectNotchFilter.d.ts +6 -0
- package/typings/classes/AudioEffectPanner.d.ts +15 -0
- package/typings/classes/AudioEffectPhaser.d.ts +37 -0
- package/typings/classes/AudioEffectPitchShift.d.ts +47 -0
- package/typings/classes/AudioEffectRecord.d.ts +19 -0
- package/typings/classes/AudioEffectReverb.d.ts +55 -0
- package/typings/classes/AudioEffectSpectrumAnalyzer.d.ts +40 -0
- package/typings/classes/AudioEffectSpectrumAnalyzerInstance.d.ts +17 -0
- package/typings/classes/AudioEffectStereoEnhance.d.ts +27 -0
- package/typings/classes/AudioListener2D.d.ts +15 -0
- package/typings/classes/AudioListener3D.d.ts +37 -0
- package/typings/classes/AudioSample.d.ts +6 -0
- package/typings/classes/AudioSamplePlayback.d.ts +6 -0
- package/typings/classes/AudioServer.d.ts +199 -0
- package/typings/classes/AudioStream.d.ts +66 -0
- package/typings/classes/AudioStreamGenerator.d.ts +38 -0
- package/typings/classes/AudioStreamGeneratorPlayback.d.ts +28 -0
- package/typings/classes/AudioStreamMicrophone.d.ts +6 -0
- package/typings/classes/AudioStreamPlayback.d.ts +69 -0
- package/typings/classes/AudioStreamPlaybackPolyphonic.d.ts +32 -0
- package/typings/classes/AudioStreamPlaybackResampled.d.ts +16 -0
- package/typings/classes/AudioStreamPlayer.d.ts +110 -0
- package/typings/classes/AudioStreamPlayer2D.d.ts +96 -0
- package/typings/classes/AudioStreamPlayer3D.d.ts +162 -0
- package/typings/classes/AudioStreamPolyphonic.d.ts +12 -0
- package/typings/classes/AudioStreamRandomizer.d.ts +67 -0
- package/typings/classes/AudioStreamWAV.d.ts +87 -0
- package/typings/classes/AwaitTweener.d.ts +10 -0
- package/typings/classes/BackBufferCopy.d.ts +26 -0
- package/typings/classes/BaseButton.d.ts +116 -0
- package/typings/classes/BaseMaterial3D.d.ts +1021 -0
- package/typings/classes/Basis.d.ts +225 -0
- package/typings/classes/BitMap.d.ts +42 -0
- package/typings/classes/BlitMaterial.d.ts +22 -0
- package/typings/classes/Bone2D.d.ts +45 -0
- package/typings/classes/BoneAttachment3D.d.ts +39 -0
- package/typings/classes/BoneConstraint3D.d.ts +67 -0
- package/typings/classes/BoneMap.d.ts +39 -0
- package/typings/classes/BoneTwistDisperser3D.d.ts +126 -0
- package/typings/classes/BoxContainer.d.ts +36 -0
- package/typings/classes/BoxMesh.d.ts +22 -0
- package/typings/classes/BoxOccluder3D.d.ts +10 -0
- package/typings/classes/BoxShape3D.d.ts +10 -0
- package/typings/classes/Button.d.ts +75 -0
- package/typings/classes/ButtonGroup.d.ts +21 -0
- package/typings/classes/CCDIK3D.d.ts +6 -0
- package/typings/classes/CPUParticles2D.d.ts +397 -0
- package/typings/classes/CPUParticles3D.d.ts +421 -0
- package/typings/classes/Callable.d.ts +203 -0
- package/typings/classes/CallbackTweener.d.ts +11 -0
- package/typings/classes/Camera2D.d.ts +214 -0
- package/typings/classes/Camera3D.d.ts +207 -0
- package/typings/classes/CameraAttributes.d.ts +35 -0
- package/typings/classes/CameraAttributesPhysical.d.ts +61 -0
- package/typings/classes/CameraAttributesPractical.d.ts +64 -0
- package/typings/classes/CameraFeed.d.ts +81 -0
- package/typings/classes/CameraServer.d.ts +44 -0
- package/typings/classes/CameraTexture.d.ts +19 -0
- package/typings/classes/CanvasGroup.d.ts +24 -0
- package/typings/classes/CanvasItem.d.ts +503 -0
- package/typings/classes/CanvasItemMaterial.d.ts +61 -0
- package/typings/classes/CanvasLayer.d.ts +74 -0
- package/typings/classes/CanvasModulate.d.ts +10 -0
- package/typings/classes/CanvasTexture.d.ts +42 -0
- package/typings/classes/CapsuleMesh.d.ts +28 -0
- package/typings/classes/CapsuleShape2D.d.ts +26 -0
- package/typings/classes/CapsuleShape3D.d.ts +26 -0
- package/typings/classes/CenterContainer.d.ts +10 -0
- package/typings/classes/ChainIK3D.d.ts +50 -0
- package/typings/classes/CharFXTransform.d.ts +88 -0
- package/typings/classes/CharacterBody2D.d.ts +199 -0
- package/typings/classes/CharacterBody3D.d.ts +201 -0
- package/typings/classes/CheckBox.d.ts +8 -0
- package/typings/classes/CheckButton.d.ts +8 -0
- package/typings/classes/CircleShape2D.d.ts +10 -0
- package/typings/classes/ClassDB.d.ts +110 -0
- package/typings/classes/CodeEdit.d.ts +402 -0
- package/typings/classes/CodeHighlighter.d.ts +81 -0
- package/typings/classes/CollisionObject2D.d.ts +171 -0
- package/typings/classes/CollisionObject3D.d.ts +141 -0
- package/typings/classes/CollisionPolygon2D.d.ts +51 -0
- package/typings/classes/CollisionPolygon3D.d.ts +39 -0
- package/typings/classes/CollisionShape2D.d.ts +41 -0
- package/typings/classes/CollisionShape3D.d.ts +36 -0
- package/typings/classes/Color.d.ts +517 -0
- package/typings/classes/ColorPalette.d.ts +12 -0
- package/typings/classes/ColorPicker.d.ts +118 -0
- package/typings/classes/ColorPickerButton.d.ts +37 -0
- package/typings/classes/ColorRect.d.ts +10 -0
- package/typings/classes/Compositor.d.ts +12 -0
- package/typings/classes/CompositorEffect.d.ts +76 -0
- package/typings/classes/CompressedCubemap.d.ts +6 -0
- package/typings/classes/CompressedCubemapArray.d.ts +6 -0
- package/typings/classes/CompressedTexture2D.d.ts +13 -0
- package/typings/classes/CompressedTexture2DArray.d.ts +6 -0
- package/typings/classes/CompressedTexture3D.d.ts +12 -0
- package/typings/classes/CompressedTextureLayered.d.ts +12 -0
- package/typings/classes/ConcavePolygonShape2D.d.ts +12 -0
- package/typings/classes/ConcavePolygonShape3D.d.ts +21 -0
- package/typings/classes/ConeTwistJoint3D.d.ts +63 -0
- package/typings/classes/ConfigFile.d.ts +71 -0
- package/typings/classes/ConfirmationDialog.d.ts +19 -0
- package/typings/classes/Container.d.ts +42 -0
- package/typings/classes/Control.d.ts +1125 -0
- package/typings/classes/ConvertTransformModifier3D.d.ts +65 -0
- package/typings/classes/ConvexPolygonShape2D.d.ts +18 -0
- package/typings/classes/ConvexPolygonShape3D.d.ts +10 -0
- package/typings/classes/CopyTransformModifier3D.d.ts +117 -0
- package/typings/classes/Crypto.d.ts +41 -0
- package/typings/classes/CryptoKey.d.ts +26 -0
- package/typings/classes/Cubemap.d.ts +8 -0
- package/typings/classes/CubemapArray.d.ts +8 -0
- package/typings/classes/Curve.d.ts +96 -0
- package/typings/classes/Curve2D.d.ts +97 -0
- package/typings/classes/Curve3D.d.ts +129 -0
- package/typings/classes/CurveTexture.d.ts +30 -0
- package/typings/classes/CurveXYZTexture.d.ts +25 -0
- package/typings/classes/CylinderMesh.d.ts +48 -0
- package/typings/classes/CylinderShape3D.d.ts +14 -0
- package/typings/classes/DPITexture.d.ts +48 -0
- package/typings/classes/DTLSServer.d.ts +13 -0
- package/typings/classes/DampedSpringJoint2D.d.ts +28 -0
- package/typings/classes/Decal.d.ts +120 -0
- package/typings/classes/Dictionary.d.ts +181 -0
- package/typings/classes/DirAccess.d.ts +199 -0
- package/typings/classes/DirectionalLight2D.d.ts +16 -0
- package/typings/classes/DirectionalLight3D.d.ts +71 -0
- package/typings/classes/DisplayServer.d.ts +2153 -0
- package/typings/classes/DrawableTexture2D.d.ts +47 -0
- package/typings/classes/EditorCommandPalette.d.ts +21 -0
- package/typings/classes/EditorContextMenuPlugin.d.ts +59 -0
- package/typings/classes/EditorDebuggerPlugin.d.ts +33 -0
- package/typings/classes/EditorDebuggerSession.d.ts +41 -0
- package/typings/classes/EditorDock.d.ts +141 -0
- package/typings/classes/EditorExportPlatform.d.ts +125 -0
- package/typings/classes/EditorExportPlatformAppleEmbedded.d.ts +6 -0
- package/typings/classes/EditorExportPlatformExtension.d.ts +131 -0
- package/typings/classes/EditorExportPlatformPC.d.ts +6 -0
- package/typings/classes/EditorExportPlugin.d.ts +207 -0
- package/typings/classes/EditorExportPreset.d.ts +83 -0
- package/typings/classes/EditorFeatureProfile.d.ts +90 -0
- package/typings/classes/EditorFileDialog.d.ts +15 -0
- package/typings/classes/EditorFileSystem.d.ts +48 -0
- package/typings/classes/EditorFileSystemDirectory.d.ts +42 -0
- package/typings/classes/EditorFileSystemImportFormatSupportQuery.d.ts +12 -0
- package/typings/classes/EditorImportPlugin.d.ts +67 -0
- package/typings/classes/EditorInspector.d.ts +54 -0
- package/typings/classes/EditorInspectorPlugin.d.ts +34 -0
- package/typings/classes/EditorInterface.d.ts +254 -0
- package/typings/classes/EditorNode3DGizmo.d.ts +104 -0
- package/typings/classes/EditorNode3DGizmoPlugin.d.ts +103 -0
- package/typings/classes/EditorPaths.d.ts +52 -0
- package/typings/classes/EditorPlugin.d.ts +384 -0
- package/typings/classes/EditorProperty.d.ts +133 -0
- package/typings/classes/EditorResourceConversionPlugin.d.ts +20 -0
- package/typings/classes/EditorResourcePicker.d.ts +47 -0
- package/typings/classes/EditorResourcePreview.d.ts +25 -0
- package/typings/classes/EditorResourcePreviewGenerator.d.ts +34 -0
- package/typings/classes/EditorResourceTooltipPlugin.d.ts +20 -0
- package/typings/classes/EditorSceneFormatImporter.d.ts +36 -0
- package/typings/classes/EditorScenePostImport.d.ts +10 -0
- package/typings/classes/EditorScenePostImportPlugin.d.ts +57 -0
- package/typings/classes/EditorScript.d.ts +18 -0
- package/typings/classes/EditorScriptPicker.d.ts +10 -0
- package/typings/classes/EditorSelection.d.ts +29 -0
- package/typings/classes/EditorSettings.d.ts +1821 -0
- package/typings/classes/EditorSpinSlider.d.ts +65 -0
- package/typings/classes/EditorSyntaxHighlighter.d.ts +12 -0
- package/typings/classes/EditorToaster.d.ts +16 -0
- package/typings/classes/EditorTranslationParserPlugin.d.ts +12 -0
- package/typings/classes/EditorUndoRedoManager.d.ts +86 -0
- package/typings/classes/EditorVCSInterface.d.ts +121 -0
- package/typings/classes/EncodedObjectAsID.d.ts +12 -0
- package/typings/classes/Engine.d.ts +202 -0
- package/typings/classes/EngineDebugger.d.ts +66 -0
- package/typings/classes/EngineProfiler.d.ts +14 -0
- package/typings/classes/Environment.d.ts +720 -0
- package/typings/classes/Expression.d.ts +20 -0
- package/typings/classes/ExternalTexture.d.ts +22 -0
- package/typings/classes/FABRIK3D.d.ts +6 -0
- package/typings/classes/FileAccess.d.ts +411 -0
- package/typings/classes/FileDialog.d.ts +277 -0
- package/typings/classes/FileSystemDock.d.ts +35 -0
- package/typings/classes/FlowContainer.d.ts +64 -0
- package/typings/classes/FogMaterial.d.ts +43 -0
- package/typings/classes/FogVolume.d.ts +26 -0
- package/typings/classes/FoldableContainer.d.ts +65 -0
- package/typings/classes/FoldableGroup.d.ts +21 -0
- package/typings/classes/Font.d.ts +144 -0
- package/typings/classes/FontFile.d.ts +286 -0
- package/typings/classes/FontVariation.d.ts +56 -0
- package/typings/classes/FramebufferCacheRD.d.ts +10 -0
- package/typings/classes/GDExtension.d.ts +26 -0
- package/typings/classes/GDExtensionManager.d.ts +60 -0
- package/typings/classes/GPUParticles2D.d.ts +220 -0
- package/typings/classes/GPUParticles3D.d.ts +239 -0
- package/typings/classes/GPUParticlesAttractor3D.d.ts +33 -0
- package/typings/classes/GPUParticlesAttractorBox3D.d.ts +10 -0
- package/typings/classes/GPUParticlesAttractorSphere3D.d.ts +13 -0
- package/typings/classes/GPUParticlesAttractorVectorField3D.d.ts +19 -0
- package/typings/classes/GPUParticlesCollision3D.d.ts +14 -0
- package/typings/classes/GPUParticlesCollisionBox3D.d.ts +10 -0
- package/typings/classes/GPUParticlesCollisionHeightField3D.d.ts +75 -0
- package/typings/classes/GPUParticlesCollisionSDF3D.d.ts +59 -0
- package/typings/classes/GPUParticlesCollisionSphere3D.d.ts +10 -0
- package/typings/classes/Generic6DOFJoint3D.d.ts +241 -0
- package/typings/classes/Geometry2D.d.ts +147 -0
- package/typings/classes/Geometry3D.d.ts +67 -0
- package/typings/classes/GeometryInstance3D.d.ts +183 -0
- package/typings/classes/GodotInstance.d.ts +20 -0
- package/typings/classes/Gradient.d.ts +74 -0
- package/typings/classes/GradientTexture1D.d.ts +18 -0
- package/typings/classes/GradientTexture2D.d.ts +64 -0
- package/typings/classes/GraphEdit.d.ts +306 -0
- package/typings/classes/GraphElement.d.ts +56 -0
- package/typings/classes/GraphFrame.d.ts +46 -0
- package/typings/classes/GraphNode.d.ts +132 -0
- package/typings/classes/GridContainer.d.ts +12 -0
- package/typings/classes/GrooveJoint2D.d.ts +18 -0
- package/typings/classes/HBoxContainer.d.ts +6 -0
- package/typings/classes/HFlowContainer.d.ts +6 -0
- package/typings/classes/HMACContext.d.ts +16 -0
- package/typings/classes/HScrollBar.d.ts +6 -0
- package/typings/classes/HSeparator.d.ts +6 -0
- package/typings/classes/HSlider.d.ts +6 -0
- package/typings/classes/HSplitContainer.d.ts +8 -0
- package/typings/classes/HTTPClient.d.ts +384 -0
- package/typings/classes/HTTPRequest.d.ts +124 -0
- package/typings/classes/HashingContext.d.ts +22 -0
- package/typings/classes/HeightMapShape3D.d.ts +36 -0
- package/typings/classes/HingeJoint3D.d.ts +66 -0
- package/typings/classes/IKModifier3D.d.ts +22 -0
- package/typings/classes/IP.d.ts +71 -0
- package/typings/classes/Image.d.ts +567 -0
- package/typings/classes/ImageFormatLoader.d.ts +11 -0
- package/typings/classes/ImageFormatLoaderExtension.d.ts +20 -0
- package/typings/classes/ImageTexture.d.ts +25 -0
- package/typings/classes/ImageTexture3D.d.ts +14 -0
- package/typings/classes/ImageTextureLayered.d.ts +20 -0
- package/typings/classes/ImmediateMesh.d.ts +31 -0
- package/typings/classes/ImporterMesh.d.ts +84 -0
- package/typings/classes/ImporterMeshInstance3D.d.ts +35 -0
- package/typings/classes/Input.d.ts +504 -0
- package/typings/classes/InputEvent.d.ts +85 -0
- package/typings/classes/InputEventAction.d.ts +27 -0
- package/typings/classes/InputEventFromWindow.d.ts +10 -0
- package/typings/classes/InputEventGesture.d.ts +11 -0
- package/typings/classes/InputEventJoypadButton.d.ts +16 -0
- package/typings/classes/InputEventJoypadMotion.d.ts +16 -0
- package/typings/classes/InputEventKey.d.ts +86 -0
- package/typings/classes/InputEventMIDI.d.ts +59 -0
- package/typings/classes/InputEventMagnifyGesture.d.ts +12 -0
- package/typings/classes/InputEventMouse.d.ts +25 -0
- package/typings/classes/InputEventMouseButton.d.ts +26 -0
- package/typings/classes/InputEventMouseMotion.d.ts +54 -0
- package/typings/classes/InputEventPanGesture.d.ts +10 -0
- package/typings/classes/InputEventScreenDrag.d.ts +54 -0
- package/typings/classes/InputEventScreenTouch.d.ts +24 -0
- package/typings/classes/InputEventShortcut.d.ts +12 -0
- package/typings/classes/InputEventWithModifiers.d.ts +37 -0
- package/typings/classes/InputMap.d.ts +50 -0
- package/typings/classes/InstancePlaceholder.d.ts +20 -0
- package/typings/classes/IntervalTweener.d.ts +6 -0
- package/typings/classes/ItemList.d.ts +277 -0
- package/typings/classes/IterateIK3D.d.ts +85 -0
- package/typings/classes/JNISingleton.d.ts +8 -0
- package/typings/classes/JSON.d.ts +53 -0
- package/typings/classes/JSONRPC.d.ts +59 -0
- package/typings/classes/JacobianIK3D.d.ts +6 -0
- package/typings/classes/JavaClass.d.ts +16 -0
- package/typings/classes/JavaClassWrapper.d.ts +20 -0
- package/typings/classes/JavaObject.d.ts +10 -0
- package/typings/classes/JavaScriptBridge.d.ts +62 -0
- package/typings/classes/JavaScriptObject.d.ts +6 -0
- package/typings/classes/Joint2D.d.ts +28 -0
- package/typings/classes/Joint3D.d.ts +34 -0
- package/typings/classes/JointLimitation3D.d.ts +6 -0
- package/typings/classes/JointLimitationCone3D.d.ts +13 -0
- package/typings/classes/KinematicCollision2D.d.ts +36 -0
- package/typings/classes/KinematicCollision3D.d.ts +50 -0
- package/typings/classes/Label.d.ts +134 -0
- package/typings/classes/Label3D.d.ts +202 -0
- package/typings/classes/LabelSettings.d.ts +93 -0
- package/typings/classes/Light2D.d.ts +109 -0
- package/typings/classes/Light3D.d.ts +227 -0
- package/typings/classes/LightOccluder2D.d.ts +22 -0
- package/typings/classes/LightmapGI.d.ts +225 -0
- package/typings/classes/LightmapGIData.d.ts +50 -0
- package/typings/classes/LightmapProbe.d.ts +6 -0
- package/typings/classes/Lightmapper.d.ts +6 -0
- package/typings/classes/LightmapperRD.d.ts +6 -0
- package/typings/classes/LimitAngularVelocityModifier3D.d.ts +50 -0
- package/typings/classes/Line2D.d.ts +127 -0
- package/typings/classes/LineEdit.d.ts +370 -0
- package/typings/classes/LinkButton.d.ts +54 -0
- package/typings/classes/Logger.d.ts +31 -0
- package/typings/classes/LookAtModifier3D.d.ts +196 -0
- package/typings/classes/MainLoop.d.ts +80 -0
- package/typings/classes/MarginContainer.d.ts +6 -0
- package/typings/classes/Marker2D.d.ts +10 -0
- package/typings/classes/Marker3D.d.ts +10 -0
- package/typings/classes/Marshalls.d.ts +27 -0
- package/typings/classes/Material.d.ts +50 -0
- package/typings/classes/MenuBar.d.ts +64 -0
- package/typings/classes/MenuButton.d.ts +35 -0
- package/typings/classes/Mesh.d.ts +255 -0
- package/typings/classes/MeshConvexDecompositionSettings.d.ts +68 -0
- package/typings/classes/MeshDataTool.d.ts +99 -0
- package/typings/classes/MeshInstance2D.d.ts +19 -0
- package/typings/classes/MeshInstance3D.d.ts +87 -0
- package/typings/classes/MeshLibrary.d.ts +68 -0
- package/typings/classes/MeshTexture.d.ts +19 -0
- package/typings/classes/MethodTweener.d.ts +18 -0
- package/typings/classes/MissingNode.d.ts +26 -0
- package/typings/classes/MissingResource.d.ts +16 -0
- package/typings/classes/ModifierBoneTarget3D.d.ts +14 -0
- package/typings/classes/MovieWriter.d.ts +36 -0
- package/typings/classes/MultiMesh.d.ts +138 -0
- package/typings/classes/MultiMeshInstance2D.d.ts +19 -0
- package/typings/classes/MultiMeshInstance3D.d.ts +12 -0
- package/typings/classes/MultiplayerAPI.d.ts +93 -0
- package/typings/classes/MultiplayerAPIExtension.d.ts +24 -0
- package/typings/classes/MultiplayerPeer.d.ts +90 -0
- package/typings/classes/MultiplayerPeerExtension.d.ts +90 -0
- package/typings/classes/Mutex.d.ts +22 -0
- package/typings/classes/NativeMenu.d.ts +428 -0
- package/typings/classes/NavigationAgent2D.d.ts +292 -0
- package/typings/classes/NavigationAgent3D.d.ts +311 -0
- package/typings/classes/NavigationLink2D.d.ts +77 -0
- package/typings/classes/NavigationLink3D.d.ts +77 -0
- package/typings/classes/NavigationMesh.d.ts +207 -0
- package/typings/classes/NavigationMeshGenerator.d.ts +22 -0
- package/typings/classes/NavigationMeshSourceGeometryData2D.d.ts +52 -0
- package/typings/classes/NavigationMeshSourceGeometryData3D.d.ts +64 -0
- package/typings/classes/NavigationObstacle2D.d.ts +67 -0
- package/typings/classes/NavigationObstacle3D.d.ts +80 -0
- package/typings/classes/NavigationPathQueryParameters2D.d.ts +114 -0
- package/typings/classes/NavigationPathQueryParameters3D.d.ts +114 -0
- package/typings/classes/NavigationPathQueryResult2D.d.ts +41 -0
- package/typings/classes/NavigationPathQueryResult3D.d.ts +41 -0
- package/typings/classes/NavigationPolygon.d.ts +150 -0
- package/typings/classes/NavigationRegion2D.d.ts +74 -0
- package/typings/classes/NavigationRegion3D.d.ts +72 -0
- package/typings/classes/NavigationServer2D.d.ts +443 -0
- package/typings/classes/NavigationServer2DManager.d.ts +16 -0
- package/typings/classes/NavigationServer3D.d.ts +499 -0
- package/typings/classes/NavigationServer3DManager.d.ts +16 -0
- package/typings/classes/NinePatchRect.d.ts +65 -0
- package/typings/classes/Node.d.ts +1021 -0
- package/typings/classes/Node2D.d.ts +107 -0
- package/typings/classes/Node3D.d.ts +331 -0
- package/typings/classes/Node3DGizmo.d.ts +6 -0
- package/typings/classes/NodePath.d.ts +107 -0
- package/typings/classes/ORMMaterial3D.d.ts +6 -0
- package/typings/classes/OS.d.ts +556 -0
- package/typings/classes/Object.d.ts +434 -0
- package/typings/classes/Occluder3D.d.ts +10 -0
- package/typings/classes/OccluderInstance3D.d.ts +39 -0
- package/typings/classes/OccluderPolygon2D.d.ts +28 -0
- package/typings/classes/OmniLight3D.d.ts +31 -0
- package/typings/classes/OptimizedTranslation.d.ts +12 -0
- package/typings/classes/OptionButton.d.ts +136 -0
- package/typings/classes/PCKPacker.d.ts +27 -0
- package/typings/classes/PackedByteArray.d.ts +327 -0
- package/typings/classes/PackedColorArray.d.ts +125 -0
- package/typings/classes/PackedDataContainer.d.ts +13 -0
- package/typings/classes/PackedDataContainerRef.d.ts +8 -0
- package/typings/classes/PackedFloat32Array.d.ts +140 -0
- package/typings/classes/PackedFloat64Array.d.ts +140 -0
- package/typings/classes/PackedInt32Array.d.ts +127 -0
- package/typings/classes/PackedInt64Array.d.ts +127 -0
- package/typings/classes/PackedScene.d.ts +40 -0
- package/typings/classes/PackedStringArray.d.ts +124 -0
- package/typings/classes/PackedVector2Array.d.ts +139 -0
- package/typings/classes/PackedVector3Array.d.ts +139 -0
- package/typings/classes/PackedVector4Array.d.ts +138 -0
- package/typings/classes/PacketPeer.d.ts +33 -0
- package/typings/classes/PacketPeerDTLS.d.ts +34 -0
- package/typings/classes/PacketPeerExtension.d.ts +9 -0
- package/typings/classes/PacketPeerStream.d.ts +16 -0
- package/typings/classes/PacketPeerUDP.d.ts +61 -0
- package/typings/classes/Panel.d.ts +6 -0
- package/typings/classes/PanelContainer.d.ts +7 -0
- package/typings/classes/PanoramaSkyMaterial.d.ts +18 -0
- package/typings/classes/Parallax2D.d.ts +63 -0
- package/typings/classes/ParallaxBackground.d.ts +37 -0
- package/typings/classes/ParallaxLayer.d.ts +26 -0
- package/typings/classes/ParticleProcessMaterial.d.ts +595 -0
- package/typings/classes/Path2D.d.ts +10 -0
- package/typings/classes/Path3D.d.ts +21 -0
- package/typings/classes/PathFollow2D.d.ts +45 -0
- package/typings/classes/PathFollow3D.d.ts +76 -0
- package/typings/classes/Performance.d.ts +229 -0
- package/typings/classes/PhysicalBone2D.d.ts +44 -0
- package/typings/classes/PhysicalBone3D.d.ts +130 -0
- package/typings/classes/PhysicalBoneSimulator3D.d.ts +29 -0
- package/typings/classes/PhysicalSkyMaterial.d.ts +66 -0
- package/typings/classes/PhysicsBody2D.d.ts +34 -0
- package/typings/classes/PhysicsBody3D.d.ts +51 -0
- package/typings/classes/PhysicsDirectBodyState2D.d.ts +162 -0
- package/typings/classes/PhysicsDirectBodyState2DExtension.d.ts +132 -0
- package/typings/classes/PhysicsDirectBodyState3D.d.ts +165 -0
- package/typings/classes/PhysicsDirectBodyState3DExtension.d.ts +58 -0
- package/typings/classes/PhysicsDirectSpaceState2D.d.ts +58 -0
- package/typings/classes/PhysicsDirectSpaceState2DExtension.d.ts +15 -0
- package/typings/classes/PhysicsDirectSpaceState3D.d.ts +62 -0
- package/typings/classes/PhysicsDirectSpaceState3DExtension.d.ts +16 -0
- package/typings/classes/PhysicsMaterial.d.ts +27 -0
- package/typings/classes/PhysicsPointQueryParameters2D.d.ts +38 -0
- package/typings/classes/PhysicsPointQueryParameters3D.d.ts +31 -0
- package/typings/classes/PhysicsRayQueryParameters2D.d.ts +46 -0
- package/typings/classes/PhysicsRayQueryParameters3D.d.ts +52 -0
- package/typings/classes/PhysicsServer2D.d.ts +739 -0
- package/typings/classes/PhysicsServer2DExtension.d.ts +354 -0
- package/typings/classes/PhysicsServer2DManager.d.ts +16 -0
- package/typings/classes/PhysicsServer3D.d.ts +1028 -0
- package/typings/classes/PhysicsServer3DExtension.d.ts +204 -0
- package/typings/classes/PhysicsServer3DManager.d.ts +16 -0
- package/typings/classes/PhysicsServer3DRenderingServerHandler.d.ts +26 -0
- package/typings/classes/PhysicsShapeQueryParameters2D.d.ts +51 -0
- package/typings/classes/PhysicsShapeQueryParameters3D.d.ts +51 -0
- package/typings/classes/PhysicsTestMotionParameters2D.d.ts +46 -0
- package/typings/classes/PhysicsTestMotionParameters3D.d.ts +52 -0
- package/typings/classes/PhysicsTestMotionResult2D.d.ts +38 -0
- package/typings/classes/PhysicsTestMotionResult3D.d.ts +54 -0
- package/typings/classes/PinJoint2D.d.ts +34 -0
- package/typings/classes/PinJoint3D.d.ts +35 -0
- package/typings/classes/PlaceholderCubemap.d.ts +6 -0
- package/typings/classes/PlaceholderCubemapArray.d.ts +6 -0
- package/typings/classes/PlaceholderMaterial.d.ts +6 -0
- package/typings/classes/PlaceholderMesh.d.ts +9 -0
- package/typings/classes/PlaceholderTexture2D.d.ts +11 -0
- package/typings/classes/PlaceholderTexture2DArray.d.ts +6 -0
- package/typings/classes/PlaceholderTexture3D.d.ts +10 -0
- package/typings/classes/PlaceholderTextureLayered.d.ts +13 -0
- package/typings/classes/Plane.d.ts +143 -0
- package/typings/classes/PlaneMesh.d.ts +38 -0
- package/typings/classes/PointLight2D.d.ts +22 -0
- package/typings/classes/PointMesh.d.ts +6 -0
- package/typings/classes/Polygon2D.d.ts +101 -0
- package/typings/classes/PolygonOccluder3D.d.ts +13 -0
- package/typings/classes/PolygonPathFinder.d.ts +18 -0
- package/typings/classes/Popup.d.ts +18 -0
- package/typings/classes/PopupMenu.d.ts +349 -0
- package/typings/classes/PopupPanel.d.ts +10 -0
- package/typings/classes/PortableCompressedTexture2D.d.ts +47 -0
- package/typings/classes/PrimitiveMesh.d.ts +48 -0
- package/typings/classes/PrismMesh.d.ts +28 -0
- package/typings/classes/ProceduralSkyMaterial.d.ts +68 -0
- package/typings/classes/ProgressBar.d.ts +38 -0
- package/typings/classes/ProjectSettings.d.ts +3818 -0
- package/typings/classes/Projection.d.ts +193 -0
- package/typings/classes/PropertyTweener.d.ts +38 -0
- package/typings/classes/QuadMesh.d.ts +8 -0
- package/typings/classes/QuadOccluder3D.d.ts +10 -0
- package/typings/classes/Quaternion.d.ts +188 -0
- package/typings/classes/RDAttachmentFormat.d.ts +18 -0
- package/typings/classes/RDFramebufferPass.d.ts +33 -0
- package/typings/classes/RDPipelineColorBlendState.d.ts +22 -0
- package/typings/classes/RDPipelineColorBlendStateAttachment.d.ts +61 -0
- package/typings/classes/RDPipelineDepthStencilState.d.ts +102 -0
- package/typings/classes/RDPipelineMultisampleState.d.ts +42 -0
- package/typings/classes/RDPipelineRasterizationState.d.ts +64 -0
- package/typings/classes/RDPipelineSpecializationConstant.d.ts +18 -0
- package/typings/classes/RDSamplerState.d.ts +91 -0
- package/typings/classes/RDShaderFile.d.ts +21 -0
- package/typings/classes/RDShaderSPIRV.d.ts +85 -0
- package/typings/classes/RDShaderSource.d.ts +40 -0
- package/typings/classes/RDTextureFormat.d.ts +62 -0
- package/typings/classes/RDTextureView.d.ts +28 -0
- package/typings/classes/RDUniform.d.ts +23 -0
- package/typings/classes/RDVertexAttribute.d.ts +35 -0
- package/typings/classes/RID.d.ts +65 -0
- package/typings/classes/RandomNumberGenerator.d.ts +45 -0
- package/typings/classes/Range.d.ts +76 -0
- package/typings/classes/RayCast2D.d.ts +90 -0
- package/typings/classes/RayCast3D.d.ts +113 -0
- package/typings/classes/Rect2.d.ts +135 -0
- package/typings/classes/Rect2i.d.ts +127 -0
- package/typings/classes/RectangleShape2D.d.ts +10 -0
- package/typings/classes/RefCounted.d.ts +23 -0
- package/typings/classes/ReferenceRect.d.ts +22 -0
- package/typings/classes/ReflectionProbe.d.ts +118 -0
- package/typings/classes/RemoteTransform2D.d.ts +33 -0
- package/typings/classes/RemoteTransform3D.d.ts +33 -0
- package/typings/classes/RenderData.d.ts +20 -0
- package/typings/classes/RenderDataExtension.d.ts +18 -0
- package/typings/classes/RenderDataRD.d.ts +6 -0
- package/typings/classes/RenderSceneBuffers.d.ts +10 -0
- package/typings/classes/RenderSceneBuffersConfiguration.d.ts +48 -0
- package/typings/classes/RenderSceneBuffersExtension.d.ts +16 -0
- package/typings/classes/RenderSceneBuffersRD.d.ts +85 -0
- package/typings/classes/RenderSceneData.d.ts +29 -0
- package/typings/classes/RenderSceneDataExtension.d.ts +20 -0
- package/typings/classes/RenderSceneDataRD.d.ts +6 -0
- package/typings/classes/RenderingDevice.d.ts +2373 -0
- package/typings/classes/RenderingServer.d.ts +3501 -0
- package/typings/classes/Resource.d.ts +130 -0
- package/typings/classes/ResourceFormatLoader.d.ts +73 -0
- package/typings/classes/ResourceFormatSaver.d.ts +26 -0
- package/typings/classes/ResourceImporter.d.ts +18 -0
- package/typings/classes/ResourceImporterBMFont.d.ts +14 -0
- package/typings/classes/ResourceImporterBitMap.d.ts +16 -0
- package/typings/classes/ResourceImporterCSVTranslation.d.ts +23 -0
- package/typings/classes/ResourceImporterDynamicFont.d.ts +96 -0
- package/typings/classes/ResourceImporterImage.d.ts +6 -0
- package/typings/classes/ResourceImporterImageFont.d.ts +46 -0
- package/typings/classes/ResourceImporterLayeredTexture.d.ts +65 -0
- package/typings/classes/ResourceImporterOBJ.d.ts +38 -0
- package/typings/classes/ResourceImporterSVG.d.ts +24 -0
- package/typings/classes/ResourceImporterScene.d.ts +114 -0
- package/typings/classes/ResourceImporterShaderFile.d.ts +6 -0
- package/typings/classes/ResourceImporterTexture.d.ts +188 -0
- package/typings/classes/ResourceImporterTextureAtlas.d.ts +27 -0
- package/typings/classes/ResourceImporterWAV.d.ts +57 -0
- package/typings/classes/ResourceLoader.d.ts +106 -0
- package/typings/classes/ResourcePreloader.d.ts +20 -0
- package/typings/classes/ResourceSaver.d.ts +53 -0
- package/typings/classes/ResourceUID.d.ts +59 -0
- package/typings/classes/RetargetModifier3D.d.ts +51 -0
- package/typings/classes/RibbonTrailMesh.d.ts +42 -0
- package/typings/classes/RichTextEffect.d.ts +10 -0
- package/typings/classes/RichTextLabel.d.ts +524 -0
- package/typings/classes/RigidBody2D.d.ts +280 -0
- package/typings/classes/RigidBody3D.d.ts +271 -0
- package/typings/classes/RootMotionView.d.ts +30 -0
- package/typings/classes/SceneState.d.ts +93 -0
- package/typings/classes/SceneTree.d.ts +257 -0
- package/typings/classes/SceneTreeTimer.d.ts +13 -0
- package/typings/classes/Script.d.ts +64 -0
- package/typings/classes/ScriptBacktrace.d.ts +63 -0
- package/typings/classes/ScriptCreateDialog.d.ts +17 -0
- package/typings/classes/ScriptEditor.d.ts +60 -0
- package/typings/classes/ScriptEditorBase.d.ts +39 -0
- package/typings/classes/ScriptExtension.d.ts +48 -0
- package/typings/classes/ScriptLanguage.d.ts +12 -0
- package/typings/classes/ScriptLanguageExtension.d.ts +110 -0
- package/typings/classes/ScrollBar.d.ts +19 -0
- package/typings/classes/ScrollContainer.d.ts +120 -0
- package/typings/classes/SegmentShape2D.d.ts +14 -0
- package/typings/classes/Semaphore.d.ts +14 -0
- package/typings/classes/SeparationRayShape2D.d.ts +17 -0
- package/typings/classes/SeparationRayShape3D.d.ts +17 -0
- package/typings/classes/Separator.d.ts +6 -0
- package/typings/classes/Shader.d.ts +48 -0
- package/typings/classes/ShaderGlobalsOverride.d.ts +6 -0
- package/typings/classes/ShaderInclude.d.ts +12 -0
- package/typings/classes/ShaderIncludeDB.d.ts +14 -0
- package/typings/classes/ShaderMaterial.d.ts +19 -0
- package/typings/classes/Shape2D.d.ts +44 -0
- package/typings/classes/Shape3D.d.ts +24 -0
- package/typings/classes/ShapeCast2D.d.ts +107 -0
- package/typings/classes/ShapeCast3D.d.ts +116 -0
- package/typings/classes/Shortcut.d.ts +22 -0
- package/typings/classes/Signal.d.ts +86 -0
- package/typings/classes/Skeleton2D.d.ts +35 -0
- package/typings/classes/Skeleton3D.d.ts +225 -0
- package/typings/classes/SkeletonIK3D.d.ts +83 -0
- package/typings/classes/SkeletonModification2D.d.ts +52 -0
- package/typings/classes/SkeletonModification2DCCDIK.d.ts +64 -0
- package/typings/classes/SkeletonModification2DFABRIK.d.ts +40 -0
- package/typings/classes/SkeletonModification2DJiggle.d.ts +97 -0
- package/typings/classes/SkeletonModification2DLookAt.d.ts +48 -0
- package/typings/classes/SkeletonModification2DPhysicalBones.d.ts +32 -0
- package/typings/classes/SkeletonModification2DStackHolder.d.ts +12 -0
- package/typings/classes/SkeletonModification2DTwoBoneIK.d.ts +57 -0
- package/typings/classes/SkeletonModificationStack2D.d.ts +46 -0
- package/typings/classes/SkeletonModifier3D.d.ts +101 -0
- package/typings/classes/SkeletonProfile.d.ts +119 -0
- package/typings/classes/SkeletonProfileHumanoid.d.ts +10 -0
- package/typings/classes/Skin.d.ts +16 -0
- package/typings/classes/SkinReference.d.ts +15 -0
- package/typings/classes/Sky.d.ts +61 -0
- package/typings/classes/Slider.d.ts +49 -0
- package/typings/classes/SliderJoint3D.d.ts +166 -0
- package/typings/classes/SocketServer.d.ts +14 -0
- package/typings/classes/SoftBody3D.d.ts +136 -0
- package/typings/classes/SphereMesh.d.ts +29 -0
- package/typings/classes/SphereOccluder3D.d.ts +10 -0
- package/typings/classes/SphereShape3D.d.ts +10 -0
- package/typings/classes/SpinBox.d.ts +60 -0
- package/typings/classes/SplineIK3D.d.ts +37 -0
- package/typings/classes/SplitContainer.d.ts +114 -0
- package/typings/classes/SpotLight3D.d.ts +28 -0
- package/typings/classes/SpringArm3D.d.ts +47 -0
- package/typings/classes/SpringBoneCollision3D.d.ts +25 -0
- package/typings/classes/SpringBoneCollisionCapsule3D.d.ts +30 -0
- package/typings/classes/SpringBoneCollisionPlane3D.d.ts +6 -0
- package/typings/classes/SpringBoneCollisionSphere3D.d.ts +14 -0
- package/typings/classes/SpringBoneSimulator3D.d.ts +283 -0
- package/typings/classes/Sprite2D.d.ts +88 -0
- package/typings/classes/Sprite3D.d.ts +51 -0
- package/typings/classes/SpriteBase3D.d.ts +147 -0
- package/typings/classes/SpriteFrames.d.ts +57 -0
- package/typings/classes/StandardMaterial3D.d.ts +6 -0
- package/typings/classes/StaticBody2D.d.ts +27 -0
- package/typings/classes/StaticBody3D.d.ts +27 -0
- package/typings/classes/StatusIndicator.d.ts +36 -0
- package/typings/classes/StreamPeer.d.ts +102 -0
- package/typings/classes/StreamPeerBuffer.d.ts +23 -0
- package/typings/classes/StreamPeerExtension.d.ts +10 -0
- package/typings/classes/StreamPeerGZIP.d.ts +21 -0
- package/typings/classes/StreamPeerSocket.d.ts +22 -0
- package/typings/classes/StreamPeerTCP.d.ts +26 -0
- package/typings/classes/StreamPeerTLS.d.ts +40 -0
- package/typings/classes/StreamPeerUDS.d.ts +15 -0
- package/typings/classes/String.d.ts +475 -0
- package/typings/classes/StringName.d.ts +4 -0
- package/typings/classes/StyleBox.d.ts +64 -0
- package/typings/classes/StyleBoxEmpty.d.ts +6 -0
- package/typings/classes/StyleBoxFlat.d.ts +120 -0
- package/typings/classes/StyleBoxLine.d.ts +30 -0
- package/typings/classes/StyleBoxTexture.d.ts +99 -0
- package/typings/classes/SubViewport.d.ts +57 -0
- package/typings/classes/SubViewportContainer.d.ts +33 -0
- package/typings/classes/SubtweenTweener.d.ts +10 -0
- package/typings/classes/SurfaceTool.d.ts +178 -0
- package/typings/classes/SyntaxHighlighter.d.ts +33 -0
- package/typings/classes/SystemFont.d.ts +94 -0
- package/typings/classes/TCPServer.d.ts +17 -0
- package/typings/classes/TLSOptions.d.ts +38 -0
- package/typings/classes/TabBar.d.ts +203 -0
- package/typings/classes/TabContainer.d.ts +184 -0
- package/typings/classes/TextEdit.d.ts +877 -0
- package/typings/classes/TextLine.d.ts +100 -0
- package/typings/classes/TextMesh.d.ts +103 -0
- package/typings/classes/TextParagraph.d.ts +160 -0
- package/typings/classes/TextServer.d.ts +1006 -0
- package/typings/classes/TextServerDummy.d.ts +6 -0
- package/typings/classes/TextServerExtension.d.ts +586 -0
- package/typings/classes/TextServerManager.d.ts +31 -0
- package/typings/classes/Texture.d.ts +6 -0
- package/typings/classes/Texture2D.d.ts +69 -0
- package/typings/classes/Texture2DArray.d.ts +10 -0
- package/typings/classes/Texture2DArrayRD.d.ts +6 -0
- package/typings/classes/Texture2DRD.d.ts +11 -0
- package/typings/classes/Texture3D.d.ts +36 -0
- package/typings/classes/Texture3DRD.d.ts +10 -0
- package/typings/classes/TextureButton.d.ts +80 -0
- package/typings/classes/TextureCubemapArrayRD.d.ts +6 -0
- package/typings/classes/TextureCubemapRD.d.ts +6 -0
- package/typings/classes/TextureLayered.d.ts +46 -0
- package/typings/classes/TextureLayeredRD.d.ts +10 -0
- package/typings/classes/TextureProgressBar.d.ts +120 -0
- package/typings/classes/TextureRect.d.ts +69 -0
- package/typings/classes/Theme.d.ts +335 -0
- package/typings/classes/ThemeDB.d.ts +58 -0
- package/typings/classes/Thread.d.ts +55 -0
- package/typings/classes/TileData.d.ts +155 -0
- package/typings/classes/TileMap.d.ts +303 -0
- package/typings/classes/TileMapLayer.d.ts +244 -0
- package/typings/classes/TileMapPattern.d.ts +26 -0
- package/typings/classes/TileSet.d.ts +348 -0
- package/typings/classes/TileSetAtlasSource.d.ts +160 -0
- package/typings/classes/TileSetScenesCollectionSource.d.ts +37 -0
- package/typings/classes/TileSetSource.d.ts +24 -0
- package/typings/classes/Time.d.ts +149 -0
- package/typings/classes/Timer.d.ts +71 -0
- package/typings/classes/TorusMesh.d.ts +22 -0
- package/typings/classes/TouchScreenButton.d.ts +61 -0
- package/typings/classes/Transform2D.d.ts +207 -0
- package/typings/classes/Transform3D.d.ts +173 -0
- package/typings/classes/Translation.d.ts +51 -0
- package/typings/classes/TranslationDomain.d.ts +115 -0
- package/typings/classes/TranslationServer.d.ts +117 -0
- package/typings/classes/Tree.d.ts +298 -0
- package/typings/classes/TreeItem.d.ts +374 -0
- package/typings/classes/TriangleMesh.d.ts +33 -0
- package/typings/classes/TubeTrailMesh.d.ts +50 -0
- package/typings/classes/Tween.d.ts +218 -0
- package/typings/classes/Tweener.d.ts +11 -0
- package/typings/classes/TwoBoneIK3D.d.ts +87 -0
- package/typings/classes/UDPServer.d.ts +35 -0
- package/typings/classes/UDSServer.d.ts +13 -0
- package/typings/classes/UndoRedo.d.ts +92 -0
- package/typings/classes/UniformSetCacheRD.d.ts +8 -0
- package/typings/classes/VBoxContainer.d.ts +6 -0
- package/typings/classes/VFlowContainer.d.ts +6 -0
- package/typings/classes/VScrollBar.d.ts +8 -0
- package/typings/classes/VSeparator.d.ts +6 -0
- package/typings/classes/VSlider.d.ts +8 -0
- package/typings/classes/VSplitContainer.d.ts +8 -0
- package/typings/classes/Variant.d.ts +6 -0
- package/typings/classes/Vector2.d.ts +298 -0
- package/typings/classes/Vector2i.d.ts +166 -0
- package/typings/classes/Vector3.d.ts +309 -0
- package/typings/classes/Vector3i.d.ts +172 -0
- package/typings/classes/Vector4.d.ts +216 -0
- package/typings/classes/Vector4i.d.ts +164 -0
- package/typings/classes/VehicleBody3D.d.ts +26 -0
- package/typings/classes/VehicleWheel3D.d.ts +112 -0
- package/typings/classes/VideoStream.d.ts +18 -0
- package/typings/classes/VideoStreamPlayback.d.ts +52 -0
- package/typings/classes/VideoStreamPlayer.d.ts +82 -0
- package/typings/classes/Viewport.d.ts +815 -0
- package/typings/classes/ViewportTexture.d.ts +13 -0
- package/typings/classes/VirtualJoystick.d.ts +94 -0
- package/typings/classes/VisibleOnScreenEnabler2D.d.ts +26 -0
- package/typings/classes/VisibleOnScreenEnabler3D.d.ts +26 -0
- package/typings/classes/VisibleOnScreenNotifier2D.d.ts +27 -0
- package/typings/classes/VisibleOnScreenNotifier3D.d.ts +20 -0
- package/typings/classes/VisualInstance3D.d.ts +53 -0
- package/typings/classes/VisualShader.d.ts +112 -0
- package/typings/classes/VisualShaderNode.d.ts +63 -0
- package/typings/classes/VisualShaderNodeBillboard.d.ts +28 -0
- package/typings/classes/VisualShaderNodeBooleanConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeBooleanParameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeClamp.d.ts +26 -0
- package/typings/classes/VisualShaderNodeColorConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeColorFunc.d.ts +32 -0
- package/typings/classes/VisualShaderNodeColorOp.d.ts +32 -0
- package/typings/classes/VisualShaderNodeColorParameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeComment.d.ts +12 -0
- package/typings/classes/VisualShaderNodeCompare.d.ts +68 -0
- package/typings/classes/VisualShaderNodeConstant.d.ts +6 -0
- package/typings/classes/VisualShaderNodeCubemap.d.ts +43 -0
- package/typings/classes/VisualShaderNodeCubemapParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeCurveTexture.d.ts +10 -0
- package/typings/classes/VisualShaderNodeCurveXYZTexture.d.ts +10 -0
- package/typings/classes/VisualShaderNodeCustom.d.ts +122 -0
- package/typings/classes/VisualShaderNodeDerivativeFunc.d.ts +56 -0
- package/typings/classes/VisualShaderNodeDeterminant.d.ts +6 -0
- package/typings/classes/VisualShaderNodeDistanceFade.d.ts +6 -0
- package/typings/classes/VisualShaderNodeDotProduct.d.ts +6 -0
- package/typings/classes/VisualShaderNodeExpression.d.ts +12 -0
- package/typings/classes/VisualShaderNodeFaceForward.d.ts +8 -0
- package/typings/classes/VisualShaderNodeFloatConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeFloatFunc.d.ts +108 -0
- package/typings/classes/VisualShaderNodeFloatOp.d.ts +36 -0
- package/typings/classes/VisualShaderNodeFloatParameter.d.ts +52 -0
- package/typings/classes/VisualShaderNodeFrame.d.ts +35 -0
- package/typings/classes/VisualShaderNodeFresnel.d.ts +6 -0
- package/typings/classes/VisualShaderNodeGlobalExpression.d.ts +6 -0
- package/typings/classes/VisualShaderNodeGroupBase.d.ts +60 -0
- package/typings/classes/VisualShaderNodeIf.d.ts +8 -0
- package/typings/classes/VisualShaderNodeInput.d.ts +20 -0
- package/typings/classes/VisualShaderNodeIntConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeIntFunc.d.ts +24 -0
- package/typings/classes/VisualShaderNodeIntOp.d.ts +48 -0
- package/typings/classes/VisualShaderNodeIntParameter.d.ts +58 -0
- package/typings/classes/VisualShaderNodeIs.d.ts +18 -0
- package/typings/classes/VisualShaderNodeLinearSceneDepth.d.ts +6 -0
- package/typings/classes/VisualShaderNodeMix.d.ts +28 -0
- package/typings/classes/VisualShaderNodeMultiplyAdd.d.ts +22 -0
- package/typings/classes/VisualShaderNodeOuterProduct.d.ts +6 -0
- package/typings/classes/VisualShaderNodeOutput.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParameter.d.ts +32 -0
- package/typings/classes/VisualShaderNodeParameterRef.d.ts +10 -0
- package/typings/classes/VisualShaderNodeParticleAccelerator.d.ts +20 -0
- package/typings/classes/VisualShaderNodeParticleBoxEmitter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleConeVelocity.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleEmit.d.ts +22 -0
- package/typings/classes/VisualShaderNodeParticleEmitter.d.ts +12 -0
- package/typings/classes/VisualShaderNodeParticleMeshEmitter.d.ts +20 -0
- package/typings/classes/VisualShaderNodeParticleMultiplyByAxisAngle.d.ts +10 -0
- package/typings/classes/VisualShaderNodeParticleOutput.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleRandomness.d.ts +22 -0
- package/typings/classes/VisualShaderNodeParticleRingEmitter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeParticleSphereEmitter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeProximityFade.d.ts +6 -0
- package/typings/classes/VisualShaderNodeRandomRange.d.ts +6 -0
- package/typings/classes/VisualShaderNodeRemap.d.ts +33 -0
- package/typings/classes/VisualShaderNodeReroute.d.ts +8 -0
- package/typings/classes/VisualShaderNodeResizableBase.d.ts +10 -0
- package/typings/classes/VisualShaderNodeRotationByAxis.d.ts +6 -0
- package/typings/classes/VisualShaderNodeSDFRaymarch.d.ts +6 -0
- package/typings/classes/VisualShaderNodeSDFToScreenUV.d.ts +8 -0
- package/typings/classes/VisualShaderNodeSample3D.d.ts +18 -0
- package/typings/classes/VisualShaderNodeScreenNormalWorldSpace.d.ts +6 -0
- package/typings/classes/VisualShaderNodeScreenUVToSDF.d.ts +8 -0
- package/typings/classes/VisualShaderNodeSmoothStep.d.ts +28 -0
- package/typings/classes/VisualShaderNodeStep.d.ts +28 -0
- package/typings/classes/VisualShaderNodeSwitch.d.ts +30 -0
- package/typings/classes/VisualShaderNodeTexture.d.ts +57 -0
- package/typings/classes/VisualShaderNodeTexture2DArray.d.ts +12 -0
- package/typings/classes/VisualShaderNodeTexture2DArrayParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTexture2DParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTexture3D.d.ts +12 -0
- package/typings/classes/VisualShaderNodeTexture3DParameter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTextureParameter.d.ts +104 -0
- package/typings/classes/VisualShaderNodeTextureParameterTriplanar.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTextureSDF.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTextureSDFNormal.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTransformCompose.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTransformConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeTransformDecompose.d.ts +6 -0
- package/typings/classes/VisualShaderNodeTransformFunc.d.ts +18 -0
- package/typings/classes/VisualShaderNodeTransformOp.d.ts +32 -0
- package/typings/classes/VisualShaderNodeTransformParameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeTransformVecMult.d.ts +22 -0
- package/typings/classes/VisualShaderNodeUIntConstant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeUIntFunc.d.ts +20 -0
- package/typings/classes/VisualShaderNodeUIntOp.d.ts +48 -0
- package/typings/classes/VisualShaderNodeUIntParameter.d.ts +16 -0
- package/typings/classes/VisualShaderNodeUVFunc.d.ts +22 -0
- package/typings/classes/VisualShaderNodeUVPolarCoord.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVarying.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVaryingGetter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVaryingSetter.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVec2Constant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeVec2Parameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVec3Constant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeVec3Parameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVec4Constant.d.ts +10 -0
- package/typings/classes/VisualShaderNodeVec4Parameter.d.ts +14 -0
- package/typings/classes/VisualShaderNodeVectorBase.d.ts +20 -0
- package/typings/classes/VisualShaderNodeVectorCompose.d.ts +8 -0
- package/typings/classes/VisualShaderNodeVectorDecompose.d.ts +8 -0
- package/typings/classes/VisualShaderNodeVectorDistance.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVectorFunc.d.ts +84 -0
- package/typings/classes/VisualShaderNodeVectorLen.d.ts +6 -0
- package/typings/classes/VisualShaderNodeVectorOp.d.ts +42 -0
- package/typings/classes/VisualShaderNodeVectorRefract.d.ts +8 -0
- package/typings/classes/VisualShaderNodeWorldPositionFromDepth.d.ts +8 -0
- package/typings/classes/VoxelGI.d.ts +54 -0
- package/typings/classes/VoxelGIData.d.ts +70 -0
- package/typings/classes/WeakRef.d.ts +12 -0
- package/typings/classes/Window.d.ts +790 -0
- package/typings/classes/WorkerThreadPool.d.ts +55 -0
- package/typings/classes/World2D.d.ts +24 -0
- package/typings/classes/World3D.d.ts +32 -0
- package/typings/classes/WorldBoundaryShape2D.d.ts +19 -0
- package/typings/classes/WorldBoundaryShape3D.d.ts +10 -0
- package/typings/classes/WorldEnvironment.d.ts +22 -0
- package/typings/classes/X509Certificate.d.ts +16 -0
- package/typings/classes/XMLParser.d.ts +74 -0
- package/typings/classes/XRAnchor3D.d.ts +12 -0
- package/typings/classes/XRBodyModifier3D.d.ts +35 -0
- package/typings/classes/XRBodyTracker.d.ts +218 -0
- package/typings/classes/XRCamera3D.d.ts +7 -0
- package/typings/classes/XRController3D.d.ts +39 -0
- package/typings/classes/XRControllerTracker.d.ts +7 -0
- package/typings/classes/XRFaceModifier3D.d.ts +14 -0
- package/typings/classes/XRFaceTracker.d.ts +308 -0
- package/typings/classes/XRHandModifier3D.d.ts +24 -0
- package/typings/classes/XRHandTracker.d.ts +127 -0
- package/typings/classes/XRInterface.d.ts +181 -0
- package/typings/classes/XRInterfaceExtension.d.ts +94 -0
- package/typings/classes/XRNode3D.d.ts +46 -0
- package/typings/classes/XROrigin3D.d.ts +18 -0
- package/typings/classes/XRPose.d.ts +55 -0
- package/typings/classes/XRPositionalTracker.d.ts +64 -0
- package/typings/classes/XRServer.d.ts +130 -0
- package/typings/classes/XRTracker.d.ts +27 -0
- package/typings/classes/XRVRS.d.ts +28 -0
- package/typings/classes/_globals.d.ts +2243 -0
- package/typings/classes/_number-ops.d.ts +19 -0
- package/typings/classes/index.d.ts +915 -0
- package/typings/globals/gd-helpers.d.ts +354 -0
- package/typings/globals/globals.d.ts +511 -0
- package/typings/godot-class-registry.json +61322 -0
- package/typings/index.d.ts +3 -0
- package/typings-overrides/_globals.d.ts +114 -0
- package/typings-overrides/array.d.ts +54 -0
- package/typings-overrides/callable-function.d.ts +92 -0
- package/typings-overrides/class-db.d.ts +19 -0
- package/typings-overrides/dictionary.d.ts +26 -0
- package/typings-overrides/function.d.ts +29 -0
- package/typings-overrides/godot-object.d.ts +32 -0
- package/typings-overrides/node.d.ts +9 -0
- package/typings-overrides/non-nullable.json +117 -0
- package/typings-overrides/packed-scene.d.ts +7 -0
- package/typings-overrides/project-settings.d.ts +73 -0
- package/typings-overrides/property-tweener.d.ts +8 -0
- package/typings-overrides/resource.d.ts +3 -0
- package/typings-overrides/scene-tree.d.ts +54 -0
- package/typings-overrides/signal.d.ts +10 -0
- package/typings-overrides/tween.d.ts +18 -0
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** A {@link SkeletonModifier3D} to apply inertial wavering to bone chains. */
|
|
5
|
+
declare class SpringBoneSimulator3D extends SkeletonModifier3D {
|
|
6
|
+
/**
|
|
7
|
+
* The constant force that always affected bones. It is equal to the result when the parent {@link Skeleton3D} moves at this speed in the opposite direction.
|
|
8
|
+
* This is useful for effects such as wind and anti-gravity.
|
|
9
|
+
*/
|
|
10
|
+
external_force: Vector3;
|
|
11
|
+
/**
|
|
12
|
+
* If `true`, the solver retrieves the bone axis from the bone pose every frame.
|
|
13
|
+
* If `false`, the solver retrieves the bone axis from the bone rest and caches it, which increases performance slightly, but position changes in the bone pose made before processing this {@link SpringBoneSimulator3D} are ignored.
|
|
14
|
+
*/
|
|
15
|
+
mutable_bone_axes: boolean;
|
|
16
|
+
/** The number of settings. */
|
|
17
|
+
setting_count: int;
|
|
18
|
+
set_external_force(value: Vector3 | Vector3i): void;
|
|
19
|
+
get_external_force(): Vector3;
|
|
20
|
+
set_mutable_bone_axes(value: boolean): void;
|
|
21
|
+
are_bone_axes_mutable(): boolean;
|
|
22
|
+
set_setting_count(value: int): void;
|
|
23
|
+
get_setting_count(): int;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Returns `true` if all child {@link SpringBoneCollision3D}s are contained in the collision list at `index` in the settings.
|
|
27
|
+
*/
|
|
28
|
+
are_all_child_collisions_enabled(index: int): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Clears all collisions from the collision list at `index` in the settings when {@link are_all_child_collisions_enabled} is `false`.
|
|
31
|
+
*/
|
|
32
|
+
clear_collisions(index: int): void;
|
|
33
|
+
/**
|
|
34
|
+
* Clears all exclude collisions from the collision list at `index` in the settings when {@link are_all_child_collisions_enabled} is `true`.
|
|
35
|
+
*/
|
|
36
|
+
clear_exclude_collisions(index: int): void;
|
|
37
|
+
/** Clears all settings. */
|
|
38
|
+
clear_settings(): void;
|
|
39
|
+
/** Returns the center bone index of the bone chain. */
|
|
40
|
+
get_center_bone(index: int): int;
|
|
41
|
+
/** Returns the center bone name of the bone chain. */
|
|
42
|
+
get_center_bone_name(index: int): string;
|
|
43
|
+
/** Returns what the center originates from in the bone chain. */
|
|
44
|
+
get_center_from(index: int): int;
|
|
45
|
+
/** Returns the center node path of the bone chain. */
|
|
46
|
+
get_center_node(index: int): NodePath;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the collision count of the bone chain's collision list when {@link are_all_child_collisions_enabled} is `false`.
|
|
49
|
+
*/
|
|
50
|
+
get_collision_count(index: int): int;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the node path of the {@link SpringBoneCollision3D} at `collision` in the bone chain's collision list when {@link are_all_child_collisions_enabled} is `false`.
|
|
53
|
+
*/
|
|
54
|
+
get_collision_path(index: int, collision: int): NodePath;
|
|
55
|
+
/** Returns the drag force damping curve of the bone chain. */
|
|
56
|
+
get_drag(index: int): float;
|
|
57
|
+
/** Returns the drag force damping curve of the bone chain. */
|
|
58
|
+
get_drag_damping_curve(index: int): Curve | null;
|
|
59
|
+
/** Returns the end bone index of the bone chain. */
|
|
60
|
+
get_end_bone(index: int): int;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the tail direction of the end bone of the bone chain when {@link is_end_bone_extended} is `true`.
|
|
63
|
+
*/
|
|
64
|
+
get_end_bone_direction(index: int): int;
|
|
65
|
+
/** Returns the end bone tail length of the bone chain when {@link is_end_bone_extended} is `true`. */
|
|
66
|
+
get_end_bone_length(index: int): float;
|
|
67
|
+
/** Returns the end bone name of the bone chain. */
|
|
68
|
+
get_end_bone_name(index: int): string;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the exclude collision count of the bone chain's exclude collision list when {@link are_all_child_collisions_enabled} is `true`.
|
|
71
|
+
*/
|
|
72
|
+
get_exclude_collision_count(index: int): int;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the node path of the {@link SpringBoneCollision3D} at `collision` in the bone chain's exclude collision list when {@link are_all_child_collisions_enabled} is `true`.
|
|
75
|
+
*/
|
|
76
|
+
get_exclude_collision_path(index: int, collision: int): NodePath;
|
|
77
|
+
/** Returns the gravity amount of the bone chain. */
|
|
78
|
+
get_gravity(index: int): float;
|
|
79
|
+
/** Returns the gravity amount damping curve of the bone chain. */
|
|
80
|
+
get_gravity_damping_curve(index: int): Curve | null;
|
|
81
|
+
/** Returns the gravity direction of the bone chain. */
|
|
82
|
+
get_gravity_direction(index: int): Vector3;
|
|
83
|
+
/** Returns the bone index at `joint` in the bone chain's joint list. */
|
|
84
|
+
get_joint_bone(index: int, joint: int): int;
|
|
85
|
+
/** Returns the bone name at `joint` in the bone chain's joint list. */
|
|
86
|
+
get_joint_bone_name(index: int, joint: int): string;
|
|
87
|
+
/** Returns the joint count of the bone chain's joint list. */
|
|
88
|
+
get_joint_count(index: int): int;
|
|
89
|
+
/** Returns the drag force at `joint` in the bone chain's joint list. */
|
|
90
|
+
get_joint_drag(index: int, joint: int): float;
|
|
91
|
+
/** Returns the gravity amount at `joint` in the bone chain's joint list. */
|
|
92
|
+
get_joint_gravity(index: int, joint: int): float;
|
|
93
|
+
/** Returns the gravity direction at `joint` in the bone chain's joint list. */
|
|
94
|
+
get_joint_gravity_direction(index: int, joint: int): Vector3;
|
|
95
|
+
/** Returns the radius at `joint` in the bone chain's joint list. */
|
|
96
|
+
get_joint_radius(index: int, joint: int): float;
|
|
97
|
+
/** Returns the rotation axis at `joint` in the bone chain's joint list. */
|
|
98
|
+
get_joint_rotation_axis(index: int, joint: int): int;
|
|
99
|
+
/**
|
|
100
|
+
* Returns the rotation axis vector for the specified joint in the bone chain. This vector represents the axis around which the joint can rotate. It is determined based on the rotation axis set for the joint.
|
|
101
|
+
* If {@link get_joint_rotation_axis} is {@link SkeletonModifier3D.ROTATION_AXIS_ALL}, this method returns `Vector3(0, 0, 0)`.
|
|
102
|
+
*/
|
|
103
|
+
get_joint_rotation_axis_vector(index: int, joint: int): Vector3;
|
|
104
|
+
/** Returns the stiffness force at `joint` in the bone chain's joint list. */
|
|
105
|
+
get_joint_stiffness(index: int, joint: int): float;
|
|
106
|
+
/** Returns the joint radius of the bone chain. */
|
|
107
|
+
get_radius(index: int): float;
|
|
108
|
+
/** Returns the joint radius damping curve of the bone chain. */
|
|
109
|
+
get_radius_damping_curve(index: int): Curve | null;
|
|
110
|
+
/** Returns the root bone index of the bone chain. */
|
|
111
|
+
get_root_bone(index: int): int;
|
|
112
|
+
/** Returns the root bone name of the bone chain. */
|
|
113
|
+
get_root_bone_name(index: int): string;
|
|
114
|
+
/** Returns the rotation axis of the bone chain. */
|
|
115
|
+
get_rotation_axis(index: int): int;
|
|
116
|
+
/**
|
|
117
|
+
* Returns the rotation axis vector of the bone chain. This vector represents the axis around which the bone chain can rotate. It is determined based on the rotation axis set for the bone chain.
|
|
118
|
+
* If {@link get_rotation_axis} is {@link SkeletonModifier3D.ROTATION_AXIS_ALL}, this method returns `Vector3(0, 0, 0)`.
|
|
119
|
+
*/
|
|
120
|
+
get_rotation_axis_vector(index: int): Vector3;
|
|
121
|
+
/** Returns the stiffness force of the bone chain. */
|
|
122
|
+
get_stiffness(index: int): float;
|
|
123
|
+
/** Returns the stiffness force damping curve of the bone chain. */
|
|
124
|
+
get_stiffness_damping_curve(index: int): Curve | null;
|
|
125
|
+
/** Returns `true` if the config can be edited individually for each joint. */
|
|
126
|
+
is_config_individual(index: int): boolean;
|
|
127
|
+
/** Returns `true` if the end bone is extended to have a tail. */
|
|
128
|
+
is_end_bone_extended(index: int): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Resets a simulating state with respect to the current bone pose.
|
|
131
|
+
* It is useful to prevent the simulation result getting violent. For example, calling this immediately after a call to {@link AnimationPlayer.play} without a fading, or within the previous {@link SkeletonModifier3D.modification_processed} signal if it's condition changes significantly.
|
|
132
|
+
*/
|
|
133
|
+
reset(): void;
|
|
134
|
+
/** Sets the center bone index of the bone chain. */
|
|
135
|
+
set_center_bone(index: int, bone: int): void;
|
|
136
|
+
/** Sets the center bone name of the bone chain. */
|
|
137
|
+
set_center_bone_name(index: int, bone_name: string | NodePath): void;
|
|
138
|
+
/**
|
|
139
|
+
* Sets what the center originates from in the bone chain.
|
|
140
|
+
* Bone movement is calculated based on the difference in relative distance between center and bone in the previous and next frames.
|
|
141
|
+
* For example, if the parent {@link Skeleton3D} is used as the center, the bones are considered to have not moved if the {@link Skeleton3D} moves in the world.
|
|
142
|
+
* In this case, only a change in the bone pose is considered to be a bone movement.
|
|
143
|
+
*/
|
|
144
|
+
set_center_from(index: int, center_from: int): void;
|
|
145
|
+
/** Sets the center node path of the bone chain. */
|
|
146
|
+
set_center_node(index: int, node_path: NodePath | string): void;
|
|
147
|
+
/**
|
|
148
|
+
* Sets the number of collisions in the collision list at `index` in the settings when {@link are_all_child_collisions_enabled} is `false`.
|
|
149
|
+
*/
|
|
150
|
+
set_collision_count(index: int, count: int): void;
|
|
151
|
+
/**
|
|
152
|
+
* Sets the node path of the {@link SpringBoneCollision3D} at `collision` in the bone chain's collision list when {@link are_all_child_collisions_enabled} is `false`.
|
|
153
|
+
*/
|
|
154
|
+
set_collision_path(index: int, collision: int, node_path: NodePath | string): void;
|
|
155
|
+
/**
|
|
156
|
+
* Sets the drag force of the bone chain. The greater the value, the more suppressed the wiggling.
|
|
157
|
+
* The value is scaled by {@link set_drag_damping_curve} and cached in each joint setting in the joint list.
|
|
158
|
+
*/
|
|
159
|
+
set_drag(index: int, drag: float): void;
|
|
160
|
+
/** Sets the drag force damping curve of the bone chain. */
|
|
161
|
+
set_drag_damping_curve(index: int, curve: Curve): void;
|
|
162
|
+
/**
|
|
163
|
+
* If `enabled` is `true`, all child {@link SpringBoneCollision3D}s are colliding and {@link set_exclude_collision_path} is enabled as an exclusion list at `index` in the settings.
|
|
164
|
+
* If `enabled` is `false`, you need to manually register all valid collisions with {@link set_collision_path}.
|
|
165
|
+
*/
|
|
166
|
+
set_enable_all_child_collisions(index: int, enabled: boolean): void;
|
|
167
|
+
/** Sets the end bone index of the bone chain. */
|
|
168
|
+
set_end_bone(index: int, bone: int): void;
|
|
169
|
+
/** Sets the end bone tail direction of the bone chain when {@link is_end_bone_extended} is `true`. */
|
|
170
|
+
set_end_bone_direction(index: int, bone_direction: int): void;
|
|
171
|
+
/** Sets the end bone tail length of the bone chain when {@link is_end_bone_extended} is `true`. */
|
|
172
|
+
set_end_bone_length(index: int, length: float): void;
|
|
173
|
+
/**
|
|
174
|
+
* Sets the end bone name of the bone chain.
|
|
175
|
+
* **Note:** End bone must be the root bone or a child of the root bone. If they are the same, the tail must be extended by {@link set_extend_end_bone} to jiggle the bone.
|
|
176
|
+
*/
|
|
177
|
+
set_end_bone_name(index: int, bone_name: string | NodePath): void;
|
|
178
|
+
/**
|
|
179
|
+
* Sets the number of exclude collisions in the exclude collision list at `index` in the settings when {@link are_all_child_collisions_enabled} is `true`.
|
|
180
|
+
*/
|
|
181
|
+
set_exclude_collision_count(index: int, count: int): void;
|
|
182
|
+
/**
|
|
183
|
+
* Sets the node path of the {@link SpringBoneCollision3D} at `collision` in the bone chain's exclude collision list when {@link are_all_child_collisions_enabled} is `true`.
|
|
184
|
+
*/
|
|
185
|
+
set_exclude_collision_path(index: int, collision: int, node_path: NodePath | string): void;
|
|
186
|
+
/**
|
|
187
|
+
* If `enabled` is `true`, the end bone is extended to have a tail.
|
|
188
|
+
* The extended tail config is allocated to the last element in the joint list. In other words, if you set `enabled` to `false`, the config of the last element in the joint list has no effect in the simulated result.
|
|
189
|
+
*/
|
|
190
|
+
set_extend_end_bone(index: int, enabled: boolean): void;
|
|
191
|
+
/**
|
|
192
|
+
* Sets the gravity amount of the bone chain. This value is not an acceleration, but a constant velocity of movement in {@link set_gravity_direction}.
|
|
193
|
+
* If `gravity` is not `0`, the modified pose will not return to the original pose since it is always affected by gravity.
|
|
194
|
+
* The value is scaled by {@link set_gravity_damping_curve} and cached in each joint setting in the joint list.
|
|
195
|
+
*/
|
|
196
|
+
set_gravity(index: int, gravity: float): void;
|
|
197
|
+
/** Sets the gravity amount damping curve of the bone chain. */
|
|
198
|
+
set_gravity_damping_curve(index: int, curve: Curve): void;
|
|
199
|
+
/**
|
|
200
|
+
* Sets the gravity direction of the bone chain. This value is internally normalized and then multiplied by {@link set_gravity}.
|
|
201
|
+
* The value is cached in each joint setting in the joint list.
|
|
202
|
+
*/
|
|
203
|
+
set_gravity_direction(index: int, gravity_direction: Vector3 | Vector3i): void;
|
|
204
|
+
/** If `enabled` is `true`, the config can be edited individually for each joint. */
|
|
205
|
+
set_individual_config(index: int, enabled: boolean): void;
|
|
206
|
+
/**
|
|
207
|
+
* Sets the drag force at `joint` in the bone chain's joint list when {@link is_config_individual} is `true`.
|
|
208
|
+
*/
|
|
209
|
+
set_joint_drag(index: int, joint: int, drag: float): void;
|
|
210
|
+
/**
|
|
211
|
+
* Sets the gravity amount at `joint` in the bone chain's joint list when {@link is_config_individual} is `true`.
|
|
212
|
+
*/
|
|
213
|
+
set_joint_gravity(index: int, joint: int, gravity: float): void;
|
|
214
|
+
/**
|
|
215
|
+
* Sets the gravity direction at `joint` in the bone chain's joint list when {@link is_config_individual} is `true`.
|
|
216
|
+
*/
|
|
217
|
+
set_joint_gravity_direction(index: int, joint: int, gravity_direction: Vector3 | Vector3i): void;
|
|
218
|
+
/**
|
|
219
|
+
* Sets the joint radius at `joint` in the bone chain's joint list when {@link is_config_individual} is `true`.
|
|
220
|
+
*/
|
|
221
|
+
set_joint_radius(index: int, joint: int, radius: float): void;
|
|
222
|
+
/**
|
|
223
|
+
* Sets the rotation axis at `joint` in the bone chain's joint list when {@link is_config_individual} is `true`.
|
|
224
|
+
* The axes are based on the {@link Skeleton3D.get_bone_rest}'s space, if `axis` is {@link SkeletonModifier3D.ROTATION_AXIS_CUSTOM}, you can specify any axis.
|
|
225
|
+
* **Note:** The rotation axis and the forward vector shouldn't be colinear to avoid unintended rotation since {@link SpringBoneSimulator3D} does not factor in twisting forces.
|
|
226
|
+
*/
|
|
227
|
+
set_joint_rotation_axis(index: int, joint: int, axis: int): void;
|
|
228
|
+
/**
|
|
229
|
+
* Sets the rotation axis vector for the specified joint in the bone chain.
|
|
230
|
+
* This vector is normalized by an internal process and represents the axis around which the bone chain can rotate.
|
|
231
|
+
* If the vector length is `0`, it is considered synonymous with {@link SkeletonModifier3D.ROTATION_AXIS_ALL}.
|
|
232
|
+
*/
|
|
233
|
+
set_joint_rotation_axis_vector(index: int, joint: int, vector: Vector3 | Vector3i): void;
|
|
234
|
+
/**
|
|
235
|
+
* Sets the stiffness force at `joint` in the bone chain's joint list when {@link is_config_individual} is `true`.
|
|
236
|
+
*/
|
|
237
|
+
set_joint_stiffness(index: int, joint: int, stiffness: float): void;
|
|
238
|
+
/**
|
|
239
|
+
* Sets the joint radius of the bone chain. It is used to move and slide with the {@link SpringBoneCollision3D} in the collision list.
|
|
240
|
+
* The value is scaled by {@link set_radius_damping_curve} and cached in each joint setting in the joint list.
|
|
241
|
+
*/
|
|
242
|
+
set_radius(index: int, radius: float): void;
|
|
243
|
+
/** Sets the joint radius damping curve of the bone chain. */
|
|
244
|
+
set_radius_damping_curve(index: int, curve: Curve): void;
|
|
245
|
+
/** Sets the root bone index of the bone chain. */
|
|
246
|
+
set_root_bone(index: int, bone: int): void;
|
|
247
|
+
/** Sets the root bone name of the bone chain. */
|
|
248
|
+
set_root_bone_name(index: int, bone_name: string | NodePath): void;
|
|
249
|
+
/**
|
|
250
|
+
* Sets the rotation axis of the bone chain. If set to a specific axis, it acts like a hinge joint. The value is cached in each joint setting in the joint list.
|
|
251
|
+
* The axes are based on the {@link Skeleton3D.get_bone_rest}'s space, if `axis` is {@link SkeletonModifier3D.ROTATION_AXIS_CUSTOM}, you can specify any axis.
|
|
252
|
+
* **Note:** The rotation axis vector and the forward vector shouldn't be colinear to avoid unintended rotation since {@link SpringBoneSimulator3D} does not factor in twisting forces.
|
|
253
|
+
*/
|
|
254
|
+
set_rotation_axis(index: int, axis: int): void;
|
|
255
|
+
/**
|
|
256
|
+
* Sets the rotation axis vector of the bone chain. The value is cached in each joint setting in the joint list.
|
|
257
|
+
* This vector is normalized by an internal process and represents the axis around which the bone chain can rotate.
|
|
258
|
+
* If the vector length is `0`, it is considered synonymous with {@link SkeletonModifier3D.ROTATION_AXIS_ALL}.
|
|
259
|
+
*/
|
|
260
|
+
set_rotation_axis_vector(index: int, vector: Vector3 | Vector3i): void;
|
|
261
|
+
/**
|
|
262
|
+
* Sets the stiffness force of the bone chain. The greater the value, the faster it recovers to its initial pose.
|
|
263
|
+
* If `stiffness` is `0`, the modified pose will not return to the original pose.
|
|
264
|
+
* The value is scaled by {@link set_stiffness_damping_curve} and cached in each joint setting in the joint list.
|
|
265
|
+
*/
|
|
266
|
+
set_stiffness(index: int, stiffness: float): void;
|
|
267
|
+
/** Sets the stiffness force damping curve of the bone chain. */
|
|
268
|
+
set_stiffness_damping_curve(index: int, curve: Curve): void;
|
|
269
|
+
|
|
270
|
+
// enum CenterFrom
|
|
271
|
+
/** The world origin is defined as center. */
|
|
272
|
+
static readonly CENTER_FROM_WORLD_ORIGIN: int;
|
|
273
|
+
/**
|
|
274
|
+
* The {@link Node3D} specified by {@link set_center_node} is defined as center.
|
|
275
|
+
* If {@link Node3D} is not found, the parent {@link Skeleton3D} is treated as center.
|
|
276
|
+
*/
|
|
277
|
+
static readonly CENTER_FROM_NODE: int;
|
|
278
|
+
/**
|
|
279
|
+
* The bone pose origin of the parent {@link Skeleton3D} specified by {@link set_center_bone} is defined as center.
|
|
280
|
+
* If {@link Node3D} is not found, the parent {@link Skeleton3D} is treated as center.
|
|
281
|
+
*/
|
|
282
|
+
static readonly CENTER_FROM_BONE: int;
|
|
283
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** General-purpose sprite node. */
|
|
5
|
+
declare class Sprite2D extends Node2D {
|
|
6
|
+
/**
|
|
7
|
+
* If `true`, texture is centered.
|
|
8
|
+
* **Note:** For games with a pixel art aesthetic, textures may appear deformed when centered. This is caused by their position being between pixels. To prevent this, set this property to `false`, or consider enabling {@link ProjectSettings.rendering/2d/snap/snap_2d_vertices_to_pixel} and {@link ProjectSettings.rendering/2d/snap/snap_2d_transforms_to_pixel}.
|
|
9
|
+
*/
|
|
10
|
+
centered: boolean;
|
|
11
|
+
/** If `true`, texture is flipped horizontally. */
|
|
12
|
+
flip_h: boolean;
|
|
13
|
+
/** If `true`, texture is flipped vertically. */
|
|
14
|
+
flip_v: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Current frame to display from sprite sheet. {@link hframes} or {@link vframes} must be greater than 1. This property is automatically adjusted when {@link hframes} or {@link vframes} are changed to keep pointing to the same visual frame (same column and row). If that's impossible, this value is reset to `0`.
|
|
17
|
+
*/
|
|
18
|
+
frame: int;
|
|
19
|
+
/**
|
|
20
|
+
* Coordinates of the frame to display from sprite sheet. This is as an alias for the {@link frame} property. {@link hframes} or {@link vframes} must be greater than 1.
|
|
21
|
+
*/
|
|
22
|
+
frame_coords: Vector2i;
|
|
23
|
+
/**
|
|
24
|
+
* The number of columns in the sprite sheet. When this property is changed, {@link frame} is adjusted so that the same visual frame is maintained (same row and column). If that's impossible, {@link frame} is reset to `0`.
|
|
25
|
+
*/
|
|
26
|
+
hframes: int;
|
|
27
|
+
/**
|
|
28
|
+
* The texture's drawing offset.
|
|
29
|
+
* **Note:** When you increase {@link offset}.y in Sprite2D, the sprite moves downward on screen (i.e., +Y is down).
|
|
30
|
+
*/
|
|
31
|
+
offset: Vector2;
|
|
32
|
+
/**
|
|
33
|
+
* If `true`, texture is cut from a larger atlas texture. See {@link region_rect}.
|
|
34
|
+
* **Note:** When using a custom {@link Shader} on a {@link Sprite2D}, the `UV` shader built-in will refer to the entire texture space. Use the `REGION_RECT` built-in to get the currently visible region defined in {@link region_rect} instead. See CanvasItem shaders ($DOCS_URL/tutorials/shaders/shader_reference/canvas_item_shader.html) for details.
|
|
35
|
+
*/
|
|
36
|
+
region_enabled: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If `true`, the area outside of the {@link region_rect} is clipped to avoid bleeding of the surrounding texture pixels. {@link region_enabled} must be `true`.
|
|
39
|
+
*/
|
|
40
|
+
region_filter_clip_enabled: boolean;
|
|
41
|
+
/** The region of the atlas texture to display. {@link region_enabled} must be `true`. */
|
|
42
|
+
region_rect: Rect2;
|
|
43
|
+
/** {@link Texture2D} object to draw. */
|
|
44
|
+
texture: Texture2D | null;
|
|
45
|
+
/**
|
|
46
|
+
* The number of rows in the sprite sheet. When this property is changed, {@link frame} is adjusted so that the same visual frame is maintained (same row and column). If that's impossible, {@link frame} is reset to `0`.
|
|
47
|
+
*/
|
|
48
|
+
vframes: int;
|
|
49
|
+
set_centered(value: boolean): void;
|
|
50
|
+
is_centered(): boolean;
|
|
51
|
+
set_flip_h(value: boolean): void;
|
|
52
|
+
is_flipped_h(): boolean;
|
|
53
|
+
set_flip_v(value: boolean): void;
|
|
54
|
+
is_flipped_v(): boolean;
|
|
55
|
+
set_frame(value: int): void;
|
|
56
|
+
get_frame(): int;
|
|
57
|
+
set_frame_coords(value: Vector2i | Vector2): void;
|
|
58
|
+
get_frame_coords(): Vector2i;
|
|
59
|
+
set_hframes(value: int): void;
|
|
60
|
+
get_hframes(): int;
|
|
61
|
+
set_offset(value: Vector2 | Vector2i): void;
|
|
62
|
+
get_offset(): Vector2;
|
|
63
|
+
set_region_enabled(value: boolean): void;
|
|
64
|
+
is_region_enabled(): boolean;
|
|
65
|
+
set_region_filter_clip_enabled(value: boolean): void;
|
|
66
|
+
is_region_filter_clip_enabled(): boolean;
|
|
67
|
+
set_region_rect(value: Rect2 | Rect2i): void;
|
|
68
|
+
get_region_rect(): Rect2;
|
|
69
|
+
set_texture(value: Texture2D | null): void;
|
|
70
|
+
get_texture(): Texture2D | null;
|
|
71
|
+
set_vframes(value: int): void;
|
|
72
|
+
get_vframes(): int;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Returns a {@link Rect2} representing the Sprite2D's boundary in local coordinates.
|
|
76
|
+
* **Example:** Detect if the Sprite2D was clicked:
|
|
77
|
+
*/
|
|
78
|
+
get_rect(): Rect2;
|
|
79
|
+
/**
|
|
80
|
+
* Returns `true` if the pixel at the given position is opaque, `false` otherwise. Also returns `false` if the given position is out of bounds or this sprite's {@link texture} is `null`. `pos` is in local coordinates.
|
|
81
|
+
*/
|
|
82
|
+
is_pixel_opaque(pos: Vector2 | Vector2i): boolean;
|
|
83
|
+
|
|
84
|
+
/** Emitted when the {@link frame} changes. */
|
|
85
|
+
frame_changed: Signal<[]>;
|
|
86
|
+
/** Emitted when the {@link texture} changes. */
|
|
87
|
+
texture_changed: Signal<[]>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** 2D sprite node in a 3D world. */
|
|
5
|
+
declare class Sprite3D extends SpriteBase3D {
|
|
6
|
+
/**
|
|
7
|
+
* Current frame to display from sprite sheet. {@link hframes} or {@link vframes} must be greater than 1. This property is automatically adjusted when {@link hframes} or {@link vframes} are changed to keep pointing to the same visual frame (same column and row). If that's impossible, this value is reset to `0`.
|
|
8
|
+
*/
|
|
9
|
+
frame: int;
|
|
10
|
+
/**
|
|
11
|
+
* Coordinates of the frame to display from sprite sheet. This is as an alias for the {@link frame} property. {@link hframes} or {@link vframes} must be greater than 1.
|
|
12
|
+
*/
|
|
13
|
+
frame_coords: Vector2i;
|
|
14
|
+
/**
|
|
15
|
+
* The number of columns in the sprite sheet. When this property is changed, {@link frame} is adjusted so that the same visual frame is maintained (same row and column). If that's impossible, {@link frame} is reset to `0`.
|
|
16
|
+
*/
|
|
17
|
+
hframes: int;
|
|
18
|
+
/**
|
|
19
|
+
* If `true`, the sprite will use {@link region_rect} and display only the specified part of its texture.
|
|
20
|
+
*/
|
|
21
|
+
region_enabled: boolean;
|
|
22
|
+
/** The region of the atlas texture to display. {@link region_enabled} must be `true`. */
|
|
23
|
+
region_rect: Rect2;
|
|
24
|
+
/**
|
|
25
|
+
* {@link Texture2D} object to draw. If {@link GeometryInstance3D.material_override} is used, this will be overridden. The size information is still used.
|
|
26
|
+
*/
|
|
27
|
+
texture: Texture2D | null;
|
|
28
|
+
/**
|
|
29
|
+
* The number of rows in the sprite sheet. When this property is changed, {@link frame} is adjusted so that the same visual frame is maintained (same row and column). If that's impossible, {@link frame} is reset to `0`.
|
|
30
|
+
*/
|
|
31
|
+
vframes: int;
|
|
32
|
+
set_frame(value: int): void;
|
|
33
|
+
get_frame(): int;
|
|
34
|
+
set_frame_coords(value: Vector2i | Vector2): void;
|
|
35
|
+
get_frame_coords(): Vector2i;
|
|
36
|
+
set_hframes(value: int): void;
|
|
37
|
+
get_hframes(): int;
|
|
38
|
+
set_region_enabled(value: boolean): void;
|
|
39
|
+
is_region_enabled(): boolean;
|
|
40
|
+
set_region_rect(value: Rect2 | Rect2i): void;
|
|
41
|
+
get_region_rect(): Rect2;
|
|
42
|
+
set_texture(value: Texture2D | null): void;
|
|
43
|
+
get_texture(): Texture2D | null;
|
|
44
|
+
set_vframes(value: int): void;
|
|
45
|
+
get_vframes(): int;
|
|
46
|
+
|
|
47
|
+
/** Emitted when the {@link frame} changes. */
|
|
48
|
+
frame_changed: Signal<[]>;
|
|
49
|
+
/** Emitted when the {@link texture} changes. */
|
|
50
|
+
texture_changed: Signal<[]>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** 2D sprite node in 3D environment. */
|
|
5
|
+
declare class SpriteBase3D extends GeometryInstance3D {
|
|
6
|
+
/** Threshold at which antialiasing will be applied on the alpha channel. */
|
|
7
|
+
alpha_antialiasing_edge: float;
|
|
8
|
+
/** The type of alpha antialiasing to apply. */
|
|
9
|
+
alpha_antialiasing_mode: int;
|
|
10
|
+
/** The alpha cutting mode to use for the sprite. */
|
|
11
|
+
alpha_cut: int;
|
|
12
|
+
/** The hashing scale for Alpha Hash. Recommended values between `0` and `2`. */
|
|
13
|
+
alpha_hash_scale: float;
|
|
14
|
+
/** Threshold at which the alpha scissor will discard values. */
|
|
15
|
+
alpha_scissor_threshold: float;
|
|
16
|
+
/** The direction in which the front of the texture faces. */
|
|
17
|
+
axis: int;
|
|
18
|
+
/**
|
|
19
|
+
* The billboard mode to use for the sprite.
|
|
20
|
+
* **Note:** When billboarding is enabled and the material also casts shadows, billboards will face **the** camera in the scene when rendering shadows. In scenes with multiple cameras, the intended shadow cannot be determined and this will result in undefined behavior. See GitHub Pull Request #72638 (https://github.com/godotengine/godot/pull/72638) for details.
|
|
21
|
+
*/
|
|
22
|
+
billboard: int;
|
|
23
|
+
/** If `true`, texture will be centered. */
|
|
24
|
+
centered: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If `true`, texture can be seen from the back as well, if `false`, it is invisible when looking at it from behind.
|
|
27
|
+
*/
|
|
28
|
+
double_sided: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, the texture is rendered at the same size regardless of distance. The texture's size on screen is the same as if the camera was `1.0` units away from the texture's origin, regardless of the actual distance from the camera. The {@link Camera3D}'s field of view (or {@link Camera3D.size} when in orthogonal/frustum mode) still affects the size the sprite is drawn at.
|
|
31
|
+
*/
|
|
32
|
+
fixed_size: boolean;
|
|
33
|
+
/** If `true`, texture is flipped horizontally. */
|
|
34
|
+
flip_h: boolean;
|
|
35
|
+
/** If `true`, texture is flipped vertically. */
|
|
36
|
+
flip_v: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* A color value used to *multiply* the texture's colors. Can be used for mood-coloring or to simulate the color of ambient light.
|
|
39
|
+
* **Note:** Unlike {@link CanvasItem.modulate} for 2D, colors with values above `1.0` (overbright) are not supported.
|
|
40
|
+
* **Note:** If a {@link GeometryInstance3D.material_override} is defined on the {@link SpriteBase3D}, the material override must be configured to take vertex colors into account for albedo. Otherwise, the color defined in {@link modulate} will be ignored. For a {@link BaseMaterial3D}, {@link BaseMaterial3D.vertex_color_use_as_albedo} must be `true`. For a {@link ShaderMaterial}, `ALBEDO *= COLOR.rgb;` must be inserted in the shader's `fragment()` function.
|
|
41
|
+
*/
|
|
42
|
+
modulate: Color;
|
|
43
|
+
/** If `true`, depth testing is disabled and the object will be drawn in render order. */
|
|
44
|
+
no_depth_test: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The texture's drawing offset.
|
|
47
|
+
* **Note:** When you increase {@link offset}.y in Sprite3D, the sprite moves upward in world space (i.e., +Y is up).
|
|
48
|
+
*/
|
|
49
|
+
offset: Vector2;
|
|
50
|
+
/** The size of one pixel's width on the sprite to scale it in 3D. */
|
|
51
|
+
pixel_size: float;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the render priority for the sprite. Higher priority objects will be sorted in front of lower priority objects.
|
|
54
|
+
* **Note:** This only applies if {@link alpha_cut} is set to {@link ALPHA_CUT_DISABLED} (default value).
|
|
55
|
+
* **Note:** This only applies to sorting of transparent objects. This will not impact how transparent objects are sorted relative to opaque objects. This is because opaque objects are not sorted, while transparent objects are sorted from back to front (subject to priority).
|
|
56
|
+
*/
|
|
57
|
+
render_priority: int;
|
|
58
|
+
/** If `true`, the {@link Light3D} in the {@link Environment} has effects on the sprite. */
|
|
59
|
+
shaded: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Filter flags for the texture.
|
|
62
|
+
* **Note:** Linear filtering may cause artifacts around the edges, which are especially noticeable on opaque textures. To prevent this, use textures with transparent or identical colors around the edges.
|
|
63
|
+
*/
|
|
64
|
+
texture_filter: int;
|
|
65
|
+
/**
|
|
66
|
+
* If `true`, the texture's transparency and the opacity are used to make those parts of the sprite invisible.
|
|
67
|
+
*/
|
|
68
|
+
transparent: boolean;
|
|
69
|
+
set_alpha_antialiasing_edge(value: float): void;
|
|
70
|
+
get_alpha_antialiasing_edge(): float;
|
|
71
|
+
set_alpha_antialiasing(value: int): void;
|
|
72
|
+
get_alpha_antialiasing(): int;
|
|
73
|
+
set_alpha_cut_mode(value: int): void;
|
|
74
|
+
get_alpha_cut_mode(): int;
|
|
75
|
+
set_alpha_hash_scale(value: float): void;
|
|
76
|
+
get_alpha_hash_scale(): float;
|
|
77
|
+
set_alpha_scissor_threshold(value: float): void;
|
|
78
|
+
get_alpha_scissor_threshold(): float;
|
|
79
|
+
set_axis(value: int): void;
|
|
80
|
+
get_axis(): int;
|
|
81
|
+
set_billboard_mode(value: int): void;
|
|
82
|
+
get_billboard_mode(): int;
|
|
83
|
+
set_centered(value: boolean): void;
|
|
84
|
+
is_centered(): boolean;
|
|
85
|
+
set_flip_h(value: boolean): void;
|
|
86
|
+
is_flipped_h(): boolean;
|
|
87
|
+
set_flip_v(value: boolean): void;
|
|
88
|
+
is_flipped_v(): boolean;
|
|
89
|
+
set_modulate(value: Color): void;
|
|
90
|
+
get_modulate(): Color;
|
|
91
|
+
set_offset(value: Vector2 | Vector2i): void;
|
|
92
|
+
get_offset(): Vector2;
|
|
93
|
+
set_pixel_size(value: float): void;
|
|
94
|
+
get_pixel_size(): float;
|
|
95
|
+
set_render_priority(value: int): void;
|
|
96
|
+
get_render_priority(): int;
|
|
97
|
+
set_texture_filter(value: int): void;
|
|
98
|
+
get_texture_filter(): int;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Returns a {@link TriangleMesh} with the sprite's vertices following its current configuration (such as its {@link axis} and {@link pixel_size}).
|
|
102
|
+
*/
|
|
103
|
+
generate_triangle_mesh(): TriangleMesh;
|
|
104
|
+
/** Returns the value of the specified flag. */
|
|
105
|
+
get_draw_flag(flag: int): boolean;
|
|
106
|
+
/** Returns the rectangle representing this sprite. */
|
|
107
|
+
get_item_rect(): Rect2;
|
|
108
|
+
/** If `true`, the specified flag will be enabled. */
|
|
109
|
+
set_draw_flag(flag: int, enabled: boolean): void;
|
|
110
|
+
|
|
111
|
+
// enum DrawFlags
|
|
112
|
+
/**
|
|
113
|
+
* If set, the texture's transparency and the opacity are used to make those parts of the sprite invisible.
|
|
114
|
+
*/
|
|
115
|
+
static readonly FLAG_TRANSPARENT: int;
|
|
116
|
+
/** If set, lights in the environment affect the sprite. */
|
|
117
|
+
static readonly FLAG_SHADED: int;
|
|
118
|
+
/**
|
|
119
|
+
* If set, texture can be seen from the back as well. If not, the texture is invisible when looking at it from behind.
|
|
120
|
+
*/
|
|
121
|
+
static readonly FLAG_DOUBLE_SIDED: int;
|
|
122
|
+
/**
|
|
123
|
+
* Disables the depth test, so this object is drawn on top of all others. However, objects drawn after it in the draw order may cover it.
|
|
124
|
+
*/
|
|
125
|
+
static readonly FLAG_DISABLE_DEPTH_TEST: int;
|
|
126
|
+
/** Label is scaled by depth so that it always appears the same size on screen. */
|
|
127
|
+
static readonly FLAG_FIXED_SIZE: int;
|
|
128
|
+
/** Represents the size of the {@link DrawFlags} enum. */
|
|
129
|
+
static readonly FLAG_MAX: int;
|
|
130
|
+
// enum AlphaCutMode
|
|
131
|
+
/**
|
|
132
|
+
* This mode performs standard alpha blending. It can display translucent areas, but transparency sorting issues may be visible when multiple transparent materials are overlapping.
|
|
133
|
+
*/
|
|
134
|
+
static readonly ALPHA_CUT_DISABLED: int;
|
|
135
|
+
/**
|
|
136
|
+
* This mode only allows fully transparent or fully opaque pixels. Harsh edges will be visible unless some form of screen-space antialiasing is enabled (see {@link ProjectSettings.rendering/anti_aliasing/quality/screen_space_aa}). On the bright side, this mode doesn't suffer from transparency sorting issues when multiple transparent materials are overlapping. This mode is also known as *alpha testing* or *1-bit transparency*.
|
|
137
|
+
*/
|
|
138
|
+
static readonly ALPHA_CUT_DISCARD: int;
|
|
139
|
+
/**
|
|
140
|
+
* This mode draws fully opaque pixels in the depth prepass. This is slower than {@link ALPHA_CUT_DISABLED} or {@link ALPHA_CUT_DISCARD}, but it allows displaying translucent areas and smooth edges while using proper sorting.
|
|
141
|
+
*/
|
|
142
|
+
static readonly ALPHA_CUT_OPAQUE_PREPASS: int;
|
|
143
|
+
/**
|
|
144
|
+
* This mode draws cuts off all values below a spatially-deterministic threshold, the rest will remain opaque.
|
|
145
|
+
*/
|
|
146
|
+
static readonly ALPHA_CUT_HASH: int;
|
|
147
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** Sprite frame library for AnimatedSprite2D and AnimatedSprite3D. */
|
|
5
|
+
declare class SpriteFrames extends Resource {
|
|
6
|
+
/** Adds a new `anim` animation to the library. */
|
|
7
|
+
add_animation(anim: string): void;
|
|
8
|
+
/**
|
|
9
|
+
* Adds a frame to the `anim` animation. If `at_position` is `-1`, the frame will be added to the end of the animation. `duration` specifies the relative duration, see {@link get_frame_duration} for details.
|
|
10
|
+
*/
|
|
11
|
+
add_frame(anim: string, texture: Texture2D, duration?: float, at_position?: int): void;
|
|
12
|
+
/** Removes all frames from the `anim` animation. */
|
|
13
|
+
clear(anim: string): void;
|
|
14
|
+
/** Removes all animations. An empty `default` animation will be created. */
|
|
15
|
+
clear_all(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Duplicates the animation `anim_from` to a new animation named `anim_to`. Fails if `anim_to` already exists, or if `anim_from` does not exist.
|
|
18
|
+
*/
|
|
19
|
+
duplicate_animation(anim_from: string, anim_to: string): void;
|
|
20
|
+
/**
|
|
21
|
+
* Returns `true` if the given animation is configured to loop when it finishes playing. Otherwise, returns `false`.
|
|
22
|
+
*/
|
|
23
|
+
get_animation_loop(anim: string): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Returns an array containing the names associated to each animation. Values are placed in alphabetical order.
|
|
26
|
+
*/
|
|
27
|
+
get_animation_names(): PackedStringArray;
|
|
28
|
+
/** Returns the speed in frames per second for the `anim` animation. */
|
|
29
|
+
get_animation_speed(anim: string): float;
|
|
30
|
+
/** Returns the number of frames for the `anim` animation. */
|
|
31
|
+
get_frame_count(anim: string): int;
|
|
32
|
+
/**
|
|
33
|
+
* Returns a relative duration of the frame `idx` in the `anim` animation (defaults to `1.0`). For example, a frame with a duration of `2.0` is displayed twice as long as a frame with a duration of `1.0`. You can calculate the absolute duration (in seconds) of a frame using the following formula:
|
|
34
|
+
* In this example, `playing_speed` refers to either {@link AnimatedSprite2D.get_playing_speed} or {@link AnimatedSprite3D.get_playing_speed}.
|
|
35
|
+
*/
|
|
36
|
+
get_frame_duration(anim: string, idx: int): float;
|
|
37
|
+
/** Returns the texture of the frame `idx` in the `anim` animation. */
|
|
38
|
+
get_frame_texture(anim: string, idx: int): Texture2D | null;
|
|
39
|
+
/** Returns `true` if the `anim` animation exists. */
|
|
40
|
+
has_animation(anim: string): boolean;
|
|
41
|
+
/** Removes the `anim` animation. */
|
|
42
|
+
remove_animation(anim: string): void;
|
|
43
|
+
/** Removes the `anim` animation's frame `idx`. */
|
|
44
|
+
remove_frame(anim: string, idx: int): void;
|
|
45
|
+
/** Changes the `anim` animation's name to `newname`. */
|
|
46
|
+
rename_animation(anim: string, newname: string): void;
|
|
47
|
+
/**
|
|
48
|
+
* If `loop` is `true`, the `anim` animation will loop when it reaches the end, or the start if it is played in reverse.
|
|
49
|
+
*/
|
|
50
|
+
set_animation_loop(anim: string, loop: boolean): void;
|
|
51
|
+
/** Sets the speed for the `anim` animation in frames per second. */
|
|
52
|
+
set_animation_speed(anim: string, fps: float): void;
|
|
53
|
+
/**
|
|
54
|
+
* Sets the `texture` and the `duration` of the frame `idx` in the `anim` animation. `duration` specifies the relative duration, see {@link get_frame_duration} for details.
|
|
55
|
+
*/
|
|
56
|
+
set_frame(anim: string, idx: int, texture: Texture2D, duration?: float): void;
|
|
57
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A 2D physics body that can't be moved by external forces. When moved manually, it doesn't affect other bodies in its path.
|
|
6
|
+
*/
|
|
7
|
+
declare class StaticBody2D extends PhysicsBody2D {
|
|
8
|
+
/**
|
|
9
|
+
* The body's constant angular velocity. This does not rotate the body, but affects touching bodies, as if it were rotating.
|
|
10
|
+
*/
|
|
11
|
+
constant_angular_velocity: float;
|
|
12
|
+
/**
|
|
13
|
+
* The body's constant linear velocity. This does not move the body, but affects touching bodies, as if it were moving.
|
|
14
|
+
*/
|
|
15
|
+
constant_linear_velocity: Vector2;
|
|
16
|
+
/**
|
|
17
|
+
* The physics material override for the body.
|
|
18
|
+
* If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one.
|
|
19
|
+
*/
|
|
20
|
+
physics_material_override: PhysicsMaterial | null;
|
|
21
|
+
set_constant_angular_velocity(value: float): void;
|
|
22
|
+
get_constant_angular_velocity(): float;
|
|
23
|
+
set_constant_linear_velocity(value: Vector2 | Vector2i): void;
|
|
24
|
+
get_constant_linear_velocity(): Vector2;
|
|
25
|
+
set_physics_material_override(value: PhysicsMaterial | null): void;
|
|
26
|
+
get_physics_material_override(): PhysicsMaterial | null;
|
|
27
|
+
}
|