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,1125 @@
|
|
|
1
|
+
// AUTO-GENERATED from Godot class documentation.
|
|
2
|
+
// Manual overrides applied from typings-overrides/*.d.ts
|
|
3
|
+
|
|
4
|
+
/** Base class for all GUI controls. Adapts its position and size based on its parent control. */
|
|
5
|
+
declare class Control extends CanvasItem {
|
|
6
|
+
/** The paths to the nodes which are controlled by this node. */
|
|
7
|
+
accessibility_controls_nodes: Array<NodePath>;
|
|
8
|
+
/** The paths to the nodes which are describing this node. */
|
|
9
|
+
accessibility_described_by_nodes: Array<NodePath>;
|
|
10
|
+
/** The human-readable node description that is reported to assistive apps. */
|
|
11
|
+
accessibility_description: string;
|
|
12
|
+
/** The paths to the nodes which this node flows into. */
|
|
13
|
+
accessibility_flow_to_nodes: Array<NodePath>;
|
|
14
|
+
/** The paths to the nodes which label this node. */
|
|
15
|
+
accessibility_labeled_by_nodes: Array<NodePath>;
|
|
16
|
+
/**
|
|
17
|
+
* The mode with which a live region updates. A live region is a {@link Node} that is updated as a result of an external event when the user's focus may be elsewhere.
|
|
18
|
+
*/
|
|
19
|
+
accessibility_live: int;
|
|
20
|
+
/** The human-readable node name that is reported to assistive apps. */
|
|
21
|
+
accessibility_name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Anchors the bottom edge of the node to the origin, the center, or the end of its parent control. It changes how the bottom offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
24
|
+
*/
|
|
25
|
+
anchor_bottom: float;
|
|
26
|
+
/**
|
|
27
|
+
* Anchors the left edge of the node to the origin, the center or the end of its parent control. It changes how the left offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
28
|
+
*/
|
|
29
|
+
anchor_left: float;
|
|
30
|
+
/**
|
|
31
|
+
* Anchors the right edge of the node to the origin, the center or the end of its parent control. It changes how the right offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
32
|
+
*/
|
|
33
|
+
anchor_right: float;
|
|
34
|
+
/**
|
|
35
|
+
* Anchors the top edge of the node to the origin, the center or the end of its parent control. It changes how the top offset updates when the node moves or changes size. You can use one of the {@link Anchor} constants for convenience.
|
|
36
|
+
*/
|
|
37
|
+
anchor_top: float;
|
|
38
|
+
/**
|
|
39
|
+
* Toggles if any text should automatically change to its translated version depending on the current locale.
|
|
40
|
+
*/
|
|
41
|
+
auto_translate: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Enables whether rendering of {@link CanvasItem} based children should be clipped to this control's rectangle. If `true`, parts of a child which would be visibly outside of this control's rectangle will not be rendered and won't receive input.
|
|
44
|
+
*/
|
|
45
|
+
clip_contents: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The minimum size of the node's bounding rectangle. If you set it to a value greater than `(0, 0)`, the node's bounding rectangle will always have at least this size. Note that {@link Control} nodes have their internal minimum size returned by {@link get_minimum_size}. It depends on the control's contents, like text, textures, or style boxes. The actual minimum size is the maximum value of this property and the internal minimum size (see {@link get_combined_minimum_size}).
|
|
48
|
+
*/
|
|
49
|
+
custom_minimum_size: Vector2;
|
|
50
|
+
/**
|
|
51
|
+
* Determines which controls can be focused together with {@link focus_mode}. See {@link get_focus_mode_with_override}. Since the default behavior is {@link FOCUS_BEHAVIOR_INHERITED}, this can be used to prevent all children controls from getting focused.
|
|
52
|
+
*/
|
|
53
|
+
focus_behavior_recursive: int;
|
|
54
|
+
/**
|
|
55
|
+
* Determines which controls can be focused. Only one control can be focused at a time, and the focused control will receive keyboard, gamepad, and mouse events in {@link _gui_input}. Use {@link get_focus_mode_with_override} to determine if a control can grab focus, since {@link focus_behavior_recursive} also affects it. See also {@link grab_focus}.
|
|
56
|
+
*/
|
|
57
|
+
focus_mode: int;
|
|
58
|
+
/**
|
|
59
|
+
* Tells Godot which node it should give focus to if the user presses the down arrow on the keyboard or down on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/ui_down} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the bottom of this one.
|
|
60
|
+
*/
|
|
61
|
+
focus_neighbor_bottom: NodePath;
|
|
62
|
+
/**
|
|
63
|
+
* Tells Godot which node it should give focus to if the user presses the left arrow on the keyboard or left on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/ui_left} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the left of this one.
|
|
64
|
+
*/
|
|
65
|
+
focus_neighbor_left: NodePath;
|
|
66
|
+
/**
|
|
67
|
+
* Tells Godot which node it should give focus to if the user presses the right arrow on the keyboard or right on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/ui_right} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the right of this one.
|
|
68
|
+
*/
|
|
69
|
+
focus_neighbor_right: NodePath;
|
|
70
|
+
/**
|
|
71
|
+
* Tells Godot which node it should give focus to if the user presses the top arrow on the keyboard or top on a gamepad by default. You can change the key by editing the {@link ProjectSettings.input/ui_up} input action. The node must be a {@link Control}. If this property is not set, Godot will give focus to the closest {@link Control} to the top of this one.
|
|
72
|
+
*/
|
|
73
|
+
focus_neighbor_top: NodePath;
|
|
74
|
+
/**
|
|
75
|
+
* Tells Godot which node it should give focus to if the user presses `Tab` on a keyboard by default. You can change the key by editing the {@link ProjectSettings.input/ui_focus_next} input action.
|
|
76
|
+
* If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
|
77
|
+
*/
|
|
78
|
+
focus_next: NodePath;
|
|
79
|
+
/**
|
|
80
|
+
* Tells Godot which node it should give focus to if the user presses `Shift + Tab` on a keyboard by default. You can change the key by editing the {@link ProjectSettings.input/ui_focus_prev} input action.
|
|
81
|
+
* If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
|
82
|
+
*/
|
|
83
|
+
focus_previous: NodePath;
|
|
84
|
+
/** The node's global position, relative to the world (usually to the {@link CanvasLayer}). */
|
|
85
|
+
global_position: Vector2;
|
|
86
|
+
/**
|
|
87
|
+
* Controls the direction on the horizontal axis in which the control should grow if its horizontal minimum size is changed to be greater than its current size, as the control always has to be at least the minimum size.
|
|
88
|
+
*/
|
|
89
|
+
grow_horizontal: int;
|
|
90
|
+
/**
|
|
91
|
+
* Controls the direction on the vertical axis in which the control should grow if its vertical minimum size is changed to be greater than its current size, as the control always has to be at least the minimum size.
|
|
92
|
+
*/
|
|
93
|
+
grow_vertical: int;
|
|
94
|
+
/**
|
|
95
|
+
* Controls layout direction and text writing direction. Right-to-left layouts are necessary for certain languages (e.g. Arabic and Hebrew). See also {@link is_layout_rtl}.
|
|
96
|
+
*/
|
|
97
|
+
layout_direction: int;
|
|
98
|
+
/**
|
|
99
|
+
* If `true`, automatically converts code line numbers, list indices, {@link SpinBox} and {@link ProgressBar} values from the Western Arabic (0..9) to the numeral systems used in current locale.
|
|
100
|
+
* **Note:** Numbers within the text are not automatically converted, it can be done manually, using {@link TextServer.format_number}.
|
|
101
|
+
*/
|
|
102
|
+
localize_numeral_system: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Determines which controls can receive mouse input together with {@link mouse_filter}. See {@link get_mouse_filter_with_override}. Since the default behavior is {@link MOUSE_BEHAVIOR_INHERITED}, this can be used to prevent all children controls from receiving mouse input.
|
|
105
|
+
*/
|
|
106
|
+
mouse_behavior_recursive: int;
|
|
107
|
+
/**
|
|
108
|
+
* The default cursor shape for this control. Useful for Godot plugins and applications or games that use the system's mouse cursors.
|
|
109
|
+
* **Note:** On Linux, shapes may vary depending on the cursor theme of the system.
|
|
110
|
+
*/
|
|
111
|
+
mouse_default_cursor_shape: int;
|
|
112
|
+
/**
|
|
113
|
+
* Determines which controls will be able to receive mouse button input events through {@link _gui_input} and the {@link mouse_entered}, and {@link mouse_exited} signals. Also determines how these events should be propagated. See the constants to learn what each does. Use {@link get_mouse_filter_with_override} to determine if a control can receive mouse input, since {@link mouse_behavior_recursive} also affects it.
|
|
114
|
+
*/
|
|
115
|
+
mouse_filter: int;
|
|
116
|
+
/**
|
|
117
|
+
* When enabled, scroll wheel events processed by {@link _gui_input} will be passed to the parent control even if {@link mouse_filter} is set to {@link MOUSE_FILTER_STOP}.
|
|
118
|
+
* You should disable it on the root of your UI if you do not want scroll events to go to the {@link Node._unhandled_input} processing.
|
|
119
|
+
* **Note:** Because this property defaults to `true`, this allows nested scrollable containers to work out of the box.
|
|
120
|
+
*/
|
|
121
|
+
mouse_force_pass_scroll_events: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Distance between the node's bottom edge and its parent control, based on {@link anchor_bottom}.
|
|
124
|
+
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
125
|
+
*/
|
|
126
|
+
offset_bottom: float;
|
|
127
|
+
/**
|
|
128
|
+
* Distance between the node's left edge and its parent control, based on {@link anchor_left}.
|
|
129
|
+
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
130
|
+
*/
|
|
131
|
+
offset_left: float;
|
|
132
|
+
/**
|
|
133
|
+
* Distance between the node's right edge and its parent control, based on {@link anchor_right}.
|
|
134
|
+
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
135
|
+
*/
|
|
136
|
+
offset_right: float;
|
|
137
|
+
/**
|
|
138
|
+
* Distance between the node's top edge and its parent control, based on {@link anchor_top}.
|
|
139
|
+
* Offsets are often controlled by one or multiple parent {@link Container} nodes, so you should not modify them manually if your node is a direct child of a {@link Container}. Offsets update automatically when you move or resize the node.
|
|
140
|
+
*/
|
|
141
|
+
offset_top: float;
|
|
142
|
+
/**
|
|
143
|
+
* If `true`, applies all offset transform properties. Otherwise, no offset transform is applied and the properties have no effect.
|
|
144
|
+
*/
|
|
145
|
+
offset_transform_enabled: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Pivot used by {@link offset_transform_rotation} and {@link offset_transform_scale} in absolute units.
|
|
148
|
+
* The final pivot position is the combined value of this property and {@link offset_transform_pivot_ratio}.
|
|
149
|
+
* Has no effect unless {@link offset_transform_enabled} is `true`.
|
|
150
|
+
*/
|
|
151
|
+
offset_transform_pivot: Vector2;
|
|
152
|
+
/**
|
|
153
|
+
* Same as {@link offset_transform_pivot} but expressed in units relative to the {@link Control} {@link size} where `Vector2(0, 0)` is the top-left corner of this control, and `Vector2(1, 1)` is its bottom-right corner.
|
|
154
|
+
* The final pivot position is the combined value of this property and {@link offset_transform_pivot}.
|
|
155
|
+
* Has no effect unless {@link offset_transform_enabled} is `true`.
|
|
156
|
+
*/
|
|
157
|
+
offset_transform_pivot_ratio: Vector2;
|
|
158
|
+
/**
|
|
159
|
+
* Position offset in absolute units. The final offset is the combined value of this property and {@link offset_transform_position_ratio}.
|
|
160
|
+
* Has no effect unless {@link offset_transform_enabled} is `true`.
|
|
161
|
+
*/
|
|
162
|
+
offset_transform_position: Vector2;
|
|
163
|
+
/**
|
|
164
|
+
* Same as {@link offset_transform_position} but expressed in units relative to the {@link Control} {@link size} where `Vector2(0, 0)` is the top-left corner of this control, and `Vector2(1, 1)` is its bottom-right corner.
|
|
165
|
+
* The final offset is the combined value of this property and {@link offset_transform_position}.
|
|
166
|
+
* Has no effect unless {@link offset_transform_enabled} is `true`.
|
|
167
|
+
*/
|
|
168
|
+
offset_transform_position_ratio: Vector2;
|
|
169
|
+
/**
|
|
170
|
+
* Rotation offset. The rotation pivot is defined by {@link offset_transform_pivot} and {@link offset_transform_pivot_ratio}.
|
|
171
|
+
* Has no effect unless {@link offset_transform_enabled} is `true`.
|
|
172
|
+
*/
|
|
173
|
+
offset_transform_rotation: float;
|
|
174
|
+
/**
|
|
175
|
+
* Scale offset. The scale pivot is defined by {@link offset_transform_pivot} and {@link offset_transform_pivot_ratio}.
|
|
176
|
+
* Has no effect unless {@link offset_transform_enabled} is `true`.
|
|
177
|
+
*/
|
|
178
|
+
offset_transform_scale: Vector2;
|
|
179
|
+
/**
|
|
180
|
+
* If `true`, the offset transforms is only applied visually and does not affect input. In other words, this Control will still receive input events at its original location before the offset transform is applied.
|
|
181
|
+
* If `false`, the entire transform of this Control is affected and input events will register where the Control is visually.
|
|
182
|
+
* Has no effect unless {@link offset_transform_enabled} is `true`.
|
|
183
|
+
*/
|
|
184
|
+
offset_transform_visual_only: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* <member name="pivot_offset" type="Vector2" setter="set_pivot_offset" getter="get_pivot_offset" default="Vector2(0, 0)">
|
|
187
|
+
* By default, the node's pivot is its top-left corner. When you change its {@link rotation} or {@link scale}, it will rotate or scale around this pivot.
|
|
188
|
+
* The actual offset is the combined value of this property and {@link pivot_offset_ratio}.
|
|
189
|
+
*/
|
|
190
|
+
physics_interpolation_mode: int;
|
|
191
|
+
/**
|
|
192
|
+
* Same as {@link pivot_offset}, but expressed as uniform vector, where `Vector2(0, 0)` is the top-left corner of this control, and `Vector2(1, 1)` is its bottom-right corner. Set this property to `Vector2(0.5, 0.5)` to pivot around this control's center.
|
|
193
|
+
* The actual offset is the combined value of this property and {@link pivot_offset}.
|
|
194
|
+
*/
|
|
195
|
+
pivot_offset_ratio: Vector2;
|
|
196
|
+
/**
|
|
197
|
+
* The node's position, relative to its containing node. It corresponds to the rectangle's top-left corner. The property is not affected by {@link pivot_offset}.
|
|
198
|
+
*/
|
|
199
|
+
position: Vector2;
|
|
200
|
+
/**
|
|
201
|
+
* The node's rotation around its pivot, in radians. See {@link pivot_offset} to change the pivot's position.
|
|
202
|
+
* **Note:** This property is edited in the inspector in degrees. If you want to use degrees in a script, use {@link rotation_degrees}.
|
|
203
|
+
*/
|
|
204
|
+
rotation: float;
|
|
205
|
+
/** Helper property to access {@link rotation} in degrees instead of radians. */
|
|
206
|
+
rotation_degrees: float;
|
|
207
|
+
/**
|
|
208
|
+
* The node's scale, relative to its {@link size}. Change this property to scale the node around its {@link pivot_offset}. The Control's tooltip will also scale according to this value.
|
|
209
|
+
* **Note:** This property is mainly intended to be used for animation purposes. To support multiple resolutions in your project, use an appropriate viewport stretch mode as described in the documentation ($DOCS_URL/tutorials/rendering/multiple_resolutions.html) instead of scaling Controls individually.
|
|
210
|
+
* **Note:** {@link FontFile.oversampling} does *not* take {@link Control} {@link scale} into account. This means that scaling up/down will cause bitmap fonts and rasterized (non-MSDF) dynamic fonts to appear blurry or pixelated. To ensure text remains crisp regardless of scale, you can enable MSDF font rendering by enabling {@link ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field} (applies to the default project font only), or enabling **Multichannel Signed Distance Field** in the import options of a DynamicFont for custom fonts. On system fonts, {@link SystemFont.multichannel_signed_distance_field} can be enabled in the inspector.
|
|
211
|
+
* **Note:** If the Control node is a child of a {@link Container} node, the scale will be reset to `Vector2(1, 1)` when the scene is instantiated. To set the Control's scale when it's instantiated, wait for one frame using `await get_tree().process_frame` then set its {@link scale} property.
|
|
212
|
+
*/
|
|
213
|
+
scale: Vector2;
|
|
214
|
+
/**
|
|
215
|
+
* The {@link Node} which must be a parent of the focused {@link Control} for the shortcut to be activated. If `null`, the shortcut can be activated when any control is focused (a global shortcut). This allows shortcuts to be accepted only when the user has a certain area of the GUI focused.
|
|
216
|
+
*/
|
|
217
|
+
shortcut_context: Node | null;
|
|
218
|
+
/**
|
|
219
|
+
* The size of the node's bounding rectangle, in the node's coordinate system. {@link Container} nodes update this property automatically.
|
|
220
|
+
*/
|
|
221
|
+
size: Vector2;
|
|
222
|
+
/**
|
|
223
|
+
* Tells the parent {@link Container} nodes how they should resize and place the node on the X axis. Use a combination of the {@link SizeFlags} constants to change the flags. See the constants to learn what each does.
|
|
224
|
+
*/
|
|
225
|
+
size_flags_horizontal: int;
|
|
226
|
+
/**
|
|
227
|
+
* If the node and at least one of its neighbors uses the {@link SIZE_EXPAND} size flag, the parent {@link Container} will let it take more or less space depending on this property. If this node has a stretch ratio of 2 and its neighbor a ratio of 1, this node will take two thirds of the available space.
|
|
228
|
+
*/
|
|
229
|
+
size_flags_stretch_ratio: float;
|
|
230
|
+
/**
|
|
231
|
+
* Tells the parent {@link Container} nodes how they should resize and place the node on the Y axis. Use a combination of the {@link SizeFlags} constants to change the flags. See the constants to learn what each does.
|
|
232
|
+
*/
|
|
233
|
+
size_flags_vertical: int;
|
|
234
|
+
/**
|
|
235
|
+
* The {@link Theme} resource this node and all its {@link Control} and {@link Window} children use. If a child node has its own {@link Theme} resource set, theme items are merged with child's definitions having higher priority.
|
|
236
|
+
* **Note:** {@link Window} styles will have no effect unless the window is embedded.
|
|
237
|
+
*/
|
|
238
|
+
theme: Theme | null;
|
|
239
|
+
/**
|
|
240
|
+
* The name of a theme type variation used by this {@link Control} to look up its own theme items. When empty, the class name of the node is used (e.g. [code skip-lint]Button[/code] for the {@link Button} control), as well as the class names of all parent classes (in order of inheritance).
|
|
241
|
+
* When set, this property gives the highest priority to the type of the specified name. This type can in turn extend another type, forming a dependency chain. See {@link Theme.set_type_variation}. If the theme item cannot be found using this type or its base types, lookup falls back on the class names.
|
|
242
|
+
* **Note:** To look up {@link Control}'s own items use various `get_theme_*` methods without specifying `theme_type`.
|
|
243
|
+
* **Note:** Theme items are looked for in the tree order, from branch to root, where each {@link Control} node is checked for its {@link theme} property. The earliest match against any type/class name is returned. The project-level Theme and the default Theme are checked last.
|
|
244
|
+
*/
|
|
245
|
+
theme_type_variation: string;
|
|
246
|
+
/**
|
|
247
|
+
* Defines if tooltip text should automatically change to its translated version depending on the current locale. Uses the same auto translate mode as this control when set to {@link Node.AUTO_TRANSLATE_MODE_INHERIT}.
|
|
248
|
+
* **Note:** Tooltips customized using {@link _make_custom_tooltip} do not use this auto translate mode automatically.
|
|
249
|
+
*/
|
|
250
|
+
tooltip_auto_translate_mode: int;
|
|
251
|
+
/**
|
|
252
|
+
* The default tooltip text. The tooltip appears when the user's mouse cursor stays idle over this control for a few moments, provided that the {@link mouse_filter} property is not {@link MOUSE_FILTER_IGNORE}. The time required for the tooltip to appear can be changed with the {@link ProjectSettings.gui/timers/tooltip_delay_sec} setting.
|
|
253
|
+
* This string is the default return value of {@link get_tooltip}. Override {@link _get_tooltip} to generate tooltip text dynamically. Override {@link _make_custom_tooltip} to customize the tooltip interface and behavior.
|
|
254
|
+
* The tooltip popup will use either a default implementation, or a custom one that you can provide by overriding {@link _make_custom_tooltip}. The default tooltip includes a {@link PopupPanel} and {@link Label} whose theme properties can be customized using {@link Theme} methods with the `"TooltipPanel"` and `"TooltipLabel"` respectively. For example:
|
|
255
|
+
*/
|
|
256
|
+
tooltip_text: string;
|
|
257
|
+
set_accessibility_controls_nodes(value: Array<NodePath>): void;
|
|
258
|
+
get_accessibility_controls_nodes(): Array<NodePath>;
|
|
259
|
+
set_accessibility_described_by_nodes(value: Array<NodePath>): void;
|
|
260
|
+
get_accessibility_described_by_nodes(): Array<NodePath>;
|
|
261
|
+
set_accessibility_description(value: string | NodePath): void;
|
|
262
|
+
get_accessibility_description(): string;
|
|
263
|
+
set_accessibility_flow_to_nodes(value: Array<NodePath>): void;
|
|
264
|
+
get_accessibility_flow_to_nodes(): Array<NodePath>;
|
|
265
|
+
set_accessibility_labeled_by_nodes(value: Array<NodePath>): void;
|
|
266
|
+
get_accessibility_labeled_by_nodes(): Array<NodePath>;
|
|
267
|
+
set_accessibility_live(value: int): void;
|
|
268
|
+
get_accessibility_live(): int;
|
|
269
|
+
set_accessibility_name(value: string | NodePath): void;
|
|
270
|
+
get_accessibility_name(): string;
|
|
271
|
+
_set_anchor(value: float): void;
|
|
272
|
+
_set_anchor(value: float): void;
|
|
273
|
+
_set_anchor(value: float): void;
|
|
274
|
+
_set_anchor(value: float): void;
|
|
275
|
+
set_auto_translate(value: boolean): void;
|
|
276
|
+
is_auto_translating(): boolean;
|
|
277
|
+
set_clip_contents(value: boolean): void;
|
|
278
|
+
is_clipping_contents(): boolean;
|
|
279
|
+
set_custom_minimum_size(value: Vector2 | Vector2i): void;
|
|
280
|
+
get_custom_minimum_size(): Vector2;
|
|
281
|
+
set_focus_behavior_recursive(value: int): void;
|
|
282
|
+
get_focus_behavior_recursive(): int;
|
|
283
|
+
set_focus_mode(value: int): void;
|
|
284
|
+
get_focus_mode(): int;
|
|
285
|
+
set_focus_next(value: NodePath | string): void;
|
|
286
|
+
get_focus_next(): NodePath;
|
|
287
|
+
set_focus_previous(value: NodePath | string): void;
|
|
288
|
+
get_focus_previous(): NodePath;
|
|
289
|
+
_set_global_position(value: Vector2 | Vector2i): void;
|
|
290
|
+
get_global_position(): Vector2;
|
|
291
|
+
set_h_grow_direction(value: int): void;
|
|
292
|
+
get_h_grow_direction(): int;
|
|
293
|
+
set_v_grow_direction(value: int): void;
|
|
294
|
+
get_v_grow_direction(): int;
|
|
295
|
+
set_layout_direction(value: int): void;
|
|
296
|
+
get_layout_direction(): int;
|
|
297
|
+
set_localize_numeral_system(value: boolean): void;
|
|
298
|
+
is_localizing_numeral_system(): boolean;
|
|
299
|
+
set_mouse_behavior_recursive(value: int): void;
|
|
300
|
+
get_mouse_behavior_recursive(): int;
|
|
301
|
+
set_default_cursor_shape(value: int): void;
|
|
302
|
+
get_default_cursor_shape(): int;
|
|
303
|
+
set_mouse_filter(value: int): void;
|
|
304
|
+
get_mouse_filter(): int;
|
|
305
|
+
set_force_pass_scroll_events(value: boolean): void;
|
|
306
|
+
is_force_pass_scroll_events(): boolean;
|
|
307
|
+
set_offset_transform_enabled(value: boolean): void;
|
|
308
|
+
is_offset_transform_enabled(): boolean;
|
|
309
|
+
set_offset_transform_pivot(value: Vector2 | Vector2i): void;
|
|
310
|
+
get_offset_transform_pivot(): Vector2;
|
|
311
|
+
set_offset_transform_pivot_ratio(value: Vector2 | Vector2i): void;
|
|
312
|
+
get_offset_transform_pivot_ratio(): Vector2;
|
|
313
|
+
set_offset_transform_position(value: Vector2 | Vector2i): void;
|
|
314
|
+
get_offset_transform_position(): Vector2;
|
|
315
|
+
set_offset_transform_position_ratio(value: Vector2 | Vector2i): void;
|
|
316
|
+
get_offset_transform_position_ratio(): Vector2;
|
|
317
|
+
set_offset_transform_rotation(value: float): void;
|
|
318
|
+
get_offset_transform_rotation(): float;
|
|
319
|
+
set_offset_transform_scale(value: Vector2 | Vector2i): void;
|
|
320
|
+
get_offset_transform_scale(): Vector2;
|
|
321
|
+
set_offset_transform_visual_only(value: boolean): void;
|
|
322
|
+
is_offset_transform_visual_only(): boolean;
|
|
323
|
+
set_pivot_offset_ratio(value: Vector2 | Vector2i): void;
|
|
324
|
+
get_pivot_offset_ratio(): Vector2;
|
|
325
|
+
_set_position(value: Vector2 | Vector2i): void;
|
|
326
|
+
get_position(): Vector2;
|
|
327
|
+
set_rotation(value: float): void;
|
|
328
|
+
get_rotation(): float;
|
|
329
|
+
set_rotation_degrees(value: float): void;
|
|
330
|
+
get_rotation_degrees(): float;
|
|
331
|
+
set_scale(value: Vector2 | Vector2i): void;
|
|
332
|
+
get_scale(): Vector2;
|
|
333
|
+
set_shortcut_context(value: Node | null): void;
|
|
334
|
+
get_shortcut_context(): Node | null;
|
|
335
|
+
_set_size(value: Vector2 | Vector2i): void;
|
|
336
|
+
get_size(): Vector2;
|
|
337
|
+
set_h_size_flags(value: int): void;
|
|
338
|
+
get_h_size_flags(): int;
|
|
339
|
+
set_stretch_ratio(value: float): void;
|
|
340
|
+
get_stretch_ratio(): float;
|
|
341
|
+
set_v_size_flags(value: int): void;
|
|
342
|
+
get_v_size_flags(): int;
|
|
343
|
+
set_theme(value: Theme | null): void;
|
|
344
|
+
get_theme(): Theme | null;
|
|
345
|
+
set_theme_type_variation(value: string): void;
|
|
346
|
+
get_theme_type_variation(): string;
|
|
347
|
+
set_tooltip_auto_translate_mode(value: int): void;
|
|
348
|
+
get_tooltip_auto_translate_mode(): int;
|
|
349
|
+
set_tooltip_text(value: string | NodePath): void;
|
|
350
|
+
get_tooltip_text(): string;
|
|
351
|
+
|
|
352
|
+
/** Return the description of the keyboard shortcuts and other contextual help for this control. */
|
|
353
|
+
_accessibility_get_contextual_info(): string;
|
|
354
|
+
/**
|
|
355
|
+
* Godot calls this method to test if `data` from a control's {@link _get_drag_data} can be dropped at `at_position`. `at_position` is local to this control.
|
|
356
|
+
* This method should only be used to test the data. Process the data in {@link _drop_data}.
|
|
357
|
+
* **Note:** If the drag was initiated by a keyboard shortcut or {@link accessibility_drag}, `at_position` is set to {@link Vector2.INF}, and the currently selected item/text position should be used as the drop position.
|
|
358
|
+
*/
|
|
359
|
+
_can_drop_data(at_position: Vector2 | Vector2i, data: unknown): boolean;
|
|
360
|
+
/**
|
|
361
|
+
* Godot calls this method to pass you the `data` from a control's {@link _get_drag_data} result. Godot first calls {@link _can_drop_data} to test if `data` is allowed to drop at `at_position` where `at_position` is local to this control.
|
|
362
|
+
* **Note:** If the drag was initiated by a keyboard shortcut or {@link accessibility_drag}, `at_position` is set to {@link Vector2.INF}, and the currently selected item/text position should be used as the drop position.
|
|
363
|
+
*/
|
|
364
|
+
_drop_data(at_position: Vector2 | Vector2i, data: unknown): void;
|
|
365
|
+
/**
|
|
366
|
+
* Override this method to return a human-readable description of the position of the child `node` in the custom container, added to the {@link accessibility_name}.
|
|
367
|
+
*/
|
|
368
|
+
_get_accessibility_container_name(node: Node): string;
|
|
369
|
+
/**
|
|
370
|
+
* Godot calls this method to get data that can be dragged and dropped onto controls that expect drop data. Returns `null` if there is no data to drag. Controls that want to receive drop data should implement {@link _can_drop_data} and {@link _drop_data}. `at_position` is local to this control. Drag may be forced with {@link force_drag}.
|
|
371
|
+
* A preview that will follow the mouse that should represent the data can be set with {@link set_drag_preview}. A good time to set the preview is in this method.
|
|
372
|
+
* **Note:** If the drag was initiated by a keyboard shortcut or {@link accessibility_drag}, `at_position` is set to {@link Vector2.INF}, and the currently selected item/text position should be used as the drag position.
|
|
373
|
+
*/
|
|
374
|
+
_get_drag_data(at_position: Vector2 | Vector2i): unknown;
|
|
375
|
+
/**
|
|
376
|
+
* Virtual method to be implemented by the user. Returns the minimum size for this control. Alternative to {@link custom_minimum_size} for controlling minimum size via code. The actual minimum size will be the max value of these two (in each axis separately).
|
|
377
|
+
* If not overridden, defaults to {@link Vector2.ZERO}.
|
|
378
|
+
* **Note:** This method will not be called when the script is attached to a {@link Control} node that already overrides its minimum size (e.g. {@link Label}, {@link Button}, {@link PanelContainer} etc.). It can only be used with most basic GUI nodes, like {@link Control}, {@link Container}, {@link Panel} etc.
|
|
379
|
+
*/
|
|
380
|
+
_get_minimum_size(): Vector2;
|
|
381
|
+
/**
|
|
382
|
+
* Virtual method to be implemented by the user. Returns the tooltip text for the position `at_position` in control's local coordinates, which will typically appear when the cursor is resting over this control. See {@link get_tooltip}.
|
|
383
|
+
* **Note:** If this method returns an empty {@link String} and {@link _make_custom_tooltip} is not overridden, no tooltip is displayed.
|
|
384
|
+
*/
|
|
385
|
+
_get_tooltip(at_position: Vector2 | Vector2i): string;
|
|
386
|
+
/**
|
|
387
|
+
* Virtual method to be implemented by the user. Override this method to handle and accept inputs on UI elements. See also {@link accept_event}.
|
|
388
|
+
* **Example:** Click on the control to print a message:
|
|
389
|
+
* If the `event` inherits {@link InputEventMouse}, this method will **not** be called when:
|
|
390
|
+
* - the control's {@link mouse_filter} is set to {@link MOUSE_FILTER_IGNORE};
|
|
391
|
+
* - the control is obstructed by another control on top, that doesn't have {@link mouse_filter} set to {@link MOUSE_FILTER_IGNORE};
|
|
392
|
+
* - the control's parent has {@link mouse_filter} set to {@link MOUSE_FILTER_STOP} or has accepted the event;
|
|
393
|
+
* - the control's parent has {@link clip_contents} enabled and the `event`'s position is outside the parent's rectangle;
|
|
394
|
+
* - the `event`'s position is outside the control (see {@link _has_point}).
|
|
395
|
+
* **Note:** The `event`'s position is relative to this control's origin.
|
|
396
|
+
*/
|
|
397
|
+
_gui_input(event: InputEvent): void;
|
|
398
|
+
/**
|
|
399
|
+
* Virtual method to be implemented by the user. Returns whether the given `point` is inside this control.
|
|
400
|
+
* If not overridden, default behavior is checking if the point is within control's Rect.
|
|
401
|
+
* **Note:** If you want to check if a point is inside the control, you can use `Rect2(Vector2.ZERO, size).has_point(point)`.
|
|
402
|
+
*/
|
|
403
|
+
_has_point(point: Vector2 | Vector2i): boolean;
|
|
404
|
+
/**
|
|
405
|
+
* Virtual method to be implemented by the user. Returns a {@link Control} node that should be used as a tooltip instead of the default one. `for_text` is the return value of {@link get_tooltip}.
|
|
406
|
+
* The returned node must be of type {@link Control} or Control-derived. It can have child nodes of any type. It is freed when the tooltip disappears, so make sure you always provide a new instance (if you want to use a pre-existing node from your scene tree, you can duplicate it and pass the duplicated instance). When `null` or a non-Control node is returned, the default tooltip will be used instead.
|
|
407
|
+
* The returned node will be added as child to a {@link PopupPanel}, so you should only provide the contents of that panel. That {@link PopupPanel} can be themed using {@link Theme.set_stylebox} for the type `"TooltipPanel"` (see {@link tooltip_text} for an example).
|
|
408
|
+
* **Note:** The tooltip is shrunk to minimal size. If you want to ensure it's fully visible, you might want to set its {@link custom_minimum_size} to some non-zero value.
|
|
409
|
+
* **Note:** The node (and any relevant children) should have their {@link CanvasItem.visible} set to `true` when returned, otherwise, the viewport that instantiates it will not be able to calculate its minimum size reliably.
|
|
410
|
+
* **Note:** If overridden, this method is called even if {@link get_tooltip} returns an empty string. When this happens with the default tooltip, it is not displayed. To copy this behavior, return `null` in this method when `for_text` is empty.
|
|
411
|
+
* **Example:** Use a constructed node as a tooltip:
|
|
412
|
+
* **Example:** Use a scene instance as a tooltip:
|
|
413
|
+
*/
|
|
414
|
+
_make_custom_tooltip(for_text: string | NodePath): GodotObject | null;
|
|
415
|
+
/**
|
|
416
|
+
* User defined BiDi algorithm override function.
|
|
417
|
+
* Returns an {@link Array} of {@link Vector3i} text ranges and text base directions, in the left-to-right order. Ranges should cover full source `text` without overlaps. BiDi algorithm will be used on each range separately.
|
|
418
|
+
*/
|
|
419
|
+
_structured_text_parser(args: Array<unknown> | PackedByteArray | PackedColorArray | PackedFloat32Array | PackedFloat64Array | PackedInt32Array | PackedInt64Array | PackedStringArray | PackedVector2Array | PackedVector3Array | PackedVector4Array, text: string | NodePath): Array<Vector3i>;
|
|
420
|
+
/**
|
|
421
|
+
* Marks an input event as handled. Once you accept an input event, it stops propagating, even to nodes listening to {@link Node._unhandled_input} or {@link Node._unhandled_key_input}.
|
|
422
|
+
* **Note:** This does not affect the methods in {@link Input}, only the way events are propagated.
|
|
423
|
+
*/
|
|
424
|
+
accept_event(): void;
|
|
425
|
+
/** Starts drag-and-drop operation without using a mouse. */
|
|
426
|
+
accessibility_drag(): void;
|
|
427
|
+
/** Ends drag-and-drop operation without using a mouse. */
|
|
428
|
+
accessibility_drop(): void;
|
|
429
|
+
/**
|
|
430
|
+
* Creates a local override for a theme {@link Color} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link remove_theme_color_override}.
|
|
431
|
+
* See also {@link get_theme_color}.
|
|
432
|
+
* **Example:** Override a {@link Label}'s color and reset it later:
|
|
433
|
+
*/
|
|
434
|
+
add_theme_color_override(name: string, color: Color): void;
|
|
435
|
+
/**
|
|
436
|
+
* Creates a local override for a theme constant with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link remove_theme_constant_override}.
|
|
437
|
+
* See also {@link get_theme_constant}.
|
|
438
|
+
*/
|
|
439
|
+
add_theme_constant_override(name: string, constant: int): void;
|
|
440
|
+
/**
|
|
441
|
+
* Creates a local override for a theme {@link Font} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link remove_theme_font_override}.
|
|
442
|
+
* See also {@link get_theme_font}.
|
|
443
|
+
*/
|
|
444
|
+
add_theme_font_override(name: string, font: Font): void;
|
|
445
|
+
/**
|
|
446
|
+
* Creates a local override for a theme font size with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link remove_theme_font_size_override}.
|
|
447
|
+
* See also {@link get_theme_font_size}.
|
|
448
|
+
*/
|
|
449
|
+
add_theme_font_size_override(name: string, font_size: int): void;
|
|
450
|
+
/**
|
|
451
|
+
* Creates a local override for a theme icon with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link remove_theme_icon_override}.
|
|
452
|
+
* See also {@link get_theme_icon}.
|
|
453
|
+
*/
|
|
454
|
+
add_theme_icon_override(name: string, texture: Texture2D): void;
|
|
455
|
+
/**
|
|
456
|
+
* Creates a local override for a theme {@link StyleBox} with the specified `name`. Local overrides always take precedence when fetching theme items for the control. An override can be removed with {@link remove_theme_stylebox_override}.
|
|
457
|
+
* See also {@link get_theme_stylebox}.
|
|
458
|
+
* **Example:** Modify a property in a {@link StyleBox} by duplicating it:
|
|
459
|
+
*/
|
|
460
|
+
add_theme_stylebox_override(name: string, stylebox: StyleBox): void;
|
|
461
|
+
/**
|
|
462
|
+
* Prevents `*_theme_*_override` methods from emitting {@link NOTIFICATION_THEME_CHANGED} until {@link end_bulk_theme_override} is called.
|
|
463
|
+
*/
|
|
464
|
+
begin_bulk_theme_override(): void;
|
|
465
|
+
/** Ends a bulk theme override update. See {@link begin_bulk_theme_override}. */
|
|
466
|
+
end_bulk_theme_override(): void;
|
|
467
|
+
/** Finds the next (below in the tree) {@link Control} that can receive the focus. */
|
|
468
|
+
find_next_valid_focus(): Control | null;
|
|
469
|
+
/** Finds the previous (above in the tree) {@link Control} that can receive the focus. */
|
|
470
|
+
find_prev_valid_focus(): Control | null;
|
|
471
|
+
/**
|
|
472
|
+
* Finds the next {@link Control} that can receive the focus on the specified {@link Side}.
|
|
473
|
+
* **Note:** This is different from {@link get_focus_neighbor}, which returns the path of a specified focus neighbor.
|
|
474
|
+
*/
|
|
475
|
+
find_valid_focus_neighbor(side: int): Control | null;
|
|
476
|
+
/**
|
|
477
|
+
* Forces drag and bypasses {@link _get_drag_data} and {@link set_drag_preview} by passing `data` and `preview`. Drag will start even if the mouse is neither over nor pressed on this control.
|
|
478
|
+
* The methods {@link _can_drop_data} and {@link _drop_data} must be implemented on controls that want to receive drop data.
|
|
479
|
+
*/
|
|
480
|
+
force_drag(data: unknown, preview: Control): void;
|
|
481
|
+
/**
|
|
482
|
+
* Returns the anchor for the specified {@link Side}. A getter method for {@link anchor_bottom}, {@link anchor_left}, {@link anchor_right} and {@link anchor_top}.
|
|
483
|
+
*/
|
|
484
|
+
get_anchor(side: int): float;
|
|
485
|
+
/** Returns {@link offset_left} and {@link offset_top}. See also {@link position}. */
|
|
486
|
+
get_begin(): Vector2;
|
|
487
|
+
/** Returns combined minimum size from {@link custom_minimum_size} and {@link get_minimum_size}. */
|
|
488
|
+
get_combined_minimum_size(): Vector2;
|
|
489
|
+
/**
|
|
490
|
+
* Returns the combined value of {@link pivot_offset} and {@link pivot_offset_ratio}, in pixels. The ratio is multiplied by the control's size.
|
|
491
|
+
*/
|
|
492
|
+
get_combined_pivot_offset(): Vector2;
|
|
493
|
+
/**
|
|
494
|
+
* Returns the mouse cursor shape for this control when hovered over `position` in local coordinates. For most controls, this is the same as {@link mouse_default_cursor_shape}, but some built-in controls implement more complex logic.
|
|
495
|
+
*/
|
|
496
|
+
get_cursor_shape(position?: Vector2 | Vector2i): int;
|
|
497
|
+
/** Returns {@link offset_right} and {@link offset_bottom}. */
|
|
498
|
+
get_end(): Vector2;
|
|
499
|
+
/**
|
|
500
|
+
* Returns the {@link focus_mode}, but takes the {@link focus_behavior_recursive} into account. If {@link focus_behavior_recursive} is set to {@link FOCUS_BEHAVIOR_DISABLED}, or it is set to {@link FOCUS_BEHAVIOR_INHERITED} and its ancestor is set to {@link FOCUS_BEHAVIOR_DISABLED}, then this returns {@link FOCUS_NONE}.
|
|
501
|
+
*/
|
|
502
|
+
get_focus_mode_with_override(): int;
|
|
503
|
+
/**
|
|
504
|
+
* Returns the focus neighbor for the specified {@link Side}. A getter method for {@link focus_neighbor_bottom}, {@link focus_neighbor_left}, {@link focus_neighbor_right} and {@link focus_neighbor_top}.
|
|
505
|
+
* **Note:** To find the next {@link Control} on the specific {@link Side}, even if a neighbor is not assigned, use {@link find_valid_focus_neighbor}.
|
|
506
|
+
*/
|
|
507
|
+
get_focus_neighbor(side: int): NodePath;
|
|
508
|
+
/**
|
|
509
|
+
* Returns the position and size of the control relative to the containing canvas. See {@link global_position} and {@link size}.
|
|
510
|
+
* **Note:** If the node itself or any parent {@link CanvasItem} between the node and the canvas have a non default rotation or skew, the resulting size is likely not meaningful.
|
|
511
|
+
* **Note:** Setting {@link Viewport.gui_snap_controls_to_pixels} to `true` can lead to rounding inaccuracies between the displayed control and the returned {@link Rect2}.
|
|
512
|
+
*/
|
|
513
|
+
get_global_rect(): Rect2;
|
|
514
|
+
/** Returns the minimum size for this control. See {@link custom_minimum_size}. */
|
|
515
|
+
get_minimum_size(): Vector2;
|
|
516
|
+
/**
|
|
517
|
+
* Returns the {@link mouse_filter}, but takes the {@link mouse_behavior_recursive} into account. If {@link mouse_behavior_recursive} is set to {@link MOUSE_BEHAVIOR_DISABLED}, or it is set to {@link MOUSE_BEHAVIOR_INHERITED} and its ancestor is set to {@link MOUSE_BEHAVIOR_DISABLED}, then this returns {@link MOUSE_FILTER_IGNORE}.
|
|
518
|
+
*/
|
|
519
|
+
get_mouse_filter_with_override(): int;
|
|
520
|
+
/**
|
|
521
|
+
* Returns the offset for the specified {@link Side}. A getter method for {@link offset_bottom}, {@link offset_left}, {@link offset_right} and {@link offset_top}.
|
|
522
|
+
*/
|
|
523
|
+
get_offset(offset: int): float;
|
|
524
|
+
/** Returns the width/height occupied in the parent control. */
|
|
525
|
+
get_parent_area_size(): Vector2;
|
|
526
|
+
/** Returns the parent control node. */
|
|
527
|
+
get_parent_control(): Control | null;
|
|
528
|
+
/**
|
|
529
|
+
* Returns the position and size of the control in the coordinate system of the containing node. See {@link position}, {@link scale} and {@link size}.
|
|
530
|
+
* **Note:** If {@link rotation} is not the default rotation, the resulting size is not meaningful.
|
|
531
|
+
* **Note:** Setting {@link Viewport.gui_snap_controls_to_pixels} to `true` can lead to rounding inaccuracies between the displayed control and the returned {@link Rect2}.
|
|
532
|
+
*/
|
|
533
|
+
get_rect(): Rect2;
|
|
534
|
+
/**
|
|
535
|
+
* Returns the position of this {@link Control} in global screen coordinates (i.e. taking window position into account). Mostly useful for editor plugins.
|
|
536
|
+
* Equivalent to `get_screen_transform().origin` (see {@link CanvasItem.get_screen_transform}).
|
|
537
|
+
* **Example:** Show a popup at the mouse position:
|
|
538
|
+
*/
|
|
539
|
+
get_screen_position(): Vector2;
|
|
540
|
+
/**
|
|
541
|
+
* Returns a {@link Color} from the first matching {@link Theme} in the tree if that {@link Theme} has a color item with the specified `name` and `theme_type`. If `theme_type` is omitted the class name of the current control is used as the type, or {@link theme_type_variation} if it is defined. If the type is a class name its parent classes are also checked, in order of inheritance. If the type is a variation its base types are checked, in order of dependency, then the control's class name and its parent classes are checked.
|
|
542
|
+
* For the current control its local overrides are considered first (see {@link add_theme_color_override}), then its assigned {@link theme}. After the current control, each parent control and its assigned {@link theme} are considered; controls without a {@link theme} assigned are skipped. If no matching {@link Theme} is found in the tree, the custom project {@link Theme} (see {@link ProjectSettings.gui/theme/custom}) and the default {@link Theme} are used (see {@link ThemeDB}).
|
|
543
|
+
*/
|
|
544
|
+
get_theme_color(name: string, theme_type?: string): Color;
|
|
545
|
+
/**
|
|
546
|
+
* Returns a constant from the first matching {@link Theme} in the tree if that {@link Theme} has a constant item with the specified `name` and `theme_type`.
|
|
547
|
+
* See {@link get_theme_color} for details.
|
|
548
|
+
*/
|
|
549
|
+
get_theme_constant(name: string, theme_type?: string): int;
|
|
550
|
+
/**
|
|
551
|
+
* Returns the default base scale value from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.default_base_scale} value.
|
|
552
|
+
* See {@link get_theme_color} for details.
|
|
553
|
+
*/
|
|
554
|
+
get_theme_default_base_scale(): float;
|
|
555
|
+
/**
|
|
556
|
+
* Returns the default font from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.default_font} value.
|
|
557
|
+
* See {@link get_theme_color} for details.
|
|
558
|
+
*/
|
|
559
|
+
get_theme_default_font(): Font | null;
|
|
560
|
+
/**
|
|
561
|
+
* Returns the default font size value from the first matching {@link Theme} in the tree if that {@link Theme} has a valid {@link Theme.default_font_size} value.
|
|
562
|
+
* See {@link get_theme_color} for details.
|
|
563
|
+
*/
|
|
564
|
+
get_theme_default_font_size(): int;
|
|
565
|
+
/**
|
|
566
|
+
* Returns a {@link Font} from the first matching {@link Theme} in the tree if that {@link Theme} has a font item with the specified `name` and `theme_type`.
|
|
567
|
+
* See {@link get_theme_color} for details.
|
|
568
|
+
*/
|
|
569
|
+
get_theme_font(name: string, theme_type?: string): Font | null;
|
|
570
|
+
/**
|
|
571
|
+
* Returns a font size from the first matching {@link Theme} in the tree if that {@link Theme} has a font size item with the specified `name` and `theme_type`.
|
|
572
|
+
* See {@link get_theme_color} for details.
|
|
573
|
+
*/
|
|
574
|
+
get_theme_font_size(name: string, theme_type?: string): int;
|
|
575
|
+
/**
|
|
576
|
+
* Returns an icon from the first matching {@link Theme} in the tree if that {@link Theme} has an icon item with the specified `name` and `theme_type`.
|
|
577
|
+
* See {@link get_theme_color} for details.
|
|
578
|
+
*/
|
|
579
|
+
get_theme_icon(name: string, theme_type?: string): Texture2D | null;
|
|
580
|
+
/**
|
|
581
|
+
* Returns a {@link StyleBox} from the first matching {@link Theme} in the tree if that {@link Theme} has a stylebox item with the specified `name` and `theme_type`.
|
|
582
|
+
* See {@link get_theme_color} for details.
|
|
583
|
+
*/
|
|
584
|
+
get_theme_stylebox(name: string, theme_type?: string): StyleBox | null;
|
|
585
|
+
/**
|
|
586
|
+
* Returns the tooltip text for the position `at_position` in control's local coordinates, which will typically appear when the cursor is resting over this control. By default, it returns {@link tooltip_text}.
|
|
587
|
+
* This method can be overridden to customize its behavior. See {@link _get_tooltip}.
|
|
588
|
+
* **Note:** If this method returns an empty {@link String} and {@link _make_custom_tooltip} is not overridden, no tooltip is displayed.
|
|
589
|
+
*/
|
|
590
|
+
get_tooltip(at_position?: Vector2 | Vector2i): string;
|
|
591
|
+
/**
|
|
592
|
+
* Creates an {@link InputEventMouseButton} that attempts to click the control. If the event is received, the control gains focus.
|
|
593
|
+
*/
|
|
594
|
+
grab_click_focus(): void;
|
|
595
|
+
/**
|
|
596
|
+
* Steal the focus from another control and become the focused control (see {@link focus_mode}).
|
|
597
|
+
* If `hide_focus` is `true`, the control will not visually show its focused state. Has no effect for {@link LineEdit} and {@link TextEdit} when {@link ProjectSettings.gui/common/show_focus_state_on_pointer_event} is set to `Control Supports Keyboard Input`, or for any control when it is set to `Always`.
|
|
598
|
+
* **Note:** Using this method together with {@link Callable.call_deferred} makes it more reliable, especially when called inside {@link Node._ready}.
|
|
599
|
+
*/
|
|
600
|
+
grab_focus(hide_focus?: boolean): void;
|
|
601
|
+
/**
|
|
602
|
+
* Returns `true` if this is the current focused control. See {@link focus_mode}.
|
|
603
|
+
* If `ignore_hidden_focus` is `true`, controls that have their focus hidden will always return `false`. Hidden focus happens automatically when controls gain focus via mouse input, or manually using {@link grab_focus} with `hide_focus` set to `true`.
|
|
604
|
+
*/
|
|
605
|
+
has_focus(ignore_hidden_focus?: boolean): boolean;
|
|
606
|
+
/**
|
|
607
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has a color item with the specified `name` and `theme_type`.
|
|
608
|
+
* See {@link get_theme_color} for details.
|
|
609
|
+
*/
|
|
610
|
+
has_theme_color(name: string, theme_type?: string): boolean;
|
|
611
|
+
/**
|
|
612
|
+
* Returns `true` if there is a local override for a theme {@link Color} with the specified `name` in this {@link Control} node.
|
|
613
|
+
* See {@link add_theme_color_override}.
|
|
614
|
+
*/
|
|
615
|
+
has_theme_color_override(name: string): boolean;
|
|
616
|
+
/**
|
|
617
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has a constant item with the specified `name` and `theme_type`.
|
|
618
|
+
* See {@link get_theme_color} for details.
|
|
619
|
+
*/
|
|
620
|
+
has_theme_constant(name: string, theme_type?: string): boolean;
|
|
621
|
+
/**
|
|
622
|
+
* Returns `true` if there is a local override for a theme constant with the specified `name` in this {@link Control} node.
|
|
623
|
+
* See {@link add_theme_constant_override}.
|
|
624
|
+
*/
|
|
625
|
+
has_theme_constant_override(name: string): boolean;
|
|
626
|
+
/**
|
|
627
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has a font item with the specified `name` and `theme_type`.
|
|
628
|
+
* See {@link get_theme_color} for details.
|
|
629
|
+
*/
|
|
630
|
+
has_theme_font(name: string, theme_type?: string): boolean;
|
|
631
|
+
/**
|
|
632
|
+
* Returns `true` if there is a local override for a theme {@link Font} with the specified `name` in this {@link Control} node.
|
|
633
|
+
* See {@link add_theme_font_override}.
|
|
634
|
+
*/
|
|
635
|
+
has_theme_font_override(name: string): boolean;
|
|
636
|
+
/**
|
|
637
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has a font size item with the specified `name` and `theme_type`.
|
|
638
|
+
* See {@link get_theme_color} for details.
|
|
639
|
+
*/
|
|
640
|
+
has_theme_font_size(name: string, theme_type?: string): boolean;
|
|
641
|
+
/**
|
|
642
|
+
* Returns `true` if there is a local override for a theme font size with the specified `name` in this {@link Control} node.
|
|
643
|
+
* See {@link add_theme_font_size_override}.
|
|
644
|
+
*/
|
|
645
|
+
has_theme_font_size_override(name: string): boolean;
|
|
646
|
+
/**
|
|
647
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has an icon item with the specified `name` and `theme_type`.
|
|
648
|
+
* See {@link get_theme_color} for details.
|
|
649
|
+
*/
|
|
650
|
+
has_theme_icon(name: string, theme_type?: string): boolean;
|
|
651
|
+
/**
|
|
652
|
+
* Returns `true` if there is a local override for a theme icon with the specified `name` in this {@link Control} node.
|
|
653
|
+
* See {@link add_theme_icon_override}.
|
|
654
|
+
*/
|
|
655
|
+
has_theme_icon_override(name: string): boolean;
|
|
656
|
+
/**
|
|
657
|
+
* Returns `true` if there is a matching {@link Theme} in the tree that has a stylebox item with the specified `name` and `theme_type`.
|
|
658
|
+
* See {@link get_theme_color} for details.
|
|
659
|
+
*/
|
|
660
|
+
has_theme_stylebox(name: string, theme_type?: string): boolean;
|
|
661
|
+
/**
|
|
662
|
+
* Returns `true` if there is a local override for a theme {@link StyleBox} with the specified `name` in this {@link Control} node.
|
|
663
|
+
* See {@link add_theme_stylebox_override}.
|
|
664
|
+
*/
|
|
665
|
+
has_theme_stylebox_override(name: string): boolean;
|
|
666
|
+
/**
|
|
667
|
+
* Returns `true` if a drag operation is successful. Alternative to {@link Viewport.gui_is_drag_successful}.
|
|
668
|
+
* Best used with {@link Node.NOTIFICATION_DRAG_END}.
|
|
669
|
+
*/
|
|
670
|
+
is_drag_successful(): boolean;
|
|
671
|
+
/** Returns `true` if the layout is right-to-left. See also {@link layout_direction}. */
|
|
672
|
+
is_layout_rtl(): boolean;
|
|
673
|
+
/** Give up the focus. No other control will be able to receive input. */
|
|
674
|
+
release_focus(): void;
|
|
675
|
+
/**
|
|
676
|
+
* Removes a local override for a theme {@link Color} with the specified `name` previously added by {@link add_theme_color_override} or via the Inspector dock.
|
|
677
|
+
*/
|
|
678
|
+
remove_theme_color_override(name: string): void;
|
|
679
|
+
/**
|
|
680
|
+
* Removes a local override for a theme constant with the specified `name` previously added by {@link add_theme_constant_override} or via the Inspector dock.
|
|
681
|
+
*/
|
|
682
|
+
remove_theme_constant_override(name: string): void;
|
|
683
|
+
/**
|
|
684
|
+
* Removes a local override for a theme {@link Font} with the specified `name` previously added by {@link add_theme_font_override} or via the Inspector dock.
|
|
685
|
+
*/
|
|
686
|
+
remove_theme_font_override(name: string): void;
|
|
687
|
+
/**
|
|
688
|
+
* Removes a local override for a theme font size with the specified `name` previously added by {@link add_theme_font_size_override} or via the Inspector dock.
|
|
689
|
+
*/
|
|
690
|
+
remove_theme_font_size_override(name: string): void;
|
|
691
|
+
/**
|
|
692
|
+
* Removes a local override for a theme icon with the specified `name` previously added by {@link add_theme_icon_override} or via the Inspector dock.
|
|
693
|
+
*/
|
|
694
|
+
remove_theme_icon_override(name: string): void;
|
|
695
|
+
/**
|
|
696
|
+
* Removes a local override for a theme {@link StyleBox} with the specified `name` previously added by {@link add_theme_stylebox_override} or via the Inspector dock.
|
|
697
|
+
*/
|
|
698
|
+
remove_theme_stylebox_override(name: string): void;
|
|
699
|
+
/**
|
|
700
|
+
* Resets the size to {@link get_combined_minimum_size}. This is equivalent to calling `set_size(Vector2())` (or any size below the minimum).
|
|
701
|
+
*/
|
|
702
|
+
reset_size(): void;
|
|
703
|
+
/**
|
|
704
|
+
* Sets the anchor for the specified {@link Side} to `anchor`. A setter method for {@link anchor_bottom}, {@link anchor_left}, {@link anchor_right} and {@link anchor_top}.
|
|
705
|
+
* If `keep_offset` is `true`, offsets aren't updated after this operation.
|
|
706
|
+
* If `push_opposite_anchor` is `true` and the opposite anchor overlaps this anchor, the opposite one will have its value overridden. For example, when setting left anchor to 1 and the right anchor has value of 0.5, the right anchor will also get value of 1. If `push_opposite_anchor` was `false`, the left anchor would get value 0.5.
|
|
707
|
+
*/
|
|
708
|
+
set_anchor(side: int, anchor: float, keep_offset?: boolean, push_opposite_anchor?: boolean): void;
|
|
709
|
+
/**
|
|
710
|
+
* Works the same as {@link set_anchor}, but instead of `keep_offset` argument and automatic update of offset, it allows to set the offset yourself (see {@link set_offset}).
|
|
711
|
+
*/
|
|
712
|
+
set_anchor_and_offset(side: int, anchor: float, offset: float, push_opposite_anchor?: boolean): void;
|
|
713
|
+
/**
|
|
714
|
+
* Sets both anchor preset and offset preset. See {@link set_anchors_preset} and {@link set_offsets_preset}.
|
|
715
|
+
*/
|
|
716
|
+
set_anchors_and_offsets_preset(preset: int, resize_mode: int, margin?: int): void;
|
|
717
|
+
/**
|
|
718
|
+
* Sets the anchors to a `preset` from {@link Control.LayoutPreset} enum. This is the code equivalent to using the Layout menu in the 2D editor.
|
|
719
|
+
* If `keep_offsets` is `true`, control's position will also be updated.
|
|
720
|
+
*/
|
|
721
|
+
set_anchors_preset(preset: int, keep_offsets?: boolean): void;
|
|
722
|
+
/**
|
|
723
|
+
* Sets {@link offset_left} and {@link offset_top} at the same time. Equivalent of changing {@link position}.
|
|
724
|
+
*/
|
|
725
|
+
set_begin(position: Vector2 | Vector2i): void;
|
|
726
|
+
/**
|
|
727
|
+
* Sets the given callables to be used instead of the control's own drag-and-drop virtual methods. If a callable is empty, its respective virtual method is used as normal.
|
|
728
|
+
* The arguments for each callable should be exactly the same as their respective virtual methods, which would be:
|
|
729
|
+
* - `drag_func` corresponds to {@link _get_drag_data} and requires a {@link Vector2};
|
|
730
|
+
* - `can_drop_func` corresponds to {@link _can_drop_data} and requires both a {@link Vector2} and a {@link Variant};
|
|
731
|
+
* - `drop_func` corresponds to {@link _drop_data} and requires both a {@link Vector2} and a {@link Variant}.
|
|
732
|
+
*/
|
|
733
|
+
set_drag_forwarding(drag_func: Callable, can_drop_func: Callable, drop_func: Callable): void;
|
|
734
|
+
/**
|
|
735
|
+
* Shows the given control at the mouse pointer. A good time to call this method is in {@link _get_drag_data}. The control must not be in the scene tree. You should not free the control, and you should not keep a reference to the control beyond the duration of the drag. It will be deleted automatically after the drag has ended.
|
|
736
|
+
*/
|
|
737
|
+
set_drag_preview(control: Control): void;
|
|
738
|
+
/** Sets {@link offset_right} and {@link offset_bottom} at the same time. */
|
|
739
|
+
set_end(position: Vector2 | Vector2i): void;
|
|
740
|
+
/**
|
|
741
|
+
* Sets the focus neighbor for the specified {@link Side} to the {@link Control} at `neighbor` node path. A setter method for {@link focus_neighbor_bottom}, {@link focus_neighbor_left}, {@link focus_neighbor_right} and {@link focus_neighbor_top}.
|
|
742
|
+
*/
|
|
743
|
+
set_focus_neighbor(side: int, neighbor: NodePath | string): void;
|
|
744
|
+
/**
|
|
745
|
+
* Sets the {@link global_position} to given `position`.
|
|
746
|
+
* If `keep_offsets` is `true`, control's anchors will be updated instead of offsets.
|
|
747
|
+
*/
|
|
748
|
+
set_global_position(position: Vector2 | Vector2i, keep_offsets?: boolean): void;
|
|
749
|
+
/**
|
|
750
|
+
* Sets the offset for the specified {@link Side} to `offset`. A setter method for {@link offset_bottom}, {@link offset_left}, {@link offset_right} and {@link offset_top}.
|
|
751
|
+
*/
|
|
752
|
+
set_offset(side: int, offset: float): void;
|
|
753
|
+
/**
|
|
754
|
+
* Sets the offsets to a `preset` from {@link Control.LayoutPreset} enum. This is the code equivalent to using the Layout menu in the 2D editor.
|
|
755
|
+
* Use parameter `resize_mode` with constants from {@link Control.LayoutPresetMode} to better determine the resulting size of the {@link Control}. Constant size will be ignored if used with presets that change size, e.g. {@link PRESET_LEFT_WIDE}.
|
|
756
|
+
* Use parameter `margin` to determine the gap between the {@link Control} and the edges.
|
|
757
|
+
*/
|
|
758
|
+
set_offsets_preset(preset: int, resize_mode: int, margin?: int): void;
|
|
759
|
+
/**
|
|
760
|
+
* Sets the {@link position} to given `position`.
|
|
761
|
+
* If `keep_offsets` is `true`, control's anchors will be updated instead of offsets.
|
|
762
|
+
*/
|
|
763
|
+
set_position(position: Vector2 | Vector2i, keep_offsets?: boolean): void;
|
|
764
|
+
/**
|
|
765
|
+
* Sets the size (see {@link size}).
|
|
766
|
+
* If `keep_offsets` is `true`, control's anchors will be updated instead of offsets.
|
|
767
|
+
*/
|
|
768
|
+
set_size(size: Vector2 | Vector2i, keep_offsets?: boolean): void;
|
|
769
|
+
/**
|
|
770
|
+
* Invalidates the size cache in this node and in parent nodes up to top level. Intended to be used with {@link get_minimum_size} when the return value is changed. Setting {@link custom_minimum_size} directly calls this method automatically.
|
|
771
|
+
*/
|
|
772
|
+
update_minimum_size(): void;
|
|
773
|
+
/**
|
|
774
|
+
* Moves the mouse cursor to `position`, relative to {@link position} of this {@link Control}.
|
|
775
|
+
* **Note:** {@link warp_mouse} is only supported on Windows, macOS and Linux. It has no effect on Android, iOS and Web.
|
|
776
|
+
*/
|
|
777
|
+
warp_mouse(position: Vector2 | Vector2i): void;
|
|
778
|
+
|
|
779
|
+
/** Emitted when the node gains focus. */
|
|
780
|
+
focus_entered: Signal<[]>;
|
|
781
|
+
/** Emitted when the node loses focus. */
|
|
782
|
+
focus_exited: Signal<[]>;
|
|
783
|
+
/** Emitted when the node receives an {@link InputEvent}. */
|
|
784
|
+
gui_input: Signal<[InputEvent]>;
|
|
785
|
+
/** Emitted when the node's minimum size changes. */
|
|
786
|
+
minimum_size_changed: Signal<[]>;
|
|
787
|
+
/**
|
|
788
|
+
* Emitted when the mouse cursor enters the control's (or any child control's) visible area, that is not occluded behind other Controls or Windows, provided its {@link mouse_filter} lets the event reach it and regardless if it's currently focused or not.
|
|
789
|
+
* **Note:** {@link CanvasItem.z_index} doesn't affect, which Control receives the signal.
|
|
790
|
+
*/
|
|
791
|
+
mouse_entered: Signal<[]>;
|
|
792
|
+
/**
|
|
793
|
+
* Emitted when the mouse cursor leaves the control's (and all child control's) visible area, that is not occluded behind other Controls or Windows, provided its {@link mouse_filter} lets the event reach it and regardless if it's currently focused or not.
|
|
794
|
+
* **Note:** {@link CanvasItem.z_index} doesn't affect, which Control receives the signal.
|
|
795
|
+
* **Note:** If you want to check whether the mouse truly left the area, ignoring any top nodes, you can use code like this:
|
|
796
|
+
*/
|
|
797
|
+
mouse_exited: Signal<[]>;
|
|
798
|
+
/** Emitted when the control changes size. */
|
|
799
|
+
resized: Signal<[]>;
|
|
800
|
+
/**
|
|
801
|
+
* Emitted when one of the size flags changes. See {@link size_flags_horizontal} and {@link size_flags_vertical}.
|
|
802
|
+
*/
|
|
803
|
+
size_flags_changed: Signal<[]>;
|
|
804
|
+
/** Emitted when the {@link NOTIFICATION_THEME_CHANGED} notification is sent. */
|
|
805
|
+
theme_changed: Signal<[]>;
|
|
806
|
+
|
|
807
|
+
// enum FocusMode
|
|
808
|
+
/** The node cannot grab focus. Use with {@link focus_mode}. */
|
|
809
|
+
static readonly FOCUS_NONE: int;
|
|
810
|
+
/** The node can only grab focus on mouse clicks. Use with {@link focus_mode}. */
|
|
811
|
+
static readonly FOCUS_CLICK: int;
|
|
812
|
+
/**
|
|
813
|
+
* The node can grab focus on mouse click, using the arrows and the Tab keys on the keyboard, or using the D-pad buttons on a gamepad. Use with {@link focus_mode}.
|
|
814
|
+
*/
|
|
815
|
+
static readonly FOCUS_ALL: int;
|
|
816
|
+
/** The node can grab focus only when screen reader is active. Use with {@link focus_mode}. */
|
|
817
|
+
static readonly FOCUS_ACCESSIBILITY: int;
|
|
818
|
+
// enum FocusBehaviorRecursive
|
|
819
|
+
/**
|
|
820
|
+
* Inherits the {@link focus_behavior_recursive} from the parent control. If there is no parent control, this is the same as {@link FOCUS_BEHAVIOR_ENABLED}.
|
|
821
|
+
*/
|
|
822
|
+
static readonly FOCUS_BEHAVIOR_INHERITED: int;
|
|
823
|
+
/**
|
|
824
|
+
* Prevents the control from getting focused. {@link get_focus_mode_with_override} will return {@link FOCUS_NONE}.
|
|
825
|
+
*/
|
|
826
|
+
static readonly FOCUS_BEHAVIOR_DISABLED: int;
|
|
827
|
+
/**
|
|
828
|
+
* Allows the control to be focused, depending on the {@link focus_mode}. This can be used to ignore the parent's {@link focus_behavior_recursive}. {@link get_focus_mode_with_override} will return the {@link focus_mode}.
|
|
829
|
+
*/
|
|
830
|
+
static readonly FOCUS_BEHAVIOR_ENABLED: int;
|
|
831
|
+
// enum MouseBehaviorRecursive
|
|
832
|
+
/**
|
|
833
|
+
* Inherits the {@link mouse_behavior_recursive} from the parent control. If there is no parent control, this is the same as {@link MOUSE_BEHAVIOR_ENABLED}.
|
|
834
|
+
*/
|
|
835
|
+
static readonly MOUSE_BEHAVIOR_INHERITED: int;
|
|
836
|
+
/**
|
|
837
|
+
* Prevents the control from receiving mouse input. {@link get_mouse_filter_with_override} will return {@link MOUSE_FILTER_IGNORE}.
|
|
838
|
+
*/
|
|
839
|
+
static readonly MOUSE_BEHAVIOR_DISABLED: int;
|
|
840
|
+
/**
|
|
841
|
+
* Allows the control to receive mouse input, depending on the {@link mouse_filter}. This can be used to ignore the parent's {@link mouse_behavior_recursive}. {@link get_mouse_filter_with_override} will return the {@link mouse_filter}.
|
|
842
|
+
*/
|
|
843
|
+
static readonly MOUSE_BEHAVIOR_ENABLED: int;
|
|
844
|
+
// enum CursorShape
|
|
845
|
+
/**
|
|
846
|
+
* Show the system's arrow mouse cursor when the user hovers the node. Use with {@link mouse_default_cursor_shape}.
|
|
847
|
+
*/
|
|
848
|
+
static readonly CURSOR_ARROW: int;
|
|
849
|
+
/**
|
|
850
|
+
* Show the system's I-beam mouse cursor when the user hovers the node. The I-beam pointer has a shape similar to "I". It tells the user they can highlight or insert text.
|
|
851
|
+
*/
|
|
852
|
+
static readonly CURSOR_IBEAM: int;
|
|
853
|
+
/** Show the system's pointing hand mouse cursor when the user hovers the node. */
|
|
854
|
+
static readonly CURSOR_POINTING_HAND: int;
|
|
855
|
+
/** Show the system's cross mouse cursor when the user hovers the node. */
|
|
856
|
+
static readonly CURSOR_CROSS: int;
|
|
857
|
+
/** Show the system's wait mouse cursor when the user hovers the node. Often an hourglass. */
|
|
858
|
+
static readonly CURSOR_WAIT: int;
|
|
859
|
+
/**
|
|
860
|
+
* Show the system's busy mouse cursor when the user hovers the node. Often an arrow with a small hourglass.
|
|
861
|
+
*/
|
|
862
|
+
static readonly CURSOR_BUSY: int;
|
|
863
|
+
/**
|
|
864
|
+
* Show the system's drag mouse cursor, often a closed fist or a cross symbol, when the user hovers the node. It tells the user they're currently dragging an item, like a node in the Scene dock.
|
|
865
|
+
*/
|
|
866
|
+
static readonly CURSOR_DRAG: int;
|
|
867
|
+
/**
|
|
868
|
+
* Show the system's drop mouse cursor when the user hovers the node. It can be an open hand. It tells the user they can drop an item they're currently grabbing, like a node in the Scene dock.
|
|
869
|
+
*/
|
|
870
|
+
static readonly CURSOR_CAN_DROP: int;
|
|
871
|
+
/** Show the system's forbidden mouse cursor when the user hovers the node. Often a crossed circle. */
|
|
872
|
+
static readonly CURSOR_FORBIDDEN: int;
|
|
873
|
+
/**
|
|
874
|
+
* Show the system's vertical resize mouse cursor when the user hovers the node. A double-headed vertical arrow. It tells the user they can resize the window or the panel vertically.
|
|
875
|
+
*/
|
|
876
|
+
static readonly CURSOR_VSIZE: int;
|
|
877
|
+
/**
|
|
878
|
+
* Show the system's horizontal resize mouse cursor when the user hovers the node. A double-headed horizontal arrow. It tells the user they can resize the window or the panel horizontally.
|
|
879
|
+
*/
|
|
880
|
+
static readonly CURSOR_HSIZE: int;
|
|
881
|
+
/**
|
|
882
|
+
* Show the system's window resize mouse cursor when the user hovers the node. The cursor is a double-headed arrow that goes from the bottom left to the top right. It tells the user they can resize the window or the panel both horizontally and vertically.
|
|
883
|
+
*/
|
|
884
|
+
static readonly CURSOR_BDIAGSIZE: int;
|
|
885
|
+
/**
|
|
886
|
+
* Show the system's window resize mouse cursor when the user hovers the node. The cursor is a double-headed arrow that goes from the top left to the bottom right, the opposite of {@link CURSOR_BDIAGSIZE}. It tells the user they can resize the window or the panel both horizontally and vertically.
|
|
887
|
+
*/
|
|
888
|
+
static readonly CURSOR_FDIAGSIZE: int;
|
|
889
|
+
/**
|
|
890
|
+
* Show the system's move mouse cursor when the user hovers the node. It shows 2 double-headed arrows at a 90 degree angle. It tells the user they can move a UI element freely.
|
|
891
|
+
*/
|
|
892
|
+
static readonly CURSOR_MOVE: int;
|
|
893
|
+
/**
|
|
894
|
+
* Show the system's vertical split mouse cursor when the user hovers the node. On Windows, it's the same as {@link CURSOR_VSIZE}.
|
|
895
|
+
*/
|
|
896
|
+
static readonly CURSOR_VSPLIT: int;
|
|
897
|
+
/**
|
|
898
|
+
* Show the system's horizontal split mouse cursor when the user hovers the node. On Windows, it's the same as {@link CURSOR_HSIZE}.
|
|
899
|
+
*/
|
|
900
|
+
static readonly CURSOR_HSPLIT: int;
|
|
901
|
+
/** Show the system's help mouse cursor when the user hovers the node, a question mark. */
|
|
902
|
+
static readonly CURSOR_HELP: int;
|
|
903
|
+
// enum LayoutPreset
|
|
904
|
+
/**
|
|
905
|
+
* Snap all 4 anchors to the top-left of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
906
|
+
*/
|
|
907
|
+
static readonly PRESET_TOP_LEFT: int;
|
|
908
|
+
/**
|
|
909
|
+
* Snap all 4 anchors to the top-right of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
910
|
+
*/
|
|
911
|
+
static readonly PRESET_TOP_RIGHT: int;
|
|
912
|
+
/**
|
|
913
|
+
* Snap all 4 anchors to the bottom-left of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
914
|
+
*/
|
|
915
|
+
static readonly PRESET_BOTTOM_LEFT: int;
|
|
916
|
+
/**
|
|
917
|
+
* Snap all 4 anchors to the bottom-right of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
918
|
+
*/
|
|
919
|
+
static readonly PRESET_BOTTOM_RIGHT: int;
|
|
920
|
+
/**
|
|
921
|
+
* Snap all 4 anchors to the center of the left edge of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
922
|
+
*/
|
|
923
|
+
static readonly PRESET_CENTER_LEFT: int;
|
|
924
|
+
/**
|
|
925
|
+
* Snap all 4 anchors to the center of the top edge of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
926
|
+
*/
|
|
927
|
+
static readonly PRESET_CENTER_TOP: int;
|
|
928
|
+
/**
|
|
929
|
+
* Snap all 4 anchors to the center of the right edge of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
930
|
+
*/
|
|
931
|
+
static readonly PRESET_CENTER_RIGHT: int;
|
|
932
|
+
/**
|
|
933
|
+
* Snap all 4 anchors to the center of the bottom edge of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
934
|
+
*/
|
|
935
|
+
static readonly PRESET_CENTER_BOTTOM: int;
|
|
936
|
+
/**
|
|
937
|
+
* Snap all 4 anchors to the center of the parent control's bounds. Use with {@link set_anchors_preset}.
|
|
938
|
+
*/
|
|
939
|
+
static readonly PRESET_CENTER: int;
|
|
940
|
+
/**
|
|
941
|
+
* Snap all 4 anchors to the left edge of the parent control. The left offset becomes relative to the left edge and the top offset relative to the top left corner of the node's parent. Use with {@link set_anchors_preset}.
|
|
942
|
+
*/
|
|
943
|
+
static readonly PRESET_LEFT_WIDE: int;
|
|
944
|
+
/**
|
|
945
|
+
* Snap all 4 anchors to the top edge of the parent control. The left offset becomes relative to the top left corner, the top offset relative to the top edge, and the right offset relative to the top right corner of the node's parent. Use with {@link set_anchors_preset}.
|
|
946
|
+
*/
|
|
947
|
+
static readonly PRESET_TOP_WIDE: int;
|
|
948
|
+
/**
|
|
949
|
+
* Snap all 4 anchors to the right edge of the parent control. The right offset becomes relative to the right edge and the top offset relative to the top right corner of the node's parent. Use with {@link set_anchors_preset}.
|
|
950
|
+
*/
|
|
951
|
+
static readonly PRESET_RIGHT_WIDE: int;
|
|
952
|
+
/**
|
|
953
|
+
* Snap all 4 anchors to the bottom edge of the parent control. The left offset becomes relative to the bottom left corner, the bottom offset relative to the bottom edge, and the right offset relative to the bottom right corner of the node's parent. Use with {@link set_anchors_preset}.
|
|
954
|
+
*/
|
|
955
|
+
static readonly PRESET_BOTTOM_WIDE: int;
|
|
956
|
+
/**
|
|
957
|
+
* Snap all 4 anchors to a vertical line that cuts the parent control in half. Use with {@link set_anchors_preset}.
|
|
958
|
+
*/
|
|
959
|
+
static readonly PRESET_VCENTER_WIDE: int;
|
|
960
|
+
/**
|
|
961
|
+
* Snap all 4 anchors to a horizontal line that cuts the parent control in half. Use with {@link set_anchors_preset}.
|
|
962
|
+
*/
|
|
963
|
+
static readonly PRESET_HCENTER_WIDE: int;
|
|
964
|
+
/**
|
|
965
|
+
* Snap all 4 anchors to the respective corners of the parent control. Set all 4 offsets to 0 after you applied this preset and the {@link Control} will fit its parent control. Use with {@link set_anchors_preset}.
|
|
966
|
+
*/
|
|
967
|
+
static readonly PRESET_FULL_RECT: int;
|
|
968
|
+
// enum LayoutPresetMode
|
|
969
|
+
/** The control will be resized to its minimum size. */
|
|
970
|
+
static readonly PRESET_MODE_MINSIZE: int;
|
|
971
|
+
/** The control's width will not change. */
|
|
972
|
+
static readonly PRESET_MODE_KEEP_WIDTH: int;
|
|
973
|
+
/** The control's height will not change. */
|
|
974
|
+
static readonly PRESET_MODE_KEEP_HEIGHT: int;
|
|
975
|
+
/** The control's size will not change. */
|
|
976
|
+
static readonly PRESET_MODE_KEEP_SIZE: int;
|
|
977
|
+
// enum SizeFlags
|
|
978
|
+
/**
|
|
979
|
+
* Tells the parent {@link Container} to align the node with its start, either the top or the left edge. It is mutually exclusive with {@link SIZE_FILL} and other shrink size flags, but can be used with {@link SIZE_EXPAND} in some containers. Use with {@link size_flags_horizontal} and {@link size_flags_vertical}.
|
|
980
|
+
* **Note:** Setting this flag is equal to not having any size flags.
|
|
981
|
+
*/
|
|
982
|
+
static readonly SIZE_SHRINK_BEGIN: int;
|
|
983
|
+
/**
|
|
984
|
+
* Tells the parent {@link Container} to expand the bounds of this node to fill all the available space without pushing any other node. It is mutually exclusive with shrink size flags. Use with {@link size_flags_horizontal} and {@link size_flags_vertical}.
|
|
985
|
+
*/
|
|
986
|
+
static readonly SIZE_FILL: int;
|
|
987
|
+
/**
|
|
988
|
+
* Tells the parent {@link Container} to let this node take all the available space on the axis you flag. If multiple neighboring nodes are set to expand, they'll share the space based on their stretch ratio. See {@link size_flags_stretch_ratio}. Use with {@link size_flags_horizontal} and {@link size_flags_vertical}.
|
|
989
|
+
*/
|
|
990
|
+
static readonly SIZE_EXPAND: int;
|
|
991
|
+
/**
|
|
992
|
+
* Sets the node's size flags to both fill and expand. See {@link SIZE_FILL} and {@link SIZE_EXPAND} for more information.
|
|
993
|
+
*/
|
|
994
|
+
static readonly SIZE_EXPAND_FILL: int;
|
|
995
|
+
/**
|
|
996
|
+
* Tells the parent {@link Container} to center the node in the available space. It is mutually exclusive with {@link SIZE_FILL} and other shrink size flags, but can be used with {@link SIZE_EXPAND} in some containers. Use with {@link size_flags_horizontal} and {@link size_flags_vertical}.
|
|
997
|
+
*/
|
|
998
|
+
static readonly SIZE_SHRINK_CENTER: int;
|
|
999
|
+
/**
|
|
1000
|
+
* Tells the parent {@link Container} to align the node with its end, either the bottom or the right edge. It is mutually exclusive with {@link SIZE_FILL} and other shrink size flags, but can be used with {@link SIZE_EXPAND} in some containers. Use with {@link size_flags_horizontal} and {@link size_flags_vertical}.
|
|
1001
|
+
*/
|
|
1002
|
+
static readonly SIZE_SHRINK_END: int;
|
|
1003
|
+
// enum MouseFilter
|
|
1004
|
+
/**
|
|
1005
|
+
* The control will receive mouse movement input events and mouse button input events if clicked on through {@link _gui_input}. The control will also receive the {@link mouse_entered} and {@link mouse_exited} signals. These events are automatically marked as handled, and they will not propagate further to other controls. This also results in blocking signals in other controls.
|
|
1006
|
+
*/
|
|
1007
|
+
static readonly MOUSE_FILTER_STOP: int;
|
|
1008
|
+
/**
|
|
1009
|
+
* The control will receive mouse movement input events and mouse button input events if clicked on through {@link _gui_input}. The control will also receive the {@link mouse_entered} and {@link mouse_exited} signals.
|
|
1010
|
+
* If this control does not handle the event, the event will propagate up to its parent control if it has one. The event is bubbled up the node hierarchy until it reaches a non-{@link CanvasItem}, a control with {@link MOUSE_FILTER_STOP}, or a {@link CanvasItem} with {@link CanvasItem.top_level} enabled. This will allow signals to fire in all controls it reaches. If no control handled it, the event will be passed to {@link Node._shortcut_input} for further processing.
|
|
1011
|
+
*/
|
|
1012
|
+
static readonly MOUSE_FILTER_PASS: int;
|
|
1013
|
+
/**
|
|
1014
|
+
* The control will not receive any mouse movement input events nor mouse button input events through {@link _gui_input}. The control will also not receive the {@link mouse_entered} nor {@link mouse_exited} signals. This will not block other controls from receiving these events or firing the signals. Ignored events will not be handled automatically. If a child has {@link MOUSE_FILTER_PASS} and an event was passed to this control, the event will further propagate up to the control's parent.
|
|
1015
|
+
* **Note:** If the control has received {@link mouse_entered} but not {@link mouse_exited}, changing the {@link mouse_filter} to {@link MOUSE_FILTER_IGNORE} will cause {@link mouse_exited} to be emitted.
|
|
1016
|
+
*/
|
|
1017
|
+
static readonly MOUSE_FILTER_IGNORE: int;
|
|
1018
|
+
// enum GrowDirection
|
|
1019
|
+
/**
|
|
1020
|
+
* The control will grow to the left or top to make up if its minimum size is changed to be greater than its current size on the respective axis.
|
|
1021
|
+
*/
|
|
1022
|
+
static readonly GROW_DIRECTION_BEGIN: int;
|
|
1023
|
+
/**
|
|
1024
|
+
* The control will grow to the right or bottom to make up if its minimum size is changed to be greater than its current size on the respective axis.
|
|
1025
|
+
*/
|
|
1026
|
+
static readonly GROW_DIRECTION_END: int;
|
|
1027
|
+
/**
|
|
1028
|
+
* The control will grow in both directions equally to make up if its minimum size is changed to be greater than its current size.
|
|
1029
|
+
*/
|
|
1030
|
+
static readonly GROW_DIRECTION_BOTH: int;
|
|
1031
|
+
// enum Anchor
|
|
1032
|
+
/**
|
|
1033
|
+
* Snaps one of the 4 anchor's sides to the origin of the node's `Rect`, in the top left. Use it with one of the `anchor_*` member variables, like {@link anchor_left}. To change all 4 anchors at once, use {@link set_anchors_preset}.
|
|
1034
|
+
*/
|
|
1035
|
+
static readonly ANCHOR_BEGIN: int;
|
|
1036
|
+
/**
|
|
1037
|
+
* Snaps one of the 4 anchor's sides to the end of the node's `Rect`, in the bottom right. Use it with one of the `anchor_*` member variables, like {@link anchor_left}. To change all 4 anchors at once, use {@link set_anchors_preset}.
|
|
1038
|
+
*/
|
|
1039
|
+
static readonly ANCHOR_END: int;
|
|
1040
|
+
// enum LayoutDirection
|
|
1041
|
+
/** Automatic layout direction, determined from the parent control layout direction. */
|
|
1042
|
+
static readonly LAYOUT_DIRECTION_INHERITED: int;
|
|
1043
|
+
/**
|
|
1044
|
+
* Automatic layout direction, determined from the current locale. Right-to-left layout direction is automatically used for languages that require it such as Arabic and Hebrew, but only if a valid translation file is loaded for the given language (unless said language is configured as a fallback in {@link ProjectSettings.internationalization/locale/fallback}). For all other languages (or if no valid translation file is found by Godot), left-to-right layout direction is used. If using {@link TextServerFallback} ({@link ProjectSettings.internationalization/rendering/text_driver}), left-to-right layout direction is always used regardless of the language. Right-to-left layout direction can also be forced using {@link ProjectSettings.internationalization/rendering/force_right_to_left_layout_direction}.
|
|
1045
|
+
*/
|
|
1046
|
+
static readonly LAYOUT_DIRECTION_APPLICATION_LOCALE: int;
|
|
1047
|
+
/** Left-to-right layout direction. */
|
|
1048
|
+
static readonly LAYOUT_DIRECTION_LTR: int;
|
|
1049
|
+
/** Right-to-left layout direction. */
|
|
1050
|
+
static readonly LAYOUT_DIRECTION_RTL: int;
|
|
1051
|
+
/**
|
|
1052
|
+
* Automatic layout direction, determined from the system locale. Right-to-left layout direction is automatically used for languages that require it such as Arabic and Hebrew, but only if a valid translation file is loaded for the given language. For all other languages (or if no valid translation file is found by Godot), left-to-right layout direction is used. If using {@link TextServerFallback} ({@link ProjectSettings.internationalization/rendering/text_driver}), left-to-right layout direction is always used regardless of the language.
|
|
1053
|
+
*/
|
|
1054
|
+
static readonly LAYOUT_DIRECTION_SYSTEM_LOCALE: int;
|
|
1055
|
+
/** Represents the size of the {@link LayoutDirection} enum. */
|
|
1056
|
+
static readonly LAYOUT_DIRECTION_MAX: int;
|
|
1057
|
+
static readonly LAYOUT_DIRECTION_LOCALE: int;
|
|
1058
|
+
// enum TextDirection
|
|
1059
|
+
/** Text writing direction is the same as layout direction. */
|
|
1060
|
+
static readonly TEXT_DIRECTION_INHERITED: int;
|
|
1061
|
+
/** Automatic text writing direction, determined from the current locale and text content. */
|
|
1062
|
+
static readonly TEXT_DIRECTION_AUTO: int;
|
|
1063
|
+
/** Left-to-right text writing direction. */
|
|
1064
|
+
static readonly TEXT_DIRECTION_LTR: int;
|
|
1065
|
+
/** Right-to-left text writing direction. */
|
|
1066
|
+
static readonly TEXT_DIRECTION_RTL: int;
|
|
1067
|
+
|
|
1068
|
+
/** Sent when the node changes size. Use {@link size} to get the new size. */
|
|
1069
|
+
static readonly NOTIFICATION_RESIZED: int;
|
|
1070
|
+
/**
|
|
1071
|
+
* Sent when the mouse cursor enters the control's (or any child control's) visible area, that is not occluded behind other Controls or Windows, provided its {@link mouse_filter} lets the event reach it and regardless if it's currently focused or not.
|
|
1072
|
+
* **Note:** {@link CanvasItem.z_index} doesn't affect which Control receives the notification.
|
|
1073
|
+
* See also {@link NOTIFICATION_MOUSE_ENTER_SELF}.
|
|
1074
|
+
*/
|
|
1075
|
+
static readonly NOTIFICATION_MOUSE_ENTER: int;
|
|
1076
|
+
/**
|
|
1077
|
+
* Sent when the mouse cursor leaves the control's (and all child control's) visible area, that is not occluded behind other Controls or Windows, provided its {@link mouse_filter} lets the event reach it and regardless if it's currently focused or not.
|
|
1078
|
+
* **Note:** {@link CanvasItem.z_index} doesn't affect which Control receives the notification.
|
|
1079
|
+
* See also {@link NOTIFICATION_MOUSE_EXIT_SELF}.
|
|
1080
|
+
*/
|
|
1081
|
+
static readonly NOTIFICATION_MOUSE_EXIT: int;
|
|
1082
|
+
/**
|
|
1083
|
+
* Sent when the mouse cursor enters the control's visible area, that is not occluded behind other Controls or Windows, provided its {@link mouse_filter} lets the event reach it and regardless if it's currently focused or not.
|
|
1084
|
+
* **Note:** {@link CanvasItem.z_index} doesn't affect which Control receives the notification.
|
|
1085
|
+
* See also {@link NOTIFICATION_MOUSE_ENTER}.
|
|
1086
|
+
*/
|
|
1087
|
+
static readonly NOTIFICATION_MOUSE_ENTER_SELF: int;
|
|
1088
|
+
/**
|
|
1089
|
+
* Sent when the mouse cursor leaves the control's visible area, that is not occluded behind other Controls or Windows, provided its {@link mouse_filter} lets the event reach it and regardless if it's currently focused or not.
|
|
1090
|
+
* **Note:** {@link CanvasItem.z_index} doesn't affect which Control receives the notification.
|
|
1091
|
+
* See also {@link NOTIFICATION_MOUSE_EXIT}.
|
|
1092
|
+
*/
|
|
1093
|
+
static readonly NOTIFICATION_MOUSE_EXIT_SELF: int;
|
|
1094
|
+
/** Sent when the node grabs focus. */
|
|
1095
|
+
static readonly NOTIFICATION_FOCUS_ENTER: int;
|
|
1096
|
+
/**
|
|
1097
|
+
* Sent when the node loses focus.
|
|
1098
|
+
* This notification is sent in reversed order.
|
|
1099
|
+
*/
|
|
1100
|
+
static readonly NOTIFICATION_FOCUS_EXIT: int;
|
|
1101
|
+
/**
|
|
1102
|
+
* Sent when the node needs to refresh its theme items. This happens in one of the following cases:
|
|
1103
|
+
* - The {@link theme} property is changed on this node or any of its ancestors.
|
|
1104
|
+
* - The {@link theme_type_variation} property is changed on this node.
|
|
1105
|
+
* - One of the node's theme property overrides is changed.
|
|
1106
|
+
* - The node enters the scene tree.
|
|
1107
|
+
* **Note:** As an optimization, this notification won't be sent from changes that occur while this node is outside of the scene tree. Instead, all of the theme item updates can be applied at once when the node enters the scene tree.
|
|
1108
|
+
* **Note:** This notification is received alongside {@link Node.NOTIFICATION_ENTER_TREE}, so if you are instantiating a scene, the child nodes will not be initialized yet. You can use it to setup theming for this node, child nodes created from script, or if you want to access child nodes added in the editor, make sure the node is ready using {@link Node.is_node_ready}.
|
|
1109
|
+
*/
|
|
1110
|
+
static readonly NOTIFICATION_THEME_CHANGED: int;
|
|
1111
|
+
/**
|
|
1112
|
+
* Sent when this node is inside a {@link ScrollContainer} which has begun being scrolled when dragging the scrollable area *with a touch event*. This notification is *not* sent when scrolling by dragging the scrollbar, scrolling with the mouse wheel or scrolling with keyboard/gamepad events.
|
|
1113
|
+
* **Note:** This signal is only emitted on Android or iOS, or on desktop/web platforms when {@link ProjectSettings.input_devices/pointing/emulate_touch_from_mouse} is enabled.
|
|
1114
|
+
*/
|
|
1115
|
+
static readonly NOTIFICATION_SCROLL_BEGIN: int;
|
|
1116
|
+
/**
|
|
1117
|
+
* Sent when this node is inside a {@link ScrollContainer} which has stopped being scrolled when dragging the scrollable area *with a touch event*. This notification is *not* sent when scrolling by dragging the scrollbar, scrolling with the mouse wheel or scrolling with keyboard/gamepad events.
|
|
1118
|
+
* **Note:** This signal is only emitted on Android or iOS, or on desktop/web platforms when {@link ProjectSettings.input_devices/pointing/emulate_touch_from_mouse} is enabled.
|
|
1119
|
+
*/
|
|
1120
|
+
static readonly NOTIFICATION_SCROLL_END: int;
|
|
1121
|
+
/**
|
|
1122
|
+
* Sent when the control layout direction is changed from LTR or RTL or vice versa. This notification is propagated to child Control nodes as result of a change to {@link layout_direction}.
|
|
1123
|
+
*/
|
|
1124
|
+
static readonly NOTIFICATION_LAYOUT_DIRECTION_CHANGED: int;
|
|
1125
|
+
}
|