diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index aadfd4fb..6b903180 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -9,7 +9,7 @@
"name": "godot-devkit",
"source": "./",
"description": "The godot-devkit skill: which devkit verb does each scene, resource, tile, rename and stats job.",
- "version": "4.8.0",
+ "version": "5.0.0",
"license": "MIT"
}
]
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 95c8c5cd..aadb9d8f 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "godot-devkit",
- "version": "4.8.0",
+ "version": "5.0.0",
"description": "Points agents at godot-devkit verbs for .tscn/.tres edits, editor save churn, renames, tile painting and code-size stats.",
"author": {
"name": "Chris Dowin"
diff --git a/CLAUDE.md b/CLAUDE.md
index 6d0a688f..cc164272 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -1,11 +1,12 @@
# CLAUDE.md — godot-devkit
-Scene tooling, configurable checks and installable Godot runners for Godot 4.x, consumed as a **pinned-tag, stdlib-only
-Python package** by shipping game repos. Two audiences, humans and LLMs; for the second the
-deliverables are a stable verb vocabulary, determinism, and token reduction. The northstar in one
-line: *any change you can make to a scene by hand should be makeable through one deterministic
-command that touches nothing else — and provable without reading the file.* The why is
-[`README.md`](README.md); this file is the enforceable form of it, not a second copy.
+A library of base primitives any Godot 4.x project wants (read-only scene parsing, reference
+search, the uid codec, stats, outcome checks, sandboxed engine runners) plus a few agent skills,
+consumed as a **pinned-tag, stdlib-only Python package**. The test for a module: would any Godot
+project want this primitive, and does the editor or the model not already do it? Godot writes its
+own scene files (the editor, or a headless GDScript with `ResourceSaver`); the devkit keeps one
+narrow writer, `scene set` and `scene add`, for inherited scenes a headless save damages, and adds
+no other. The why is [`README.md`](README.md); this file is the enforceable form.
godot-devkit has Godot tooling and the gate framework games run (`Makefile.gates`, `Makefile.tiers`);
agentic-sdlc has agent guardrails; neither imports the other. Agent hooks, agents and the model guide
@@ -69,12 +70,9 @@ Model guide: cdowin/agentic-sdlc (which agent, which model, when).
- **New check** = module in `godot/checks/` + a branch in `_dispatch_check` + a check-reference
wiki row drafted in the PR body + a Release-notes section, plus the probe below.
**New read verb** = module + `cli.py` route + a Verb-reference wiki row drafted in the PR body + a
- Release-notes section. **New write verb** = usually a scene subverb — a row in `scene_edit.py`'s
- `VERBS` + `HANDLERS` plus `_build_parser`/`_check_usage`; a new top-level verb is module + route +
- wiki row + Release-notes section.
- Either way: a round-trip fidelity case in the corpus, a refusal path with a test proving it declines
- rather than mangles, and an idempotence test. Address nodes by PATH (`parent` + `name`), the way
- Godot does; read output must be valid write input.
+ Release-notes section. **No new scene write verb** (see the top). A repair flag on a check
+ (`uid --fix`) needs a refusal path with a test proving it declines rather than mangles, and an
+ idempotence test.
- **Every config value goes through `src/godot_devkit/core/config.py`.** Never `tuple(cfg.get(...))` — a bare string
is iterable, and that is how a silent PASS over an empty census ships.
- **Known gap:** `refs` does not index autoload NAMES (declared in `project.godot`, not via
diff --git a/Makefile.tiers b/Makefile.tiers
index 88bf2c79..4411da05 100644
--- a/Makefile.tiers
+++ b/Makefile.tiers
@@ -184,7 +184,7 @@ render: ## Draw a scene (or SHEET=
as a contact sheet) to a PNG (LOCAL, nee
@test -n "$(OUT)" && test -n "$(SCENE)$(SHEET)" || { echo "usage: make render SCENE= OUT= [RECT=x,y,w,h] | make render SHEET= OUT="; exit 2; }
@bash $(GDK_RUNNERS_DIR)/render.sh $(if $(SHEET),--sheet "$(SHEET)","$(SCENE)") --out "$(OUT)" $(if $(RECT),--rect "$(RECT)")
-# The runtime half of `check ui-layout`. The runner asks the godot-devkit
+# Text fit at runtime. The runner asks the godot-devkit
# command for the [ui_fit] plan (pure parse; 0 scenes FAILS there), boots it,
# and draws a scene with findings to .ui-fit-reports/ through render.sh.
ui-fit: ## Boot the [ui_fit] scenes (default ui/gallery/) pseudolocalized at the smallest and largest window; report spills and cut text
diff --git a/README.md b/README.md
index ef7fda51..4dd54bbf 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,20 @@
# godot-devkit
-**godot-devkit** is scene tooling, configurable checks and installable Godot runners for Godot 4.x
-projects, shipped as a **pinned-tag, stdlib-only** Python package. Its Python CLI reads and edits
-`.tscn`/`.tres` as text without starting Godot. The installed shell runners use a sandboxed
-`user://` to run the engine's import, GUT tests and other project checks.
+**godot-devkit** is a library of base primitives for Godot 4.x projects, shipped as a
+**pinned-tag, stdlib-only** Python package: read-only scene parsing, reference search, the uid
+codec, code stats, a few outcome checks, and installable runners that use a sandboxed `user://` to
+run the engine's import, GUT tests, renders and fit sweeps. Plus a few agent skills.
Made by [Signal and Echo](https://signalandecho.com), an indie game studio, for its own Godot
games, and published under MIT for any Godot project.
-> **Any change you can make to a scene by hand, you should be able to make through one
-> deterministic command that touches nothing else — and prove it, without ever reading the file.**
+> **Godot writes its own files. The devkit reads them, cheaply, and checks the outcomes.**
-For a human, the editor stops being mandatory for mechanical work and diffs stay reviewable. For an
-LLM: a small stable vocabulary of verbs instead of a bespoke `sed`; determinism, because a tool that
-reformats what it was not asked to touch hides its damage inside a legitimate diff; and token
-reduction, because a tile-heavy scene costs 100k+ tokens to read where `scene` costs a few hundred
-and a write verb costs zero. The commitments: **refuse rather than mangle** (the worst outcome is
-never an error, it is silent partial success); **read output is write input**; **idempotence**,
-because models retry; **bounded blast radius**; and **`scene-diff`**, so an edit is provable
-without re-reading the file.
+A scene changes through the editor, or headless through a short GDScript that loads it, edits it
+and saves it with `ResourceSaver` (the `godot-devkit` skill shows the pattern). For an inherited
+scene with overrides, which a headless save damages, `scene set` and `scene add` change only their
+own lines. The devkit's part is
+the read side: a tile-heavy scene costs 100k+ tokens to read where `scene` costs a few hundred, and
+`scene-diff` proves an edit without re-reading the file. A gate that scanned nothing fails, loudly.
Claude Code plugin (the `godot-devkit` skill): `/plugin marketplace add cdowin/godot-devkit`, then `/plugin install godot-devkit@godot-devkit`. Docs: https://github.com/cdowin/godot-devkit/wiki (verbs, checks, CI and [migration to 4.0](https://github.com/cdowin/godot-devkit/wiki/Migrating-from-3.x-to-4.0)).
@@ -36,12 +33,11 @@ Pin it and read the rest: [Installing and pinning](https://github.com/cdowin/god
```sh
godot-devkit scene scenes/world/hub.tscn # node tree, ext_resources, a few hundred tokens
-godot-devkit scene set scenes/world/hub.tscn Player/Camera zoom "Vector2(2, 2)"
godot-devkit scene-diff scenes/world/hub.tscn --git HEAD # the one line that changed, and nothing else
godot-devkit check all # the configured static checks
```
-Every write verb takes `--dry-run` and is idempotent. More: [Quickstart](https://github.com/cdowin/godot-devkit/wiki/Quickstart), [Verb reference](https://github.com/cdowin/godot-devkit/wiki/Verb-reference).
+More: [Quickstart](https://github.com/cdowin/godot-devkit/wiki/Quickstart), [Verb reference](https://github.com/cdowin/godot-devkit/wiki/Verb-reference).
The stock check roster covers selected static drift; UID, `.tres` and pattern checks are opt-in via
`[roster] checks`. Installed `make parse` imports, compiles every script and boots the main scene.
diff --git a/godot-devkit.toml b/godot-devkit.toml
index 6c192444..4e40b9a1 100644
--- a/godot-devkit.toml
+++ b/godot-devkit.toml
@@ -20,8 +20,5 @@
[uid]
exclude_prefixes = ["addons/", "tests/fixtures/"]
-[tres]
-exclude_prefixes = ["addons/", "tests/fixtures/"]
-
[props]
exclude_prefixes = ["addons/", "tests/fixtures/"]
diff --git a/pyproject.toml b/pyproject.toml
index 8519edd8..55a4d4ef 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "godot-devkit"
-version = "4.8.0"
+version = "5.0.0"
description = "Headless dev tooling for Godot 4.x - pure-parse scene introspection, surgical scene, TileMapLayer and autoload edits, configurable static checks, and the test-tier runners."
readme = "README.md"
requires-python = ">=3.11"
diff --git a/src/godot_devkit/__init__.py b/src/godot_devkit/__init__.py
index 72adf6d7..4b85320e 100644
--- a/src/godot_devkit/__init__.py
+++ b/src/godot_devkit/__init__.py
@@ -1,2 +1,2 @@
"""godot-devkit — headless scene introspection + static repo gates for Godot 4.x."""
-__version__ = '4.8.0'
+__version__ = '5.0.0'
diff --git a/src/godot_devkit/cli.py b/src/godot_devkit/cli.py
index 6a4afaf0..3e69aa9f 100644
--- a/src/godot_devkit/cli.py
+++ b/src/godot_devkit/cli.py
@@ -19,7 +19,9 @@
godot-devkit fit-sweep-plan # the sizes and scenes `make fit-sweep`
# boots, from [fit_sweep] and its table
-Scene surgery (pure parse; edits only the lines it was asked to, or refuses):
+Scene writer (pure parse; edits only its own lines, or refuses). Godot writes
+scenes; these two are for inherited scenes with overrides or local materials,
+which a headless load-and-save damages:
godot-devkit scene set
godot-devkit scene set --resource
godot-devkit scene set --sub-resource
@@ -30,59 +32,19 @@
[key=value ...]
# make a [sub_resource] and point the
# property at it
- godot-devkit scene rename
godot-devkit scene add [--script ...]
[--tile-set res://x.tres] [--z N] [--group G]
godot-devkit scene add --instance res://x.tscn
# an instance node (no type=); its ref is
# minted from the scene's own uid, or refused
- godot-devkit scene rm
- godot-devkit scene reparent
- godot-devkit scene connect [--flags N]
- godot-devkit scene disconnect [--flags N]
- # author / remove one [connection]; ambiguous
- # matches are refused, --flags names one
- godot-devkit scene new --root [--script res://x.gd] [--name N]
- godot-devkit scene new --inherits res://base.tscn [--name N]
- # a whole new scene with a fresh header uid
- # no file in the project already claims
- godot-devkit refs --retarget [--dry-run]
- # after a git mv: rewrite every ext_resource
- # path attr + exact preload/load literal that
- # names old; anything unprovable is SKIPPED
- # with a reason, and skips exit 1
- godot-devkit refs --rename [--dry-run]
- # rename a class_name / method / signal /
- # autoload across .gd, .tscn, .tres and
- # project.godot as one plan; any dynamic,
- # string or unproven site refuses it whole;
- # tests/ is always in scope
- godot-devkit scene canonicalize ... [--elide-defaults]
- [--respell] [--order]
- # restore what PackedScene.pack() drops:
- # uid-in-refs, the header uid, index= on
- # instance children; --elide-defaults also
- # removes assignments equal to the script's
- # @export default (what the editor omits);
- # --respell / --order re-spell floats and
- # typed arrays and reorder properties the
- # way the editor's save would
- godot-devkit tiles paint --layer NAME (--region X0,Y0,X1,Y1 | --at X,Y ...)
- (--tile SRC/AX,AY[/ALT] | --atlas-map MAP.json --source SRC)
- godot-devkit tiles erase --layer NAME (--region X0,Y0,X1,Y1 | --at X,Y ...)
- # fill / clear cells of one TileMapLayer;
- # only that one property's base64 is
- # regenerated; --atlas-map autotiles and
- # re-slots the same-source neighbors
- godot-devkit autoloads add | autoloads rm
- # declare / remove one project.godot autoload
+ # (both take --dry-run and are idempotent)
+
godot-devkit pot [--dry-run | --check]
# the localization POT the editor writes,
# from project.godot's translations_pot_files
# (.gd only) to `[pot] output`; --check
# exits 1 on drift and names each missing
# and extra msgid
- (every verb takes --dry-run, prints a unified diff, and is idempotent)
The installer (writes each file once; after that it is the repo's):
godot-devkit install-runners [--force] [--diff]
@@ -105,11 +67,9 @@
# into a skills root; --check reports drift
Static gates (exit 1 on findings; run from anywhere inside the repo):
- godot-devkit check warnings | props | defaults | rng
- | tres-comment | unit-disk | test-shape
- | uid [--fix] | tres | canonical | patterns | ui-layout
- | addon [--fix]
- # the last six are opt-in: not in the stock `check all`
+ godot-devkit check props | tres-comment | unit-disk
+ | uid [--fix] | patterns | addon [--fix]
+ # the last three are opt-in: not in the stock `check all`
# `addon --fix` mints the uids an add-on
# must ship: .gd.uid sidecars and header uids
godot-devkit check --help # that gate's contract, config and scope
@@ -135,12 +95,11 @@
from godot_devkit import __version__
from godot_devkit.core.config import ConfigError
-from godot_devkit.godot.checks.roster import KNOWN_GATES, OPT_IN_GATES, all_roster
+from godot_devkit.godot.checks.roster import (KNOWN_GATES, OPT_IN_GATES,
+ REMOVED_GATES, all_roster)
FIX_FLAG = '--fix'
HELP_FLAGS = ('-h', '--help')
-RETARGET_FLAG = '--retarget'
-RENAME_FLAG = '--rename'
# The gates that accept `--fix`. A second fixable gate is a row here, not a
# new inline condition in `_run_check`.
@@ -158,12 +117,46 @@
RETIRED_COMMANDS = frozenset({'pm', 'init', 'gates-extra'})
RETIRED_CHECKS = frozenset({'doc', 'shell', 'pm', 'hooks', 'repo-hygiene'})
+# What 5.0 removed, keyed by (command, subcommand or flag), each with what does
+# the job now. Godot writes its own files: the editor, or a headless GDScript
+# that loads, edits and saves with ResourceSaver (the godot-devkit skill).
+_ENGINE = 'use the editor, or a headless GDScript that saves with ResourceSaver'
+_ROSTER = 'drop it from `[roster] checks`'
+REMOVED_VERBS = {
+ **{('scene', verb): _ENGINE for verb in
+ ('rename', 'rm', 'reparent', 'connect', 'disconnect', 'new')},
+ ('scene', 'canonicalize'): 'nothing replaces it: a file Godot saved is already in its form',
+ ('tiles', 'paint'): 'use TileMapLayer.set_cell / set_cells_terrain_connect in a headless GDScript',
+ ('tiles', 'erase'): 'use TileMapLayer.erase_cell in a headless GDScript',
+ ('refs', '--retarget'): 'move it in the editor\'s FileSystem dock; uid-in-refs '
+ 'finds a moved file and the next save writes its path',
+ ('refs', '--rename'): 'rename in the editor, or edit by hand and prove no '
+ 'caller is left with `refs `',
+ ('autoloads', 'add'): 'use Project Settings > Autoload, or '
+ 'ProjectSettings.set_setting() + save() in a headless script',
+ ('autoloads', 'rm'): 'use Project Settings > Autoload, or '
+ 'ProjectSettings.clear() + save() in a headless script',
+ **{('check', gate): _ROSTER for gate in REMOVED_GATES},
+}
+
def _usage() -> int:
print(__doc__.strip())
return 2
+def _removed(cmd: str, rest: list[str]) -> int | None:
+ """Exit 2 with the replacement for a verb 5.0 removed, else None. Looks at
+ the subcommand and at flags only, so a node or file named `rm` is not one."""
+ for arg in rest[:1] + [a for a in rest[1:] if a.startswith('--')]:
+ replacement = REMOVED_VERBS.get((cmd, arg))
+ if replacement:
+ print(f'godot-devkit: `{cmd} {arg}` was removed in 5.0: '
+ f'{replacement}', file=sys.stderr)
+ return 2
+ return None
+
+
def _retired(verb: str) -> int:
"""One line, exit 2: the verb is gone from both kits."""
print(f'godot-devkit: {verb!r} left this package in 0.25.0 and is not in '
@@ -210,39 +203,18 @@ def _check_module(name: str):
if name == 'uid':
from godot_devkit.godot.checks import uid
return uid
- if name == 'tres':
- from godot_devkit.godot.checks import tres
- return tres
if name == 'props':
from godot_devkit.godot.checks import props
return props
- if name == 'defaults':
- from godot_devkit.godot.checks import defaults
- return defaults
- if name == 'rng':
- from godot_devkit.godot.checks import rng
- return rng
if name == 'tres-comment':
from godot_devkit.godot.checks import tres_comment
return tres_comment
if name == 'unit-disk':
from godot_devkit.godot.checks import unit_disk
return unit_disk
- if name == 'test-shape':
- from godot_devkit.godot.checks import test_shape
- return test_shape
- if name == 'warnings':
- from godot_devkit.godot.checks import warnings
- return warnings
- if name == 'canonical':
- from godot_devkit.godot.checks import canonical
- return canonical
if name == 'patterns':
from godot_devkit.godot.checks import patterns
return patterns
- if name == 'ui-layout':
- from godot_devkit.godot.checks import ui_layout
- return ui_layout
if name == 'addon':
from godot_devkit.godot.checks import addon
return addon
@@ -279,43 +251,31 @@ def main(argv: list[str] | None = None) -> int:
print(__doc__.strip())
return 0
cmd, rest = args[0], args[1:]
+ removed = _removed(cmd, rest)
+ if removed is not None:
+ return removed
if cmd in ('-V', '--version', 'version'):
print(f'godot-devkit {__version__}')
return 0
if cmd == 'scene':
from godot_devkit.godot.write import scene_edit
- if rest and rest[0] == 'canonicalize':
- from godot_devkit.godot.write import scene_canonicalize
- return scene_canonicalize.main(rest[1:])
if rest and rest[0] in scene_edit.VERBS:
return scene_edit.main(rest)
from godot_devkit.godot.read import scene_summary
return scene_summary.main(rest)
if cmd == 'tiles':
- from godot_devkit.godot.write import tiles_paint
- if rest and rest[0] in tiles_paint.VERBS:
- return tiles_paint.main(rest)
from godot_devkit.godot.read import tiles
return tiles.main(rest)
if cmd == 'scene-diff':
from godot_devkit.godot.read import scene_diff
return scene_diff.main(rest)
if cmd == 'refs':
- if RETARGET_FLAG in rest:
- from godot_devkit.godot.write import refs_retarget
- return refs_retarget.main(rest)
- if RENAME_FLAG in rest:
- from godot_devkit.godot.write import refs_rename
- return refs_rename.main(rest)
from godot_devkit.godot.read import refs
return refs.main(rest)
if cmd == 'orphans':
from godot_devkit.godot.read import orphans
return orphans.main(rest)
if cmd == 'autoloads':
- from godot_devkit.godot.write import autoloads_edit
- if rest and rest[0] in autoloads_edit.VERBS:
- return autoloads_edit.main(rest)
from godot_devkit.godot.read import autoloads
return autoloads.main(rest)
if cmd == 'pot':
diff --git a/src/godot_devkit/core/apply.py b/src/godot_devkit/core/apply.py
index 2ccb6356..77ec88ab 100644
--- a/src/godot_devkit/core/apply.py
+++ b/src/godot_devkit/core/apply.py
@@ -147,7 +147,6 @@ class Applied:
error: str = ''
-
@dataclass
class Plan:
"""An explicit list of intended operations. Decide, then apply."""
@@ -351,11 +350,6 @@ def write(path: Path, text: str, *, newline: str | None = '') -> Applied:
return Plan().overwrite(path, text, newline=newline).apply(decide=False)
-def write_translated(path: Path, text: str) -> Applied:
- """`Path.write_text` semantics — `\\n` translated on write."""
- return write(path, text, newline=None)
-
-
def make_dir(path: Path) -> Applied:
return Plan().make_dir(path).apply(decide=False)
diff --git a/src/godot_devkit/data/classdb.json b/src/godot_devkit/data/classdb.json
index 2e638d74..3c36e77f 100644
--- a/src/godot_devkit/data/classdb.json
+++ b/src/godot_devkit/data/classdb.json
@@ -1 +1 @@
-{"classes":{"AESContext":{"inherits":"RefCounted","props":[]},"AStar2D":{"inherits":"RefCounted","props":["neighbor_filter_enabled"]},"AStar3D":{"inherits":"RefCounted","props":["neighbor_filter_enabled"]},"AStarGrid2D":{"inherits":"RefCounted","props":["cell_shape","cell_size","default_compute_heuristic","default_estimate_heuristic","diagonal_mode","jumping_enabled","offset","region","size"]},"AcceptDialog":{"inherits":"Window","props":["dialog_autowrap","dialog_close_on_escape","dialog_hide_on_ok","dialog_text","ok_button_text"]},"AimModifier3D":{"inherits":"BoneConstraint3D","props":["setting_count"]},"AnimatableBody2D":{"inherits":"StaticBody2D","props":["sync_to_physics"]},"AnimatableBody3D":{"inherits":"StaticBody3D","props":["sync_to_physics"]},"AnimatedSprite2D":{"inherits":"Node2D","props":["animation","autoplay","centered","flip_h","flip_v","frame","frame_progress","offset","speed_scale","sprite_frames"]},"AnimatedSprite3D":{"inherits":"SpriteBase3D","props":["animation","autoplay","frame","frame_progress","speed_scale","sprite_frames"]},"AnimatedTexture":{"inherits":"Texture2D","props":["current_frame","frames","one_shot","pause","speed_scale"]},"Animation":{"inherits":"Resource","props":["capture_included","length","loop_mode","step"]},"AnimationLibrary":{"inherits":"Resource","props":[]},"AnimationMixer":{"inherits":"Node","props":["active","audio_max_polyphony","callback_mode_discrete","callback_mode_method","callback_mode_process","deterministic","reset_on_save","root_motion_local","root_motion_track","root_node"]},"AnimationNode":{"inherits":"Resource","props":["filter_enabled","filters"]},"AnimationNodeAdd2":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeAdd3":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeAnimation":{"inherits":"AnimationRootNode","props":["advance_on_start","animation","loop_mode","play_mode","start_offset","stretch_time_scale","timeline_length","use_custom_timeline"]},"AnimationNodeBlend2":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeBlend3":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeBlendSpace1D":{"inherits":"AnimationRootNode","props":["blend_mode","max_space","min_space","snap","sync","value_label"]},"AnimationNodeBlendSpace2D":{"inherits":"AnimationRootNode","props":["auto_triangles","blend_mode","max_space","min_space","snap","sync","triangles","x_label","y_label"]},"AnimationNodeBlendTree":{"inherits":"AnimationRootNode","props":["graph_offset"]},"AnimationNodeExtension":{"inherits":"AnimationNode","props":[]},"AnimationNodeOneShot":{"inherits":"AnimationNodeSync","props":["abort_on_reset","autorestart","autorestart_delay","autorestart_random_delay","break_loop_at_end","fadein_curve","fadein_time","fadeout_curve","fadeout_time","mix_mode"]},"AnimationNodeOutput":{"inherits":"AnimationNode","props":[]},"AnimationNodeStateMachine":{"inherits":"AnimationRootNode","props":["allow_transition_to_self","reset_ends","state_machine_type"]},"AnimationNodeStateMachinePlayback":{"inherits":"Resource","props":[]},"AnimationNodeStateMachineTransition":{"inherits":"Resource","props":["advance_condition","advance_expression","advance_mode","break_loop_at_end","priority","reset","switch_mode","xfade_curve","xfade_time"]},"AnimationNodeSub2":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeSync":{"inherits":"AnimationNode","props":["sync"]},"AnimationNodeTimeScale":{"inherits":"AnimationNode","props":[]},"AnimationNodeTimeSeek":{"inherits":"AnimationNode","props":["explicit_elapse"]},"AnimationNodeTransition":{"inherits":"AnimationNodeSync","props":["allow_transition_to_self","input_count","xfade_curve","xfade_time"]},"AnimationPlayer":{"inherits":"AnimationMixer","props":["assigned_animation","autoplay","current_animation","current_animation_length","current_animation_position","movie_quit_on_finish","playback_auto_capture","playback_auto_capture_duration","playback_auto_capture_ease_type","playback_auto_capture_transition_type","playback_default_blend_time","speed_scale"]},"AnimationRootNode":{"inherits":"AnimationNode","props":[]},"AnimationTree":{"inherits":"AnimationMixer","props":["advance_expression_base_node","anim_player","tree_root"]},"Area2D":{"inherits":"CollisionObject2D","props":["angular_damp","angular_damp_space_override","audio_bus_name","audio_bus_override","gravity","gravity_direction","gravity_point","gravity_point_center","gravity_point_unit_distance","gravity_space_override","linear_damp","linear_damp_space_override","monitorable","monitoring","priority"]},"Area3D":{"inherits":"CollisionObject3D","props":["angular_damp","angular_damp_space_override","audio_bus_name","audio_bus_override","gravity","gravity_direction","gravity_point","gravity_point_center","gravity_point_unit_distance","gravity_space_override","linear_damp","linear_damp_space_override","monitorable","monitoring","priority","reverb_bus_amount","reverb_bus_enabled","reverb_bus_name","reverb_bus_uniformity","wind_attenuation_factor","wind_force_magnitude","wind_source_path"]},"ArrayMesh":{"inherits":"Mesh","props":["blend_shape_mode","custom_aabb","shadow_mesh"]},"ArrayOccluder3D":{"inherits":"Occluder3D","props":["indices","vertices"]},"AspectRatioContainer":{"inherits":"Container","props":["alignment_horizontal","alignment_vertical","ratio","stretch_mode"]},"AtlasTexture":{"inherits":"Texture2D","props":["atlas","filter_clip","margin","region"]},"AudioBusLayout":{"inherits":"Resource","props":[]},"AudioEffect":{"inherits":"Resource","props":[]},"AudioEffectAmplify":{"inherits":"AudioEffect","props":["volume_db","volume_linear"]},"AudioEffectBandLimitFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectBandPassFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectCapture":{"inherits":"AudioEffect","props":["buffer_length"]},"AudioEffectChorus":{"inherits":"AudioEffect","props":["dry","voice_count","wet"]},"AudioEffectCompressor":{"inherits":"AudioEffect","props":["attack_us","gain","mix","ratio","release_ms","sidechain","threshold"]},"AudioEffectDelay":{"inherits":"AudioEffect","props":["dry","feedback_active","feedback_delay_ms","feedback_level_db","feedback_lowpass","tap1_active","tap1_delay_ms","tap1_level_db","tap1_pan","tap2_active","tap2_delay_ms","tap2_level_db","tap2_pan"]},"AudioEffectDistortion":{"inherits":"AudioEffect","props":["drive","keep_hf_hz","mode","post_gain","pre_gain"]},"AudioEffectEQ":{"inherits":"AudioEffect","props":[]},"AudioEffectEQ10":{"inherits":"AudioEffectEQ","props":[]},"AudioEffectEQ21":{"inherits":"AudioEffectEQ","props":[]},"AudioEffectEQ6":{"inherits":"AudioEffectEQ","props":[]},"AudioEffectFilter":{"inherits":"AudioEffect","props":["cutoff_hz","db","gain","resonance"]},"AudioEffectHardLimiter":{"inherits":"AudioEffect","props":["ceiling_db","pre_gain_db","release"]},"AudioEffectHighPassFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectHighShelfFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectInstance":{"inherits":"RefCounted","props":[]},"AudioEffectLimiter":{"inherits":"AudioEffect","props":["ceiling_db","soft_clip_db","soft_clip_ratio","threshold_db"]},"AudioEffectLowPassFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectLowShelfFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectNotchFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectPanner":{"inherits":"AudioEffect","props":["pan"]},"AudioEffectPhaser":{"inherits":"AudioEffect","props":["depth","feedback","range_max_hz","range_min_hz","rate_hz"]},"AudioEffectPitchShift":{"inherits":"AudioEffect","props":["fft_size","oversampling","pitch_scale"]},"AudioEffectRecord":{"inherits":"AudioEffect","props":["format"]},"AudioEffectReverb":{"inherits":"AudioEffect","props":["damping","dry","hipass","predelay_feedback","predelay_msec","room_size","spread","wet"]},"AudioEffectSpectrumAnalyzer":{"inherits":"AudioEffect","props":["buffer_length","fft_size","tap_back_pos"]},"AudioEffectSpectrumAnalyzerInstance":{"inherits":"AudioEffectInstance","props":[]},"AudioEffectStereoEnhance":{"inherits":"AudioEffect","props":["pan_pullout","surround","time_pullout_ms"]},"AudioListener2D":{"inherits":"Node2D","props":[]},"AudioListener3D":{"inherits":"Node3D","props":["doppler_tracking"]},"AudioSample":{"inherits":"RefCounted","props":[]},"AudioSamplePlayback":{"inherits":"RefCounted","props":[]},"AudioServer":{"inherits":"Object","props":["bus_count","input_device","output_device","playback_speed_scale"]},"AudioStream":{"inherits":"Resource","props":[]},"AudioStreamGenerator":{"inherits":"AudioStream","props":["buffer_length","mix_rate","mix_rate_mode"]},"AudioStreamGeneratorPlayback":{"inherits":"AudioStreamPlaybackResampled","props":[]},"AudioStreamInteractive":{"inherits":"AudioStream","props":["clip_count","initial_clip"]},"AudioStreamMP3":{"inherits":"AudioStream","props":["bar_beats","beat_count","bpm","data","loop","loop_offset"]},"AudioStreamMicrophone":{"inherits":"AudioStream","props":[]},"AudioStreamOggVorbis":{"inherits":"AudioStream","props":["bar_beats","beat_count","bpm","loop","loop_offset","packet_sequence","tags"]},"AudioStreamPlayback":{"inherits":"RefCounted","props":[]},"AudioStreamPlaybackInteractive":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackOggVorbis":{"inherits":"AudioStreamPlaybackResampled","props":[]},"AudioStreamPlaybackPlaylist":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackPolyphonic":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackResampled":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackSynchronized":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlayer":{"inherits":"Node","props":["autoplay","bus","max_polyphony","mix_target","pitch_scale","playback_type","playing","stream","stream_paused","volume_db","volume_linear"]},"AudioStreamPlayer2D":{"inherits":"Node2D","props":["area_mask","attenuation","autoplay","bus","max_distance","max_polyphony","panning_strength","pitch_scale","playback_type","playing","stream","stream_paused","volume_db","volume_linear"]},"AudioStreamPlayer3D":{"inherits":"Node3D","props":["area_mask","attenuation_filter_cutoff_hz","attenuation_filter_db","attenuation_model","autoplay","bus","doppler_tracking","emission_angle_degrees","emission_angle_enabled","emission_angle_filter_attenuation_db","max_db","max_distance","max_polyphony","panning_strength","pitch_scale","playback_type","playing","stream","stream_paused","unit_size","volume_db","volume_linear"]},"AudioStreamPlaylist":{"inherits":"AudioStream","props":["fade_time","loop","shuffle","stream_0","stream_1","stream_10","stream_11","stream_12","stream_13","stream_14","stream_15","stream_16","stream_17","stream_18","stream_19","stream_2","stream_20","stream_21","stream_22","stream_23","stream_24","stream_25","stream_26","stream_27","stream_28","stream_29","stream_3","stream_30","stream_31","stream_32","stream_33","stream_34","stream_35","stream_36","stream_37","stream_38","stream_39","stream_4","stream_40","stream_41","stream_42","stream_43","stream_44","stream_45","stream_46","stream_47","stream_48","stream_49","stream_5","stream_50","stream_51","stream_52","stream_53","stream_54","stream_55","stream_56","stream_57","stream_58","stream_59","stream_6","stream_60","stream_61","stream_62","stream_63","stream_7","stream_8","stream_9","stream_count"]},"AudioStreamPolyphonic":{"inherits":"AudioStream","props":["polyphony"]},"AudioStreamRandomizer":{"inherits":"AudioStream","props":["playback_mode","random_pitch","random_pitch_semitones","random_volume_offset_db","streams_count"]},"AudioStreamSynchronized":{"inherits":"AudioStream","props":["stream_count"]},"AudioStreamWAV":{"inherits":"AudioStream","props":["data","format","loop_begin","loop_end","loop_mode","mix_rate","stereo","tags"]},"BackBufferCopy":{"inherits":"Node2D","props":["copy_mode","rect"]},"BaseButton":{"inherits":"Control","props":["action_mode","button_group","button_mask","button_pressed","disabled","keep_pressed_outside","shortcut","shortcut_feedback","shortcut_in_tooltip","toggle_mode"]},"BaseMaterial3D":{"inherits":"Material","props":["albedo_color","albedo_texture","albedo_texture_force_srgb","albedo_texture_msdf","alpha_antialiasing_edge","alpha_antialiasing_mode","alpha_hash_scale","alpha_scissor_threshold","anisotropy","anisotropy_enabled","anisotropy_flowmap","ao_enabled","ao_light_affect","ao_on_uv2","ao_texture","ao_texture_channel","backlight","backlight_enabled","backlight_texture","bent_normal_enabled","bent_normal_texture","billboard_keep_scale","billboard_mode","blend_mode","clearcoat","clearcoat_enabled","clearcoat_roughness","clearcoat_texture","cull_mode","depth_draw_mode","depth_test","detail_albedo","detail_blend_mode","detail_enabled","detail_mask","detail_normal","detail_uv_layer","diffuse_mode","disable_ambient_light","disable_fog","disable_receive_shadows","disable_specular_occlusion","distance_fade_max_distance","distance_fade_min_distance","distance_fade_mode","emission","emission_enabled","emission_energy_multiplier","emission_intensity","emission_on_uv2","emission_operator","emission_texture","fixed_size","fov_override","grow","grow_amount","heightmap_deep_parallax","heightmap_enabled","heightmap_flip_binormal","heightmap_flip_tangent","heightmap_flip_texture","heightmap_max_layers","heightmap_min_layers","heightmap_scale","heightmap_texture","metallic","metallic_specular","metallic_texture","metallic_texture_channel","msdf_outline_size","msdf_pixel_range","no_depth_test","normal_enabled","normal_scale","normal_texture","orm_texture","particles_anim_h_frames","particles_anim_loop","particles_anim_v_frames","point_size","proximity_fade_distance","proximity_fade_enabled","refraction_enabled","refraction_scale","refraction_texture","refraction_texture_channel","rim","rim_enabled","rim_texture","rim_tint","roughness","roughness_texture","roughness_texture_channel","shading_mode","shadow_to_opacity","specular_mode","stencil_color","stencil_compare","stencil_flags","stencil_mode","stencil_outline_thickness","stencil_reference","subsurf_scatter_enabled","subsurf_scatter_skin_mode","subsurf_scatter_strength","subsurf_scatter_texture","subsurf_scatter_transmittance_boost","subsurf_scatter_transmittance_color","subsurf_scatter_transmittance_depth","subsurf_scatter_transmittance_enabled","subsurf_scatter_transmittance_texture","texture_filter","texture_repeat","transparency","use_fov_override","use_particle_trails","use_point_size","use_z_clip_scale","uv1_offset","uv1_scale","uv1_triplanar","uv1_triplanar_sharpness","uv1_world_triplanar","uv2_offset","uv2_scale","uv2_triplanar","uv2_triplanar_sharpness","uv2_world_triplanar","vertex_color_is_srgb","vertex_color_use_as_albedo","z_clip_scale"]},"BitMap":{"inherits":"Resource","props":["data"]},"Bone2D":{"inherits":"Node2D","props":["rest"]},"BoneAttachment3D":{"inherits":"Node3D","props":["bone_idx","bone_name","external_skeleton","override_pose","use_external_skeleton"]},"BoneConstraint3D":{"inherits":"SkeletonModifier3D","props":[]},"BoneMap":{"inherits":"Resource","props":["profile"]},"BoneTwistDisperser3D":{"inherits":"SkeletonModifier3D","props":["mutable_bone_axes","setting_count"]},"BoxContainer":{"inherits":"Container","props":["alignment","vertical"]},"BoxMesh":{"inherits":"PrimitiveMesh","props":["size","subdivide_depth","subdivide_height","subdivide_width"]},"BoxOccluder3D":{"inherits":"Occluder3D","props":["size"]},"BoxShape3D":{"inherits":"Shape3D","props":["size"]},"Button":{"inherits":"BaseButton","props":["alignment","autowrap_mode","autowrap_trim_flags","clip_text","expand_icon","flat","icon","icon_alignment","language","text","text_direction","text_overrun_behavior","vertical_icon_alignment"]},"ButtonGroup":{"inherits":"Resource","props":["allow_unpress"]},"CCDIK3D":{"inherits":"IterateIK3D","props":[]},"CPUParticles2D":{"inherits":"Node2D","props":["amount","angle_curve","angle_max","angle_min","angular_velocity_curve","angular_velocity_max","angular_velocity_min","anim_offset_curve","anim_offset_max","anim_offset_min","anim_speed_curve","anim_speed_max","anim_speed_min","color","color_initial_ramp","color_ramp","damping_curve","damping_max","damping_min","direction","draw_order","emission_colors","emission_normals","emission_points","emission_rect_extents","emission_ring_inner_radius","emission_ring_radius","emission_shape","emission_sphere_radius","emitting","explosiveness","fixed_fps","fract_delta","gravity","hue_variation_curve","hue_variation_max","hue_variation_min","initial_velocity_max","initial_velocity_min","lifetime","lifetime_randomness","linear_accel_curve","linear_accel_max","linear_accel_min","local_coords","one_shot","orbit_velocity_curve","orbit_velocity_max","orbit_velocity_min","particle_flag_align_y","preprocess","radial_accel_curve","radial_accel_max","radial_accel_min","randomness","scale_amount_curve","scale_amount_max","scale_amount_min","scale_curve_x","scale_curve_y","seed","speed_scale","split_scale","spread","tangential_accel_curve","tangential_accel_max","tangential_accel_min","texture","use_fixed_seed"]},"CPUParticles3D":{"inherits":"GeometryInstance3D","props":["amount","angle_curve","angle_max","angle_min","angular_velocity_curve","angular_velocity_max","angular_velocity_min","anim_offset_curve","anim_offset_max","anim_offset_min","anim_speed_curve","anim_speed_max","anim_speed_min","color","color_initial_ramp","color_ramp","damping_curve","damping_max","damping_min","direction","draw_order","emission_box_extents","emission_colors","emission_normals","emission_points","emission_ring_axis","emission_ring_cone_angle","emission_ring_height","emission_ring_inner_radius","emission_ring_radius","emission_shape","emission_sphere_radius","emitting","explosiveness","fixed_fps","flatness","fract_delta","gravity","hue_variation_curve","hue_variation_max","hue_variation_min","initial_velocity_max","initial_velocity_min","lifetime","lifetime_randomness","linear_accel_curve","linear_accel_max","linear_accel_min","local_coords","mesh","one_shot","orbit_velocity_curve","orbit_velocity_max","orbit_velocity_min","particle_flag_align_y","particle_flag_disable_z","particle_flag_rotate_y","preprocess","radial_accel_curve","radial_accel_max","radial_accel_min","randomness","scale_amount_curve","scale_amount_max","scale_amount_min","scale_curve_x","scale_curve_y","scale_curve_z","seed","speed_scale","split_scale","spread","tangential_accel_curve","tangential_accel_max","tangential_accel_min","use_fixed_seed","visibility_aabb"]},"CSGBox3D":{"inherits":"CSGPrimitive3D","props":["material","size"]},"CSGCombiner3D":{"inherits":"CSGShape3D","props":[]},"CSGCylinder3D":{"inherits":"CSGPrimitive3D","props":["cone","height","material","radius","sides","smooth_faces"]},"CSGMesh3D":{"inherits":"CSGPrimitive3D","props":["material","mesh"]},"CSGPolygon3D":{"inherits":"CSGPrimitive3D","props":["depth","material","mode","path_continuous_u","path_interval","path_interval_type","path_joined","path_local","path_node","path_rotation","path_rotation_accurate","path_simplify_angle","path_u_distance","polygon","smooth_faces","spin_degrees","spin_sides"]},"CSGPrimitive3D":{"inherits":"CSGShape3D","props":["flip_faces"]},"CSGShape3D":{"inherits":"GeometryInstance3D","props":["calculate_tangents","collision_layer","collision_mask","collision_priority","operation","snap","use_collision"]},"CSGSphere3D":{"inherits":"CSGPrimitive3D","props":["material","radial_segments","radius","rings","smooth_faces"]},"CSGTorus3D":{"inherits":"CSGPrimitive3D","props":["inner_radius","material","outer_radius","ring_sides","sides","smooth_faces"]},"CallbackTweener":{"inherits":"Tweener","props":[]},"Camera2D":{"inherits":"Node2D","props":["anchor_mode","custom_viewport","drag_bottom_margin","drag_horizontal_enabled","drag_horizontal_offset","drag_left_margin","drag_right_margin","drag_top_margin","drag_vertical_enabled","drag_vertical_offset","editor_draw_drag_margin","editor_draw_limits","editor_draw_screen","enabled","ignore_rotation","limit_bottom","limit_enabled","limit_left","limit_right","limit_smoothed","limit_top","offset","position_smoothing_enabled","position_smoothing_speed","process_callback","rotation_smoothing_enabled","rotation_smoothing_speed","zoom"]},"Camera3D":{"inherits":"Node3D","props":["attributes","compositor","cull_mask","current","doppler_tracking","environment","far","fov","frustum_offset","h_offset","keep_aspect","near","projection","size","v_offset"]},"CameraAttributes":{"inherits":"Resource","props":["auto_exposure_enabled","auto_exposure_scale","auto_exposure_speed","exposure_multiplier","exposure_sensitivity"]},"CameraAttributesPhysical":{"inherits":"CameraAttributes","props":["auto_exposure_max_exposure_value","auto_exposure_min_exposure_value","exposure_aperture","exposure_shutter_speed","frustum_far","frustum_focal_length","frustum_focus_distance","frustum_near"]},"CameraAttributesPractical":{"inherits":"CameraAttributes","props":["auto_exposure_max_sensitivity","auto_exposure_min_sensitivity","dof_blur_amount","dof_blur_far_distance","dof_blur_far_enabled","dof_blur_far_transition","dof_blur_near_distance","dof_blur_near_enabled","dof_blur_near_transition"]},"CameraFeed":{"inherits":"RefCounted","props":["feed_is_active","feed_transform","formats"]},"CameraServer":{"inherits":"Object","props":["monitoring_feeds"]},"CameraTexture":{"inherits":"Texture2D","props":["camera_feed_id","camera_is_active","which_feed"]},"CanvasGroup":{"inherits":"Node2D","props":["clear_margin","fit_margin","use_mipmaps"]},"CanvasItem":{"inherits":"Node","props":["clip_children","light_mask","material","modulate","self_modulate","show_behind_parent","texture_filter","texture_repeat","top_level","use_parent_material","visibility_layer","visible","y_sort_enabled","z_as_relative","z_index"]},"CanvasItemMaterial":{"inherits":"Material","props":["blend_mode","light_mode","particles_anim_h_frames","particles_anim_loop","particles_anim_v_frames","particles_animation"]},"CanvasLayer":{"inherits":"Node","props":["custom_viewport","follow_viewport_enabled","follow_viewport_scale","layer","offset","rotation","scale","transform","visible"]},"CanvasModulate":{"inherits":"Node2D","props":["color"]},"CanvasTexture":{"inherits":"Texture2D","props":["diffuse_texture","normal_texture","specular_color","specular_shininess","specular_texture","texture_filter","texture_repeat"]},"CapsuleMesh":{"inherits":"PrimitiveMesh","props":["height","radial_segments","radius","rings"]},"CapsuleShape2D":{"inherits":"Shape2D","props":["height","mid_height","radius"]},"CapsuleShape3D":{"inherits":"Shape3D","props":["height","mid_height","radius"]},"CenterContainer":{"inherits":"Container","props":["use_top_left"]},"ChainIK3D":{"inherits":"IKModifier3D","props":[]},"CharFXTransform":{"inherits":"RefCounted","props":["color","elapsed_time","env","font","glyph_count","glyph_flags","glyph_index","offset","outline","range","relative_index","transform","visible"]},"CharacterBody2D":{"inherits":"PhysicsBody2D","props":["floor_block_on_wall","floor_constant_speed","floor_max_angle","floor_snap_length","floor_stop_on_slope","max_slides","motion_mode","platform_floor_layers","platform_on_leave","platform_wall_layers","safe_margin","slide_on_ceiling","up_direction","velocity","wall_min_slide_angle"]},"CharacterBody3D":{"inherits":"PhysicsBody3D","props":["floor_block_on_wall","floor_constant_speed","floor_max_angle","floor_snap_length","floor_stop_on_slope","max_slides","motion_mode","platform_floor_layers","platform_on_leave","platform_wall_layers","safe_margin","slide_on_ceiling","up_direction","velocity","wall_min_slide_angle"]},"CheckBox":{"inherits":"Button","props":[]},"CheckButton":{"inherits":"Button","props":[]},"CircleShape2D":{"inherits":"Shape2D","props":["radius"]},"ClassDB":{"inherits":"Object","props":[]},"CodeEdit":{"inherits":"TextEdit","props":["auto_brace_completion_enabled","auto_brace_completion_highlight_matching","auto_brace_completion_pairs","code_completion_enabled","code_completion_prefixes","delimiter_comments","delimiter_strings","gutters_draw_bookmarks","gutters_draw_breakpoints_gutter","gutters_draw_executing_lines","gutters_draw_fold_gutter","gutters_draw_line_numbers","gutters_line_numbers_min_digits","gutters_zero_pad_line_numbers","indent_automatic","indent_automatic_prefixes","indent_size","indent_use_spaces","line_folding","line_length_guidelines","symbol_lookup_on_click","symbol_tooltip_on_hover"]},"CodeHighlighter":{"inherits":"SyntaxHighlighter","props":["color_regions","function_color","keyword_colors","member_keyword_colors","member_variable_color","number_color","symbol_color"]},"CollisionObject2D":{"inherits":"Node2D","props":["collision_layer","collision_mask","collision_priority","disable_mode","input_pickable"]},"CollisionObject3D":{"inherits":"Node3D","props":["collision_layer","collision_mask","collision_priority","disable_mode","input_capture_on_drag","input_ray_pickable"]},"CollisionPolygon2D":{"inherits":"Node2D","props":["build_mode","disabled","one_way_collision","one_way_collision_margin","polygon"]},"CollisionPolygon3D":{"inherits":"Node3D","props":["debug_color","debug_fill","depth","disabled","margin","polygon"]},"CollisionShape2D":{"inherits":"Node2D","props":["debug_color","disabled","one_way_collision","one_way_collision_margin","shape"]},"CollisionShape3D":{"inherits":"Node3D","props":["debug_color","debug_fill","disabled","shape"]},"ColorPalette":{"inherits":"Resource","props":["colors"]},"ColorPicker":{"inherits":"VBoxContainer","props":["can_add_swatches","color","color_mode","color_modes_visible","deferred_mode","edit_alpha","edit_intensity","hex_visible","picker_shape","presets_visible","sampler_visible","sliders_visible"]},"ColorPickerButton":{"inherits":"Button","props":["color","edit_alpha","edit_intensity"]},"ColorRect":{"inherits":"Control","props":["color"]},"Compositor":{"inherits":"Resource","props":["compositor_effects"]},"CompositorEffect":{"inherits":"Resource","props":["access_resolved_color","access_resolved_depth","effect_callback_type","enabled","needs_motion_vectors","needs_normal_roughness","needs_separate_specular"]},"CompressedCubemap":{"inherits":"CompressedTextureLayered","props":[]},"CompressedCubemapArray":{"inherits":"CompressedTextureLayered","props":[]},"CompressedTexture2D":{"inherits":"Texture2D","props":["load_path"]},"CompressedTexture2DArray":{"inherits":"CompressedTextureLayered","props":[]},"CompressedTexture3D":{"inherits":"Texture3D","props":["load_path"]},"CompressedTextureLayered":{"inherits":"TextureLayered","props":["load_path"]},"ConcavePolygonShape2D":{"inherits":"Shape2D","props":["segments"]},"ConcavePolygonShape3D":{"inherits":"Shape3D","props":["backface_collision","data"]},"ConeTwistJoint3D":{"inherits":"Joint3D","props":["bias","relaxation","softness","swing_span","twist_span"]},"ConfigFile":{"inherits":"RefCounted","props":[]},"ConfirmationDialog":{"inherits":"AcceptDialog","props":["cancel_button_text"]},"Container":{"inherits":"Control","props":[]},"Control":{"inherits":"CanvasItem","props":["accessibility_controls_nodes","accessibility_described_by_nodes","accessibility_description","accessibility_flow_to_nodes","accessibility_labeled_by_nodes","accessibility_live","accessibility_name","anchor_bottom","anchor_left","anchor_right","anchor_top","anchors_preset","auto_translate","clip_contents","custom_minimum_size","focus_behavior_recursive","focus_mode","focus_neighbor_bottom","focus_neighbor_left","focus_neighbor_right","focus_neighbor_top","focus_next","focus_previous","global_position","grow_horizontal","grow_vertical","layout_direction","layout_mode","localize_numeral_system","mouse_behavior_recursive","mouse_default_cursor_shape","mouse_filter","mouse_force_pass_scroll_events","offset_bottom","offset_left","offset_right","offset_top","pivot_offset","pivot_offset_ratio","position","rotation","rotation_degrees","scale","shortcut_context","size","size_flags_horizontal","size_flags_stretch_ratio","size_flags_vertical","theme","theme_type_variation","tooltip_auto_translate_mode","tooltip_text"]},"ConvertTransformModifier3D":{"inherits":"BoneConstraint3D","props":["setting_count"]},"ConvexPolygonShape2D":{"inherits":"Shape2D","props":["points"]},"ConvexPolygonShape3D":{"inherits":"Shape3D","props":["points"]},"CopyTransformModifier3D":{"inherits":"BoneConstraint3D","props":["setting_count"]},"Crypto":{"inherits":"RefCounted","props":[]},"CryptoKey":{"inherits":"Resource","props":[]},"Cubemap":{"inherits":"ImageTextureLayered","props":[]},"CubemapArray":{"inherits":"ImageTextureLayered","props":[]},"Curve":{"inherits":"Resource","props":["bake_resolution","max_domain","max_value","min_domain","min_value","point_count"]},"Curve2D":{"inherits":"Resource","props":["bake_interval","point_count"]},"Curve3D":{"inherits":"Resource","props":["bake_interval","closed","point_count","up_vector_enabled"]},"CurveTexture":{"inherits":"Texture2D","props":["curve","texture_mode","width"]},"CurveXYZTexture":{"inherits":"Texture2D","props":["curve_x","curve_y","curve_z","width"]},"CylinderMesh":{"inherits":"PrimitiveMesh","props":["bottom_radius","cap_bottom","cap_top","height","radial_segments","rings","top_radius"]},"CylinderShape3D":{"inherits":"Shape3D","props":["height","radius"]},"DPITexture":{"inherits":"Texture2D","props":["base_scale","color_map","saturation"]},"DTLSServer":{"inherits":"RefCounted","props":[]},"DampedSpringJoint2D":{"inherits":"Joint2D","props":["damping","length","rest_length","stiffness"]},"Decal":{"inherits":"VisualInstance3D","props":["albedo_mix","cull_mask","distance_fade_begin","distance_fade_enabled","distance_fade_length","emission_energy","lower_fade","modulate","normal_fade","size","texture_albedo","texture_emission","texture_normal","texture_orm","upper_fade"]},"DirAccess":{"inherits":"RefCounted","props":["include_hidden","include_navigational"]},"DirectionalLight2D":{"inherits":"Light2D","props":["height","max_distance"]},"DirectionalLight3D":{"inherits":"Light3D","props":["directional_shadow_blend_splits","directional_shadow_fade_start","directional_shadow_max_distance","directional_shadow_mode","directional_shadow_pancake_size","directional_shadow_split_1","directional_shadow_split_2","directional_shadow_split_3","sky_mode"]},"DisplayServer":{"inherits":"Object","props":[]},"ENetConnection":{"inherits":"RefCounted","props":[]},"ENetMultiplayerPeer":{"inherits":"MultiplayerPeer","props":["host"]},"ENetPacketPeer":{"inherits":"PacketPeer","props":[]},"EditorCommandPalette":{"inherits":"ConfirmationDialog","props":[]},"EditorContextMenuPlugin":{"inherits":"RefCounted","props":[]},"EditorDebuggerPlugin":{"inherits":"RefCounted","props":[]},"EditorDebuggerSession":{"inherits":"RefCounted","props":[]},"EditorDock":{"inherits":"MarginContainer","props":["available_layouts","closable","default_slot","dock_icon","dock_shortcut","force_show_icon","global","icon_name","layout_key","title","title_color","transient"]},"EditorExportPlatform":{"inherits":"RefCounted","props":[]},"EditorExportPlatformAndroid":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformAppleEmbedded":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformExtension":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformIOS":{"inherits":"EditorExportPlatformAppleEmbedded","props":[]},"EditorExportPlatformLinuxBSD":{"inherits":"EditorExportPlatformPC","props":[]},"EditorExportPlatformMacOS":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformPC":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformVisionOS":{"inherits":"EditorExportPlatformAppleEmbedded","props":[]},"EditorExportPlatformWeb":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformWindows":{"inherits":"EditorExportPlatformPC","props":[]},"EditorExportPlugin":{"inherits":"RefCounted","props":[]},"EditorExportPreset":{"inherits":"RefCounted","props":[]},"EditorFeatureProfile":{"inherits":"RefCounted","props":[]},"EditorFileDialog":{"inherits":"FileDialog","props":["disable_overwrite_warning"]},"EditorFileSystem":{"inherits":"Node","props":[]},"EditorFileSystemDirectory":{"inherits":"Object","props":[]},"EditorFileSystemImportFormatSupportQuery":{"inherits":"RefCounted","props":[]},"EditorImportPlugin":{"inherits":"ResourceImporter","props":[]},"EditorInspector":{"inherits":"ScrollContainer","props":[]},"EditorInspectorPlugin":{"inherits":"RefCounted","props":[]},"EditorInterface":{"inherits":"Object","props":["distraction_free_mode","movie_maker_enabled"]},"EditorNode3DGizmo":{"inherits":"Node3DGizmo","props":[]},"EditorNode3DGizmoPlugin":{"inherits":"Resource","props":[]},"EditorPaths":{"inherits":"Object","props":[]},"EditorPlugin":{"inherits":"Node","props":[]},"EditorProperty":{"inherits":"Container","props":["checkable","checked","deletable","draw_background","draw_label","draw_warning","keying","label","name_split_ratio","read_only","selectable","use_folding"]},"EditorResourceConversionPlugin":{"inherits":"RefCounted","props":[]},"EditorResourcePicker":{"inherits":"HBoxContainer","props":["base_type","editable","edited_resource","toggle_mode"]},"EditorResourcePreview":{"inherits":"Node","props":[]},"EditorResourcePreviewGenerator":{"inherits":"RefCounted","props":[]},"EditorResourceTooltipPlugin":{"inherits":"RefCounted","props":[]},"EditorSceneFormatImporter":{"inherits":"RefCounted","props":[]},"EditorSceneFormatImporterBlend":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorSceneFormatImporterFBX2GLTF":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorSceneFormatImporterGLTF":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorSceneFormatImporterUFBX":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorScenePostImport":{"inherits":"RefCounted","props":[]},"EditorScenePostImportPlugin":{"inherits":"RefCounted","props":[]},"EditorScript":{"inherits":"RefCounted","props":[]},"EditorScriptPicker":{"inherits":"EditorResourcePicker","props":["script_owner"]},"EditorSelection":{"inherits":"Object","props":[]},"EditorSettings":{"inherits":"Resource","props":[]},"EditorSpinSlider":{"inherits":"Range","props":["control_state","editing_integer","flat","hide_slider","label","read_only","suffix"]},"EditorSyntaxHighlighter":{"inherits":"SyntaxHighlighter","props":[]},"EditorToaster":{"inherits":"HBoxContainer","props":[]},"EditorTranslationParserPlugin":{"inherits":"RefCounted","props":[]},"EditorUndoRedoManager":{"inherits":"Object","props":[]},"EditorVCSInterface":{"inherits":"Object","props":[]},"EncodedObjectAsID":{"inherits":"RefCounted","props":["object_id"]},"Engine":{"inherits":"Object","props":["max_fps","max_physics_steps_per_frame","physics_jitter_fix","physics_ticks_per_second","print_error_messages","print_to_stdout","time_scale"]},"EngineDebugger":{"inherits":"Object","props":[]},"EngineProfiler":{"inherits":"RefCounted","props":[]},"Environment":{"inherits":"Resource","props":["adjustment_brightness","adjustment_color_correction","adjustment_contrast","adjustment_enabled","adjustment_saturation","ambient_light_color","ambient_light_energy","ambient_light_sky_contribution","ambient_light_source","background_camera_feed_id","background_canvas_max_layer","background_color","background_energy_multiplier","background_intensity","background_mode","fog_aerial_perspective","fog_density","fog_depth_begin","fog_depth_curve","fog_depth_end","fog_enabled","fog_height","fog_height_density","fog_light_color","fog_light_energy","fog_mode","fog_sky_affect","fog_sun_scatter","glow_blend_mode","glow_bloom","glow_enabled","glow_hdr_luminance_cap","glow_hdr_scale","glow_hdr_threshold","glow_intensity","glow_map","glow_map_strength","glow_mix","glow_normalized","glow_strength","reflected_light_source","sdfgi_bounce_feedback","sdfgi_cascade0_distance","sdfgi_cascades","sdfgi_enabled","sdfgi_energy","sdfgi_max_distance","sdfgi_min_cell_size","sdfgi_normal_bias","sdfgi_probe_bias","sdfgi_read_sky_light","sdfgi_use_occlusion","sdfgi_y_scale","sky","sky_custom_fov","sky_rotation","ssao_ao_channel_affect","ssao_detail","ssao_enabled","ssao_horizon","ssao_intensity","ssao_light_affect","ssao_power","ssao_radius","ssao_sharpness","ssil_enabled","ssil_intensity","ssil_normal_rejection","ssil_radius","ssil_sharpness","ssr_depth_tolerance","ssr_enabled","ssr_fade_in","ssr_fade_out","ssr_max_steps","tonemap_agx_contrast","tonemap_agx_white","tonemap_exposure","tonemap_mode","tonemap_white","volumetric_fog_albedo","volumetric_fog_ambient_inject","volumetric_fog_anisotropy","volumetric_fog_density","volumetric_fog_detail_spread","volumetric_fog_emission","volumetric_fog_emission_energy","volumetric_fog_enabled","volumetric_fog_gi_inject","volumetric_fog_length","volumetric_fog_sky_affect","volumetric_fog_temporal_reprojection_amount","volumetric_fog_temporal_reprojection_enabled"]},"Expression":{"inherits":"RefCounted","props":[]},"ExternalTexture":{"inherits":"Texture2D","props":["size"]},"FABRIK3D":{"inherits":"IterateIK3D","props":[]},"FBXDocument":{"inherits":"GLTFDocument","props":[]},"FBXState":{"inherits":"GLTFState","props":["allow_geometry_helper_nodes"]},"FastNoiseLite":{"inherits":"Noise","props":["cellular_distance_function","cellular_jitter","cellular_return_type","domain_warp_amplitude","domain_warp_enabled","domain_warp_fractal_gain","domain_warp_fractal_lacunarity","domain_warp_fractal_octaves","domain_warp_fractal_type","domain_warp_frequency","domain_warp_type","fractal_gain","fractal_lacunarity","fractal_octaves","fractal_ping_pong_strength","fractal_type","fractal_weighted_strength","frequency","noise_type","offset","seed"]},"FileAccess":{"inherits":"RefCounted","props":["big_endian"]},"FileDialog":{"inherits":"ConfirmationDialog","props":["access","current_dir","current_file","current_path","deleting_enabled","display_mode","favorites_enabled","file_filter_toggle_enabled","file_mode","file_sort_options_enabled","filename_filter","filters","folder_creation_enabled","hidden_files_toggle_enabled","layout_toggle_enabled","mode_overrides_title","option_count","overwrite_warning_enabled","recent_list_enabled","root_subfolder","show_hidden_files","use_native_dialog"]},"FileSystemDock":{"inherits":"EditorDock","props":[]},"FlowContainer":{"inherits":"Container","props":["alignment","last_wrap_alignment","reverse_fill","vertical"]},"FogMaterial":{"inherits":"Material","props":["albedo","density","density_texture","edge_fade","emission","height_falloff"]},"FogVolume":{"inherits":"VisualInstance3D","props":["material","shape","size"]},"FoldableContainer":{"inherits":"Container","props":["foldable_group","folded","language","title","title_alignment","title_position","title_text_direction","title_text_overrun_behavior"]},"FoldableGroup":{"inherits":"Resource","props":["allow_folding_all"]},"Font":{"inherits":"Resource","props":["fallbacks"]},"FontFile":{"inherits":"Font","props":["allow_system_fallback","antialiasing","data","disable_embedded_bitmaps","fixed_size","fixed_size_scale_mode","font_name","font_stretch","font_style","font_weight","force_autohinter","generate_mipmaps","hinting","keep_rounding_remainders","modulate_color_glyphs","msdf_pixel_range","msdf_size","multichannel_signed_distance_field","opentype_feature_overrides","oversampling","style_name","subpixel_positioning"]},"FontVariation":{"inherits":"Font","props":["base_font","baseline_offset","opentype_features","spacing_bottom","spacing_glyph","spacing_space","spacing_top","variation_embolden","variation_face_index","variation_opentype","variation_transform"]},"FramebufferCacheRD":{"inherits":"Object","props":[]},"GDExtension":{"inherits":"Resource","props":[]},"GDExtensionManager":{"inherits":"Object","props":[]},"GDScript":{"inherits":"Script","props":[]},"GDScriptSyntaxHighlighter":{"inherits":"EditorSyntaxHighlighter","props":[]},"GLTFAccessor":{"inherits":"Resource","props":["accessor_type","buffer_view","byte_offset","component_type","count","max","min","normalized","sparse_count","sparse_indices_buffer_view","sparse_indices_byte_offset","sparse_indices_component_type","sparse_values_buffer_view","sparse_values_byte_offset","type"]},"GLTFAnimation":{"inherits":"Resource","props":["loop","original_name"]},"GLTFBufferView":{"inherits":"Resource","props":["buffer","byte_length","byte_offset","byte_stride","indices","vertex_attributes"]},"GLTFCamera":{"inherits":"Resource","props":["depth_far","depth_near","fov","perspective","size_mag"]},"GLTFDocument":{"inherits":"Resource","props":["fallback_image_format","fallback_image_quality","image_format","lossy_quality","root_node_mode","visibility_mode"]},"GLTFDocumentExtension":{"inherits":"Resource","props":[]},"GLTFDocumentExtensionConvertImporterMesh":{"inherits":"GLTFDocumentExtension","props":[]},"GLTFLight":{"inherits":"Resource","props":["color","inner_cone_angle","intensity","light_type","outer_cone_angle","range"]},"GLTFMesh":{"inherits":"Resource","props":["blend_weights","instance_materials","mesh","original_name"]},"GLTFNode":{"inherits":"Resource","props":["camera","children","height","light","mesh","original_name","parent","position","rotation","scale","skeleton","skin","visible","xform"]},"GLTFObjectModelProperty":{"inherits":"RefCounted","props":["gltf_to_godot_expression","godot_to_gltf_expression","json_pointers","node_paths","object_model_type","variant_type"]},"GLTFPhysicsBody":{"inherits":"Resource","props":["angular_velocity","body_type","center_of_mass","inertia_diagonal","inertia_orientation","inertia_tensor","linear_velocity","mass"]},"GLTFPhysicsShape":{"inherits":"Resource","props":["height","importer_mesh","is_trigger","mesh_index","radius","shape_type","size"]},"GLTFSkeleton":{"inherits":"Resource","props":["godot_bone_node","joints","roots","unique_names"]},"GLTFSkin":{"inherits":"Resource","props":["godot_skin","inverse_binds","joint_i_to_bone_i","joint_i_to_name","joints","joints_original","non_joints","roots","skeleton","skin_root"]},"GLTFSpecGloss":{"inherits":"Resource","props":["diffuse_factor","diffuse_img","gloss_factor","spec_gloss_img","specular_factor"]},"GLTFState":{"inherits":"Resource","props":["accessors","animations","bake_fps","base_path","buffer_views","buffers","cameras","copyright","create_animations","filename","glb_data","handle_binary_image","handle_binary_image_mode","images","import_as_skeleton_bones","json","lights","major_version","materials","meshes","minor_version","nodes","root_nodes","scene_name","skeletons","skins","texture_samplers","textures","unique_animation_names","unique_names","use_named_skin_binds"]},"GLTFTexture":{"inherits":"Resource","props":["sampler","src_image"]},"GLTFTextureSampler":{"inherits":"Resource","props":["mag_filter","min_filter","wrap_s","wrap_t"]},"GPUParticles2D":{"inherits":"Node2D","props":["amount","amount_ratio","collision_base_size","draw_order","emitting","explosiveness","fixed_fps","fract_delta","interp_to_end","interpolate","lifetime","local_coords","one_shot","preprocess","process_material","randomness","seed","speed_scale","sub_emitter","texture","trail_enabled","trail_lifetime","trail_section_subdivisions","trail_sections","use_fixed_seed","visibility_rect"]},"GPUParticles3D":{"inherits":"GeometryInstance3D","props":["amount","amount_ratio","collision_base_size","draw_order","draw_pass_1","draw_pass_2","draw_pass_3","draw_pass_4","draw_passes","draw_skin","emitting","explosiveness","fixed_fps","fract_delta","interp_to_end","interpolate","lifetime","local_coords","one_shot","preprocess","process_material","randomness","seed","speed_scale","sub_emitter","trail_enabled","trail_lifetime","transform_align","use_fixed_seed","visibility_aabb"]},"GPUParticlesAttractor3D":{"inherits":"VisualInstance3D","props":["attenuation","cull_mask","directionality","strength"]},"GPUParticlesAttractorBox3D":{"inherits":"GPUParticlesAttractor3D","props":["size"]},"GPUParticlesAttractorSphere3D":{"inherits":"GPUParticlesAttractor3D","props":["radius"]},"GPUParticlesAttractorVectorField3D":{"inherits":"GPUParticlesAttractor3D","props":["size","texture"]},"GPUParticlesCollision3D":{"inherits":"VisualInstance3D","props":["cull_mask"]},"GPUParticlesCollisionBox3D":{"inherits":"GPUParticlesCollision3D","props":["size"]},"GPUParticlesCollisionHeightField3D":{"inherits":"GPUParticlesCollision3D","props":["follow_camera_enabled","heightfield_mask","resolution","size","update_mode"]},"GPUParticlesCollisionSDF3D":{"inherits":"GPUParticlesCollision3D","props":["bake_mask","resolution","size","texture","thickness"]},"GPUParticlesCollisionSphere3D":{"inherits":"GPUParticlesCollision3D","props":["radius"]},"Generic6DOFJoint3D":{"inherits":"Joint3D","props":[]},"Geometry2D":{"inherits":"Object","props":[]},"Geometry3D":{"inherits":"Object","props":[]},"GeometryInstance3D":{"inherits":"VisualInstance3D","props":["cast_shadow","custom_aabb","extra_cull_margin","gi_lightmap_scale","gi_lightmap_texel_scale","gi_mode","ignore_occlusion_culling","lod_bias","material_overlay","material_override","transparency","visibility_range_begin","visibility_range_begin_margin","visibility_range_end","visibility_range_end_margin","visibility_range_fade_mode"]},"GodotInstance":{"inherits":"Object","props":[]},"Gradient":{"inherits":"Resource","props":["colors","interpolation_color_space","interpolation_mode","offsets"]},"GradientTexture1D":{"inherits":"Texture2D","props":["gradient","use_hdr","width"]},"GradientTexture2D":{"inherits":"Texture2D","props":["fill","fill_from","fill_to","gradient","height","repeat","use_hdr","width"]},"GraphEdit":{"inherits":"Control","props":["connection_lines_antialiased","connection_lines_curvature","connection_lines_thickness","connections","grid_pattern","minimap_enabled","minimap_opacity","minimap_size","panning_scheme","right_disconnects","scroll_offset","show_arrange_button","show_grid","show_grid_buttons","show_menu","show_minimap_button","show_zoom_buttons","show_zoom_label","snapping_distance","snapping_enabled","type_names","zoom","zoom_max","zoom_min","zoom_step"]},"GraphElement":{"inherits":"Container","props":["draggable","position_offset","resizable","scaling_menus","selectable","selected"]},"GraphFrame":{"inherits":"GraphElement","props":["autoshrink_enabled","autoshrink_margin","drag_margin","tint_color","tint_color_enabled","title"]},"GraphNode":{"inherits":"GraphElement","props":["ignore_invalid_connection_type","slots_focus_mode","title"]},"GridContainer":{"inherits":"Container","props":["columns"]},"GridMap":{"inherits":"Node3D","props":["bake_navigation","cell_center_x","cell_center_y","cell_center_z","cell_octant_size","cell_scale","cell_size","collision_layer","collision_mask","collision_priority","mesh_library","physics_material"]},"GridMapEditorPlugin":{"inherits":"EditorPlugin","props":[]},"GrooveJoint2D":{"inherits":"Joint2D","props":["initial_offset","length"]},"HBoxContainer":{"inherits":"BoxContainer","props":[]},"HFlowContainer":{"inherits":"FlowContainer","props":[]},"HMACContext":{"inherits":"RefCounted","props":[]},"HScrollBar":{"inherits":"ScrollBar","props":[]},"HSeparator":{"inherits":"Separator","props":[]},"HSlider":{"inherits":"Slider","props":[]},"HSplitContainer":{"inherits":"SplitContainer","props":[]},"HTTPClient":{"inherits":"RefCounted","props":["blocking_mode_enabled","connection","read_chunk_size"]},"HTTPRequest":{"inherits":"Node","props":["accept_gzip","body_size_limit","download_chunk_size","download_file","max_redirects","timeout","use_threads"]},"HashingContext":{"inherits":"RefCounted","props":[]},"HeightMapShape3D":{"inherits":"Shape3D","props":["map_data","map_depth","map_width"]},"HingeJoint3D":{"inherits":"Joint3D","props":[]},"IKModifier3D":{"inherits":"SkeletonModifier3D","props":["mutable_bone_axes"]},"IP":{"inherits":"Object","props":[]},"Image":{"inherits":"Resource","props":["data"]},"ImageFormatLoader":{"inherits":"RefCounted","props":[]},"ImageFormatLoaderExtension":{"inherits":"ImageFormatLoader","props":[]},"ImageTexture":{"inherits":"Texture2D","props":["image"]},"ImageTexture3D":{"inherits":"Texture3D","props":[]},"ImageTextureLayered":{"inherits":"TextureLayered","props":[]},"ImmediateMesh":{"inherits":"Mesh","props":[]},"ImporterMesh":{"inherits":"Resource","props":[]},"ImporterMeshInstance3D":{"inherits":"Node3D","props":["cast_shadow","layer_mask","mesh","skeleton_path","skin","visibility_range_begin","visibility_range_begin_margin","visibility_range_end","visibility_range_end_margin","visibility_range_fade_mode"]},"Input":{"inherits":"Object","props":["emulate_mouse_from_touch","emulate_touch_from_mouse","mouse_mode","use_accumulated_input"]},"InputEvent":{"inherits":"Resource","props":["device"]},"InputEventAction":{"inherits":"InputEvent","props":["action","event_index","pressed","strength"]},"InputEventFromWindow":{"inherits":"InputEvent","props":["window_id"]},"InputEventGesture":{"inherits":"InputEventWithModifiers","props":["position"]},"InputEventJoypadButton":{"inherits":"InputEvent","props":["button_index","pressed","pressure"]},"InputEventJoypadMotion":{"inherits":"InputEvent","props":["axis","axis_value"]},"InputEventKey":{"inherits":"InputEventWithModifiers","props":["echo","key_label","keycode","location","physical_keycode","pressed","unicode"]},"InputEventMIDI":{"inherits":"InputEvent","props":["channel","controller_number","controller_value","instrument","message","pitch","pressure","velocity"]},"InputEventMagnifyGesture":{"inherits":"InputEventGesture","props":["factor"]},"InputEventMouse":{"inherits":"InputEventWithModifiers","props":["button_mask","global_position","position"]},"InputEventMouseButton":{"inherits":"InputEventMouse","props":["button_index","canceled","double_click","factor","pressed"]},"InputEventMouseMotion":{"inherits":"InputEventMouse","props":["pen_inverted","pressure","relative","screen_relative","screen_velocity","tilt","velocity"]},"InputEventPanGesture":{"inherits":"InputEventGesture","props":["delta"]},"InputEventScreenDrag":{"inherits":"InputEventFromWindow","props":["index","pen_inverted","position","pressure","relative","screen_relative","screen_velocity","tilt","velocity"]},"InputEventScreenTouch":{"inherits":"InputEventFromWindow","props":["canceled","double_tap","index","position","pressed"]},"InputEventShortcut":{"inherits":"InputEvent","props":["shortcut"]},"InputEventWithModifiers":{"inherits":"InputEventFromWindow","props":["alt_pressed","command_or_control_autoremap","ctrl_pressed","meta_pressed","shift_pressed"]},"InputMap":{"inherits":"Object","props":[]},"InstancePlaceholder":{"inherits":"Node","props":[]},"IntervalTweener":{"inherits":"Tweener","props":[]},"ItemList":{"inherits":"Control","props":["allow_reselect","allow_rmb_select","allow_search","auto_height","auto_width","fixed_column_width","fixed_icon_size","icon_mode","icon_scale","item_count","max_columns","max_text_lines","same_column_width","scroll_hint_mode","select_mode","text_overrun_behavior","tile_scroll_hint","wraparound_items"]},"IterateIK3D":{"inherits":"ChainIK3D","props":["angular_delta_limit","deterministic","max_iterations","min_distance","setting_count"]},"JNISingleton":{"inherits":"Object","props":[]},"JSON":{"inherits":"Resource","props":["data"]},"JSONRPC":{"inherits":"Object","props":[]},"JacobianIK3D":{"inherits":"IterateIK3D","props":[]},"JavaClass":{"inherits":"RefCounted","props":[]},"JavaClassWrapper":{"inherits":"Object","props":[]},"JavaObject":{"inherits":"RefCounted","props":[]},"JavaScriptBridge":{"inherits":"Object","props":[]},"JavaScriptObject":{"inherits":"RefCounted","props":[]},"Joint2D":{"inherits":"Node2D","props":["bias","disable_collision","node_a","node_b"]},"Joint3D":{"inherits":"Node3D","props":["exclude_nodes_from_collision","node_a","node_b","solver_priority"]},"JointLimitation3D":{"inherits":"Resource","props":[]},"JointLimitationCone3D":{"inherits":"JointLimitation3D","props":["angle"]},"KinematicCollision2D":{"inherits":"RefCounted","props":[]},"KinematicCollision3D":{"inherits":"RefCounted","props":[]},"Label":{"inherits":"Control","props":["autowrap_mode","autowrap_trim_flags","clip_text","ellipsis_char","horizontal_alignment","justification_flags","label_settings","language","lines_skipped","max_lines_visible","paragraph_separator","structured_text_bidi_override","structured_text_bidi_override_options","tab_stops","text","text_direction","text_overrun_behavior","uppercase","vertical_alignment","visible_characters","visible_characters_behavior","visible_ratio"]},"Label3D":{"inherits":"GeometryInstance3D","props":["alpha_antialiasing_edge","alpha_antialiasing_mode","alpha_cut","alpha_hash_scale","alpha_scissor_threshold","autowrap_mode","autowrap_trim_flags","billboard","double_sided","fixed_size","font","font_size","horizontal_alignment","justification_flags","language","line_spacing","modulate","no_depth_test","offset","outline_modulate","outline_render_priority","outline_size","pixel_size","render_priority","shaded","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","texture_filter","uppercase","vertical_alignment","width"]},"LabelSettings":{"inherits":"Resource","props":["font","font_color","font_size","line_spacing","outline_color","outline_size","paragraph_spacing","shadow_color","shadow_offset","shadow_size","stacked_outline_count","stacked_shadow_count"]},"Light2D":{"inherits":"Node2D","props":["blend_mode","color","editor_only","enabled","energy","range_item_cull_mask","range_layer_max","range_layer_min","range_z_max","range_z_min","shadow_color","shadow_enabled","shadow_filter","shadow_filter_smooth","shadow_item_cull_mask"]},"Light3D":{"inherits":"VisualInstance3D","props":["distance_fade_begin","distance_fade_enabled","distance_fade_length","distance_fade_shadow","editor_only","light_angular_distance","light_bake_mode","light_color","light_cull_mask","light_energy","light_indirect_energy","light_intensity_lumens","light_intensity_lux","light_negative","light_projector","light_size","light_specular","light_temperature","light_volumetric_fog_energy","shadow_bias","shadow_blur","shadow_caster_mask","shadow_enabled","shadow_normal_bias","shadow_opacity","shadow_reverse_cull_face","shadow_transmittance_bias"]},"LightOccluder2D":{"inherits":"Node2D","props":["occluder","occluder_light_mask","sdf_collision"]},"LightmapGI":{"inherits":"VisualInstance3D","props":["bias","bounce_indirect_energy","bounces","camera_attributes","denoiser_range","denoiser_strength","directional","environment_custom_color","environment_custom_energy","environment_custom_sky","environment_mode","generate_probes_subdiv","interior","light_data","max_texture_size","quality","shadowmask_mode","supersampling","supersampling_factor","texel_scale","use_denoiser","use_texture_for_bounces"]},"LightmapGIData":{"inherits":"Resource","props":["light_texture","light_textures","lightmap_textures","probe_data","shadowmask_textures","user_data","uses_spherical_harmonics"]},"LightmapProbe":{"inherits":"Node3D","props":[]},"Lightmapper":{"inherits":"RefCounted","props":[]},"LightmapperRD":{"inherits":"Lightmapper","props":[]},"LimitAngularVelocityModifier3D":{"inherits":"SkeletonModifier3D","props":["chain_count","exclude","joint_count","max_angular_velocity"]},"Line2D":{"inherits":"Node2D","props":["antialiased","begin_cap_mode","closed","default_color","end_cap_mode","gradient","joint_mode","points","round_precision","sharp_limit","texture","texture_mode","width","width_curve"]},"LineEdit":{"inherits":"Control","props":["alignment","backspace_deletes_composite_character_enabled","caret_blink","caret_blink_interval","caret_column","caret_force_displayed","caret_mid_grapheme","clear_button_enabled","context_menu_enabled","deselect_on_focus_loss_enabled","drag_and_drop_selection_enabled","draw_control_chars","editable","emoji_menu_enabled","expand_to_text_length","flat","icon_expand_mode","keep_editing_on_text_submit","language","max_length","middle_mouse_paste_enabled","placeholder_text","right_icon","right_icon_scale","secret","secret_character","select_all_on_focus","selecting_enabled","shortcut_keys_enabled","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","virtual_keyboard_enabled","virtual_keyboard_show_on_focus","virtual_keyboard_type"]},"LinkButton":{"inherits":"BaseButton","props":["ellipsis_char","language","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","text_overrun_behavior","underline","uri"]},"Logger":{"inherits":"RefCounted","props":[]},"LookAtModifier3D":{"inherits":"SkeletonModifier3D","props":["bone","bone_name","duration","ease_type","forward_axis","origin_bone","origin_bone_name","origin_external_node","origin_from","origin_offset","origin_safe_margin","primary_damp_threshold","primary_limit_angle","primary_negative_damp_threshold","primary_negative_limit_angle","primary_positive_damp_threshold","primary_positive_limit_angle","primary_rotation_axis","relative","secondary_damp_threshold","secondary_limit_angle","secondary_negative_damp_threshold","secondary_negative_limit_angle","secondary_positive_damp_threshold","secondary_positive_limit_angle","symmetry_limitation","target_node","transition_type","use_angle_limitation","use_secondary_rotation"]},"MainLoop":{"inherits":"Object","props":[]},"MarginContainer":{"inherits":"Container","props":[]},"Marker2D":{"inherits":"Node2D","props":["gizmo_extents"]},"Marker3D":{"inherits":"Node3D","props":["gizmo_extents"]},"Marshalls":{"inherits":"Object","props":[]},"Material":{"inherits":"Resource","props":["next_pass","render_priority"]},"MenuBar":{"inherits":"Control","props":["flat","language","prefer_global_menu","start_index","switch_on_hover","text_direction"]},"MenuButton":{"inherits":"Button","props":["item_count","switch_on_hover"]},"Mesh":{"inherits":"Resource","props":["lightmap_size_hint"]},"MeshConvexDecompositionSettings":{"inherits":"RefCounted","props":["convex_hull_approximation","convex_hull_downsampling","max_concavity","max_convex_hulls","max_num_vertices_per_convex_hull","min_volume_per_convex_hull","mode","normalize_mesh","plane_downsampling","project_hull_vertices","resolution","revolution_axes_clipping_bias","symmetry_planes_clipping_bias"]},"MeshDataTool":{"inherits":"RefCounted","props":[]},"MeshInstance2D":{"inherits":"Node2D","props":["mesh","texture"]},"MeshInstance3D":{"inherits":"GeometryInstance3D","props":["mesh","skeleton","skin"]},"MeshLibrary":{"inherits":"Resource","props":[]},"MeshTexture":{"inherits":"Texture2D","props":["base_texture","image_size","mesh"]},"MethodTweener":{"inherits":"Tweener","props":[]},"MissingNode":{"inherits":"Node","props":["original_class","original_scene","recording_properties","recording_signals"]},"MissingResource":{"inherits":"Resource","props":["original_class","recording_properties"]},"MobileVRInterface":{"inherits":"XRInterface","props":["display_to_lens","display_width","eye_height","iod","k1","k2","offset_rect","oversample","vrs_min_radius","vrs_strength"]},"ModifierBoneTarget3D":{"inherits":"SkeletonModifier3D","props":["bone","bone_name"]},"MovieWriter":{"inherits":"Object","props":[]},"MultiMesh":{"inherits":"Resource","props":["buffer","color_array","custom_aabb","custom_data_array","instance_count","mesh","physics_interpolation_quality","transform_2d_array","transform_array","transform_format","use_colors","use_custom_data","visible_instance_count"]},"MultiMeshInstance2D":{"inherits":"Node2D","props":["multimesh","texture"]},"MultiMeshInstance3D":{"inherits":"GeometryInstance3D","props":["multimesh"]},"MultiplayerAPI":{"inherits":"RefCounted","props":["multiplayer_peer"]},"MultiplayerAPIExtension":{"inherits":"MultiplayerAPI","props":[]},"MultiplayerPeer":{"inherits":"PacketPeer","props":["refuse_new_connections","transfer_channel","transfer_mode"]},"MultiplayerPeerExtension":{"inherits":"MultiplayerPeer","props":[]},"MultiplayerSpawner":{"inherits":"Node","props":["spawn_function","spawn_limit","spawn_path"]},"MultiplayerSynchronizer":{"inherits":"Node","props":["delta_interval","public_visibility","replication_config","replication_interval","root_path","visibility_update_mode"]},"Mutex":{"inherits":"RefCounted","props":[]},"NativeMenu":{"inherits":"Object","props":[]},"NavigationAgent2D":{"inherits":"Node","props":["avoidance_enabled","avoidance_layers","avoidance_mask","avoidance_priority","debug_enabled","debug_path_custom_color","debug_path_custom_line_width","debug_path_custom_point_size","debug_use_custom","max_neighbors","max_speed","navigation_layers","neighbor_distance","path_desired_distance","path_max_distance","path_metadata_flags","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","radius","simplify_epsilon","simplify_path","target_desired_distance","target_position","time_horizon_agents","time_horizon_obstacles","velocity"]},"NavigationAgent3D":{"inherits":"Node","props":["avoidance_enabled","avoidance_layers","avoidance_mask","avoidance_priority","debug_enabled","debug_path_custom_color","debug_path_custom_point_size","debug_use_custom","height","keep_y_velocity","max_neighbors","max_speed","navigation_layers","neighbor_distance","path_desired_distance","path_height_offset","path_max_distance","path_metadata_flags","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","radius","simplify_epsilon","simplify_path","target_desired_distance","target_position","time_horizon_agents","time_horizon_obstacles","use_3d_avoidance","velocity"]},"NavigationLink2D":{"inherits":"Node2D","props":["bidirectional","enabled","end_position","enter_cost","navigation_layers","start_position","travel_cost"]},"NavigationLink3D":{"inherits":"Node3D","props":["bidirectional","enabled","end_position","enter_cost","navigation_layers","start_position","travel_cost"]},"NavigationMesh":{"inherits":"Resource","props":["agent_height","agent_max_climb","agent_max_slope","agent_radius","border_size","cell_height","cell_size","detail_sample_distance","detail_sample_max_error","edge_max_error","edge_max_length","filter_baking_aabb","filter_baking_aabb_offset","filter_ledge_spans","filter_low_hanging_obstacles","filter_walkable_low_height_spans","geometry_collision_mask","geometry_parsed_geometry_type","geometry_source_geometry_mode","geometry_source_group_name","polygons","region_merge_size","region_min_size","sample_partition_type","vertices","vertices_per_polygon"]},"NavigationMeshGenerator":{"inherits":"Object","props":[]},"NavigationMeshSourceGeometryData2D":{"inherits":"Resource","props":["obstruction_outlines","projected_obstructions","traversable_outlines"]},"NavigationMeshSourceGeometryData3D":{"inherits":"Resource","props":["indices","projected_obstructions","vertices"]},"NavigationObstacle2D":{"inherits":"Node2D","props":["affect_navigation_mesh","avoidance_enabled","avoidance_layers","carve_navigation_mesh","radius","velocity","vertices"]},"NavigationObstacle3D":{"inherits":"Node3D","props":["affect_navigation_mesh","avoidance_enabled","avoidance_layers","carve_navigation_mesh","height","radius","use_3d_avoidance","velocity","vertices"]},"NavigationPathQueryParameters2D":{"inherits":"RefCounted","props":["excluded_regions","included_regions","map","metadata_flags","navigation_layers","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","simplify_epsilon","simplify_path","start_position","target_position"]},"NavigationPathQueryParameters3D":{"inherits":"RefCounted","props":["excluded_regions","included_regions","map","metadata_flags","navigation_layers","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","simplify_epsilon","simplify_path","start_position","target_position"]},"NavigationPathQueryResult2D":{"inherits":"RefCounted","props":["path","path_length","path_owner_ids","path_rids","path_types"]},"NavigationPathQueryResult3D":{"inherits":"RefCounted","props":["path","path_length","path_owner_ids","path_rids","path_types"]},"NavigationPolygon":{"inherits":"Resource","props":["agent_radius","baking_rect","baking_rect_offset","border_size","cell_size","outlines","parsed_collision_mask","parsed_geometry_type","polygons","sample_partition_type","source_geometry_group_name","source_geometry_mode","vertices"]},"NavigationRegion2D":{"inherits":"Node2D","props":["enabled","enter_cost","navigation_layers","navigation_polygon","travel_cost","use_edge_connections"]},"NavigationRegion3D":{"inherits":"Node3D","props":["enabled","enter_cost","navigation_layers","navigation_mesh","travel_cost","use_edge_connections"]},"NavigationServer2D":{"inherits":"Object","props":[]},"NavigationServer2DManager":{"inherits":"Object","props":[]},"NavigationServer3D":{"inherits":"Object","props":[]},"NavigationServer3DManager":{"inherits":"Object","props":[]},"NinePatchRect":{"inherits":"Control","props":["axis_stretch_horizontal","axis_stretch_vertical","draw_center","patch_margin_bottom","patch_margin_left","patch_margin_right","patch_margin_top","region_rect","texture"]},"Node":{"inherits":"Object","props":["auto_translate_mode","editor_description","multiplayer","name","owner","physics_interpolation_mode","process_mode","process_physics_priority","process_priority","process_thread_group","process_thread_group_order","process_thread_messages","scene_file_path","unique_name_in_owner"]},"Node2D":{"inherits":"CanvasItem","props":["global_position","global_rotation","global_rotation_degrees","global_scale","global_skew","global_transform","position","rotation","rotation_degrees","scale","skew","transform"]},"Node3D":{"inherits":"Node","props":["basis","global_basis","global_position","global_rotation","global_rotation_degrees","global_transform","position","quaternion","rotation","rotation_degrees","rotation_edit_mode","rotation_order","scale","top_level","transform","visibility_parent","visible"]},"Node3DGizmo":{"inherits":"RefCounted","props":[]},"Noise":{"inherits":"Resource","props":[]},"NoiseTexture2D":{"inherits":"Texture2D","props":["as_normal_map","bump_strength","color_ramp","generate_mipmaps","height","in_3d_space","invert","noise","normalize","seamless","seamless_blend_skirt","width"]},"NoiseTexture3D":{"inherits":"Texture3D","props":["color_ramp","depth","height","invert","noise","normalize","seamless","seamless_blend_skirt","width"]},"ORMMaterial3D":{"inherits":"BaseMaterial3D","props":[]},"OS":{"inherits":"Object","props":["delta_smoothing","low_processor_usage_mode","low_processor_usage_mode_sleep_usec"]},"Object":{"inherits":null,"props":[]},"Occluder3D":{"inherits":"Resource","props":[]},"OccluderInstance3D":{"inherits":"VisualInstance3D","props":["bake_mask","bake_simplification_distance","occluder"]},"OccluderPolygon2D":{"inherits":"Resource","props":["closed","cull_mode","polygon"]},"OfflineMultiplayerPeer":{"inherits":"MultiplayerPeer","props":[]},"OggPacketSequence":{"inherits":"Resource","props":["granule_positions","packet_data","sampling_rate"]},"OggPacketSequencePlayback":{"inherits":"RefCounted","props":[]},"OmniLight3D":{"inherits":"Light3D","props":["omni_attenuation","omni_range","omni_shadow_mode"]},"OpenXRAPIExtension":{"inherits":"RefCounted","props":[]},"OpenXRAction":{"inherits":"Resource","props":["action_type","localized_name","toplevel_paths"]},"OpenXRActionBindingModifier":{"inherits":"OpenXRBindingModifier","props":[]},"OpenXRActionMap":{"inherits":"Resource","props":["action_sets","interaction_profiles"]},"OpenXRActionSet":{"inherits":"Resource","props":["actions","localized_name","priority"]},"OpenXRAnalogThresholdModifier":{"inherits":"OpenXRActionBindingModifier","props":["off_haptic","off_threshold","on_haptic","on_threshold"]},"OpenXRAnchorTracker":{"inherits":"OpenXRSpatialEntityTracker","props":["uuid"]},"OpenXRAndroidThreadSettingsExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRBindingModifier":{"inherits":"Resource","props":[]},"OpenXRBindingModifierEditor":{"inherits":"PanelContainer","props":[]},"OpenXRCompositionLayer":{"inherits":"Node3D","props":["alpha_blend","android_surface_size","enable_hole_punch","layer_viewport","protected_content","sort_order","swapchain_state_alpha_swizzle","swapchain_state_blue_swizzle","swapchain_state_border_color","swapchain_state_green_swizzle","swapchain_state_horizontal_wrap","swapchain_state_mag_filter","swapchain_state_max_anisotropy","swapchain_state_min_filter","swapchain_state_mipmap_mode","swapchain_state_red_swizzle","swapchain_state_vertical_wrap","use_android_surface"]},"OpenXRCompositionLayerCylinder":{"inherits":"OpenXRCompositionLayer","props":["aspect_ratio","central_angle","fallback_segments","radius"]},"OpenXRCompositionLayerEquirect":{"inherits":"OpenXRCompositionLayer","props":["central_horizontal_angle","fallback_segments","lower_vertical_angle","radius","upper_vertical_angle"]},"OpenXRCompositionLayerQuad":{"inherits":"OpenXRCompositionLayer","props":["quad_size"]},"OpenXRDpadBindingModifier":{"inherits":"OpenXRIPBindingModifier","props":["action_set","center_region","input_path","is_sticky","off_haptic","on_haptic","threshold","threshold_released","wedge_angle"]},"OpenXRExtensionWrapper":{"inherits":"Object","props":[]},"OpenXRExtensionWrapperExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRFrameSynthesisExtension":{"inherits":"OpenXRExtensionWrapper","props":["enabled","relax_frame_interval"]},"OpenXRFutureExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRFutureResult":{"inherits":"RefCounted","props":[]},"OpenXRHand":{"inherits":"Node3D","props":["bone_update","hand","hand_skeleton","motion_range","skeleton_rig"]},"OpenXRHapticBase":{"inherits":"Resource","props":[]},"OpenXRHapticVibration":{"inherits":"OpenXRHapticBase","props":["amplitude","duration","frequency"]},"OpenXRIPBinding":{"inherits":"Resource","props":["action","binding_modifiers","binding_path","paths"]},"OpenXRIPBindingModifier":{"inherits":"OpenXRBindingModifier","props":[]},"OpenXRInteractionProfile":{"inherits":"Resource","props":["binding_modifiers","bindings","interaction_profile_path"]},"OpenXRInteractionProfileEditor":{"inherits":"OpenXRInteractionProfileEditorBase","props":[]},"OpenXRInteractionProfileEditorBase":{"inherits":"HBoxContainer","props":[]},"OpenXRInteractionProfileMetadata":{"inherits":"Object","props":[]},"OpenXRInterface":{"inherits":"XRInterface","props":["display_refresh_rate","foveation_dynamic","foveation_level","render_target_size_multiplier","vrs_min_radius","vrs_strength"]},"OpenXRMarkerTracker":{"inherits":"OpenXRSpatialEntityTracker","props":["bounds_size","marker_id","marker_type"]},"OpenXRPlaneTracker":{"inherits":"OpenXRSpatialEntityTracker","props":["bounds_size","plane_alignment","plane_label"]},"OpenXRRenderModel":{"inherits":"Node3D","props":["render_model"]},"OpenXRRenderModelExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRRenderModelManager":{"inherits":"Node3D","props":["make_local_to_pose","tracker"]},"OpenXRSpatialAnchorCapability":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialCapabilityConfigurationAnchor":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialCapabilityConfigurationAprilTag":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":["april_dict"]},"OpenXRSpatialCapabilityConfigurationAruco":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":["aruco_dict"]},"OpenXRSpatialCapabilityConfigurationBaseHeader":{"inherits":"RefCounted","props":[]},"OpenXRSpatialCapabilityConfigurationMicroQrCode":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialCapabilityConfigurationPlaneTracking":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialCapabilityConfigurationQrCode":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialComponentAnchorList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentBounded2DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentBounded3DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentData":{"inherits":"RefCounted","props":[]},"OpenXRSpatialComponentMarkerList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentMesh2DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentMesh3DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentParentList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPersistenceList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPlaneAlignmentList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPlaneSemanticLabelList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPolygon2DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialContextPersistenceConfig":{"inherits":"OpenXRStructureBase","props":[]},"OpenXRSpatialEntityExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialEntityTracker":{"inherits":"XRPositionalTracker","props":["entity","spatial_tracking_state"]},"OpenXRSpatialMarkerTrackingCapability":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialPlaneTrackingCapability":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialQueryResultData":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRStructureBase":{"inherits":"RefCounted","props":["next"]},"OpenXRVisibilityMask":{"inherits":"VisualInstance3D","props":[]},"OptimizedTranslation":{"inherits":"Translation","props":[]},"OptionButton":{"inherits":"Button","props":["allow_reselect","fit_to_longest_item","item_count","selected"]},"PCKPacker":{"inherits":"RefCounted","props":[]},"PackedDataContainer":{"inherits":"Resource","props":[]},"PackedDataContainerRef":{"inherits":"RefCounted","props":[]},"PackedScene":{"inherits":"Resource","props":[]},"PacketPeer":{"inherits":"RefCounted","props":["encode_buffer_max_size"]},"PacketPeerDTLS":{"inherits":"PacketPeer","props":[]},"PacketPeerExtension":{"inherits":"PacketPeer","props":[]},"PacketPeerStream":{"inherits":"PacketPeer","props":["input_buffer_max_size","output_buffer_max_size","stream_peer"]},"PacketPeerUDP":{"inherits":"PacketPeer","props":[]},"Panel":{"inherits":"Control","props":[]},"PanelContainer":{"inherits":"Container","props":[]},"PanoramaSkyMaterial":{"inherits":"Material","props":["energy_multiplier","filter","panorama"]},"Parallax2D":{"inherits":"Node2D","props":["autoscroll","follow_viewport","ignore_camera_scroll","limit_begin","limit_end","repeat_size","repeat_times","screen_offset","scroll_offset","scroll_scale"]},"ParallaxBackground":{"inherits":"CanvasLayer","props":["scroll_base_offset","scroll_base_scale","scroll_ignore_camera_zoom","scroll_limit_begin","scroll_limit_end","scroll_offset"]},"ParallaxLayer":{"inherits":"Node2D","props":["motion_mirroring","motion_offset","motion_scale"]},"ParticleProcessMaterial":{"inherits":"Material","props":["alpha_curve","angle","angle_curve","angle_max","angle_min","angular_velocity","angular_velocity_curve","angular_velocity_max","angular_velocity_min","anim_offset","anim_offset_curve","anim_offset_max","anim_offset_min","anim_speed","anim_speed_curve","anim_speed_max","anim_speed_min","attractor_interaction_enabled","collision_bounce","collision_friction","collision_mode","collision_use_scale","color","color_initial_ramp","color_ramp","damping","damping_curve","damping_max","damping_min","direction","directional_velocity","directional_velocity_curve","directional_velocity_max","directional_velocity_min","emission_box_extents","emission_color_texture","emission_curve","emission_normal_texture","emission_point_count","emission_point_texture","emission_ring_axis","emission_ring_cone_angle","emission_ring_height","emission_ring_inner_radius","emission_ring_radius","emission_shape","emission_shape_offset","emission_shape_scale","emission_sphere_radius","flatness","gravity","hue_variation","hue_variation_curve","hue_variation_max","hue_variation_min","inherit_velocity_ratio","initial_velocity","initial_velocity_max","initial_velocity_min","lifetime_randomness","linear_accel","linear_accel_curve","linear_accel_max","linear_accel_min","orbit_velocity","orbit_velocity_curve","orbit_velocity_max","orbit_velocity_min","particle_flag_align_y","particle_flag_damping_as_friction","particle_flag_disable_z","particle_flag_rotate_y","radial_accel","radial_accel_curve","radial_accel_max","radial_accel_min","radial_velocity","radial_velocity_curve","radial_velocity_max","radial_velocity_min","scale","scale_curve","scale_max","scale_min","scale_over_velocity","scale_over_velocity_curve","scale_over_velocity_max","scale_over_velocity_min","spread","sub_emitter_amount_at_collision","sub_emitter_amount_at_end","sub_emitter_amount_at_start","sub_emitter_frequency","sub_emitter_keep_velocity","sub_emitter_mode","tangential_accel","tangential_accel_curve","tangential_accel_max","tangential_accel_min","turbulence_enabled","turbulence_influence","turbulence_influence_max","turbulence_influence_min","turbulence_influence_over_life","turbulence_initial_displacement","turbulence_initial_displacement_max","turbulence_initial_displacement_min","turbulence_noise_scale","turbulence_noise_speed","turbulence_noise_speed_random","turbulence_noise_strength","velocity_limit_curve","velocity_pivot"]},"Path2D":{"inherits":"Node2D","props":["curve"]},"Path3D":{"inherits":"Node3D","props":["curve","debug_custom_color"]},"PathFollow2D":{"inherits":"Node2D","props":["cubic_interp","h_offset","loop","progress","progress_ratio","rotates","v_offset"]},"PathFollow3D":{"inherits":"Node3D","props":["cubic_interp","h_offset","loop","progress","progress_ratio","rotation_mode","tilt_enabled","use_model_front","v_offset"]},"Performance":{"inherits":"Object","props":[]},"PhysicalBone2D":{"inherits":"RigidBody2D","props":["auto_configure_joint","bone2d_index","bone2d_nodepath","follow_bone_when_simulating","simulate_physics"]},"PhysicalBone3D":{"inherits":"PhysicsBody3D","props":["angular_damp","angular_damp_mode","angular_velocity","body_offset","bounce","can_sleep","custom_integrator","friction","gravity_scale","joint_offset","joint_rotation","joint_type","linear_damp","linear_damp_mode","linear_velocity","mass"]},"PhysicalBoneSimulator3D":{"inherits":"SkeletonModifier3D","props":[]},"PhysicalSkyMaterial":{"inherits":"Material","props":["energy_multiplier","ground_color","mie_coefficient","mie_color","mie_eccentricity","night_sky","rayleigh_coefficient","rayleigh_color","sun_disk_scale","turbidity","use_debanding"]},"PhysicsBody2D":{"inherits":"CollisionObject2D","props":[]},"PhysicsBody3D":{"inherits":"CollisionObject3D","props":["axis_lock_angular_x","axis_lock_angular_y","axis_lock_angular_z","axis_lock_linear_x","axis_lock_linear_y","axis_lock_linear_z"]},"PhysicsDirectBodyState2D":{"inherits":"Object","props":["angular_velocity","center_of_mass","center_of_mass_local","collision_layer","collision_mask","inverse_inertia","inverse_mass","linear_velocity","sleeping","step","total_angular_damp","total_gravity","total_linear_damp","transform"]},"PhysicsDirectBodyState2DExtension":{"inherits":"PhysicsDirectBodyState2D","props":[]},"PhysicsDirectBodyState3D":{"inherits":"Object","props":["angular_velocity","center_of_mass","center_of_mass_local","collision_layer","collision_mask","inverse_inertia","inverse_inertia_tensor","inverse_mass","linear_velocity","principal_inertia_axes","sleeping","step","total_angular_damp","total_gravity","total_linear_damp","transform"]},"PhysicsDirectBodyState3DExtension":{"inherits":"PhysicsDirectBodyState3D","props":[]},"PhysicsDirectSpaceState2D":{"inherits":"Object","props":[]},"PhysicsDirectSpaceState2DExtension":{"inherits":"PhysicsDirectSpaceState2D","props":[]},"PhysicsDirectSpaceState3D":{"inherits":"Object","props":[]},"PhysicsDirectSpaceState3DExtension":{"inherits":"PhysicsDirectSpaceState3D","props":[]},"PhysicsMaterial":{"inherits":"Resource","props":["absorbent","bounce","friction","rough"]},"PhysicsPointQueryParameters2D":{"inherits":"RefCounted","props":["canvas_instance_id","collide_with_areas","collide_with_bodies","collision_mask","exclude","position"]},"PhysicsPointQueryParameters3D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","position"]},"PhysicsRayQueryParameters2D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","from","hit_from_inside","to"]},"PhysicsRayQueryParameters3D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","from","hit_back_faces","hit_from_inside","to"]},"PhysicsServer2D":{"inherits":"Object","props":[]},"PhysicsServer2DExtension":{"inherits":"PhysicsServer2D","props":[]},"PhysicsServer2DManager":{"inherits":"Object","props":[]},"PhysicsServer3D":{"inherits":"Object","props":[]},"PhysicsServer3DExtension":{"inherits":"PhysicsServer3D","props":[]},"PhysicsServer3DManager":{"inherits":"Object","props":[]},"PhysicsServer3DRenderingServerHandler":{"inherits":"Object","props":[]},"PhysicsShapeQueryParameters2D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","margin","motion","shape","shape_rid","transform"]},"PhysicsShapeQueryParameters3D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","margin","motion","shape","shape_rid","transform"]},"PhysicsTestMotionParameters2D":{"inherits":"RefCounted","props":["collide_separation_ray","exclude_bodies","exclude_objects","from","margin","motion","recovery_as_collision"]},"PhysicsTestMotionParameters3D":{"inherits":"RefCounted","props":["collide_separation_ray","exclude_bodies","exclude_objects","from","margin","max_collisions","motion","recovery_as_collision"]},"PhysicsTestMotionResult2D":{"inherits":"RefCounted","props":[]},"PhysicsTestMotionResult3D":{"inherits":"RefCounted","props":[]},"PinJoint2D":{"inherits":"Joint2D","props":["angular_limit_enabled","angular_limit_lower","angular_limit_upper","motor_enabled","motor_target_velocity","softness"]},"PinJoint3D":{"inherits":"Joint3D","props":[]},"PlaceholderCubemap":{"inherits":"PlaceholderTextureLayered","props":[]},"PlaceholderCubemapArray":{"inherits":"PlaceholderTextureLayered","props":[]},"PlaceholderMaterial":{"inherits":"Material","props":[]},"PlaceholderMesh":{"inherits":"Mesh","props":["aabb"]},"PlaceholderTexture2D":{"inherits":"Texture2D","props":["size"]},"PlaceholderTexture2DArray":{"inherits":"PlaceholderTextureLayered","props":[]},"PlaceholderTexture3D":{"inherits":"Texture3D","props":["size"]},"PlaceholderTextureLayered":{"inherits":"TextureLayered","props":["layers","size"]},"PlaneMesh":{"inherits":"PrimitiveMesh","props":["center_offset","orientation","size","subdivide_depth","subdivide_width"]},"PointLight2D":{"inherits":"Light2D","props":["height","offset","texture","texture_scale"]},"PointMesh":{"inherits":"PrimitiveMesh","props":[]},"Polygon2D":{"inherits":"Node2D","props":["antialiased","bones","color","internal_vertex_count","invert_border","invert_enabled","offset","polygon","polygons","skeleton","texture","texture_offset","texture_rotation","texture_scale","uv","vertex_colors"]},"PolygonOccluder3D":{"inherits":"Occluder3D","props":["polygon"]},"PolygonPathFinder":{"inherits":"Resource","props":["data"]},"Popup":{"inherits":"Window","props":[]},"PopupMenu":{"inherits":"Popup","props":["allow_search","hide_on_checkable_item_selection","hide_on_item_selection","hide_on_state_item_selection","item_count","prefer_native_menu","shrink_height","shrink_width","submenu_popup_delay","system_menu_id"]},"PopupPanel":{"inherits":"Popup","props":[]},"PortableCompressedTexture2D":{"inherits":"Texture2D","props":["keep_compressed_buffer","size_override"]},"PrimitiveMesh":{"inherits":"Mesh","props":["add_uv2","custom_aabb","flip_faces","material","uv2_padding"]},"PrismMesh":{"inherits":"PrimitiveMesh","props":["left_to_right","size","subdivide_depth","subdivide_height","subdivide_width"]},"ProceduralSkyMaterial":{"inherits":"Material","props":["energy_multiplier","ground_bottom_color","ground_curve","ground_energy_multiplier","ground_horizon_color","sky_cover","sky_cover_modulate","sky_curve","sky_energy_multiplier","sky_horizon_color","sky_top_color","sun_angle_max","sun_curve","use_debanding"]},"ProgressBar":{"inherits":"Range","props":["editor_preview_indeterminate","fill_mode","indeterminate","show_percentage"]},"ProjectSettings":{"inherits":"Object","props":[]},"PropertyTweener":{"inherits":"Tweener","props":[]},"QuadMesh":{"inherits":"PlaneMesh","props":[]},"QuadOccluder3D":{"inherits":"Occluder3D","props":["size"]},"RDAttachmentFormat":{"inherits":"RefCounted","props":["format","samples","usage_flags"]},"RDFramebufferPass":{"inherits":"RefCounted","props":["color_attachments","depth_attachment","input_attachments","preserve_attachments","resolve_attachments"]},"RDPipelineColorBlendState":{"inherits":"RefCounted","props":["attachments","blend_constant","enable_logic_op","logic_op"]},"RDPipelineColorBlendStateAttachment":{"inherits":"RefCounted","props":["alpha_blend_op","color_blend_op","dst_alpha_blend_factor","dst_color_blend_factor","enable_blend","src_alpha_blend_factor","src_color_blend_factor","write_a","write_b","write_g","write_r"]},"RDPipelineDepthStencilState":{"inherits":"RefCounted","props":["back_op_compare","back_op_compare_mask","back_op_depth_fail","back_op_fail","back_op_pass","back_op_reference","back_op_write_mask","depth_compare_operator","depth_range_max","depth_range_min","enable_depth_range","enable_depth_test","enable_depth_write","enable_stencil","front_op_compare","front_op_compare_mask","front_op_depth_fail","front_op_fail","front_op_pass","front_op_reference","front_op_write_mask"]},"RDPipelineMultisampleState":{"inherits":"RefCounted","props":["enable_alpha_to_coverage","enable_alpha_to_one","enable_sample_shading","min_sample_shading","sample_count","sample_masks"]},"RDPipelineRasterizationState":{"inherits":"RefCounted","props":["cull_mode","depth_bias_clamp","depth_bias_constant_factor","depth_bias_enabled","depth_bias_slope_factor","discard_primitives","enable_depth_clamp","front_face","line_width","patch_control_points","wireframe"]},"RDPipelineSpecializationConstant":{"inherits":"RefCounted","props":["constant_id","value"]},"RDSamplerState":{"inherits":"RefCounted","props":["anisotropy_max","border_color","compare_op","enable_compare","lod_bias","mag_filter","max_lod","min_filter","min_lod","mip_filter","repeat_u","repeat_v","repeat_w","unnormalized_uvw","use_anisotropy"]},"RDShaderFile":{"inherits":"Resource","props":["base_error"]},"RDShaderSPIRV":{"inherits":"Resource","props":["bytecode_compute","bytecode_fragment","bytecode_tesselation_control","bytecode_tesselation_evaluation","bytecode_vertex","compile_error_compute","compile_error_fragment","compile_error_tesselation_control","compile_error_tesselation_evaluation","compile_error_vertex"]},"RDShaderSource":{"inherits":"RefCounted","props":["language","source_compute","source_fragment","source_tesselation_control","source_tesselation_evaluation","source_vertex"]},"RDTextureFormat":{"inherits":"RefCounted","props":["array_layers","depth","format","height","is_discardable","is_resolve_buffer","mipmaps","samples","texture_type","usage_bits","width"]},"RDTextureView":{"inherits":"RefCounted","props":["format_override","swizzle_a","swizzle_b","swizzle_g","swizzle_r"]},"RDUniform":{"inherits":"RefCounted","props":["binding","uniform_type"]},"RDVertexAttribute":{"inherits":"RefCounted","props":["binding","format","frequency","location","offset","stride"]},"RandomNumberGenerator":{"inherits":"RefCounted","props":["seed","state"]},"Range":{"inherits":"Control","props":["allow_greater","allow_lesser","exp_edit","max_value","min_value","page","ratio","rounded","step","value"]},"RayCast2D":{"inherits":"Node2D","props":["collide_with_areas","collide_with_bodies","collision_mask","enabled","exclude_parent","hit_from_inside","target_position"]},"RayCast3D":{"inherits":"Node3D","props":["collide_with_areas","collide_with_bodies","collision_mask","debug_shape_custom_color","debug_shape_thickness","enabled","exclude_parent","hit_back_faces","hit_from_inside","target_position"]},"RectangleShape2D":{"inherits":"Shape2D","props":["size"]},"RefCounted":{"inherits":"Object","props":[]},"ReferenceRect":{"inherits":"Control","props":["border_color","border_width","editor_only"]},"ReflectionProbe":{"inherits":"VisualInstance3D","props":["ambient_color","ambient_color_energy","ambient_mode","blend_distance","box_projection","cull_mask","enable_shadows","intensity","interior","max_distance","mesh_lod_threshold","origin_offset","reflection_mask","size","update_mode"]},"RegEx":{"inherits":"RefCounted","props":[]},"RegExMatch":{"inherits":"RefCounted","props":["names","strings","subject"]},"RemoteTransform2D":{"inherits":"Node2D","props":["remote_path","update_position","update_rotation","update_scale","use_global_coordinates"]},"RemoteTransform3D":{"inherits":"Node3D","props":["remote_path","update_position","update_rotation","update_scale","use_global_coordinates"]},"RenderData":{"inherits":"Object","props":[]},"RenderDataExtension":{"inherits":"RenderData","props":[]},"RenderDataRD":{"inherits":"RenderData","props":[]},"RenderSceneBuffers":{"inherits":"RefCounted","props":[]},"RenderSceneBuffersConfiguration":{"inherits":"RefCounted","props":["anisotropic_filtering_level","fsr_sharpness","internal_size","msaa_3d","render_target","scaling_3d_mode","screen_space_aa","target_size","texture_mipmap_bias","view_count"]},"RenderSceneBuffersExtension":{"inherits":"RenderSceneBuffers","props":[]},"RenderSceneBuffersRD":{"inherits":"RenderSceneBuffers","props":[]},"RenderSceneData":{"inherits":"Object","props":[]},"RenderSceneDataExtension":{"inherits":"RenderSceneData","props":[]},"RenderSceneDataRD":{"inherits":"RenderSceneData","props":[]},"RenderingDevice":{"inherits":"Object","props":[]},"RenderingServer":{"inherits":"Object","props":["render_loop_enabled"]},"Resource":{"inherits":"RefCounted","props":["resource_local_to_scene","resource_name","resource_path","resource_scene_unique_id"]},"ResourceFormatLoader":{"inherits":"RefCounted","props":[]},"ResourceFormatSaver":{"inherits":"RefCounted","props":[]},"ResourceImporter":{"inherits":"RefCounted","props":[]},"ResourceImporterBMFont":{"inherits":"ResourceImporter","props":[]},"ResourceImporterBitMap":{"inherits":"ResourceImporter","props":[]},"ResourceImporterCSVTranslation":{"inherits":"ResourceImporter","props":[]},"ResourceImporterDynamicFont":{"inherits":"ResourceImporter","props":[]},"ResourceImporterImage":{"inherits":"ResourceImporter","props":[]},"ResourceImporterImageFont":{"inherits":"ResourceImporter","props":[]},"ResourceImporterLayeredTexture":{"inherits":"ResourceImporter","props":[]},"ResourceImporterMP3":{"inherits":"ResourceImporter","props":[]},"ResourceImporterOBJ":{"inherits":"ResourceImporter","props":[]},"ResourceImporterOggVorbis":{"inherits":"ResourceImporter","props":[]},"ResourceImporterSVG":{"inherits":"ResourceImporter","props":[]},"ResourceImporterScene":{"inherits":"ResourceImporter","props":[]},"ResourceImporterShaderFile":{"inherits":"ResourceImporter","props":[]},"ResourceImporterTexture":{"inherits":"ResourceImporter","props":[]},"ResourceImporterTextureAtlas":{"inherits":"ResourceImporter","props":[]},"ResourceImporterWAV":{"inherits":"ResourceImporter","props":[]},"ResourceLoader":{"inherits":"Object","props":[]},"ResourcePreloader":{"inherits":"Node","props":["resources"]},"ResourceSaver":{"inherits":"Object","props":[]},"ResourceUID":{"inherits":"Object","props":[]},"RetargetModifier3D":{"inherits":"SkeletonModifier3D","props":["enable","profile","use_global_pose"]},"RibbonTrailMesh":{"inherits":"PrimitiveMesh","props":["curve","section_length","section_segments","sections","shape","size"]},"RichTextEffect":{"inherits":"Resource","props":[]},"RichTextLabel":{"inherits":"Control","props":["autowrap_mode","autowrap_trim_flags","bbcode_enabled","context_menu_enabled","custom_effects","deselect_on_focus_loss_enabled","drag_and_drop_selection_enabled","fit_content","hint_underlined","horizontal_alignment","justification_flags","language","meta_underlined","progress_bar_delay","scroll_active","scroll_following","scroll_following_visible_characters","selection_enabled","shortcut_keys_enabled","structured_text_bidi_override","structured_text_bidi_override_options","tab_size","tab_stops","text","text_direction","threaded","vertical_alignment","visible_characters","visible_characters_behavior","visible_ratio"]},"RigidBody2D":{"inherits":"PhysicsBody2D","props":["angular_damp","angular_damp_mode","angular_velocity","can_sleep","center_of_mass","center_of_mass_mode","constant_force","constant_torque","contact_monitor","continuous_cd","custom_integrator","freeze","freeze_mode","gravity_scale","inertia","linear_damp","linear_damp_mode","linear_velocity","lock_rotation","mass","max_contacts_reported","physics_material_override","sleeping"]},"RigidBody3D":{"inherits":"PhysicsBody3D","props":["angular_damp","angular_damp_mode","angular_velocity","can_sleep","center_of_mass","center_of_mass_mode","constant_force","constant_torque","contact_monitor","continuous_cd","custom_integrator","freeze","freeze_mode","gravity_scale","inertia","linear_damp","linear_damp_mode","linear_velocity","lock_rotation","mass","max_contacts_reported","physics_material_override","sleeping"]},"RootMotionView":{"inherits":"VisualInstance3D","props":["animation_path","cell_size","color","radius","zero_y"]},"SceneMultiplayer":{"inherits":"MultiplayerAPI","props":["allow_object_decoding","auth_callback","auth_timeout","max_delta_packet_size","max_sync_packet_size","refuse_new_connections","root_path","server_relay"]},"SceneReplicationConfig":{"inherits":"Resource","props":[]},"SceneState":{"inherits":"RefCounted","props":[]},"SceneTree":{"inherits":"MainLoop","props":["auto_accept_quit","current_scene","debug_collisions_hint","debug_navigation_hint","debug_paths_hint","edited_scene_root","multiplayer_poll","paused","physics_interpolation","quit_on_go_back","root"]},"SceneTreeTimer":{"inherits":"RefCounted","props":["time_left"]},"Script":{"inherits":"Resource","props":["source_code"]},"ScriptBacktrace":{"inherits":"RefCounted","props":[]},"ScriptCreateDialog":{"inherits":"ConfirmationDialog","props":[]},"ScriptEditor":{"inherits":"PanelContainer","props":[]},"ScriptEditorBase":{"inherits":"VBoxContainer","props":[]},"ScriptExtension":{"inherits":"Script","props":[]},"ScriptLanguage":{"inherits":"Object","props":[]},"ScriptLanguageExtension":{"inherits":"ScriptLanguage","props":[]},"ScrollBar":{"inherits":"Range","props":["custom_step"]},"ScrollContainer":{"inherits":"Container","props":["draw_focus_border","follow_focus","horizontal_scroll_mode","scroll_deadzone","scroll_hint_mode","scroll_horizontal","scroll_horizontal_custom_step","scroll_vertical","scroll_vertical_custom_step","tile_scroll_hint","vertical_scroll_mode"]},"SegmentShape2D":{"inherits":"Shape2D","props":["a","b"]},"Semaphore":{"inherits":"RefCounted","props":[]},"SeparationRayShape2D":{"inherits":"Shape2D","props":["length","slide_on_slope"]},"SeparationRayShape3D":{"inherits":"Shape3D","props":["length","slide_on_slope"]},"Separator":{"inherits":"Control","props":[]},"Shader":{"inherits":"Resource","props":["code"]},"ShaderGlobalsOverride":{"inherits":"Node","props":[]},"ShaderInclude":{"inherits":"Resource","props":["code"]},"ShaderIncludeDB":{"inherits":"Object","props":[]},"ShaderMaterial":{"inherits":"Material","props":["shader"]},"Shape2D":{"inherits":"Resource","props":["custom_solver_bias"]},"Shape3D":{"inherits":"Resource","props":["custom_solver_bias","margin"]},"ShapeCast2D":{"inherits":"Node2D","props":["collide_with_areas","collide_with_bodies","collision_mask","collision_result","enabled","exclude_parent","margin","max_results","shape","target_position"]},"ShapeCast3D":{"inherits":"Node3D","props":["collide_with_areas","collide_with_bodies","collision_mask","collision_result","debug_shape_custom_color","enabled","exclude_parent","margin","max_results","shape","target_position"]},"Shortcut":{"inherits":"Resource","props":["events"]},"Skeleton2D":{"inherits":"Node2D","props":[]},"Skeleton3D":{"inherits":"Node3D","props":["animate_physical_bones","modifier_callback_mode_process","motion_scale","show_rest_only"]},"SkeletonIK3D":{"inherits":"SkeletonModifier3D","props":["interpolation","magnet","max_iterations","min_distance","override_tip_basis","root_bone","target","target_node","tip_bone","use_magnet"]},"SkeletonModification2D":{"inherits":"Resource","props":["enabled","execution_mode"]},"SkeletonModification2DCCDIK":{"inherits":"SkeletonModification2D","props":["ccdik_data_chain_length","target_nodepath","tip_nodepath"]},"SkeletonModification2DFABRIK":{"inherits":"SkeletonModification2D","props":["fabrik_data_chain_length","target_nodepath"]},"SkeletonModification2DJiggle":{"inherits":"SkeletonModification2D","props":["damping","gravity","jiggle_data_chain_length","mass","stiffness","target_nodepath","use_gravity"]},"SkeletonModification2DLookAt":{"inherits":"SkeletonModification2D","props":["bone2d_node","bone_index","target_nodepath"]},"SkeletonModification2DPhysicalBones":{"inherits":"SkeletonModification2D","props":["physical_bone_chain_length"]},"SkeletonModification2DStackHolder":{"inherits":"SkeletonModification2D","props":[]},"SkeletonModification2DTwoBoneIK":{"inherits":"SkeletonModification2D","props":["flip_bend_direction","target_maximum_distance","target_minimum_distance","target_nodepath"]},"SkeletonModificationStack2D":{"inherits":"Resource","props":["enabled","modification_count","strength"]},"SkeletonModifier3D":{"inherits":"Node3D","props":["active","influence"]},"SkeletonProfile":{"inherits":"Resource","props":["bone_size","group_size","root_bone","scale_base_bone"]},"SkeletonProfileHumanoid":{"inherits":"SkeletonProfile","props":[]},"Skin":{"inherits":"Resource","props":[]},"SkinReference":{"inherits":"RefCounted","props":[]},"Sky":{"inherits":"Resource","props":["process_mode","radiance_size","sky_material"]},"Slider":{"inherits":"Range","props":["editable","scrollable","tick_count","ticks_on_borders","ticks_position"]},"SliderJoint3D":{"inherits":"Joint3D","props":[]},"SocketServer":{"inherits":"RefCounted","props":[]},"SoftBody3D":{"inherits":"MeshInstance3D","props":["collision_layer","collision_mask","damping_coefficient","disable_mode","drag_coefficient","linear_stiffness","parent_collision_ignore","pressure_coefficient","ray_pickable","shrinking_factor","simulation_precision","total_mass"]},"SphereMesh":{"inherits":"PrimitiveMesh","props":["height","is_hemisphere","radial_segments","radius","rings"]},"SphereOccluder3D":{"inherits":"Occluder3D","props":["radius"]},"SphereShape3D":{"inherits":"Shape3D","props":["radius"]},"SpinBox":{"inherits":"Range","props":["alignment","custom_arrow_round","custom_arrow_step","editable","prefix","select_all_on_focus","suffix","update_on_text_changed"]},"SplineIK3D":{"inherits":"ChainIK3D","props":["setting_count"]},"SplitContainer":{"inherits":"Container","props":["collapsed","drag_area_highlight_in_editor","drag_area_margin_begin","drag_area_margin_end","drag_area_offset","dragger_visibility","dragging_enabled","split_offset","split_offsets","touch_dragger_enabled","vertical"]},"SpotLight3D":{"inherits":"Light3D","props":["spot_angle","spot_angle_attenuation","spot_attenuation","spot_range"]},"SpringArm3D":{"inherits":"Node3D","props":["collision_mask","margin","shape","spring_length"]},"SpringBoneCollision3D":{"inherits":"Node3D","props":["bone","bone_name","position_offset","rotation_offset"]},"SpringBoneCollisionCapsule3D":{"inherits":"SpringBoneCollision3D","props":["height","inside","mid_height","radius"]},"SpringBoneCollisionPlane3D":{"inherits":"SpringBoneCollision3D","props":[]},"SpringBoneCollisionSphere3D":{"inherits":"SpringBoneCollision3D","props":["inside","radius"]},"SpringBoneSimulator3D":{"inherits":"SkeletonModifier3D","props":["external_force","mutable_bone_axes","setting_count"]},"Sprite2D":{"inherits":"Node2D","props":["centered","flip_h","flip_v","frame","frame_coords","hframes","offset","region_enabled","region_filter_clip_enabled","region_rect","texture","vframes"]},"Sprite3D":{"inherits":"SpriteBase3D","props":["frame","frame_coords","hframes","region_enabled","region_rect","texture","vframes"]},"SpriteBase3D":{"inherits":"GeometryInstance3D","props":["alpha_antialiasing_edge","alpha_antialiasing_mode","alpha_cut","alpha_hash_scale","alpha_scissor_threshold","axis","billboard","centered","double_sided","fixed_size","flip_h","flip_v","modulate","no_depth_test","offset","pixel_size","render_priority","shaded","texture_filter","transparent"]},"SpriteFrames":{"inherits":"Resource","props":["animations"]},"StandardMaterial3D":{"inherits":"BaseMaterial3D","props":[]},"StaticBody2D":{"inherits":"PhysicsBody2D","props":["constant_angular_velocity","constant_linear_velocity","physics_material_override"]},"StaticBody3D":{"inherits":"PhysicsBody3D","props":["constant_angular_velocity","constant_linear_velocity","physics_material_override"]},"StatusIndicator":{"inherits":"Node","props":["icon","menu","tooltip","visible"]},"StreamPeer":{"inherits":"RefCounted","props":["big_endian"]},"StreamPeerBuffer":{"inherits":"StreamPeer","props":["data_array"]},"StreamPeerExtension":{"inherits":"StreamPeer","props":[]},"StreamPeerGZIP":{"inherits":"StreamPeer","props":[]},"StreamPeerSocket":{"inherits":"StreamPeer","props":[]},"StreamPeerTCP":{"inherits":"StreamPeerSocket","props":[]},"StreamPeerTLS":{"inherits":"StreamPeer","props":[]},"StreamPeerUDS":{"inherits":"StreamPeerSocket","props":[]},"StyleBox":{"inherits":"Resource","props":["content_margin_bottom","content_margin_left","content_margin_right","content_margin_top"]},"StyleBoxEmpty":{"inherits":"StyleBox","props":[]},"StyleBoxFlat":{"inherits":"StyleBox","props":["anti_aliasing","anti_aliasing_size","bg_color","border_blend","border_color","border_width_bottom","border_width_left","border_width_right","border_width_top","corner_detail","corner_radius_bottom_left","corner_radius_bottom_right","corner_radius_top_left","corner_radius_top_right","draw_center","expand_margin_bottom","expand_margin_left","expand_margin_right","expand_margin_top","shadow_color","shadow_offset","shadow_size","skew"]},"StyleBoxLine":{"inherits":"StyleBox","props":["color","grow_begin","grow_end","thickness","vertical"]},"StyleBoxTexture":{"inherits":"StyleBox","props":["axis_stretch_horizontal","axis_stretch_vertical","draw_center","expand_margin_bottom","expand_margin_left","expand_margin_right","expand_margin_top","modulate_color","region_rect","texture","texture_margin_bottom","texture_margin_left","texture_margin_right","texture_margin_top"]},"SubViewport":{"inherits":"Viewport","props":["render_target_clear_mode","render_target_update_mode","size","size_2d_override","size_2d_override_stretch"]},"SubViewportContainer":{"inherits":"Container","props":["mouse_target","stretch","stretch_shrink"]},"SubtweenTweener":{"inherits":"Tweener","props":[]},"SurfaceTool":{"inherits":"RefCounted","props":[]},"SyntaxHighlighter":{"inherits":"Resource","props":[]},"SystemFont":{"inherits":"Font","props":["allow_system_fallback","antialiasing","disable_embedded_bitmaps","font_italic","font_names","font_stretch","font_weight","force_autohinter","generate_mipmaps","hinting","keep_rounding_remainders","modulate_color_glyphs","msdf_pixel_range","msdf_size","multichannel_signed_distance_field","oversampling","subpixel_positioning"]},"TCPServer":{"inherits":"SocketServer","props":[]},"TLSOptions":{"inherits":"RefCounted","props":[]},"TabBar":{"inherits":"Control","props":["clip_tabs","close_with_middle_mouse","current_tab","deselect_enabled","drag_to_rearrange_enabled","max_tab_width","scroll_to_selected","scrolling_enabled","select_with_rmb","switch_on_drag_hover","tab_alignment","tab_close_display_policy","tab_count","tabs_rearrange_group"]},"TabContainer":{"inherits":"Container","props":["all_tabs_in_front","clip_tabs","current_tab","deselect_enabled","drag_to_rearrange_enabled","switch_on_drag_hover","tab_alignment","tab_focus_mode","tabs_position","tabs_rearrange_group","tabs_visible","use_hidden_tabs_for_min_size"]},"TextEdit":{"inherits":"Control","props":["autowrap_mode","backspace_deletes_composite_character_enabled","caret_blink","caret_blink_interval","caret_draw_when_editable_disabled","caret_mid_grapheme","caret_move_on_right_click","caret_multiple","caret_type","context_menu_enabled","custom_word_separators","deselect_on_focus_loss_enabled","drag_and_drop_selection_enabled","draw_control_chars","draw_spaces","draw_tabs","editable","emoji_menu_enabled","empty_selection_clipboard_enabled","highlight_all_occurrences","highlight_current_line","indent_wrapped_lines","language","middle_mouse_paste_enabled","minimap_draw","minimap_width","placeholder_text","scroll_fit_content_height","scroll_fit_content_width","scroll_horizontal","scroll_past_end_of_file","scroll_smooth","scroll_v_scroll_speed","scroll_vertical","selecting_enabled","shortcut_keys_enabled","structured_text_bidi_override","structured_text_bidi_override_options","syntax_highlighter","tab_input_mode","text","text_direction","use_custom_word_separators","use_default_word_separators","virtual_keyboard_enabled","virtual_keyboard_show_on_focus","wrap_mode"]},"TextLine":{"inherits":"RefCounted","props":["alignment","direction","ellipsis_char","flags","orientation","preserve_control","preserve_invalid","text_overrun_behavior","width"]},"TextMesh":{"inherits":"PrimitiveMesh","props":["autowrap_mode","curve_step","depth","font","font_size","horizontal_alignment","justification_flags","language","line_spacing","offset","pixel_size","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","uppercase","vertical_alignment","width"]},"TextParagraph":{"inherits":"RefCounted","props":["alignment","break_flags","custom_punctuation","direction","ellipsis_char","justification_flags","line_spacing","max_lines_visible","orientation","preserve_control","preserve_invalid","text_overrun_behavior","width"]},"TextServer":{"inherits":"RefCounted","props":[]},"TextServerAdvanced":{"inherits":"TextServerExtension","props":[]},"TextServerDummy":{"inherits":"TextServerExtension","props":[]},"TextServerExtension":{"inherits":"TextServer","props":[]},"TextServerManager":{"inherits":"Object","props":[]},"Texture":{"inherits":"Resource","props":[]},"Texture2D":{"inherits":"Texture","props":[]},"Texture2DArray":{"inherits":"ImageTextureLayered","props":[]},"Texture2DArrayRD":{"inherits":"TextureLayeredRD","props":[]},"Texture2DRD":{"inherits":"Texture2D","props":["texture_rd_rid"]},"Texture3D":{"inherits":"Texture","props":[]},"Texture3DRD":{"inherits":"Texture3D","props":["texture_rd_rid"]},"TextureButton":{"inherits":"BaseButton","props":["flip_h","flip_v","ignore_texture_size","stretch_mode","texture_click_mask","texture_disabled","texture_focused","texture_hover","texture_normal","texture_pressed"]},"TextureCubemapArrayRD":{"inherits":"TextureLayeredRD","props":[]},"TextureCubemapRD":{"inherits":"TextureLayeredRD","props":[]},"TextureLayered":{"inherits":"Texture","props":[]},"TextureLayeredRD":{"inherits":"TextureLayered","props":["texture_rd_rid"]},"TextureProgressBar":{"inherits":"Range","props":["fill_mode","nine_patch_stretch","radial_center_offset","radial_fill_degrees","radial_initial_angle","stretch_margin_bottom","stretch_margin_left","stretch_margin_right","stretch_margin_top","texture_over","texture_progress","texture_progress_offset","texture_under","tint_over","tint_progress","tint_under"]},"TextureRect":{"inherits":"Control","props":["expand_mode","flip_h","flip_v","stretch_mode","texture"]},"Theme":{"inherits":"Resource","props":["default_base_scale","default_font","default_font_size"]},"ThemeDB":{"inherits":"Object","props":["fallback_base_scale","fallback_font","fallback_font_size","fallback_icon","fallback_stylebox"]},"Thread":{"inherits":"RefCounted","props":[]},"TileData":{"inherits":"Object","props":["flip_h","flip_v","material","modulate","probability","terrain","terrain_set","texture_origin","transpose","y_sort_origin","z_index"]},"TileMap":{"inherits":"Node2D","props":["collision_animatable","collision_visibility_mode","navigation_visibility_mode","rendering_quadrant_size","tile_set"]},"TileMapLayer":{"inherits":"Node2D","props":["collision_enabled","collision_visibility_mode","enabled","navigation_enabled","navigation_visibility_mode","occlusion_enabled","physics_quadrant_size","rendering_quadrant_size","tile_map_data","tile_set","use_kinematic_bodies","x_draw_order_reversed","y_sort_origin"]},"TileMapPattern":{"inherits":"Resource","props":[]},"TileSet":{"inherits":"Resource","props":["tile_layout","tile_offset_axis","tile_shape","tile_size","uv_clipping"]},"TileSetAtlasSource":{"inherits":"TileSetSource","props":["margins","separation","texture","texture_region_size","use_texture_padding"]},"TileSetScenesCollectionSource":{"inherits":"TileSetSource","props":[]},"TileSetSource":{"inherits":"Resource","props":[]},"Time":{"inherits":"Object","props":[]},"Timer":{"inherits":"Node","props":["autostart","ignore_time_scale","one_shot","paused","process_callback","time_left","wait_time"]},"TorusMesh":{"inherits":"PrimitiveMesh","props":["inner_radius","outer_radius","ring_segments","rings"]},"TouchScreenButton":{"inherits":"Node2D","props":["action","bitmask","passby_press","shape","shape_centered","shape_visible","texture_normal","texture_pressed","visibility_mode"]},"Translation":{"inherits":"Resource","props":["locale","messages","plural_rules_override"]},"TranslationDomain":{"inherits":"RefCounted","props":["enabled","pseudolocalization_accents_enabled","pseudolocalization_double_vowels_enabled","pseudolocalization_enabled","pseudolocalization_expansion_ratio","pseudolocalization_fake_bidi_enabled","pseudolocalization_override_enabled","pseudolocalization_prefix","pseudolocalization_skip_placeholders_enabled","pseudolocalization_suffix"]},"TranslationServer":{"inherits":"Object","props":["pseudolocalization_enabled"]},"Tree":{"inherits":"Control","props":["allow_reselect","allow_rmb_select","allow_search","auto_tooltip","column_titles_visible","columns","drop_mode_flags","enable_drag_unfolding","enable_recursive_folding","hide_folding","hide_root","scroll_hint_mode","scroll_horizontal_enabled","scroll_vertical_enabled","select_mode","tile_scroll_hint"]},"TreeItem":{"inherits":"Object","props":["collapsed","custom_minimum_height","disable_folding","visible"]},"TriangleMesh":{"inherits":"RefCounted","props":[]},"TubeTrailMesh":{"inherits":"PrimitiveMesh","props":["cap_bottom","cap_top","curve","radial_steps","radius","section_length","section_rings","sections"]},"Tween":{"inherits":"RefCounted","props":[]},"Tweener":{"inherits":"RefCounted","props":[]},"TwoBoneIK3D":{"inherits":"IKModifier3D","props":["setting_count"]},"UDPServer":{"inherits":"RefCounted","props":["max_pending_connections"]},"UDSServer":{"inherits":"SocketServer","props":[]},"UPNP":{"inherits":"RefCounted","props":["discover_ipv6","discover_local_port","discover_multicast_if"]},"UPNPDevice":{"inherits":"RefCounted","props":["description_url","igd_control_url","igd_our_addr","igd_service_type","igd_status","service_type"]},"UndoRedo":{"inherits":"Object","props":["max_steps"]},"UniformSetCacheRD":{"inherits":"Object","props":[]},"VBoxContainer":{"inherits":"BoxContainer","props":[]},"VFlowContainer":{"inherits":"FlowContainer","props":[]},"VScrollBar":{"inherits":"ScrollBar","props":[]},"VSeparator":{"inherits":"Separator","props":[]},"VSlider":{"inherits":"Slider","props":[]},"VSplitContainer":{"inherits":"SplitContainer","props":[]},"VehicleBody3D":{"inherits":"RigidBody3D","props":["brake","engine_force","steering"]},"VehicleWheel3D":{"inherits":"Node3D","props":["brake","damping_compression","damping_relaxation","engine_force","steering","suspension_max_force","suspension_stiffness","suspension_travel","use_as_steering","use_as_traction","wheel_friction_slip","wheel_radius","wheel_rest_length","wheel_roll_influence"]},"VideoStream":{"inherits":"Resource","props":["file"]},"VideoStreamPlayback":{"inherits":"Resource","props":[]},"VideoStreamPlayer":{"inherits":"Control","props":["audio_track","autoplay","buffering_msec","bus","expand","loop","paused","speed_scale","stream","stream_position","volume","volume_db"]},"VideoStreamTheora":{"inherits":"VideoStream","props":[]},"Viewport":{"inherits":"Node","props":["anisotropic_filtering_level","audio_listener_enable_2d","audio_listener_enable_3d","canvas_cull_mask","canvas_item_default_texture_filter","canvas_item_default_texture_repeat","canvas_transform","debug_draw","disable_3d","fsr_sharpness","global_canvas_transform","gui_disable_input","gui_drag_threshold","gui_embed_subwindows","gui_snap_controls_to_pixels","handle_input_locally","mesh_lod_threshold","msaa_2d","msaa_3d","oversampling","oversampling_override","own_world_3d","physics_object_picking","physics_object_picking_first_only","physics_object_picking_sort","positional_shadow_atlas_16_bits","positional_shadow_atlas_quad_0","positional_shadow_atlas_quad_1","positional_shadow_atlas_quad_2","positional_shadow_atlas_quad_3","positional_shadow_atlas_size","scaling_3d_mode","scaling_3d_scale","screen_space_aa","sdf_oversize","sdf_scale","snap_2d_transforms_to_pixel","snap_2d_vertices_to_pixel","texture_mipmap_bias","transparent_bg","use_debanding","use_hdr_2d","use_occlusion_culling","use_taa","use_xr","vrs_mode","vrs_texture","vrs_update_mode","world_2d","world_3d"]},"ViewportTexture":{"inherits":"Texture2D","props":["viewport_path"]},"VisibleOnScreenEnabler2D":{"inherits":"VisibleOnScreenNotifier2D","props":["enable_mode","enable_node_path"]},"VisibleOnScreenEnabler3D":{"inherits":"VisibleOnScreenNotifier3D","props":["enable_mode","enable_node_path"]},"VisibleOnScreenNotifier2D":{"inherits":"Node2D","props":["rect","show_rect"]},"VisibleOnScreenNotifier3D":{"inherits":"VisualInstance3D","props":["aabb"]},"VisualInstance3D":{"inherits":"Node3D","props":["layers","sorting_offset","sorting_use_aabb_center"]},"VisualShader":{"inherits":"Shader","props":["graph_offset"]},"VisualShaderNode":{"inherits":"Resource","props":["default_input_values","expanded_output_ports","linked_parent_graph_frame","output_port_for_preview"]},"VisualShaderNodeBillboard":{"inherits":"VisualShaderNode","props":["billboard_type","keep_scale"]},"VisualShaderNodeBooleanConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeBooleanParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeClamp":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeColorConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeColorFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeColorOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeColorParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeComment":{"inherits":"VisualShaderNodeFrame","props":["description"]},"VisualShaderNodeCompare":{"inherits":"VisualShaderNode","props":["condition","function","type"]},"VisualShaderNodeConstant":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeCubemap":{"inherits":"VisualShaderNode","props":["cube_map","source","texture_type"]},"VisualShaderNodeCubemapParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeCurveTexture":{"inherits":"VisualShaderNodeResizableBase","props":["texture"]},"VisualShaderNodeCurveXYZTexture":{"inherits":"VisualShaderNodeResizableBase","props":["texture"]},"VisualShaderNodeCustom":{"inherits":"VisualShaderNode","props":["initialized","properties"]},"VisualShaderNodeDerivativeFunc":{"inherits":"VisualShaderNode","props":["function","op_type","precision"]},"VisualShaderNodeDeterminant":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeDistanceFade":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeDotProduct":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeExpression":{"inherits":"VisualShaderNodeGroupBase","props":["expression"]},"VisualShaderNodeFaceForward":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeFloatConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeFloatFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeFloatOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeFloatParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled","hint","max","min","step"]},"VisualShaderNodeFrame":{"inherits":"VisualShaderNodeResizableBase","props":["attached_nodes","autoshrink","tint_color","tint_color_enabled","title"]},"VisualShaderNodeFresnel":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeGlobalExpression":{"inherits":"VisualShaderNodeExpression","props":[]},"VisualShaderNodeGroupBase":{"inherits":"VisualShaderNodeResizableBase","props":[]},"VisualShaderNodeIf":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeInput":{"inherits":"VisualShaderNode","props":["input_name"]},"VisualShaderNodeIntConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeIntFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeIntOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeIntParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled","enum_names","hint","max","min","step"]},"VisualShaderNodeIs":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeLinearSceneDepth":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeMix":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeMultiplyAdd":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeOuterProduct":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeOutput":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeParameter":{"inherits":"VisualShaderNode","props":["instance_index","parameter_name","qualifier"]},"VisualShaderNodeParameterRef":{"inherits":"VisualShaderNode","props":["param_type","parameter_name"]},"VisualShaderNodeParticleAccelerator":{"inherits":"VisualShaderNode","props":["mode"]},"VisualShaderNodeParticleBoxEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":[]},"VisualShaderNodeParticleConeVelocity":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeParticleEmit":{"inherits":"VisualShaderNode","props":["flags"]},"VisualShaderNodeParticleEmitter":{"inherits":"VisualShaderNode","props":["mode_2d"]},"VisualShaderNodeParticleMeshEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":["mesh","surface_index","use_all_surfaces"]},"VisualShaderNodeParticleMultiplyByAxisAngle":{"inherits":"VisualShaderNode","props":["degrees_mode"]},"VisualShaderNodeParticleOutput":{"inherits":"VisualShaderNodeOutput","props":[]},"VisualShaderNodeParticleRandomness":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeParticleRingEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":[]},"VisualShaderNodeParticleSphereEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":[]},"VisualShaderNodeProximityFade":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeRandomRange":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeRemap":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeReroute":{"inherits":"VisualShaderNode","props":["port_type"]},"VisualShaderNodeResizableBase":{"inherits":"VisualShaderNode","props":["size"]},"VisualShaderNodeRotationByAxis":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSDFRaymarch":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSDFToScreenUV":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSample3D":{"inherits":"VisualShaderNode","props":["source"]},"VisualShaderNodeScreenNormalWorldSpace":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeScreenUVToSDF":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSmoothStep":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeStep":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeSwitch":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeTexture":{"inherits":"VisualShaderNode","props":["source","texture","texture_type"]},"VisualShaderNodeTexture2DArray":{"inherits":"VisualShaderNodeSample3D","props":["texture_array"]},"VisualShaderNodeTexture2DArrayParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTexture2DParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTexture3D":{"inherits":"VisualShaderNodeSample3D","props":["texture"]},"VisualShaderNodeTexture3DParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTextureParameter":{"inherits":"VisualShaderNodeParameter","props":["color_default","texture_filter","texture_repeat","texture_source","texture_type"]},"VisualShaderNodeTextureParameterTriplanar":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTextureSDF":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTextureSDFNormal":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTransformCompose":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTransformConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeTransformDecompose":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTransformFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeTransformOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeTransformParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeTransformVecMult":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeUIntConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeUIntFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeUIntOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeUIntParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeUVFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeUVPolarCoord":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeVarying":{"inherits":"VisualShaderNode","props":["varying_name","varying_type"]},"VisualShaderNodeVaryingGetter":{"inherits":"VisualShaderNodeVarying","props":[]},"VisualShaderNodeVaryingSetter":{"inherits":"VisualShaderNodeVarying","props":[]},"VisualShaderNodeVec2Constant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeVec2Parameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeVec3Constant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeVec3Parameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeVec4Constant":{"inherits":"VisualShaderNodeConstant","props":["constant","constant_v4"]},"VisualShaderNodeVec4Parameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeVectorBase":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeVectorCompose":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorDecompose":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorDistance":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorFunc":{"inherits":"VisualShaderNodeVectorBase","props":["function"]},"VisualShaderNodeVectorLen":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorOp":{"inherits":"VisualShaderNodeVectorBase","props":["operator"]},"VisualShaderNodeVectorRefract":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeWorldPositionFromDepth":{"inherits":"VisualShaderNode","props":[]},"VoxelGI":{"inherits":"VisualInstance3D","props":["camera_attributes","data","size","subdiv"]},"VoxelGIData":{"inherits":"Resource","props":["bias","dynamic_range","energy","interior","normal_bias","propagation","use_two_bounces"]},"WeakRef":{"inherits":"RefCounted","props":[]},"WebRTCDataChannel":{"inherits":"PacketPeer","props":["write_mode"]},"WebRTCDataChannelExtension":{"inherits":"WebRTCDataChannel","props":[]},"WebRTCMultiplayerPeer":{"inherits":"MultiplayerPeer","props":[]},"WebRTCPeerConnection":{"inherits":"RefCounted","props":[]},"WebRTCPeerConnectionExtension":{"inherits":"WebRTCPeerConnection","props":[]},"WebSocketMultiplayerPeer":{"inherits":"MultiplayerPeer","props":["handshake_headers","handshake_timeout","inbound_buffer_size","max_queued_packets","outbound_buffer_size","supported_protocols"]},"WebSocketPeer":{"inherits":"PacketPeer","props":["handshake_headers","heartbeat_interval","inbound_buffer_size","max_queued_packets","outbound_buffer_size","supported_protocols"]},"WebXRInterface":{"inherits":"XRInterface","props":["enabled_features","optional_features","reference_space_type","requested_reference_space_types","required_features","session_mode","visibility_state"]},"Window":{"inherits":"Viewport","props":["accessibility_description","accessibility_name","always_on_top","auto_translate","borderless","content_scale_aspect","content_scale_factor","content_scale_mode","content_scale_size","content_scale_stretch","current_screen","exclude_from_capture","exclusive","extend_to_title","force_native","initial_position","keep_title_visible","max_size","maximize_disabled","min_size","minimize_disabled","mode","mouse_passthrough","mouse_passthrough_polygon","nonclient_area","popup_window","popup_wm_hint","position","sharp_corners","size","theme","theme_type_variation","title","transient","transient_to_focused","transparent","unfocusable","unresizable","visible","wrap_controls"]},"WorkerThreadPool":{"inherits":"Object","props":[]},"World2D":{"inherits":"Resource","props":["canvas","direct_space_state","navigation_map","space"]},"World3D":{"inherits":"Resource","props":["camera_attributes","direct_space_state","environment","fallback_environment","navigation_map","scenario","space"]},"WorldBoundaryShape2D":{"inherits":"Shape2D","props":["distance","normal"]},"WorldBoundaryShape3D":{"inherits":"Shape3D","props":["plane"]},"WorldEnvironment":{"inherits":"Node","props":["camera_attributes","compositor","environment"]},"X509Certificate":{"inherits":"Resource","props":[]},"XMLParser":{"inherits":"RefCounted","props":[]},"XRAnchor3D":{"inherits":"XRNode3D","props":[]},"XRBodyModifier3D":{"inherits":"SkeletonModifier3D","props":["body_tracker","body_update","bone_update"]},"XRBodyTracker":{"inherits":"XRPositionalTracker","props":["body_flags","has_tracking_data"]},"XRCamera3D":{"inherits":"Camera3D","props":[]},"XRController3D":{"inherits":"XRNode3D","props":[]},"XRControllerTracker":{"inherits":"XRPositionalTracker","props":[]},"XRFaceModifier3D":{"inherits":"Node3D","props":["face_tracker","target"]},"XRFaceTracker":{"inherits":"XRTracker","props":["blend_shapes"]},"XRHandModifier3D":{"inherits":"SkeletonModifier3D","props":["bone_update","hand_tracker"]},"XRHandTracker":{"inherits":"XRPositionalTracker","props":["hand_tracking_source","has_tracking_data"]},"XRInterface":{"inherits":"RefCounted","props":["ar_is_anchor_detection_enabled","environment_blend_mode","interface_is_primary","xr_play_area_mode"]},"XRInterfaceExtension":{"inherits":"XRInterface","props":[]},"XRNode3D":{"inherits":"Node3D","props":["pose","show_when_tracked","tracker"]},"XROrigin3D":{"inherits":"Node3D","props":["current","world_scale"]},"XRPose":{"inherits":"RefCounted","props":["angular_velocity","has_tracking_data","linear_velocity","name","tracking_confidence","transform"]},"XRPositionalTracker":{"inherits":"XRTracker","props":["hand","profile"]},"XRServer":{"inherits":"Object","props":["camera_locked_to_origin","primary_interface","world_origin","world_scale"]},"XRTracker":{"inherits":"RefCounted","props":["description","name","type"]},"XRVRS":{"inherits":"Object","props":["vrs_min_radius","vrs_render_region","vrs_strength"]},"ZIPPacker":{"inherits":"RefCounted","props":["compression_level"]},"ZIPReader":{"inherits":"RefCounted","props":[]}},"engine_methods":["_accessibility_get_contextual_info","_activate_feed","_add_constant_central_force","_add_constant_force","_add_constant_torque","_add_frame","_add_global_constant","_add_ice_candidate","_add_named_global_constant","_allow_amends","_apply_central_force","_apply_central_impulse","_apply_changes","_apply_force","_apply_impulse","_apply_torque","_apply_torque_impulse","_area_add_shape","_area_attach_canvas_instance_id","_area_attach_object_instance_id","_area_clear_shapes","_area_create","_area_get_canvas_instance_id","_area_get_collision_layer","_area_get_collision_mask","_area_get_object_instance_id","_area_get_param","_area_get_shape","_area_get_shape_count","_area_get_shape_transform","_area_get_space","_area_get_transform","_area_remove_shape","_area_set_area_monitor_callback","_area_set_collision_layer","_area_set_collision_mask","_area_set_monitor_callback","_area_set_monitorable","_area_set_param","_area_set_pickable","_area_set_ray_pickable","_area_set_shape","_area_set_shape_disabled","_area_set_shape_transform","_area_set_space","_area_set_transform","_auto_indent_code","_backspace","_begin_customize_resources","_begin_customize_scenes","_begin_handle_action","_body_add_collision_exception","_body_add_constant_central_force","_body_add_constant_force","_body_add_constant_torque","_body_add_shape","_body_apply_central_force","_body_apply_central_impulse","_body_apply_force","_body_apply_impulse","_body_apply_torque","_body_apply_torque_impulse","_body_attach_canvas_instance_id","_body_attach_object_instance_id","_body_clear_shapes","_body_collide_shape","_body_create","_body_get_canvas_instance_id","_body_get_collision_exceptions","_body_get_collision_layer","_body_get_collision_mask","_body_get_collision_priority","_body_get_constant_force","_body_get_constant_torque","_body_get_contacts_reported_depth_threshold","_body_get_continuous_collision_detection_mode","_body_get_direct_state","_body_get_max_contacts_reported","_body_get_mode","_body_get_object_instance_id","_body_get_param","_body_get_shape","_body_get_shape_count","_body_get_shape_transform","_body_get_space","_body_get_state","_body_get_user_flags","_body_is_axis_locked","_body_is_continuous_collision_detection_enabled","_body_is_omitting_force_integration","_body_remove_collision_exception","_body_remove_shape","_body_reset_mass_properties","_body_set_axis_lock","_body_set_axis_velocity","_body_set_collision_layer","_body_set_collision_mask","_body_set_collision_priority","_body_set_constant_force","_body_set_constant_torque","_body_set_contacts_reported_depth_threshold","_body_set_continuous_collision_detection_mode","_body_set_enable_continuous_collision_detection","_body_set_force_integration_callback","_body_set_max_contacts_reported","_body_set_mode","_body_set_omit_force_integration","_body_set_param","_body_set_pickable","_body_set_ray_pickable","_body_set_shape","_body_set_shape_as_one_way_collision","_body_set_shape_disabled","_body_set_shape_transform","_body_set_space","_body_set_state","_body_set_state_sync_callback","_body_set_user_flags","_body_test_motion","_box_shape_create","_breakpoint_set_in_tree","_breakpoints_cleared_in_tree","_build","_can_be_hidden","_can_commit_handle_on_click","_can_do_next_pass","_can_drop_data","_can_export","_can_generate_small_preview","_can_handle","_can_import_threaded","_can_inherit_from_file","_can_instantiate","_can_make_function","_can_use_render_priority","_capsule_shape_create","_capture","_cast_motion","_checkout_branch","_circle_shape_create","_cleanup","_clear","_clear_highlighting_cache","_close","_collide_shape","_commit","_commit_handle","_commit_subgizmos","_complete_code","_compute_cost","_concave_polygon_shape_create","_cone_twist_joint_get_param","_cone_twist_joint_set_param","_configure","_confirm_code_completion","_convert","_convert_scene_node","_converts_to","_convex_polygon_shape_create","_copy","_create","_create_branch","_create_data_channel","_create_font","_create_font_linked_variation","_create_gizmo","_create_mesh_array","_create_offer","_create_remote","_create_script","_create_shaped_text","_custom_shape_create","_customize_resource","_customize_scene","_customize_strings","_cut","_cylinder_shape_create","_damped_spring_joint_get_param","_damped_spring_joint_set_param","_deactivate_feed","_debug_get_current_stack_info","_debug_get_error","_debug_get_globals","_debug_get_stack_level_count","_debug_get_stack_level_function","_debug_get_stack_level_instance","_debug_get_stack_level_line","_debug_get_stack_level_locals","_debug_get_stack_level_members","_debug_get_stack_level_source","_debug_parse_stack_level_expression","_disable_plugin","_discard_file","_disconnect_peer","_draw","_draw_editor_gizmo","_draw_hex_code_box","_draw_port","_draw_rect","_draw_rect_region","_drop_data","_edit","_editor_can_reload_from_file","_enable_plugin","_end_customize_resources","_end_customize_scenes","_end_frame","_end_generate_apple_embedded_project","_end_sync","_enter_tree","_estimate_cost","_execute","_exists","_exit_tree","_export_begin","_export_end","_export_file","_export_get_property_list","_export_node","_export_object_model_property","_export_pack","_export_pack_patch","_export_post","_export_post_convert","_export_preflight","_export_preserialize","_export_project","_export_zip","_export_zip_patch","_fetch","_filter_code_completion_candidates","_filter_neighbor","_finalize","_find_function","_finish","_flush_queries","_font_clear_glyphs","_font_clear_kerning_map","_font_clear_size_cache","_font_clear_system_fallback_cache","_font_clear_textures","_font_draw_glyph","_font_draw_glyph_outline","_font_get_antialiasing","_font_get_ascent","_font_get_baseline_offset","_font_get_char_from_glyph_index","_font_get_descent","_font_get_disable_embedded_bitmaps","_font_get_embolden","_font_get_face_count","_font_get_face_index","_font_get_fixed_size","_font_get_fixed_size_scale_mode","_font_get_generate_mipmaps","_font_get_global_oversampling","_font_get_glyph_advance","_font_get_glyph_contours","_font_get_glyph_index","_font_get_glyph_list","_font_get_glyph_offset","_font_get_glyph_size","_font_get_glyph_texture_idx","_font_get_glyph_texture_rid","_font_get_glyph_texture_size","_font_get_glyph_uv_rect","_font_get_hinting","_font_get_keep_rounding_remainders","_font_get_kerning","_font_get_kerning_list","_font_get_language_support_override","_font_get_language_support_overrides","_font_get_msdf_pixel_range","_font_get_msdf_size","_font_get_name","_font_get_opentype_feature_overrides","_font_get_ot_name_strings","_font_get_oversampling","_font_get_palette_colors","_font_get_palette_count","_font_get_palette_custom_colors","_font_get_palette_name","_font_get_scale","_font_get_script_support_override","_font_get_script_support_overrides","_font_get_size_cache_info","_font_get_size_cache_list","_font_get_spacing","_font_get_stretch","_font_get_style","_font_get_style_name","_font_get_subpixel_positioning","_font_get_supported_chars","_font_get_supported_glyphs","_font_get_texture_count","_font_get_texture_image","_font_get_texture_offsets","_font_get_transform","_font_get_underline_position","_font_get_underline_thickness","_font_get_used_palette","_font_get_variation_coordinates","_font_get_weight","_font_has_char","_font_is_allow_system_fallback","_font_is_force_autohinter","_font_is_language_supported","_font_is_modulate_color_glyphs","_font_is_multichannel_signed_distance_field","_font_is_script_supported","_font_remove_glyph","_font_remove_kerning","_font_remove_language_support_override","_font_remove_script_support_override","_font_remove_size_cache","_font_remove_texture","_font_render_glyph","_font_render_range","_font_set_allow_system_fallback","_font_set_antialiasing","_font_set_ascent","_font_set_baseline_offset","_font_set_data","_font_set_data_ptr","_font_set_descent","_font_set_disable_embedded_bitmaps","_font_set_embolden","_font_set_face_index","_font_set_fixed_size","_font_set_fixed_size_scale_mode","_font_set_force_autohinter","_font_set_generate_mipmaps","_font_set_global_oversampling","_font_set_glyph_advance","_font_set_glyph_offset","_font_set_glyph_size","_font_set_glyph_texture_idx","_font_set_glyph_uv_rect","_font_set_hinting","_font_set_keep_rounding_remainders","_font_set_kerning","_font_set_language_support_override","_font_set_modulate_color_glyphs","_font_set_msdf_pixel_range","_font_set_msdf_size","_font_set_multichannel_signed_distance_field","_font_set_name","_font_set_opentype_feature_overrides","_font_set_oversampling","_font_set_palette_custom_colors","_font_set_scale","_font_set_script_support_override","_font_set_spacing","_font_set_stretch","_font_set_style","_font_set_style_name","_font_set_subpixel_positioning","_font_set_texture_image","_font_set_texture_offsets","_font_set_transform","_font_set_underline_position","_font_set_underline_thickness","_font_set_used_palette","_font_set_variation_coordinates","_font_set_weight","_font_supported_feature_list","_font_supported_variation_list","_format_number","_forward_3d_draw_over_viewport","_forward_3d_force_draw_over_viewport","_forward_3d_gui_input","_forward_canvas_draw_over_viewport","_forward_canvas_force_draw_over_viewport","_forward_canvas_gui_input","_frame","_free_rid","_generate","_generate_from_path","_generate_scene_node","_generate_small_preview_automatically","_generic_6dof_joint_get_flag","_generic_6dof_joint_get_param","_generic_6dof_joint_set_flag","_generic_6dof_joint_set_param","_get_aabb","_get_accessibility_configuration_warnings","_get_accessibility_container_name","_get_allowed_size_flags_horizontal","_get_allowed_size_flags_vertical","_get_anchor_detection_is_enabled","_get_android_dependencies","_get_android_dependencies_maven_repos","_get_android_libraries","_get_android_manifest_activity_element_contents","_get_android_manifest_application_element_contents","_get_android_manifest_element_contents","_get_angular_velocity","_get_audio_mix_rate","_get_audio_speaker_mode","_get_available_bytes","_get_available_packet_count","_get_bar_beats","_get_base_script","_get_beat_count","_get_binary_extensions","_get_blend_shape_count","_get_blend_shape_name","_get_bpm","_get_branch_list","_get_breakpoints","_get_buffered_amount","_get_build_dependencies","_get_built_in_templates","_get_cam_projection","_get_cam_transform","_get_camera_attributes","_get_camera_feed_id","_get_camera_transform","_get_capabilities","_get_caption","_get_category","_get_center_of_mass","_get_center_of_mass_local","_get_channels","_get_child_by_name","_get_child_nodes","_get_class_icon_path","_get_classes_used","_get_closest_point_to_object_volume","_get_code","_get_collision_layer","_get_collision_mask","_get_color_texture","_get_comment_delimiters","_get_component_type","_get_composition_layer","_get_composition_layer_count","_get_composition_layer_order","_get_configuration","_get_configuration_warnings","_get_connection_line","_get_connection_state","_get_connection_status","_get_constant_force","_get_constant_torque","_get_constants","_get_contact_collider","_get_contact_collider_id","_get_contact_collider_object","_get_contact_collider_position","_get_contact_collider_shape","_get_contact_collider_velocity_at_position","_get_contact_count","_get_contact_impulse","_get_contact_local_normal","_get_contact_local_position","_get_contact_local_shape","_get_contact_local_velocity_at_position","_get_contents_minimum_size","_get_current_branch_name","_get_cursor_shape","_get_customization_configuration_hash","_get_data","_get_debug_protocol","_get_default_input_port","_get_dependencies","_get_depth","_get_depth_texture","_get_description","_get_device_architecture","_get_diff","_get_doc_class_name","_get_doc_comment_delimiters","_get_documentation","_get_drag_data","_get_draw_rect","_get_environment","_get_export_features","_get_export_option_visibility","_get_export_option_warning","_get_export_options","_get_export_options_overrides","_get_extension","_get_extensions","_get_features","_get_file_extensions","_get_focused_accessibility_element","_get_format","_get_format_version","_get_formats","_get_func_code","_get_gathering_state","_get_gizmo_name","_get_global_class_name","_get_global_code","_get_global_name","_get_handle_name","_get_handle_value","_get_header","_get_height","_get_hex_code_box_size","_get_id","_get_image","_get_image_file_extension","_get_import_options","_get_import_order","_get_importer_name","_get_input_port_count","_get_input_port_default_value","_get_input_port_name","_get_input_port_type","_get_instance_base_type","_get_internal_import_options","_get_internal_option_update_view_required","_get_internal_option_visibility","_get_inverse_inertia","_get_inverse_inertia_tensor","_get_inverse_mass","_get_ip_modification","_get_label","_get_language","_get_layer_data","_get_layered_type","_get_layers","_get_length","_get_line_diff","_get_line_syntax_highlighting","_get_linear_velocity","_get_logo","_get_loop_count","_get_max_packet_life_time","_get_max_packet_size","_get_max_retransmits","_get_maximum_size","_get_member_line","_get_members","_get_message","_get_method_info","_get_minimum_size","_get_mipmap_count","_get_mix_rate","_get_modified_files_data","_get_multiplayer_peer","_get_name","_get_option_icon","_get_option_label","_get_option_tooltip","_get_option_visibility","_get_options_count","_get_options_tooltip","_get_os_name","_get_output_port_count","_get_output_port_name","_get_output_port_type","_get_packet","_get_packet_channel","_get_packet_mode","_get_packet_peer","_get_packet_script","_get_parameter","_get_parameter_default_value","_get_parameter_list","_get_partial_data","_get_peer_ids","_get_platform_features","_get_play_area","_get_play_area_mode","_get_playback_position","_get_plugin_icon","_get_plugin_name","_get_plural_message","_get_preset_count","_get_preset_features","_get_preset_name","_get_previous_commits","_get_principal_inertia_axes","_get_priority","_get_process_info","_get_projection_for_view","_get_property_count","_get_property_default_index","_get_property_default_value","_get_property_name","_get_property_options","_get_protocol","_get_public_annotations","_get_public_constants","_get_public_functions","_get_ready_state","_get_recognized_extensions","_get_remote_sender_id","_get_remotes","_get_render_scene_buffers","_get_render_scene_data","_get_render_target_size","_get_requested_extensions","_get_reserved_words","_get_resource_script_class","_get_resource_type","_get_resource_uid","_get_return_icon_type","_get_rid","_get_rpc_config","_get_run_icon","_get_save_extension","_get_saveable_image_formats","_get_script_method_argument_count","_get_script_method_list","_get_script_property_list","_get_script_signal_list","_get_shader_mode","_get_shader_rid","_get_signaling_state","_get_source_code","_get_space_state","_get_state","_get_step","_get_stream_name","_get_stream_sampling_rate","_get_string_delimiters","_get_structure_data","_get_subgizmo_transform","_get_suggested_pose_names","_get_suggested_tracker_names","_get_support_data","_get_support_data_filename","_get_support_data_info","_get_supported_extensions","_get_supported_languages","_get_surface_count","_get_system_info","_get_tags","_get_texture","_get_tooltip","_get_tooltip_auto_translate_mode_at","_get_total_angular_damp","_get_total_gravity","_get_total_linear_damp","_get_tracking_status","_get_transfer_channel","_get_transfer_mode","_get_transform","_get_transform_for_view","_get_type","_get_uniform_buffer","_get_unique_id","_get_unsaved_status","_get_vcs_name","_get_velocity_at_local_position","_get_velocity_texture","_get_view_count","_get_view_eye_offset","_get_view_projection","_get_viewport_composition_layer_extension_properties","_get_viewport_composition_layer_extension_property_defaults","_get_visible_name","_get_vrs_texture","_get_vrs_texture_format","_get_width","_get_window_layout","_get_write_mode","_goto_script_line","_gui_input","_handle_menu_selected","_handle_unicode_input","_handles","_handles_file","_handles_global_class_type","_handles_type","_has","_has_alpha","_has_capture","_has_feature","_has_filter","_has_gizmo","_has_loop","_has_main_screen","_has_method","_has_mipmaps","_has_named_classes","_has_point","_has_property_default_value","_has_script_signal","_has_source_code","_has_static_method","_has_valid_configuration","_has_valid_export_configuration","_has_valid_project_configuration","_heightmap_shape_create","_hinge_joint_get_flag","_hinge_joint_get_param","_hinge_joint_set_flag","_hinge_joint_set_param","_import","_import_node","_import_object_model_property","_import_post","_import_post_parse","_import_pre_generate","_import_preflight","_import_scene","_inherits_script","_init","_initialize","_input","_input_event","_instance_create","_instance_has","_instantiate","_instantiate_playback","_integrate_forces","_internal_process","_intersect_point","_intersect_ray","_intersect_shape","_is_abstract","_is_active","_is_available","_is_confusable","_is_control_flow_keyword","_is_executable","_is_flushing_queries","_is_handle_highlighted","_is_highend","_is_in_input_hotzone","_is_in_output_hotzone","_is_initialized","_is_locale_right_to_left","_is_locale_using_support_data","_is_monophonic","_is_negotiated","_is_node_hover_valid","_is_ordered","_is_parameter_read_only","_is_paused","_is_pixel_opaque","_is_placeholder_fallback_enabled","_is_playing","_is_refusing_new_connections","_is_selectable_when_hidden","_is_server","_is_server_relay_supported","_is_sleeping","_is_tool","_is_using_templates","_is_valid","_is_valid_identifier","_is_valid_letter","_joint_clear","_joint_create","_joint_disable_collisions_between_bodies","_joint_get_param","_joint_get_solver_priority","_joint_get_type","_joint_is_disabled_collisions_between_bodies","_joint_make_cone_twist","_joint_make_damped_spring","_joint_make_generic_6dof","_joint_make_groove","_joint_make_hinge","_joint_make_hinge_simple","_joint_make_pin","_joint_make_slider","_joint_set_param","_joint_set_solver_priority","_load","_load_image","_load_layout_from_config","_load_support_data","_log_error","_log_message","_lookup_code","_make_custom_tooltip","_make_function","_make_template","_make_tooltip_for_path","_make_visible","_mix","_mix_resampled","_mouse_enter","_mouse_exit","_mouse_shape_enter","_mouse_shape_exit","_name_to_tag","_object_configuration_add","_object_configuration_remove","_on_before_instance_created","_on_event_polled","_on_instance_created","_on_instance_destroyed","_on_main_swapchains_created","_on_post_draw_viewport","_on_pre_draw_viewport","_on_pre_render","_on_process","_on_register_metadata","_on_session_created","_on_session_destroyed","_on_state_exiting","_on_state_focused","_on_state_idle","_on_state_loss_pending","_on_state_ready","_on_state_stopping","_on_state_synchronized","_on_state_visible","_on_sync_actions","_on_viewport_composition_layer_destroyed","_open_in_external_editor","_overrides_external_editor","_parse_begin","_parse_category","_parse_end","_parse_file","_parse_group","_parse_image_data","_parse_node_extensions","_parse_number","_parse_property","_parse_structured_text","_parse_texture_json","_paste","_paste_primary_clipboard","_percent_sign","_physics_process","_pin_joint_get_flag","_pin_joint_get_local_a","_pin_joint_get_local_b","_pin_joint_get_param","_pin_joint_set_flag","_pin_joint_set_local_a","_pin_joint_set_local_b","_pin_joint_set_param","_placeholder_erased","_placeholder_instance_create","_play","_poll","_poll_export","_popup_menu","_post_draw_viewport","_post_import","_post_process","_post_process_key_value","_pre_draw_viewport","_pre_process","_pre_render","_preferred_file_name_casing","_prepare_view_configuration","_pressed","_print_view_configuration_info","_process","_process_animation_node","_process_custom_fx","_process_modification","_process_modification_with_delta","_process_silence","_profiling_get_accumulated_data","_profiling_get_frame_data","_profiling_set_save_native_calls","_profiling_start","_profiling_stop","_propagate_input_event","_pull","_push","_put_data","_put_packet","_put_packet_script","_put_partial_data","_query","_ready","_recognize","_recognize_path","_rectangle_shape_create","_redraw","_reference_oversampling_level","_reload","_reload_all_scripts","_reload_scripts","_reload_tool_script","_remove_branch","_remove_named_global_constant","_remove_remote","_rename_dependencies","_render_callback","_request_code_completion","_reset_state","_rest_info","_rpc","_run","_run_scene","_save","_save_external_data","_save_image_at_path","_save_layout_to_config","_save_support_data","_seek","_segment_shape_create","_separation_ray_shape_create","_serialize_image_to_bytes","_serialize_texture_json","_set_aabb","_set_active","_set_anchor_detection_is_enabled","_set_android_surface_swapchain_create_info_and_get_next_pointer","_set_angular_velocity","_set_anisotropic_filtering_level","_set_audio_track","_set_blend_shape_name","_set_capacity","_set_collision_layer","_set_collision_mask","_set_constant_force","_set_constant_torque","_set_create_options","_set_credentials","_set_format","_set_frame_end_info_and_get_next_pointer","_set_frame_wait_info_and_get_next_pointer","_set_fsr_sharpness","_set_hand_joint_locations_and_get_next_pointer","_set_handle","_set_instance_create_info_and_get_next_pointer","_set_linear_velocity","_set_local_description","_set_multiplayer_peer","_set_normal","_set_parameter","_set_path_cache","_set_paused","_set_play_area_mode","_set_projection_layer_and_get_next_pointer","_set_projection_views_and_get_next_pointer","_set_read_only","_set_reference_space_create_info_and_get_next_pointer","_set_refuse_new_connections","_set_remote_description","_set_session_create_and_get_next_pointer","_set_sleep_state","_set_source_code","_set_state","_set_subgizmo_transform","_set_swapchain_create_info_and_get_next_pointer","_set_system_properties_and_get_next_pointer","_set_target_peer","_set_texture_mipmap_bias","_set_transfer_channel","_set_transfer_mode","_set_transform","_set_uid","_set_use_debanding","_set_vertex","_set_view_configuration_and_get_next_pointer","_set_view_locate_info_and_get_next_pointer","_set_viewport_composition_layer_and_get_next_pointer","_set_window_layout","_set_write_mode","_setup_local_to_scene","_setup_modification","_setup_session","_shape_collide","_shape_get_custom_solver_bias","_shape_get_data","_shape_get_margin","_shape_get_type","_shape_set_custom_solver_bias","_shape_set_data","_shape_set_margin","_shaped_get_run_count","_shaped_get_run_direction","_shaped_get_run_font_rid","_shaped_get_run_font_size","_shaped_get_run_glyph_range","_shaped_get_run_language","_shaped_get_run_object","_shaped_get_run_range","_shaped_get_run_text","_shaped_get_span_count","_shaped_get_span_embedded_object","_shaped_get_span_meta","_shaped_get_span_object","_shaped_get_span_text","_shaped_get_text","_shaped_set_span_update_font","_shaped_text_add_object","_shaped_text_add_string","_shaped_text_clear","_shaped_text_closest_character_pos","_shaped_text_draw","_shaped_text_draw_outline","_shaped_text_duplicate","_shaped_text_fit_to_width","_shaped_text_get_ascent","_shaped_text_get_carets","_shaped_text_get_character_breaks","_shaped_text_get_custom_ellipsis","_shaped_text_get_custom_punctuation","_shaped_text_get_descent","_shaped_text_get_direction","_shaped_text_get_dominant_direction_in_range","_shaped_text_get_ellipsis_glyph_count","_shaped_text_get_ellipsis_glyphs","_shaped_text_get_ellipsis_pos","_shaped_text_get_glyph_count","_shaped_text_get_glyphs","_shaped_text_get_grapheme_bounds","_shaped_text_get_inferred_direction","_shaped_text_get_line_breaks","_shaped_text_get_line_breaks_adv","_shaped_text_get_object_glyph","_shaped_text_get_object_range","_shaped_text_get_object_rect","_shaped_text_get_objects","_shaped_text_get_orientation","_shaped_text_get_parent","_shaped_text_get_preserve_control","_shaped_text_get_preserve_invalid","_shaped_text_get_range","_shaped_text_get_selection","_shaped_text_get_size","_shaped_text_get_spacing","_shaped_text_get_trim_pos","_shaped_text_get_underline_position","_shaped_text_get_underline_thickness","_shaped_text_get_width","_shaped_text_get_word_breaks","_shaped_text_has_object","_shaped_text_hit_test_grapheme","_shaped_text_hit_test_position","_shaped_text_is_ready","_shaped_text_next_character_pos","_shaped_text_next_grapheme_pos","_shaped_text_overrun_trim_to_width","_shaped_text_prev_character_pos","_shaped_text_prev_grapheme_pos","_shaped_text_resize_object","_shaped_text_set_bidi_override","_shaped_text_set_custom_ellipsis","_shaped_text_set_custom_punctuation","_shaped_text_set_direction","_shaped_text_set_orientation","_shaped_text_set_preserve_control","_shaped_text_set_preserve_invalid","_shaped_text_set_spacing","_shaped_text_shape","_shaped_text_sort_logical","_shaped_text_substr","_shaped_text_tab_align","_shaped_text_update_breaks","_shaped_text_update_justification_ops","_shortcut_input","_should_update_export_options","_shut_down","_skeleton_changed","_slider_joint_get_param","_slider_joint_set_param","_soft_body_add_collision_exception","_soft_body_apply_central_force","_soft_body_apply_central_impulse","_soft_body_apply_point_force","_soft_body_apply_point_impulse","_soft_body_create","_soft_body_get_bounds","_soft_body_get_collision_exceptions","_soft_body_get_collision_layer","_soft_body_get_collision_mask","_soft_body_get_damping_coefficient","_soft_body_get_drag_coefficient","_soft_body_get_linear_stiffness","_soft_body_get_point_global_position","_soft_body_get_pressure_coefficient","_soft_body_get_shrinking_factor","_soft_body_get_simulation_precision","_soft_body_get_space","_soft_body_get_state","_soft_body_get_total_mass","_soft_body_is_point_pinned","_soft_body_move_point","_soft_body_pin_point","_soft_body_remove_all_pinned_points","_soft_body_remove_collision_exception","_soft_body_set_collision_layer","_soft_body_set_collision_mask","_soft_body_set_damping_coefficient","_soft_body_set_drag_coefficient","_soft_body_set_linear_stiffness","_soft_body_set_mesh","_soft_body_set_pressure_coefficient","_soft_body_set_ray_pickable","_soft_body_set_shrinking_factor","_soft_body_set_simulation_precision","_soft_body_set_space","_soft_body_set_state","_soft_body_set_total_mass","_soft_body_set_transform","_soft_body_update_rendering_server","_space_create","_space_get_contact_count","_space_get_contacts","_space_get_direct_state","_space_get_param","_space_is_active","_space_set_active","_space_set_debug_contacts","_space_set_param","_sphere_shape_create","_spoof_check","_stage_file","_start","_step","_stop","_string_get_character_breaks","_string_get_word_breaks","_string_to_lower","_string_to_title","_string_to_upper","_strip_diacritics","_structured_text_parser","_subgizmos_intersect_frustum","_subgizmos_intersect_ray","_supports_builtin_mode","_supports_documentation","_supports_platform","_supports_play_area_mode","_surface_get_array_index_len","_surface_get_array_len","_surface_get_arrays","_surface_get_blend_shape_arrays","_surface_get_format","_surface_get_lods","_surface_get_material","_surface_get_primitive_type","_surface_set_material","_sync","_tag_to_name","_tag_used_streams","_test_mask","_thread_enter","_thread_exit","_tick","_tile_data_runtime_update","_toggle","_toggled","_trigger_haptic_pulse","_unhandled_input","_unhandled_key_input","_uninitialize","_unreference_oversampling_level","_unstage_file","_update","_update_android_prebuilt_manifest","_update_cache","_update_cells","_update_exports","_update_layout","_update_property","_use_tile_data_runtime_update","_validate","_validate_bone_names","_validate_path","_value_changed","_was_string_packet","_world_boundary_shape_create","_write_begin","_write_end","_write_frame","abs","absf","absi","accept_event","accept_stream","accessibility_create_element","accessibility_create_sub_element","accessibility_create_sub_text_edit_elements","accessibility_drag","accessibility_drop","accessibility_element_get_meta","accessibility_element_set_meta","accessibility_free_element","accessibility_get_window_root","accessibility_has_element","accessibility_screen_reader_active","accessibility_set_window_focused","accessibility_set_window_rect","accessibility_should_increase_contrast","accessibility_should_reduce_animation","accessibility_should_reduce_transparency","accessibility_update_add_action","accessibility_update_add_child","accessibility_update_add_custom_action","accessibility_update_add_related_controls","accessibility_update_add_related_described_by","accessibility_update_add_related_details","accessibility_update_add_related_flow_to","accessibility_update_add_related_labeled_by","accessibility_update_add_related_radio_group","accessibility_update_set_active_descendant","accessibility_update_set_background_color","accessibility_update_set_bounds","accessibility_update_set_checked","accessibility_update_set_classname","accessibility_update_set_color_value","accessibility_update_set_description","accessibility_update_set_error_message","accessibility_update_set_extra_info","accessibility_update_set_flag","accessibility_update_set_focus","accessibility_update_set_foreground_color","accessibility_update_set_in_page_link_target","accessibility_update_set_language","accessibility_update_set_list_item_count","accessibility_update_set_list_item_expanded","accessibility_update_set_list_item_index","accessibility_update_set_list_item_level","accessibility_update_set_list_item_selected","accessibility_update_set_list_orientation","accessibility_update_set_live","accessibility_update_set_member_of","accessibility_update_set_name","accessibility_update_set_next_on_line","accessibility_update_set_num_jump","accessibility_update_set_num_range","accessibility_update_set_num_step","accessibility_update_set_num_value","accessibility_update_set_placeholder","accessibility_update_set_popup_type","accessibility_update_set_previous_on_line","accessibility_update_set_role","accessibility_update_set_role_description","accessibility_update_set_scroll_x","accessibility_update_set_scroll_x_range","accessibility_update_set_scroll_y","accessibility_update_set_scroll_y_range","accessibility_update_set_shortcut","accessibility_update_set_state_description","accessibility_update_set_table_cell_position","accessibility_update_set_table_cell_span","accessibility_update_set_table_column_count","accessibility_update_set_table_column_index","accessibility_update_set_table_row_count","accessibility_update_set_table_row_index","accessibility_update_set_text_align","accessibility_update_set_text_decorations","accessibility_update_set_text_orientation","accessibility_update_set_text_selection","accessibility_update_set_tooltip","accessibility_update_set_transform","accessibility_update_set_url","accessibility_update_set_value","accumulate","acos","acosh","action_add_event","action_erase_event","action_erase_events","action_get_deadzone","action_get_events","action_get_handle","action_has_event","action_press","action_release","action_set_deadzone","activate_item_by_event","add_action","add_action_set","add_animation","add_animation_library","add_apple_embedded_platform_bundle_file","add_apple_embedded_platform_cpp_code","add_apple_embedded_platform_embedded_framework","add_apple_embedded_platform_framework","add_apple_embedded_platform_linker_flags","add_apple_embedded_platform_plist_content","add_apple_embedded_platform_project_static_lib","add_attached_node","add_auto_brace_completion_pair","add_autoload_singleton","add_bind","add_blend_point","add_blend_shape","add_blit","add_bone","add_bus","add_bus_effect","add_button","add_cancel_button","add_caret","add_caret_at_carets","add_check_item","add_check_shortcut","add_child","add_code_completion_option","add_collision_exception_with","add_collision_polygon","add_collision_segments","add_collision_triangles","add_color_region","add_command","add_comment_delimiter","add_constant_central_force","add_constant_force","add_constant_torque","add_context_menu_item","add_context_menu_item_from_shortcut","add_context_menu_plugin","add_context_submenu_item","add_control_to_bottom_panel","add_control_to_container","add_control_to_dock","add_custom_control","add_custom_data_layer","add_custom_monitor","add_custom_type","add_debugger_plugin","add_device","add_diff_hunks_into_diff_file","add_directory","add_do_method","add_do_property","add_do_reference","add_dock","add_exception","add_exception_rid","add_excluded_object","add_export_platform","add_export_plugin","add_faces","add_feed","add_file","add_file_from_buffer","add_file_removal","add_filter","add_focusable","add_format_loader","add_frame","add_gizmo","add_group_task","add_gutter","add_handles","add_hr","add_ice_candidate","add_icon_check_item","add_icon_check_shortcut","add_icon_item","add_icon_radio_check_item","add_icon_radio_check_shortcut","add_icon_shortcut","add_id","add_image","add_import_option","add_import_option_advanced","add_import_plugin","add_index","add_input","add_input_port","add_inspector_plugin","add_interaction_profile","add_interface","add_ios_bundle_file","add_ios_cpp_code","add_ios_embedded_framework","add_ios_framework","add_ios_linker_flags","add_ios_plist_content","add_ios_project_static_lib","add_item","add_joy_mapping","add_keyword_color","add_layer","add_line_diffs_into_diff_hunk","add_lines","add_logger","add_macos_plugin_file","add_marker","add_material","add_member_keyword_color","add_menu_shortcut","add_mesh","add_mesh_array","add_mesh_peer","add_message","add_modification","add_multistate_item","add_named_bind","add_navigation_layer","add_next","add_node","add_node_3d_gizmo_plugin","add_object","add_obstruction_outline","add_occluder_polygon","add_occlusion_layer","add_option","add_outline","add_outline_at_index","add_output_port","add_path","add_pattern","add_peer","add_persistence_context","add_physics_layer","add_plural_message","add_point","add_polygon","add_port_mapping","add_preset","add_preview_generator","add_projected_obstruction","add_property","add_property_editor","add_property_editor_for_multiple_properties","add_property_info","add_radio_check_item","add_radio_check_shortcut","add_recent_preset","add_resource","add_resource_conversion_plugin","add_resource_format_loader","add_resource_format_saver","add_resource_tooltip_plugin","add_root_node","add_scene_format_importer_plugin","add_scene_post_import_plugin","add_selection_for_next_occurrence","add_separator","add_session_tab","add_shareable_format","add_shared_object","add_shortcut","add_sibling","add_side_menu","add_source","add_spacer","add_spatial_entity","add_spawnable_scene","add_stacked_outline","add_stacked_shadow","add_stream","add_string","add_string_delimiter","add_submenu_item","add_submenu_node_item","add_surface","add_surface_from_arrays","add_syntax_highlighter","add_tab","add_task","add_terrain","add_terrain_set","add_text","add_theme_color_override","add_theme_constant_override","add_theme_font_override","add_theme_font_size_override","add_theme_icon_override","add_theme_stylebox_override","add_title_bar_control","add_to_group","add_tool_menu_item","add_tool_submenu_item","add_track","add_tracker","add_transition","add_translation","add_translation_parser_plugin","add_traversable_outline","add_triangle","add_triangle_fan","add_type","add_undo_method","add_undo_property","add_undo_redo_inspector_hook_callback","add_undo_reference","add_unscaled_billboard","add_used_extension","add_user","add_user_signal","add_valid_connection_type","add_valid_left_disconnect_type","add_valid_right_disconnect_type","add_varying","add_vertex","add_visibility_filter","add_writer","adjust_bcs","adjust_carets_after_edit","adjust_viewport_to_caret","advance","affine_inverse","agent_create","agent_get_avoidance_enabled","agent_get_avoidance_layers","agent_get_avoidance_mask","agent_get_avoidance_priority","agent_get_height","agent_get_map","agent_get_max_neighbors","agent_get_max_speed","agent_get_neighbor_distance","agent_get_paused","agent_get_position","agent_get_radius","agent_get_time_horizon_agents","agent_get_time_horizon_obstacles","agent_get_use_3d_avoidance","agent_get_velocity","agent_has_avoidance_callback","agent_is_map_changed","agent_set_avoidance_callback","agent_set_avoidance_enabled","agent_set_avoidance_layers","agent_set_avoidance_mask","agent_set_avoidance_priority","agent_set_height","agent_set_map","agent_set_max_neighbors","agent_set_max_speed","agent_set_neighbor_distance","agent_set_paused","agent_set_position","agent_set_radius","agent_set_time_horizon_agents","agent_set_time_horizon_obstacles","agent_set_use_3d_avoidance","agent_set_velocity","agent_set_velocity_forced","alert","align","all","allocate","angle","angle_difference","angle_to","angle_to_point","animation_get_next","animation_set_next","animation_track_get_key_animation","animation_track_insert_key","animation_track_set_key_animation","any","append","append_array","append_arrays","append_child_index","append_data_to_buffers","append_from","append_from_buffer","append_from_file","append_from_scene","append_gltf_node","append_import_external_resource","append_node_path","append_obstruction_outlines","append_path_to_property","append_text","append_traversable_outlines","apply","apply_central_force","apply_central_impulse","apply_floor_snap","apply_force","apply_ime","apply_impulse","apply_new_signal","apply_rest","apply_scale","apply_torque","apply_torque_impulse","are_advanced_options_enabled","are_all_child_collisions_enabled","are_bone_axes_mutable","are_column_titles_visible","are_ends_reset","are_modes_visible","are_points_connected","are_presets_visible","are_shadows_enabled","are_sliders_visible","are_swatches_enabled","are_tabs_visible","area_add_shape","area_attach_canvas_instance_id","area_attach_object_instance_id","area_clear_shapes","area_create","area_get_canvas_instance_id","area_get_collision_layer","area_get_collision_mask","area_get_object_instance_id","area_get_param","area_get_shape","area_get_shape_count","area_get_shape_transform","area_get_space","area_get_transform","area_light_create","area_remove_shape","area_set_area_monitor_callback","area_set_collision_layer","area_set_collision_mask","area_set_monitor_callback","area_set_monitorable","area_set_param","area_set_ray_pickable","area_set_shape","area_set_shape_disabled","area_set_shape_transform","area_set_space","area_set_transform","arrange_nodes","as_relative","as_text","as_text_key_label","as_text_keycode","as_text_location","as_text_physical_keycode","asin","asinh","aspect","assign","atan","atan2","atanh","atr","atr_n","attach_graph_element_to_frame","attach_node_to_frame","audio_track_get_key_end_offset","audio_track_get_key_start_offset","audio_track_get_key_stream","audio_track_insert_key","audio_track_is_use_blend","audio_track_set_key_end_offset","audio_track_set_key_start_offset","audio_track_set_key_stream","audio_track_set_use_blend","back","backspace","bake","bake_collision_shape","bake_from_source_geometry_data","bake_from_source_geometry_data_async","bake_mesh_from_current_blend_shape_mix","bake_mesh_from_current_skeleton_pose","bake_navigation_mesh","bake_navigation_polygon","bake_render_uv2","bake_static_mesh","bandwidth_limit","barrier","base64_to_raw","base64_to_utf8","base64_to_variant","basis_xform","basis_xform_inv","beep","begin","begin_bulk_theme_override","begin_complex_operation","begin_debug_label_region","begin_multicaret_edit","begin_resample","begins_with","bezier_derivative","bezier_interpolate","bezier_track_get_key_in_handle","bezier_track_get_key_out_handle","bezier_track_get_key_value","bezier_track_insert_key","bezier_track_interpolate","bezier_track_set_key_in_handle","bezier_track_set_key_out_handle","bezier_track_set_key_value","bigrams","bin_to_int","bind","bind_node","bindv","blas_build","blas_create","blend","blend_animation","blend_input","blend_node","blend_rect","blend_rect_mask","blend_shape_track_insert_key","blend_shape_track_interpolate","blit_rect","blit_rect_mask","blit_rect_multi","body_add_collision_exception","body_add_constant_central_force","body_add_constant_force","body_add_constant_torque","body_add_shape","body_apply_central_force","body_apply_central_impulse","body_apply_force","body_apply_impulse","body_apply_torque","body_apply_torque_impulse","body_attach_canvas_instance_id","body_attach_object_instance_id","body_clear_shapes","body_create","body_get_canvas_instance_id","body_get_collision_layer","body_get_collision_mask","body_get_collision_priority","body_get_constant_force","body_get_constant_torque","body_get_continuous_collision_detection_mode","body_get_direct_state","body_get_max_contacts_reported","body_get_mode","body_get_object_instance_id","body_get_param","body_get_shape","body_get_shape_count","body_get_shape_transform","body_get_space","body_get_state","body_is_axis_locked","body_is_continuous_collision_detection_enabled","body_is_omitting_force_integration","body_remove_collision_exception","body_remove_shape","body_reset_mass_properties","body_set_axis_lock","body_set_axis_velocity","body_set_collision_layer","body_set_collision_mask","body_set_collision_priority","body_set_constant_force","body_set_constant_torque","body_set_continuous_collision_detection_mode","body_set_enable_continuous_collision_detection","body_set_force_integration_callback","body_set_max_contacts_reported","body_set_mode","body_set_omit_force_integration","body_set_param","body_set_ray_pickable","body_set_shape","body_set_shape_as_one_way_collision","body_set_shape_disabled","body_set_shape_transform","body_set_space","body_set_state","body_set_state_sync_callback","body_test_motion","body_test_motion_is_excluding_body","body_test_motion_is_excluding_object","bounce","box_shape_create","bresenham_line","broadcast","bsearch","bsearch_custom","bswap16","bswap32","bswap64","buffer_clear","buffer_copy","buffer_get_data","buffer_get_data_async","buffer_get_device_address","buffer_update","build_box_planes","build_capsule_planes","build_cylinder_planes","bump_map_to_normal_map","bytes_to_var","bytes_to_var_with_objects","c_escape","c_unescape","call","call_deferred","call_deferred_thread_group","call_group","call_group_flags","call_on_render_thread","call_recursive","call_thread_safe","callv","camera_attributes_create","camera_attributes_set_auto_exposure","camera_attributes_set_dof_blur","camera_attributes_set_dof_blur_bokeh_shape","camera_attributes_set_dof_blur_quality","camera_attributes_set_exposure","camera_create","camera_set_camera_attributes","camera_set_compositor","camera_set_cull_mask","camera_set_environment","camera_set_frustum","camera_set_orthogonal","camera_set_perspective","camera_set_transform","camera_set_use_vertical_aspect","can_auto_translate","can_be_sampled","can_connect_nodes","can_draw","can_fold_line","can_get_buffer","can_instantiate","can_process","can_push_buffer","can_render","can_translate_messages","cancel_code_completion","cancel_free","cancel_future","cancel_ime","cancel_request","canvas_create","canvas_item_add_animation_slice","canvas_item_add_circle","canvas_item_add_clip_ignore","canvas_item_add_ellipse","canvas_item_add_lcd_texture_rect_region","canvas_item_add_line","canvas_item_add_mesh","canvas_item_add_msdf_texture_rect_region","canvas_item_add_multiline","canvas_item_add_multimesh","canvas_item_add_nine_patch","canvas_item_add_particles","canvas_item_add_polygon","canvas_item_add_polyline","canvas_item_add_primitive","canvas_item_add_rect","canvas_item_add_set_transform","canvas_item_add_texture_rect","canvas_item_add_texture_rect_region","canvas_item_add_triangle_array","canvas_item_attach_skeleton","canvas_item_clear","canvas_item_create","canvas_item_get_instance_shader_parameter","canvas_item_get_instance_shader_parameter_default_value","canvas_item_get_instance_shader_parameter_list","canvas_item_reset_physics_interpolation","canvas_item_set_canvas_group_mode","canvas_item_set_clip","canvas_item_set_copy_to_backbuffer","canvas_item_set_custom_rect","canvas_item_set_default_texture_filter","canvas_item_set_default_texture_repeat","canvas_item_set_distance_field_mode","canvas_item_set_draw_behind_parent","canvas_item_set_draw_index","canvas_item_set_instance_shader_parameter","canvas_item_set_interpolated","canvas_item_set_light_mask","canvas_item_set_material","canvas_item_set_modulate","canvas_item_set_parent","canvas_item_set_self_modulate","canvas_item_set_sort_children_by_y","canvas_item_set_transform","canvas_item_set_use_parent_material","canvas_item_set_visibility_layer","canvas_item_set_visibility_notifier","canvas_item_set_visible","canvas_item_set_z_as_relative_to_parent","canvas_item_set_z_index","canvas_item_transform_physics_interpolation","canvas_light_attach_to_canvas","canvas_light_create","canvas_light_occluder_attach_to_canvas","canvas_light_occluder_create","canvas_light_occluder_reset_physics_interpolation","canvas_light_occluder_set_as_sdf_collision","canvas_light_occluder_set_enabled","canvas_light_occluder_set_interpolated","canvas_light_occluder_set_light_mask","canvas_light_occluder_set_polygon","canvas_light_occluder_set_transform","canvas_light_occluder_transform_physics_interpolation","canvas_light_reset_physics_interpolation","canvas_light_set_blend_mode","canvas_light_set_color","canvas_light_set_enabled","canvas_light_set_energy","canvas_light_set_height","canvas_light_set_interpolated","canvas_light_set_item_cull_mask","canvas_light_set_item_shadow_cull_mask","canvas_light_set_layer_range","canvas_light_set_mode","canvas_light_set_shadow_color","canvas_light_set_shadow_enabled","canvas_light_set_shadow_filter","canvas_light_set_shadow_smooth","canvas_light_set_texture","canvas_light_set_texture_offset","canvas_light_set_texture_scale","canvas_light_set_transform","canvas_light_set_z_range","canvas_light_transform_physics_interpolation","canvas_occluder_polygon_create","canvas_occluder_polygon_set_cull_mode","canvas_occluder_polygon_set_shape","canvas_set_disable_scale","canvas_set_item_mirroring","canvas_set_item_repeat","canvas_set_modulate","canvas_set_shadow_texture_size","canvas_texture_create","canvas_texture_set_channel","canvas_texture_set_shading_parameters","canvas_texture_set_texture_filter","canvas_texture_set_texture_repeat","capitalize","capsule_shape_create","capture","capture_aabb","capture_rect","capture_script_backtraces","capture_timestamp","casecmp_to","cast_motion","ceil","ceilf","ceili","center_on_current","center_on_hmd","center_viewport_to_caret","chain","change_dir","change_scene_to_file","change_scene_to_node","change_scene_to_packed","channel_limit","check_changed_settings_in_group","check_for_invalidation","child_controls_changed","chr","circle_shape_create","clamp","clamp_angle","clamp_split_offset","clampf","clampi","class_call_static","class_exists","class_get_api_type","class_get_enum_constants","class_get_enum_list","class_get_integer_constant","class_get_integer_constant_enum","class_get_integer_constant_list","class_get_method_argument_count","class_get_method_list","class_get_property","class_get_property_default_value","class_get_property_getter","class_get_property_list","class_get_property_setter","class_get_signal","class_get_signal_list","class_has_enum","class_has_integer_constant","class_has_method","class_has_signal","class_set_property","clean_dupes","cleanup_invalid_tile_proxies","clear","clear_all","clear_all_slots","clear_baked_meshes","clear_binds","clear_blend_shapes","clear_bones","clear_bones_global_pose_override","clear_bookmarked_lines","clear_breakpointed_lines","clear_breakpoints","clear_buffer","clear_buttons","clear_cache","clear_caches","clear_chains","clear_collisions","clear_color","clear_color_regions","clear_comment_delimiters","clear_connections","clear_constant","clear_context","clear_current","clear_custom_bg_color","clear_custom_color","clear_default_input_values","clear_devices","clear_docs_from_script","clear_dropcap","clear_exceptions","clear_exclude_collisions","clear_excluded_objects","clear_executing_lines","clear_filename_filter","clear_filters","clear_font","clear_font_size","clear_gizmos","clear_glyphs","clear_highlighting_cache","clear_history","clear_icon","clear_ids","clear_input_ports","clear_joy_motion_sensors_calibration","clear_kerning_map","clear_keyword_colors","clear_layer","clear_member_keyword_colors","clear_mesh_data","clear_messages","clear_mipmaps","clear_outlines","clear_output_ports","clear_points","clear_polygons","clear_projected_obstructions","clear_queue","clear_reference_frame","clear_selection","clear_setting","clear_settings","clear_size_cache","clear_slot","clear_spawnable_scenes","clear_string_delimiters","clear_stylebox","clear_subgizmo_selection","clear_surfaces","clear_tabs","clear_terrains","clear_textures","clear_theme_item","clear_tile_proxies","clear_tiles_outside_texture","clear_type_variation","clear_undo_history","clear_users","client","client_unsafe","clip_polygon","clip_polygons","clip_polyline_with_polygon","clipboard_get","clipboard_get_image","clipboard_get_primary","clipboard_has","clipboard_has_image","clipboard_set","clipboard_set_primary","close","close_file","close_midi_inputs","close_scene","codeLens","collapse_all_folding","collapse_carets","collide","collide_and_get_contacts","collide_shape","collide_with_motion","collide_with_motion_and_get_contacts","colorPresentation","color_picker","commit","commit_action","commit_to_arrays","commit_to_surface","compare_locales","compile","complete_auth","completion","compositor_create","compositor_effect_create","compositor_effect_set_callback","compositor_effect_set_enabled","compositor_effect_set_flag","compositor_set_compositor_effects","compress","compress_from_channels","compute_convex_mesh_points","compute_image_metrics","compute_list_add_barrier","compute_list_begin","compute_list_bind_compute_pipeline","compute_list_bind_uniform_set","compute_list_dispatch","compute_list_dispatch_indirect","compute_list_end","compute_list_set_push_constant","compute_pipeline_create","compute_pipeline_is_valid","concave_polygon_shape_create","cone_twist_joint_get_param","cone_twist_joint_set_param","config","configure","confirm_code_completion","connect","connect_node","connect_nodes","connect_nodes_forced","connect_points","connect_to_host","connect_to_peer","connect_to_stream","connect_to_url","constant_time_compare","contains","containsn","convert","convert_from_particles","convert_indent","convert_to_image","convex_hull","convex_polygon_shape_create","copy","copy_absolute","copy_from","copy_from_resource","copy_track","correct_posture","cos","cosh","count","countn","crash","create","create_action","create_alternative_tile","create_callback","create_child","create_client","create_code_region","create_commit","create_convex_collision","create_convex_shape","create_data_channel","create_debug_tangents","create_default_action_sets","create_default_inspector","create_default_interface","create_default_persistence_context","create_depth_correction","create_diff_file","create_diff_hunk","create_diff_line","create_element","create_empty","create_fit_aabb","create_font","create_font_linked_variation","create_for_hmd","create_from","create_from_arrays","create_from_blend_shape","create_from_data","create_from_faces","create_from_image","create_from_image_alpha","create_from_images","create_from_mesh","create_from_string","create_from_surface","create_frustum","create_frustum_aspect","create_handle_material","create_host","create_host_bound","create_icon_material","create_id","create_id_for_path","create_instance","create_item","create_light_atlas_rect","create_link","create_local_device","create_local_rendering_device","create_material","create_menu","create_mesh","create_multiple_convex_collisions","create_new_anchor","create_object","create_offer","create_orthogonal","create_orthogonal_aspect","create_outline","create_persistence_context","create_perspective","create_perspective_hmd","create_placeholder","create_preset","create_process","create_proxy","create_sam_callback","create_scene_tile","create_server","create_shape_owner","create_shaped_text","create_skin_from_rest_transforms","create_spatial_context","create_status_file","create_status_indicator","create_sub_element","create_sub_text_edit_elements","create_temp","create_texture","create_texture_from_format","create_texture_view","create_tile","create_timer","create_trimesh_collision","create_trimesh_shape","create_tween","crop","cross","cubic_interpolate","cubic_interpolate_angle","cubic_interpolate_angle_in_time","cubic_interpolate_in_time","current_is_dir","cursor_get_shape","cursor_set_custom_image","cursor_set_shape","custom_shape_create","custom_step","cut","cylinder_shape_create","damped_spring_joint_get_param","damped_spring_joint_set_param","darkened","db_to_linear","debug","debug_bake","debug_canvas_item_get_rect","decal_create","decal_set_albedo_mix","decal_set_cull_mask","decal_set_distance_fade","decal_set_emission_energy","decal_set_fade","decal_set_modulate","decal_set_normal_fade","decal_set_size","decal_set_texture","decals_set_filter","declaration","decode_double","decode_float","decode_half","decode_s16","decode_s32","decode_s64","decode_s8","decode_u16","decode_u32","decode_u64","decode_u8","decode_var","decode_var_size","decompose_polygon_in_convex","decompress","decompress_dynamic","decrypt","dedent","definition","deg_to_rad","deindex","delay_msec","delay_usec","delete_char_at_caret","delete_lines","delete_modification","delete_port_mapping","delete_selection","delete_status_indicator","delete_text","deselect","deselect_all","destroy","detach_graph_element_from_frame","detach_node_from_frame","detect_alpha","detect_used_channels","determinant","dialog_input_text","dialog_show","didChange","didClose","didDeleteFiles","didOpen","didSave","dir_exists","dir_exists_absolute","direction_to","directional_light_create","directional_shadow_atlas_set_size","directional_soft_shadow_filter_set_quality","disconnect","disconnect_from_host","disconnect_from_peer","disconnect_from_stream","disconnect_node","disconnect_nodes","disconnect_peer","disconnect_points","discover","discover_spatial_entities","discover_spatial_entities_with_component_data","distance_squared_to","distance_to","distance_to_target","do_entity_update","do_indent","documentLink","documentSymbol","dot","download_buffer","draw","draw_animation_slice","draw_arc","draw_char","draw_char_outline","draw_circle","draw_colored_polygon","draw_command_begin_label","draw_command_end_label","draw_command_insert_label","draw_dashed_line","draw_dropcap","draw_dropcap_outline","draw_ellipse","draw_ellipse_arc","draw_end_animation","draw_hex_code_box","draw_lcd_texture_rect_region","draw_line","draw_line_outline","draw_list_begin","draw_list_begin_for_screen","draw_list_begin_split","draw_list_bind_index_array","draw_list_bind_render_pipeline","draw_list_bind_uniform_set","draw_list_bind_vertex_array","draw_list_bind_vertex_buffers_format","draw_list_disable_scissor","draw_list_draw","draw_list_draw_indirect","draw_list_enable_scissor","draw_list_end","draw_list_set_blend_constants","draw_list_set_push_constant","draw_list_switch_to_next_pass","draw_list_switch_to_next_pass_split","draw_mesh","draw_msdf_texture_rect_region","draw_multiline","draw_multiline_colors","draw_multiline_string","draw_multiline_string_outline","draw_multimesh","draw_outline","draw_polygon","draw_polyline","draw_polyline_colors","draw_primitive","draw_rect","draw_rect_region","draw_set_transform","draw_set_transform_matrix","draw_string","draw_string_outline","draw_style_box","draw_texture","draw_texture_rect","draw_texture_rect_region","dtls_client_setup","dtls_server_setup","duplicate","duplicate_animation","duplicate_deep","duplicate_lines","duplicate_selection","ease","edit","edit_node","edit_resource","edit_script","edit_selected","element_get_meta","element_set_meta","emit","emit_changed","emit_particle","emit_signal","enable_all_modifications","enable_for_stealing_focus","encloses","encode_double","encode_float","encode_half","encode_s16","encode_s32","encode_s64","encode_s8","encode_to_text","encode_u16","encode_u32","encode_u64","encode_u8","encode_var","encrypt","end_action","end_bulk_theme_override","end_complex_operation","end_debug_label_region","end_force_keep_in_merge_ends","end_multicaret_edit","ends_with","ensure_control_visible","ensure_current_is_visible","ensure_cursor_is_visible","ensure_path","ensure_tab_visible","environment_bake_panorama","environment_create","environment_glow_set_use_bicubic_upscale","environment_set_adjustment","environment_set_ambient_light","environment_set_background","environment_set_bg_color","environment_set_bg_energy","environment_set_camera_id","environment_set_canvas_max_layer","environment_set_fog","environment_set_fog_depth","environment_set_glow","environment_set_sdfgi","environment_set_sdfgi_frames_to_converge","environment_set_sdfgi_frames_to_update_light","environment_set_sdfgi_ray_count","environment_set_sky","environment_set_sky_custom_fov","environment_set_sky_orientation","environment_set_ssao","environment_set_ssao_quality","environment_set_ssil_quality","environment_set_ssr","environment_set_ssr_half_size","environment_set_ssr_roughness_quality","environment_set_tonemap","environment_set_tonemap_agx_contrast","environment_set_volumetric_fog","environment_set_volumetric_fog_filter_active","environment_set_volumetric_fog_volume_size","eof_reached","erase","erase_action","erase_bone","erase_button","erase_cell","erase_message","erase_preset","erase_recent_preset","erase_resolve_item","erase_section","erase_section_key","erase_transition","error_string","eval","event_is_action","exclude_polygons","execute","execute_modifications","execute_with_pipe","exists","exp","expand","expand_all_folding","expand_revertable","export_object_model_property","export_pack","export_pack_patch","export_project","export_project_files","export_zip","export_zip_patch","feeds","fetch_physical_bones","file_dialog_show","file_dialog_with_options_show","file_exists","filecasecmp_to","filenocasecmp_to","fill","fill_rect","fill_solid_region","fill_weight_scale_region","filter","find","find_action","find_action_set","find_animation","find_animation_library","find_blend_point_by_name","find_blend_shape_by_name","find_bone","find_child","find_children","find_custom","find_dir_index","find_export_template","find_file_index","find_input","find_interaction_profile","find_interface","find_item_by_name","find_item_index_with_submenu","find_item_index_with_tag","find_item_index_with_text","find_key","find_keycode_from_string","find_next_valid_focus","find_parent","find_path","find_prev_valid_focus","find_profile_bone_name","find_spatial_entity","find_track","find_translations","find_valid_focus_neighbor","find_variation","find_world_2d","find_world_3d","findn","finish","fit_child_in_rect","fix_alpha_edges","fix_invalid_tiles","flip_x","flip_y","flipped_y","floor","floorf","floori","flush","flush_buffered_events","fmod","focus_in","focus_out","fog_volume_create","fog_volume_set_material","fog_volume_set_shape","fog_volume_set_size","fold","fold_all_lines","fold_line","foldingRange","font_clear_glyphs","font_clear_kerning_map","font_clear_size_cache","font_clear_system_fallback_cache","font_clear_textures","font_draw_glyph","font_draw_glyph_outline","font_get_antialiasing","font_get_ascent","font_get_baseline_offset","font_get_char_from_glyph_index","font_get_descent","font_get_disable_embedded_bitmaps","font_get_embolden","font_get_face_count","font_get_face_index","font_get_fixed_size","font_get_fixed_size_scale_mode","font_get_generate_mipmaps","font_get_global_oversampling","font_get_glyph_advance","font_get_glyph_contours","font_get_glyph_index","font_get_glyph_list","font_get_glyph_offset","font_get_glyph_size","font_get_glyph_texture_idx","font_get_glyph_texture_rid","font_get_glyph_texture_size","font_get_glyph_uv_rect","font_get_hinting","font_get_keep_rounding_remainders","font_get_kerning","font_get_kerning_list","font_get_language_support_override","font_get_language_support_overrides","font_get_msdf_pixel_range","font_get_msdf_size","font_get_name","font_get_opentype_feature_overrides","font_get_ot_name_strings","font_get_oversampling","font_get_palette_colors","font_get_palette_count","font_get_palette_custom_colors","font_get_palette_name","font_get_scale","font_get_script_support_override","font_get_script_support_overrides","font_get_size_cache_info","font_get_size_cache_list","font_get_spacing","font_get_stretch","font_get_style","font_get_style_name","font_get_subpixel_positioning","font_get_supported_chars","font_get_supported_glyphs","font_get_texture_count","font_get_texture_image","font_get_texture_offsets","font_get_transform","font_get_underline_position","font_get_underline_thickness","font_get_used_palette","font_get_variation_coordinates","font_get_weight","font_has_char","font_is_allow_system_fallback","font_is_force_autohinter","font_is_language_supported","font_is_modulate_color_glyphs","font_is_multichannel_signed_distance_field","font_is_script_supported","font_remove_glyph","font_remove_kerning","font_remove_language_support_override","font_remove_script_support_override","font_remove_size_cache","font_remove_texture","font_render_glyph","font_render_range","font_set_allow_system_fallback","font_set_antialiasing","font_set_ascent","font_set_baseline_offset","font_set_data","font_set_descent","font_set_disable_embedded_bitmaps","font_set_embolden","font_set_face_index","font_set_fixed_size","font_set_fixed_size_scale_mode","font_set_force_autohinter","font_set_generate_mipmaps","font_set_global_oversampling","font_set_glyph_advance","font_set_glyph_offset","font_set_glyph_size","font_set_glyph_texture_idx","font_set_glyph_uv_rect","font_set_hinting","font_set_keep_rounding_remainders","font_set_kerning","font_set_language_support_override","font_set_modulate_color_glyphs","font_set_msdf_pixel_range","font_set_msdf_size","font_set_multichannel_signed_distance_field","font_set_name","font_set_opentype_feature_overrides","font_set_oversampling","font_set_palette_custom_colors","font_set_scale","font_set_script_support_override","font_set_spacing","font_set_stretch","font_set_style","font_set_style_name","font_set_subpixel_positioning","font_set_texture_image","font_set_texture_offsets","font_set_transform","font_set_underline_position","font_set_underline_thickness","font_set_used_palette","font_set_variation_coordinates","font_set_weight","font_supported_feature_list","font_supported_variation_list","force_connection_drag_end","force_drag","force_draw","force_fixed_history","force_fs_sync","force_process_and_drop_events","force_raycast_update","force_shapecast_update","force_sync","force_update","force_update_all_bone_transforms","force_update_bone_child_transform","force_update_cache","force_update_list_size","force_update_scroll","force_update_transform","format","format_number","fposmod","framebuffer_create","framebuffer_create_empty","framebuffer_create_multipass","framebuffer_format_create","framebuffer_format_create_empty","framebuffer_format_create_multipass","framebuffer_format_get_texture_samples","framebuffer_get_format","framebuffer_is_valid","free_element","free_menu","free_persistence_context","free_rid","free_spatial_context","free_spatial_entity","free_spatial_snapshot","from","from_angle","from_current","from_dictionary","from_euler","from_hsv","from_mesh","from_native","from_node","from_ok_hsl","from_resource","from_rgba8","from_rgbe9995","from_scale","from_string","front","full_barrier","gen_export_flags","generate","generate_buffer","generate_bus_layout","generate_lod","generate_lods","generate_mipmaps","generate_normals","generate_random_bytes","generate_rsa","generate_sample","generate_scene","generate_scene_unique_id","generate_script_api","generate_self_signed_certificate","generate_tangents","generate_triangle_mesh","generate_unique_id","generic_6dof_joint_get_flag","generic_6dof_joint_get_param","generic_6dof_joint_set_flag","generic_6dof_joint_set_param","get","get_16","get_32","get_64","get_8","get_a","get_aa_size","get_aabb","get_accelerometer","get_accent_color","get_access","get_access_resolved_color","get_access_resolved_depth","get_access_time","get_accessibility_controls_nodes","get_accessibility_described_by_nodes","get_accessibility_description","get_accessibility_element","get_accessibility_flow_to_nodes","get_accessibility_labeled_by_nodes","get_accessibility_live","get_accessibility_name","get_accessor_type","get_accessors","get_action","get_action_count","get_action_description","get_action_down","get_action_left","get_action_mode","get_action_name","get_action_raw_strength","get_action_right","get_action_set","get_action_set_count","get_action_sets","get_action_strength","get_action_type","get_action_up","get_actions","get_active_material","get_add_uv2","get_additional_data","get_additional_rotation","get_adjusted_transform","get_adjustment_brightness","get_adjustment_color_correction","get_adjustment_contrast","get_adjustment_saturation","get_advance_condition","get_advance_expression","get_advance_expression_base_node","get_advance_mode","get_affect_navigation_mesh","get_agent_height","get_agent_max_climb","get_agent_max_slope","get_agent_radius","get_albedo","get_albedo_mix","get_alignment","get_alignment_horizontal","get_alignment_vertical","get_all_countries","get_all_languages","get_all_scripts","get_allow_geometry_helper_nodes","get_allow_reselect","get_allow_rmb_select","get_allow_search","get_allowed_types","get_alpha_antialiasing","get_alpha_antialiasing_edge","get_alpha_blend","get_alpha_blend_op","get_alpha_curve","get_alpha_cut_mode","get_alpha_hash_scale","get_alpha_scissor_threshold","get_alpha_swizzle","get_alternative_level_tile_proxy","get_alternative_tile_id","get_alternative_tiles_count","get_ambient_color","get_ambient_color_energy","get_ambient_light_color","get_ambient_light_energy","get_ambient_light_sky_contribution","get_ambient_mode","get_ambient_source","get_amount","get_amount_ratio","get_amplitude","get_anchor","get_anchor_detection_is_enabled","get_anchor_mode","get_android_surface","get_android_surface_size","get_angle","get_angle_to","get_angular_damp","get_angular_damp_mode","get_angular_damp_space_override_mode","get_angular_delta_limit","get_angular_limit_lower","get_angular_limit_upper","get_angular_velocity","get_animate_physical_bones","get_animation","get_animation_library","get_animation_library_list","get_animation_list","get_animation_list_size","get_animation_loop","get_animation_loop_mode","get_animation_names","get_animation_path","get_animation_player","get_animation_players_count","get_animation_speed","get_animations","get_anisotropic_filtering_level","get_anisotropy","get_anisotropy_max","get_antialiased","get_antialiasing","get_any_hit_shader","get_ao_light_affect","get_ao_texture_channel","get_aperture","get_apply_axis","get_apply_bone","get_apply_bone_name","get_apply_range_max","get_apply_range_min","get_apply_transform_mode","get_april_dict","get_architecture_name","get_area","get_area_mask","get_area_size","get_area_texture","get_argument_count","get_array_layers","get_aruco_dict","get_as_property_path","get_as_ratio","get_as_text","get_ascent","get_aspect","get_aspect_ratio","get_assigned_animation","get_atlas","get_atlas_grid_size","get_attached_nodes","get_attached_nodes_of_frame","get_attachments","get_attack_us","get_attenuation","get_attenuation_filter_cutoff_hz","get_attenuation_filter_db","get_attenuation_model","get_attribute_count","get_attribute_name","get_attribute_value","get_attributes","get_audio_bus_name","get_audio_listener_2d","get_audio_listener_3d","get_audio_max_polyphony","get_audio_track","get_auth_callback","get_auth_timeout","get_authenticating_peers","get_author_info","get_auto_brace_completion_close_key","get_auto_brace_completion_pairs","get_auto_capture_duration","get_auto_capture_ease_type","get_auto_capture_transition_type","get_auto_configure_joint","get_auto_exposure_max_exposure_value","get_auto_exposure_max_sensitivity","get_auto_exposure_min_exposure_value","get_auto_exposure_min_sensitivity","get_auto_exposure_scale","get_auto_exposure_speed","get_auto_indent_prefixes","get_auto_translate_mode","get_auto_triangles","get_autocalculate_length_and_angle","get_autoplay","get_autorestart_delay","get_autorestart_random_delay","get_autoscroll","get_autoshrink_margin","get_autowrap_mode","get_autowrap_trim_flags","get_available_bytes","get_available_display_refresh_rates","get_available_layouts","get_available_packet_count","get_available_point_id","get_avoidance_enabled","get_avoidance_layer_value","get_avoidance_layers","get_avoidance_mask","get_avoidance_mask_value","get_avoidance_priority","get_axis","get_axis_flags","get_axis_lock","get_axis_value","get_b","get_back_op_compare","get_back_op_compare_mask","get_back_op_depth_fail","get_back_op_fail","get_back_op_pass","get_back_op_reference","get_back_op_write_mask","get_background","get_backlight","get_bake_fps","get_bake_interval","get_bake_mask","get_bake_mask_value","get_bake_mesh_instance","get_bake_meshes","get_bake_mode","get_bake_quality","get_bake_resolution","get_bake_simplification_distance","get_baked_length","get_baked_points","get_baked_tilts","get_baked_up_vectors","get_baking_rect","get_baking_rect_offset","get_band_count","get_band_gain_db","get_bar_beats","get_base","get_base_color","get_base_control","get_base_dir","get_base_editor","get_base_error","get_base_font","get_base_path","get_base_scale","get_base_scene_state","get_base_script","get_base_texture","get_base_type","get_baseline_offset","get_basename","get_basis","get_basis_with_orthogonal_index","get_beat_count","get_begin","get_begin_cap_mode","get_bg_color","get_bg_energy_multiplier","get_bg_intensity","get_bias","get_billboard_mode","get_billboard_type","get_bind_bone","get_bind_count","get_bind_name","get_bind_pose","get_binding","get_binding_count","get_binding_modifier","get_binding_modifier_count","get_binding_modifiers","get_binding_path","get_bindings","get_bit","get_bitmask","get_bitv","get_blas","get_blend_constant","get_blend_distance","get_blend_mode","get_blend_point_count","get_blend_point_name","get_blend_point_node","get_blend_point_position","get_blend_shape","get_blend_shape_count","get_blend_shape_mode","get_blend_shape_name","get_blend_shape_value","get_blend_shapes","get_blend_time","get_blend_weights","get_blue_swizzle","get_body_flags","get_body_offset","get_body_size","get_body_size_limit","get_body_tracker","get_body_type","get_body_update","get_bone","get_bone2d_index","get_bone2d_node","get_bone2d_nodepath","get_bone_angle","get_bone_attachment","get_bone_attachment_count","get_bone_children","get_bone_count","get_bone_global_pose","get_bone_global_pose_no_override","get_bone_global_pose_override","get_bone_global_rest","get_bone_id","get_bone_idx","get_bone_index","get_bone_local_pose_override","get_bone_meta","get_bone_meta_list","get_bone_name","get_bone_parent","get_bone_path","get_bone_pose","get_bone_pose_position","get_bone_pose_rotation","get_bone_pose_scale","get_bone_rest","get_bone_size","get_bone_tail","get_bone_update","get_bone_weights","get_bookmarked_lines","get_border_blend","get_border_color","get_border_size","get_border_width","get_border_width_min","get_bottom_radius","get_bounce","get_bounce_indirect_energy","get_bounces","get_bound_arguments","get_bound_arguments_count","get_bound_minimum_size","get_bounds","get_bounds_size","get_bpm","get_brake","get_break_flags","get_breakpointed_lines","get_breakpoints","get_buffer","get_buffer_length","get_buffer_length_frames","get_buffer_view","get_buffer_views","get_buffered_amount","get_buffering_msec","get_buffers","get_build_mode","get_built_in_include_file","get_bump_strength","get_bus","get_bus_channels","get_bus_count","get_bus_effect","get_bus_effect_count","get_bus_effect_instance","get_bus_index","get_bus_name","get_bus_peak_volume_left_db","get_bus_peak_volume_right_db","get_bus_send","get_bus_volume_db","get_bus_volume_linear","get_button","get_button_by_id","get_button_color","get_button_count","get_button_group","get_button_icon","get_button_id","get_button_id_at_position","get_button_index","get_button_mask","get_button_tooltip_text","get_buttons","get_byte_length","get_byte_offset","get_byte_stride","get_cache","get_cache_ascent","get_cache_count","get_cache_descent","get_cache_dir","get_cache_multipass","get_cache_scale","get_cache_underline_position","get_cache_underline_thickness","get_cached_ref","get_callback_mode_discrete","get_callback_mode_method","get_callback_mode_process","get_caller_group_id","get_caller_task_id","get_cam_projection","get_cam_transform","get_camera","get_camera_2d","get_camera_3d","get_camera_active","get_camera_attributes","get_camera_feed_id","get_camera_projection","get_camera_rid","get_camera_transform","get_cameras","get_cancel_button","get_cancel_button_text","get_canvas","get_canvas_cull_mask","get_canvas_cull_mask_bit","get_canvas_instance_id","get_canvas_item","get_canvas_layer_node","get_canvas_max_layer","get_canvas_transform","get_capabilities","get_capacity","get_capture_input_on_drag","get_captured_timestamp_cpu_time","get_captured_timestamp_gpu_time","get_captured_timestamp_name","get_captured_timestamps_count","get_captured_timestamps_frame","get_caret_blink_interval","get_caret_column","get_caret_count","get_caret_draw_pos","get_caret_index_edit_order","get_caret_line","get_caret_type","get_caret_wrap_index","get_carve_navigation_mesh","get_cast_shadows_setting","get_ccdik_data_chain_length","get_ccdik_joint_bone2d_node","get_ccdik_joint_bone_index","get_ccdik_joint_constraint_angle_invert","get_ccdik_joint_constraint_angle_max","get_ccdik_joint_constraint_angle_min","get_ccdik_joint_enable_constraint","get_ccdik_joint_rotate_from_joint","get_ceiling_db","get_cell_alternative_tile","get_cell_atlas_coords","get_cell_height","get_cell_item","get_cell_item_basis","get_cell_item_orientation","get_cell_mode","get_cell_scale","get_cell_shape","get_cell_size","get_cell_source_id","get_cell_tile_data","get_cellular_distance_function","get_cellular_jitter","get_cellular_return_type","get_center","get_center_bone","get_center_bone_name","get_center_from","get_center_node","get_center_of_mass","get_center_of_mass_local","get_center_of_mass_mode","get_center_offset","get_center_pose","get_center_region","get_center_x","get_center_y","get_center_z","get_central_angle","get_central_horizontal_angle","get_chain_count","get_changed_settings","get_channel","get_channels","get_char_from_glyph_index","get_char_size","get_character_bounds","get_character_line","get_character_paragraph","get_child","get_child_count","get_children","get_clampzone_ratio","get_class","get_class_list","get_clear_margin","get_clear_mode","get_clearcoat","get_clearcoat_roughness","get_click_mask","get_clip_auto_advance","get_clip_auto_advance_next_clip","get_clip_children_mode","get_clip_count","get_clip_name","get_clip_stream","get_clip_tabs","get_clip_text","get_close_code","get_close_on_escape","get_close_reason","get_close_with_middle_mouse","get_closest_collision_safe_fraction","get_closest_collision_unsafe_fraction","get_closest_connection_at_point","get_closest_hit_shader","get_closest_offset","get_closest_point","get_closest_point_to_segment","get_closest_point_to_segment_uncapped","get_closest_points_between_segments","get_closest_position_in_segment","get_cmdline_args","get_cmdline_user_args","get_code","get_code_completion_option","get_code_completion_options","get_code_completion_prefixes","get_code_completion_selected_index","get_code_region_end_tag","get_code_region_start_tag","get_collider","get_collider_id","get_collider_rid","get_collider_shape","get_collider_shape_index","get_collider_velocity","get_colliding_bodies","get_collision_base_size","get_collision_bounce","get_collision_count","get_collision_depth","get_collision_exceptions","get_collision_face_index","get_collision_friction","get_collision_layer","get_collision_layer_value","get_collision_local_shape","get_collision_mask","get_collision_mask_value","get_collision_mode","get_collision_normal","get_collision_path","get_collision_point","get_collision_polygon_one_way_margin","get_collision_polygon_points","get_collision_polygons_count","get_collision_priority","get_collision_result","get_collision_safe_fraction","get_collision_unsafe_fraction","get_collision_visibility_mode","get_color","get_color_attachments","get_color_blend_op","get_color_default","get_color_initial_ramp","get_color_layer","get_color_list","get_color_map","get_color_mode","get_color_ramp","get_color_regions","get_color_texture","get_color_type_list","get_colors","get_column_at_position","get_column_expand_ratio","get_column_title","get_column_title_alignment","get_column_title_direction","get_column_title_language","get_column_title_tooltip_text","get_column_width","get_columns","get_combined_maximum_size","get_combined_minimum_size","get_combined_pivot_offset","get_command_palette","get_comment_delimiters","get_common_name_override","get_compare_op","get_comparison_type","get_component_type","get_compositor","get_compositor_effects","get_compression_level","get_compression_mode","get_concatenated_bone_names","get_concatenated_names","get_concatenated_subnames","get_condition","get_config_dir","get_config_error","get_config_missing_templates","get_configuration","get_connected_host","get_connected_joypads","get_connected_midi_inputs","get_connected_path","get_connected_port","get_connection","get_connection_binds","get_connection_count","get_connection_flags","get_connection_line","get_connection_lines_curvature","get_connection_lines_thickness","get_connection_list","get_connection_list_from_node","get_connection_method","get_connection_signal","get_connection_source","get_connection_state","get_connection_status","get_connection_target","get_connection_unbinds","get_connections","get_connections_intersecting_with_rect","get_constant","get_constant_angular_velocity","get_constant_force","get_constant_id","get_constant_linear_velocity","get_constant_list","get_constant_torque","get_constant_type_list","get_constraint_angle_invert","get_constraint_angle_max","get_constraint_angle_min","get_contact_body","get_contact_collider","get_contact_collider_id","get_contact_collider_object","get_contact_collider_position","get_contact_collider_shape","get_contact_collider_velocity_at_position","get_contact_count","get_contact_impulse","get_contact_local_normal","get_contact_local_position","get_contact_local_shape","get_contact_local_velocity_at_position","get_contact_normal","get_contact_point","get_containers","get_content_height","get_content_margin","get_content_scale_aspect","get_content_scale_factor","get_content_scale_mode","get_content_scale_size","get_content_scale_stretch","get_content_width","get_contents_minimum_size","get_continuous_collision_detection_mode","get_control_state","get_controller_number","get_controller_value","get_convex_hull_approximation","get_convex_hull_downsampling","get_coords_for_body_rid","get_coords_level_tile_proxy","get_copy_flags","get_copy_mode","get_copyright","get_copyright_info","get_corner_detail","get_corner_radius","get_correlated_color","get_count","get_country_name","get_create_animations","get_csv_line","get_cube_map","get_cubic_interpolation","get_cull_mask","get_cull_mask_value","get_cull_mode","get_current_action","get_current_action_name","get_current_animation","get_current_animation_length","get_current_animation_position","get_current_clip_index","get_current_cursor_shape","get_current_dir","get_current_directory","get_current_drive","get_current_editor","get_current_feature_profile","get_current_file","get_current_frame","get_current_grid_map","get_current_item_drawn","get_current_length","get_current_line","get_current_navigation_path","get_current_navigation_path_index","get_current_navigation_result","get_current_node","get_current_outbound_buffered_amount","get_current_path","get_current_play_position","get_current_presets","get_current_rendering_driver_name","get_current_rendering_method","get_current_scene","get_current_screen","get_current_script","get_current_tab","get_current_tab_control","get_cursor_shape","get_curve","get_curve_step","get_curve_x","get_curve_y","get_curve_z","get_custom_aabb","get_custom_arrow_step","get_custom_bg_color","get_custom_color","get_custom_data","get_custom_data_by_layer_id","get_custom_data_layer_by_name","get_custom_data_layer_name","get_custom_data_layer_type","get_custom_data_layers_count","get_custom_draw_callback","get_custom_drawing_canvas_item","get_custom_features","get_custom_font","get_custom_font_size","get_custom_format","get_custom_maximum_size","get_custom_minimum_height","get_custom_minimum_size","get_custom_monitor","get_custom_monitor_names","get_custom_monitor_types","get_custom_popup_rect","get_custom_punctuation","get_custom_solver_bias","get_custom_step","get_custom_stylebox","get_custom_viewport","get_custom_word_separators","get_customized_files","get_customized_files_count","get_cutoff","get_cyclic_length","get_damping","get_damping_coefficient","get_damping_compression","get_damping_curve","get_damping_relaxation","get_data","get_data_array","get_data_cells","get_data_dir","get_data_size","get_datatype","get_date_dict_from_system","get_date_dict_from_unix_time","get_date_string_from_system","get_date_string_from_unix_time","get_datetime_dict_from_datetime_string","get_datetime_dict_from_system","get_datetime_dict_from_unix_time","get_datetime_string_from_datetime_dict","get_datetime_string_from_system","get_datetime_string_from_unix_time","get_db","get_deadzone","get_deadzone_ratio","get_debug_color","get_debug_custom_color","get_debug_draw","get_debug_enabled","get_debug_mesh","get_debug_path_custom_color","get_debug_path_custom_line_width","get_debug_path_custom_point_size","get_debug_shape_custom_color","get_debug_shape_thickness","get_debug_use_custom","get_default_base_scale","get_default_blend_time","get_default_canvas_item_texture_filter","get_default_canvas_item_texture_repeat","get_default_clear_color","get_default_color","get_default_compute_heuristic","get_default_cursor_shape","get_default_estimate_heuristic","get_default_font","get_default_font_size","get_default_input_port","get_default_input_values","get_default_interface","get_default_slot","get_default_texture_parameter","get_default_theme","get_default_value","get_delimiter_end_key","get_delimiter_end_position","get_delimiter_start_key","get_delimiter_start_position","get_delta","get_delta_interval","get_denoiser_range","get_denoiser_strength","get_density","get_density_texture","get_dependencies","get_depth","get_depth_attachment","get_depth_bias_clamp","get_depth_bias_constant_factor","get_depth_bias_enabled","get_depth_bias_slope_factor","get_depth_compare_operator","get_depth_draw_mode","get_depth_far","get_depth_layer","get_depth_near","get_depth_range_max","get_depth_range_min","get_depth_test","get_depth_texture","get_descent","get_description","get_description_url","get_deselect_enabled","get_detail_blend_mode","get_detail_sample_distance","get_detail_sample_max_error","get_detail_uv","get_device","get_device_allocation_count","get_device_allocs_by_object_type","get_device_count","get_device_memory_by_object_type","get_device_name","get_device_pipeline_cache_uuid","get_device_total_memory","get_device_vendor_name","get_diagonal_mode","get_diffuse_factor","get_diffuse_img","get_diffuse_mode","get_diffuse_texture","get_direct_space_state","get_direction","get_directionality","get_directories","get_directories_at","get_disable_embedded_bitmaps","get_disable_mode","get_discard_primitives","get_discarded_frames","get_discover_local_port","get_discover_multicast_if","get_disperse_mode","get_display_cutouts","get_display_mode","get_display_refresh_rate","get_display_safe_area","get_display_to_lens","get_display_width","get_distance","get_distance_fade","get_distance_fade_begin","get_distance_fade_length","get_distance_fade_max_distance","get_distance_fade_min_distance","get_distance_fade_shadow","get_distribution_name","get_dock_icon","get_dock_shortcut","get_dof_blur_amount","get_dof_blur_far_distance","get_dof_blur_far_transition","get_dof_blur_near_distance","get_dof_blur_near_transition","get_domain_range","get_domain_warp_amplitude","get_domain_warp_fractal_gain","get_domain_warp_fractal_lacunarity","get_domain_warp_fractal_octaves","get_domain_warp_fractal_type","get_domain_warp_frequency","get_domain_warp_type","get_donor_info","get_doppler_tracking","get_double","get_download_chunk_size","get_download_file","get_downloaded_bytes","get_drag","get_drag_area_control","get_drag_area_controls","get_drag_area_margin_begin","get_drag_area_margin_end","get_drag_area_offset","get_drag_coefficient","get_drag_damping_curve","get_drag_horizontal_offset","get_drag_margin","get_drag_threshold","get_drag_to_rearrange_enabled","get_drag_vertical_offset","get_dragger_visibility","get_draw_control_chars","get_draw_flag","get_draw_focus_border","get_draw_mode","get_draw_order","get_draw_pass_mesh","get_draw_passes","get_drive","get_drive_count","get_drive_label","get_drive_name","get_driver_allocation_count","get_driver_allocs_by_object_type","get_driver_and_device_memory_report","get_driver_memory_by_object_type","get_driver_name","get_driver_resource","get_driver_total_memory","get_drop_mode_flags","get_drop_section_at_position","get_dropcap_lines","get_dropcap_rid","get_dropcap_size","get_dry","get_dst_alpha_blend_factor","get_dst_color_blend_factor","get_duration","get_dynamic_range","get_ease_type","get_edge_count","get_edge_faces","get_edge_fade","get_edge_max_error","get_edge_max_length","get_edge_meta","get_edge_vertex","get_edited","get_edited_column","get_edited_object","get_edited_property","get_edited_resource","get_edited_scene_root","get_editor_description","get_editor_draw_gizmo","get_editor_interface","get_editor_language","get_editor_main_screen","get_editor_only","get_editor_paths","get_editor_scale","get_editor_settings","get_editor_theme","get_editor_toaster","get_editor_undo_redo","get_editor_viewport_2d","get_editor_viewport_3d","get_effect_callback_type","get_effects","get_elapsed_time","get_element_frame","get_ellipsis_char","get_embedded_subwindows","get_embolden","get_emission","get_emission_angle","get_emission_angle_filter_attenuation_db","get_emission_box_extents","get_emission_color_texture","get_emission_colors","get_emission_curve","get_emission_energy","get_emission_energy_multiplier","get_emission_intensity","get_emission_normal_texture","get_emission_normals","get_emission_operator","get_emission_point_count","get_emission_point_texture","get_emission_points","get_emission_rect_extents","get_emission_ring_axis","get_emission_ring_cone_angle","get_emission_ring_height","get_emission_ring_inner_radius","get_emission_ring_radius","get_emission_shape","get_emission_shape_offset","get_emission_shape_scale","get_emission_sphere_radius","get_enable_alpha_to_coverage","get_enable_alpha_to_one","get_enable_blend","get_enable_compare","get_enable_constraint","get_enable_debug_fill","get_enable_depth_clamp","get_enable_depth_range","get_enable_depth_test","get_enable_depth_write","get_enable_flags","get_enable_hole_punch","get_enable_logic_op","get_enable_mode","get_enable_node_path","get_enable_sample_shading","get_enable_stencil","get_enabled","get_enabled_components","get_enabled_features","get_encode_buffer_max_size","get_encrypt_directory","get_encrypt_pck","get_encryption_ex_filter","get_encryption_in_filter","get_encryption_key","get_end","get_end_bone","get_end_bone_direction","get_end_bone_length","get_end_bone_name","get_end_cap_mode","get_end_position","get_endpoint","get_energy","get_energy_multiplier","get_engine_force","get_enter_cost","get_entity","get_entity_id","get_entity_pose","get_entity_state","get_entropy","get_enum_names","get_environment","get_environment_blend_mode","get_environment_custom_color","get_environment_custom_energy","get_environment_custom_sky","get_environment_mode","get_error","get_error_line","get_error_message","get_error_string","get_error_text","get_euler","get_event_index","get_events","get_exception","get_exclude","get_exclude_bodies","get_exclude_collision_count","get_exclude_collision_path","get_exclude_filter","get_exclude_nodes_from_collision","get_exclude_objects","get_exclude_parent_body","get_excluded_regions","get_executable_path","get_executing_lines","get_execution_mode","get_expand_margin","get_expand_mode","get_expand_right","get_expanded_container","get_explosiveness_ratio","get_export_as_menu","get_export_filter","get_export_path","get_export_platform","get_export_preset","get_exposure_multiplier","get_exposure_sensitivity","get_expression","get_extended_attribute","get_extended_attribute_string","get_extended_attributes_list","get_extension","get_external_force","get_external_skeleton","get_external_texture_id","get_extra_baseline_offset","get_extra_cull_margin","get_extra_spacing","get_eye_height","get_eye_visibility","get_fabrik_data_chain_length","get_fabrik_joint_bone2d_node","get_fabrik_joint_bone_index","get_fabrik_joint_magnet_position","get_fabrik_joint_use_target_rotation","get_face_count","get_face_edge","get_face_index","get_face_meta","get_face_normal","get_face_tracker","get_face_vertex","get_faces","get_factor","get_fade_time","get_fadein_curve","get_fadein_time","get_fadeout_curve","get_fadeout_time","get_fading_from_length","get_fading_from_node","get_fading_from_play_position","get_fading_length","get_fading_position","get_fallback_base_scale","get_fallback_environment","get_fallback_font","get_fallback_font_size","get_fallback_icon","get_fallback_image_format","get_fallback_image_quality","get_fallback_segments","get_fallback_stylebox","get_fallbacks","get_far","get_far_plane_half_extents","get_favorite_list","get_favorites","get_feature","get_feature_name","get_features","get_feed","get_feed_count","get_feedback","get_feedback_delay_ms","get_feedback_level_db","get_feedback_lowpass","get_fft_size","get_file","get_file_as_bytes","get_file_as_string","get_file_count","get_file_export_mode","get_file_import_is_valid","get_file_mode","get_file_path","get_file_script_class_extends","get_file_script_class_name","get_file_system_dock","get_file_type","get_file_uri","get_filename","get_filename_filter","get_files","get_files_at","get_files_to_export","get_filesystem","get_filesystem_path","get_filesystem_type","get_fill","get_fill_degrees","get_fill_from","get_fill_mode","get_fill_to","get_filter_baking_aabb","get_filter_baking_aabb_offset","get_filter_ledge_spans","get_filter_low_hanging_obstacles","get_filter_walkable_low_height_spans","get_filters","get_final_position","get_final_transform","get_first_child","get_first_node_in_group","get_first_non_whitespace_column","get_first_visible_line","get_fit_margin","get_fix_alpha_border","get_fixed_column_width","get_fixed_fps","get_fixed_icon_size","get_fixed_size","get_fixed_size_scale_mode","get_flag","get_flag_x","get_flag_y","get_flag_z","get_flags","get_flatness","get_flip_bend_direction","get_flip_faces","get_flip_h","get_flip_v","get_float","get_float_buffer","get_floor_angle","get_floor_max_angle","get_floor_normal","get_floor_snap_length","get_focal_length","get_focus_behavior_recursive","get_focus_distance","get_focus_mode","get_focus_mode_with_override","get_focus_neighbor","get_focus_next","get_focus_previous","get_focused_item","get_focused_window","get_fog_aerial_perspective","get_fog_density","get_fog_depth_begin","get_fog_depth_curve","get_fog_depth_end","get_fog_height","get_fog_height_density","get_fog_light_color","get_fog_light_energy","get_fog_mode","get_fog_sky_affect","get_fog_sun_scatter","get_foldable_group","get_folded_lines","get_follow_bone_when_simulating","get_follow_viewport","get_follow_viewport_scale","get_font","get_font_color","get_font_italic","get_font_list","get_font_name","get_font_names","get_font_size","get_font_size_list","get_font_size_type_list","get_font_stretch","get_font_style","get_font_style_name","get_font_type_list","get_font_weight","get_force_native","get_force_show_icon","get_forced_export_files","get_format","get_format_override","get_formats","get_forward_axis","get_fov","get_fov_override","get_foveation_dynamic","get_foveation_level","get_foveation_with_subsampled_images","get_fovy","get_fractal_gain","get_fractal_lacunarity","get_fractal_octaves","get_fractal_ping_pong_strength","get_fractal_type","get_fractal_weighted_strength","get_fractional_delta","get_frame","get_frame_coords","get_frame_count","get_frame_delay","get_frame_duration","get_frame_file","get_frame_function","get_frame_line","get_frame_progress","get_frame_setup_time_cpu","get_frame_texture","get_frames","get_frames_available","get_frames_drawn","get_frames_per_second","get_free_input_port_id","get_free_output_port_id","get_freeze_mode","get_frequency","get_friction","get_friction_slip","get_from","get_front_face","get_front_op_compare","get_front_op_compare_mask","get_front_op_depth_fail","get_front_op_fail","get_front_op_pass","get_front_op_reference","get_front_op_write_mask","get_frustum","get_frustum_offset","get_fsr_sharpness","get_function","get_function_color","get_future","get_gain","get_gateway","get_gathering_state","get_generate_mipmaps","get_generate_probes","get_gi_mode","get_gizmo_extents","get_gizmos","get_glb_data","get_global_basis","get_global_canvas_transform","get_global_class_list","get_global_end_position","get_global_mouse_position","get_global_name","get_global_position","get_global_rect","get_global_rotation","get_global_rotation_degrees","get_global_scale","get_global_skew","get_global_start_position","get_global_transform","get_global_transform_interpolated","get_global_transform_with_canvas","get_global_variable_count","get_global_variable_name","get_global_variable_value","get_gloss_factor","get_glow_blend_mode","get_glow_bloom","get_glow_hdr_bleed_scale","get_glow_hdr_bleed_threshold","get_glow_hdr_luminance_cap","get_glow_intensity","get_glow_level","get_glow_map","get_glow_map_strength","get_glow_mix","get_glow_strength","get_gltf_to_godot_expression","get_glyph_advance","get_glyph_count","get_glyph_flags","get_glyph_index","get_glyph_list","get_glyph_offset","get_glyph_size","get_glyph_texture_idx","get_glyph_uv_rect","get_godot_bone_node","get_godot_skeleton","get_godot_skin","get_godot_to_gltf_expression","get_gradient","get_granted_permissions","get_graph_offset","get_gravity","get_gravity_damping_curve","get_gravity_direction","get_gravity_point_center","get_gravity_point_unit_distance","get_gravity_scale","get_gravity_space_override_mode","get_green_swizzle","get_grid_pattern","get_ground_bottom_color","get_ground_color","get_ground_curve","get_ground_energy_multiplier","get_ground_horizon_color","get_group","get_group_count","get_group_name","get_group_processed_element_count","get_group_size","get_groups","get_grow","get_grow_begin","get_grow_end","get_gutter_count","get_gutter_name","get_gutter_type","get_gutter_width","get_gyroscope","get_h_axis_stretch_mode","get_h_grow_direction","get_h_offset","get_h_scroll","get_h_scroll_bar","get_h_size_flags","get_half","get_hand","get_hand_joint_angular_velocity","get_hand_joint_flags","get_hand_joint_linear_velocity","get_hand_joint_position","get_hand_joint_radius","get_hand_joint_rotation","get_hand_joint_transform","get_hand_skeleton","get_hand_tracker","get_hand_tracking_source","get_handle_binary_image","get_handle_binary_image_mode","get_handle_offset","get_handshake_headers","get_handshake_timeout","get_has_tracking_data","get_heartbeat_interval","get_height","get_height_falloff","get_heightfield_mask","get_heightfield_mask_value","get_heightmap_deep_parallax_flip_binormal","get_heightmap_deep_parallax_flip_tangent","get_heightmap_deep_parallax_max_layers","get_heightmap_deep_parallax_min_layers","get_heightmap_scale","get_held_modification_stack","get_hex_code_box_size","get_hframes","get_hidden_attribute","get_hide_on_ok","get_hint","get_hinting","get_history_count","get_history_undo_redo","get_hit_length","get_hit_sbt_range","get_hmd_transform","get_horizontal_alignment","get_horizontal_custom_step","get_horizontal_scroll_mode","get_horizontal_wrap","get_host","get_hpf","get_http_client_status","get_icon","get_icon_alignment","get_icon_expand_mode","get_icon_list","get_icon_max_width","get_icon_mode","get_icon_modulate","get_icon_name","get_icon_overlay","get_icon_region","get_icon_scale","get_icon_type_list","get_id","get_id_for_path","get_id_path","get_ids","get_igd_control_url","get_igd_our_addr","get_igd_service_type","get_igd_status","get_ignore_texture_size","get_image","get_image_3d","get_image_format","get_image_size","get_images","get_import_as_skeleton_bones","get_importer_mesh","get_inbound_buffer_size","get_include_filter","get_include_hidden","get_include_navigational","get_included_regions","get_incoming_connections","get_indent_level","get_indent_size","get_index","get_index_buffer","get_index_count","get_index_in_skeleton","get_index_offset","get_indexed","get_indices","get_inertia","get_inertia_diagonal","get_inertia_orientation","get_inertia_tensor","get_inferred_direction","get_influence","get_inherit_velocity_ratio","get_inheriters_from_class","get_initial_clip","get_initial_offset","get_initial_offset_ratio","get_initial_position","get_inner_cone_angle","get_inner_radius","get_input","get_input_attachments","get_input_buffer_length_frames","get_input_buffer_max_size","get_input_count","get_input_device","get_input_device_list","get_input_frames","get_input_frames_available","get_input_mix_rate","get_input_name","get_input_path","get_input_port_color","get_input_port_count","get_input_port_default_value","get_input_port_position","get_input_port_slot","get_input_port_type","get_input_real_name","get_input_source_target_ray_mode","get_input_source_tracker","get_inputs","get_inspector","get_instance","get_instance_base_type","get_instance_color","get_instance_count","get_instance_custom_data","get_instance_id","get_instance_index","get_instance_materials","get_instance_path","get_instance_proc_addr","get_instance_shader_parameter","get_instance_transform","get_instance_transform_2d","get_instrument","get_intensity","get_interaction_profile","get_interaction_profile_count","get_interaction_profile_path","get_interaction_profiles","get_interface","get_interface_count","get_interfaces","get_internal_export_files","get_internal_size","get_internal_vertex_count","get_interp_to_end","get_interpolate","get_interpolation","get_interpolation_color_space","get_interpolation_mode","get_interpolation_remaining","get_intersection_shader","get_intersections","get_inverse_binds","get_inverse_inertia","get_inverse_inertia_tensor","get_inverse_mass","get_invert","get_invert_border","get_invert_enabled","get_invert_flags","get_iod","get_is_active","get_is_discardable","get_is_hemisphere","get_is_resolve_buffer","get_is_setup","get_is_sticky","get_is_trigger","get_item_accelerator","get_item_area_rect","get_item_at_position","get_item_auto_translate_mode","get_item_callback","get_item_count","get_item_cull_mask","get_item_custom_bg_color","get_item_custom_fg_color","get_item_icon","get_item_icon_max_width","get_item_icon_modulate","get_item_icon_region","get_item_id","get_item_indent","get_item_indentation_level","get_item_index","get_item_key_callback","get_item_language","get_item_list","get_item_max_states","get_item_mesh","get_item_mesh_cast_shadow","get_item_mesh_transform","get_item_metadata","get_item_multistate","get_item_multistate_max","get_item_name","get_item_navigation_layers","get_item_navigation_mesh","get_item_navigation_mesh_transform","get_item_preview","get_item_rect","get_item_shadow_cull_mask","get_item_shapes","get_item_shortcut","get_item_state","get_item_submenu","get_item_submenu_node","get_item_tag","get_item_text","get_item_text_direction","get_item_tooltip","get_iv_state","get_java_class","get_java_class_name","get_java_method_list","get_java_parent_class","get_jiggle_data_chain_length","get_jiggle_joint_bone2d_node","get_jiggle_joint_bone_index","get_jiggle_joint_damping","get_jiggle_joint_gravity","get_jiggle_joint_mass","get_jiggle_joint_override","get_jiggle_joint_stiffness","get_jiggle_joint_use_gravity","get_joint","get_joint_bone","get_joint_bone_name","get_joint_count","get_joint_drag","get_joint_flags","get_joint_gravity","get_joint_gravity_direction","get_joint_i_to_bone_i","get_joint_i_to_name","get_joint_limitation","get_joint_limitation_right_axis","get_joint_limitation_right_axis_vector","get_joint_limitation_rotation_offset","get_joint_mode","get_joint_offset","get_joint_one_bone2d_node","get_joint_one_bone_idx","get_joint_radius","get_joint_rotation","get_joint_rotation_axis","get_joint_rotation_axis_vector","get_joint_stiffness","get_joint_transform","get_joint_twist_amount","get_joint_two_bone2d_node","get_joint_two_bone_idx","get_joint_type","get_joints","get_joints_original","get_joy_accelerometer","get_joy_axis","get_joy_gravity","get_joy_guid","get_joy_gyroscope","get_joy_info","get_joy_motion_sensors_calibration","get_joy_motion_sensors_rate","get_joy_name","get_joy_vibration_duration","get_joy_vibration_remaining_duration","get_joy_vibration_strength","get_joystick_mode","get_joystick_size","get_json","get_json_pointers","get_justification_flags","get_k1","get_k2","get_keep_aspect_mode","get_keep_hf_hz","get_keep_rounding_remainders","get_keep_title_visible","get_keep_y_velocity","get_kerning","get_kerning_list","get_key_label","get_key_label_with_modifiers","get_keyboard_focus_screen","get_keycode","get_keycode_string","get_keycode_with_modifiers","get_keyword_color","get_keyword_colors","get_label","get_label_settings","get_language","get_language_name","get_language_support_override","get_language_support_overrides","get_last_exclusive_window","get_last_full_visible_line","get_last_full_visible_line_wrap_index","get_last_motion","get_last_mouse_screen_velocity","get_last_mouse_velocity","get_last_slide_collision","get_last_unhidden_line","get_last_unused_item_id","get_last_wrap_alignment","get_layer","get_layer_data","get_layer_for_body_rid","get_layer_mask","get_layer_mask_value","get_layer_modulate","get_layer_name","get_layer_navigation_map","get_layer_range_max","get_layer_range_min","get_layer_viewport","get_layer_y_sort_origin","get_layer_z_index","get_layered_type","get_layers","get_layers_count","get_layout_direction","get_layout_key","get_left_to_right","get_length","get_level_counts","get_license_info","get_license_text","get_lifetime","get_lifetime_randomness","get_light","get_light_data","get_light_mask","get_light_mode","get_light_texture","get_light_type","get_lightmap_scale","get_lightmap_size_hint","get_lightmap_texel_scale","get_lightmap_textures","get_lights","get_limit","get_limit_begin","get_limit_end","get_line","get_line_ascent","get_line_background_color","get_line_column_at_pos","get_line_count","get_line_descent","get_line_edit","get_line_gutter_icon","get_line_gutter_item_color","get_line_gutter_metadata","get_line_gutter_text","get_line_height","get_line_length_guidelines","get_line_numbers_min_digits","get_line_object_rect","get_line_objects","get_line_offset","get_line_range","get_line_ranges_from_carets","get_line_rid","get_line_size","get_line_spacing","get_line_syntax_highlighting","get_line_underline_position","get_line_underline_thickness","get_line_width","get_line_with_ime","get_line_wrap_count","get_line_wrap_index_at_column","get_line_wrapped_text","get_line_wrapping_mode","get_linear_damp","get_linear_damp_mode","get_linear_damp_space_override_mode","get_linear_stiffness","get_linear_velocity","get_lines_left","get_lines_skipped","get_list_stream","get_listener_transform","get_load_path","get_loaded_extensions","get_loaded_locales","get_local_addresses","get_local_interfaces","get_local_mouse_pos","get_local_mouse_position","get_local_port","get_local_scene","get_local_shape","get_local_variable_count","get_local_variable_name","get_local_variable_value","get_locale","get_locale_language","get_locale_name","get_locale_override","get_localized_name","get_location","get_lod_bias","get_lod_multiplier","get_logic_op","get_longest_axis","get_longest_axis_index","get_longest_axis_size","get_loop","get_loop_begin","get_loop_count","get_loop_end","get_loop_mode","get_loop_offset","get_loops_left","get_lossy_quality","get_low_processor_usage_mode_sleep_usec","get_lower_fade","get_lower_vertical_angle","get_luminance","get_mag_filter","get_magnet_position","get_magnetometer","get_magnitude_for_frequency_range","get_main_loop","get_main_thread_id","get_major_version","get_make_local_to_pose","get_map","get_map_data","get_map_depth","get_map_width","get_maps","get_margin","get_margins","get_marker_at_time","get_marker_color","get_marker_data","get_marker_id","get_marker_names","get_marker_time","get_marker_type","get_mask","get_mass","get_material","get_material_overlay","get_material_override","get_materials","get_max","get_max_angular_velocity","get_max_anisotropy","get_max_channels","get_max_collisions","get_max_columns","get_max_concavity","get_max_contacts_reported","get_max_convex_hulls","get_max_db","get_max_delta_packet_size","get_max_distance","get_max_domain","get_max_fps","get_max_height","get_max_iterations","get_max_length","get_max_lines_visible","get_max_lod","get_max_neighbors","get_max_num_vertices_per_convex_hull","get_max_packet_life_time","get_max_pending_connections","get_max_physics_steps_per_frame","get_max_polyphony","get_max_queued_packets","get_max_redirects","get_max_results","get_max_retransmits","get_max_size","get_max_slides","get_max_space","get_max_speed","get_max_steps","get_max_sync_packet_size","get_max_tab_width","get_max_text_lines","get_max_texture_size","get_max_value","get_maximum_size","get_md5","get_member_keyword_color","get_member_keyword_colors","get_member_variable_color","get_member_variable_count","get_member_variable_name","get_member_variable_value","get_memory_info","get_memory_usage","get_menu","get_menu_count","get_menu_hbox","get_menu_popup","get_menu_title","get_menu_tooltip","get_mesh","get_mesh_arrays","get_mesh_index","get_mesh_library","get_mesh_lod_threshold","get_mesh_offset","get_meshes","get_message","get_message_category","get_message_count","get_message_list","get_message_text","get_message_type","get_meta","get_meta_list","get_metadata","get_metadata_flags","get_metallic","get_metallic_texture_channel","get_method","get_method_argument_count","get_method_call_mode","get_method_list","get_mid_height","get_middle_bone","get_middle_bone_name","get_mie_coefficient","get_mie_color","get_mie_eccentricity","get_min","get_min_distance","get_min_domain","get_min_filter","get_min_height","get_min_lod","get_min_sample_shading","get_min_size","get_min_space","get_min_value","get_min_volume_per_convex_hull","get_minimap_line_at_pos","get_minimap_opacity","get_minimap_size","get_minimap_visible_lines","get_minimap_width","get_minimum_library_initialization_level","get_minimum_size","get_minimum_width","get_minor_version","get_mip_filter","get_mipmap_count","get_mipmap_mode","get_mipmap_offset","get_mipmaps","get_mirroring","get_mix","get_mix_mode","get_mix_rate","get_mix_rate_mode","get_mix_target","get_mode","get_model_name","get_modification","get_modification_count","get_modification_stack","get_modified_time","get_modifier_callback_mode_process","get_modifiers_mask","get_modulate","get_monitor","get_monitor_modification_time","get_motion","get_motion_mode","get_motion_offset","get_motion_range","get_motion_scale","get_motor_target_velocity","get_mouse_behavior_recursive","get_mouse_button_mask","get_mouse_filter","get_mouse_filter_with_override","get_mouse_mode","get_mouse_passthrough_polygon","get_mouse_position","get_msaa_2d","get_msaa_3d","get_msdf_outline_size","get_msdf_pixel_range","get_msdf_size","get_multiline_string_size","get_multimesh","get_multiplayer","get_multiplayer_authority","get_multiplayer_peer","get_name","get_name_count","get_name_split_ratio","get_named_attribute_value","get_named_attribute_value_safe","get_names","get_navigation_layer_layer_value","get_navigation_layer_layers","get_navigation_layer_value","get_navigation_layers","get_navigation_layers_count","get_navigation_map","get_navigation_mesh","get_navigation_polygon","get_navigation_visibility_mode","get_near","get_needs_motion_vectors","get_needs_normal_roughness","get_needs_separate_specular","get_neighbor_cell","get_neighbor_distance","get_next","get_next_alternative_tile_id","get_next_composite_character_column","get_next_frame_time","get_next_in_tree","get_next_marker","get_next_pass","get_next_path_position","get_next_scene_tile_id","get_next_selected","get_next_source_id","get_next_visible","get_next_visible_line_index_offset_from","get_next_visible_line_offset_from","get_night_sky","get_nine_patch_stretch","get_node","get_node_3d","get_node_3d_rotate_snap","get_node_3d_scale_snap","get_node_3d_translate_snap","get_node_a","get_node_and_resource","get_node_b","get_node_connections","get_node_count","get_node_count_in_group","get_node_data","get_node_groups","get_node_index","get_node_instance","get_node_instance_placeholder","get_node_list","get_node_name","get_node_offset","get_node_or_null","get_node_owner_path","get_node_path","get_node_paths","get_node_position","get_node_property_count","get_node_property_name","get_node_property_value","get_node_rpc_config","get_node_type","get_nodes","get_nodes_in_group","get_noise","get_noise_1d","get_noise_2d","get_noise_2dv","get_noise_3d","get_noise_3dv","get_noise_type","get_non_joints","get_non_wrapped_size","get_nonclient_area","get_normal","get_normal_bias","get_normal_fade","get_normal_scale","get_normal_texture","get_normalize_mesh","get_normalized","get_number_color","get_object","get_object_history_id","get_object_id","get_object_model_type","get_object_rect","get_objects","get_obstruction_outlines","get_occluder","get_occluder_light_mask","get_occluder_polygon","get_occluder_polygons_count","get_occlusion_layer_light_mask","get_occlusion_layer_sdf_collision","get_occlusion_layers_count","get_octant_coords_from_cell_coords","get_octant_size","get_octants_in_bounds","get_octree_cells","get_octree_size","get_off_haptic","get_off_threshold","get_offset","get_offset_buttons_visible","get_offset_rect","get_offset_string_from_offset_minutes","get_offset_transform_pivot","get_offset_transform_pivot_ratio","get_offset_transform_position","get_offset_transform_position_ratio","get_offset_transform_rotation","get_offset_transform_scale","get_offsets","get_ok_button","get_ok_button_text","get_on_haptic","get_on_threshold","get_one_shot","get_one_way_collision_direction","get_one_way_collision_margin","get_op_type","get_open_error","get_open_scene_roots","get_open_scenes","get_open_script_editors","get_open_scripts","get_opentype_feature_overrides","get_opentype_features","get_openxr_api","get_openxr_version","get_operation","get_operator","get_option","get_option_count","get_option_default","get_option_index","get_option_name","get_option_value","get_option_values","get_optional_features","get_or_add","get_or_add_domain","get_or_env","get_order","get_orientation","get_origin","get_origin_bone","get_origin_bone_name","get_origin_external_node","get_origin_from","get_origin_offset","get_origin_safe_margin","get_original_class","get_original_name","get_original_scene","get_orphan_node_ids","get_orthogonal_index_from_basis","get_os_name","get_ot_name_strings","get_outbound_buffer_size","get_outer_cone_angle","get_outer_radius","get_outline","get_outline_color","get_outline_count","get_outline_modulate","get_outline_render_priority","get_outline_size","get_output_buffer_max_size","get_output_device","get_output_device_list","get_output_latency","get_output_max_linear_value","get_output_port_color","get_output_port_count","get_output_port_for_preview","get_output_port_position","get_output_port_slot","get_output_port_type","get_outputs","get_over_texture","get_overlapping_areas","get_overlapping_bodies","get_override_pose","get_oversample","get_oversampling","get_oversampling_override","get_oversampling_with_scale","get_own_certificate","get_owner","get_packet","get_packet_channel","get_packet_data","get_packet_error","get_packet_flags","get_packet_granule_positions","get_packet_ip","get_packet_mode","get_packet_peer","get_packet_port","get_packet_sequence","get_page","get_palette_colors","get_palette_count","get_palette_custom_colors","get_palette_index","get_palette_name","get_pan","get_pan_pullout","get_panning_scheme","get_panning_strength","get_panorama","get_paragraph_count","get_paragraph_offset","get_paragraph_separator","get_paragraph_spacing","get_param","get_param_curve","get_param_max","get_param_min","get_param_texture","get_param_x","get_param_y","get_param_z","get_parameter","get_parameter_name","get_parent","get_parent_area_size","get_parent_class","get_parent_collision_ignore","get_parent_control","get_parent_node_3d","get_parent_skeleton","get_parentless_bones","get_parsed_collision_mask","get_parsed_collision_mask_value","get_parsed_geometry_type","get_parsed_text","get_partial_data","get_particle_flag","get_particles_anim_h_frames","get_particles_anim_loop","get_particles_anim_v_frames","get_particles_animation","get_pascal_string","get_patch_control_points","get_patch_margin","get_patches","get_path","get_path_3d","get_path_absolute","get_path_count","get_path_desired_distance","get_path_height_offset","get_path_interval","get_path_interval_type","get_path_length","get_path_max_distance","get_path_metadata_flags","get_path_node","get_path_owner_ids","get_path_postprocessing","get_path_return_max_length","get_path_return_max_radius","get_path_rids","get_path_rotation","get_path_rotation_accurate","get_path_search_max_distance","get_path_search_max_polygons","get_path_simplify_angle","get_path_to","get_path_types","get_path_u_distance","get_pathfinding_algorithm","get_paths","get_pattern","get_patterns_count","get_pause","get_peer","get_peer_address","get_peer_port","get_peers","get_pen_inverted","get_percent_sign","get_perf_report","get_persistence_context_handle","get_persistence_contexts","get_persistent_state","get_persistent_uuid","get_perspective","get_physical_bone_chain_length","get_physical_bone_node","get_physical_keycode","get_physical_keycode_with_modifiers","get_physics_frames","get_physics_interpolation_fraction","get_physics_interpolation_mode","get_physics_interpolation_quality","get_physics_jitter_fix","get_physics_layer_collision_layer","get_physics_layer_collision_mask","get_physics_layer_collision_priority","get_physics_layer_physics_material","get_physics_layers_count","get_physics_material","get_physics_material_override","get_physics_object_picking","get_physics_object_picking_first_only","get_physics_object_picking_sort","get_physics_process_delta_time","get_physics_process_priority","get_physics_quadrant_size","get_physics_rid","get_physics_ticks_per_second","get_pick_color","get_picker","get_picker_shape","get_pitch","get_pitch_scale","get_pivot_offset","get_pivot_offset_ratio","get_pixel","get_pixel_size","get_pixels_per_meter","get_pixelv","get_placeholder","get_plane","get_plane_alignment","get_plane_downsampling","get_plane_label","get_plane_semantic_label","get_platform_angular_velocity","get_platform_floor_layers","get_platform_on_leave","get_platform_velocity","get_platform_wall_layers","get_play_area","get_play_area_mode","get_play_mode","get_play_space","get_playback_mode","get_playback_position","get_playback_speed_scale","get_playback_type","get_playing_scene","get_playing_speed","get_plugin","get_plugin_version","get_plural_message","get_plural_rules","get_plural_rules_override","get_point_capacity","get_point_connections","get_point_count","get_point_data_in_region","get_point_ids","get_point_in","get_point_left_mode","get_point_left_tangent","get_point_out","get_point_path","get_point_penalty","get_point_position","get_point_right_mode","get_point_right_tangent","get_point_size","get_point_tilt","get_point_transform","get_point_weight_scale","get_points","get_pole_direction","get_pole_direction_vector","get_pole_node","get_polygon","get_polygon_count","get_polygons","get_polyphony","get_popup","get_popup_close_callback","get_popup_open_callback","get_port_type","get_pos_at_line_column","get_pose","get_pose_name","get_position","get_position_delta","get_position_offset","get_position_smoothing_speed","get_position_with_decorations","get_positional_shadow_atlas_16_bits","get_positional_shadow_atlas_quadrant_subdiv","get_positional_shadow_atlas_size","get_post_gain","get_pre_gain","get_pre_gain_db","get_pre_process_time","get_precision","get_predelay_feedback","get_predelay_msec","get_predicted_display_time","get_prefix","get_premult_alpha","get_preserve_attachments","get_preserve_control","get_preserve_invalid","get_preset_name","get_presets","get_pressed_button","get_pressure","get_pressure_coefficient","get_prev","get_prev_in_tree","get_prev_marker","get_prev_visible","get_previous_composite_character_column","get_previous_tab","get_primary_damp_threshold","get_primary_interface","get_primary_limit_angle","get_primary_negative_damp_threshold","get_primary_negative_limit_angle","get_primary_positive_damp_threshold","get_primary_positive_limit_angle","get_primary_rotation_axis","get_primary_screen","get_primitive_type","get_principal_inertia_axes","get_priority","get_private_key","get_probability","get_probe_data","get_process_callback","get_process_delta_time","get_process_exit_code","get_process_frames","get_process_id","get_process_info","get_process_material","get_process_mode","get_process_priority","get_process_thread_group","get_process_thread_group_order","get_process_thread_messages","get_processed_tweens","get_processing_animation_tree_instance_id","get_processor_count","get_processor_name","get_profile","get_progress","get_progress_bar_delay","get_progress_ratio","get_progress_texture","get_project_hull_vertices","get_project_metadata","get_project_setting","get_project_settings_dir","get_project_theme","get_projected_obstructions","get_projection","get_projection_for_view","get_projection_layer","get_projection_plane","get_projector","get_propagation","get_properties","get_property_default_value","get_property_list","get_protocol","get_proximity_fade_distance","get_pseudolocalization_expansion_ratio","get_pseudolocalization_prefix","get_pseudolocalization_suffix","get_pushed_frames","get_pyramid_shape_rid","get_quad_size","get_qualifier","get_quaternion","get_queue","get_radial_center_offset","get_radial_initial_angle","get_radial_segments","get_radial_steps","get_radiance_size","get_radius","get_radius_damping_curve","get_random_pitch","get_random_pitch_semitones","get_random_volume_offset_db","get_randomness_ratio","get_range","get_range_config","get_range_max_hz","get_range_min_hz","get_rate_hz","get_ratio","get_rayleigh_coefficient","get_rayleigh_color","get_read_chunk_size","get_read_only_attribute","get_ready_state","get_real","get_real_velocity","get_recent_dirs","get_recent_list","get_recent_presets","get_recognized_extensions","get_recognized_extensions_for_type","get_recording","get_rect","get_rect_at_line_column","get_red_swizzle","get_ref","get_reference_axis","get_reference_bone","get_reference_bone_name","get_reference_count","get_reference_frame","get_reference_node","get_reference_pose","get_reference_range_max","get_reference_range_min","get_reference_space_type","get_reference_transform_mode","get_reference_type","get_reflection_mask","get_reflection_source","get_refraction","get_refraction_texture_channel","get_region","get_region_merge_size","get_region_min_size","get_region_rect","get_region_rid","get_relative","get_relative_index","get_relative_transform_to_parent","get_relax_frame_interval","get_release","get_release_ms","get_remainder","get_remaining_time","get_remote_address","get_remote_node","get_remote_port","get_remote_sender_id","get_render_info","get_render_model","get_render_priority","get_render_scene_buffers","get_render_scene_data","get_render_state_z_far","get_render_state_z_near","get_render_target","get_render_target_size","get_render_target_size_multiplier","get_render_target_texture","get_rendering_device","get_rendering_info","get_rendering_quadrant_size","get_repeat","get_repeat_size","get_repeat_times","get_repeat_u","get_repeat_v","get_repeat_w","get_replication_config","get_replication_interval","get_requested_reference_space_types","get_requested_url","get_required_features","get_resolution","get_resolve_attachments","get_resolve_item_address","get_resolve_item_addresses","get_resolve_item_status","get_resonance","get_resource","get_resource_filesystem","get_resource_id_for_path","get_resource_list","get_resource_previewer","get_resource_uid","get_response_body_length","get_response_code","get_response_headers","get_response_headers_as_dictionary","get_rest","get_rest_info","get_rest_length","get_restart_on_exit_arguments","get_result_value","get_reverb_amount","get_reverb_bus_name","get_reverb_uniformity","get_revolution_axes_clipping_bias","get_rid","get_rids","get_right_icon","get_right_icon_scale","get_rim","get_rim_tint","get_ring_segments","get_ring_sides","get_rings","get_roll_influence","get_room_size","get_root","get_root_bone","get_root_bone_name","get_root_motion_position","get_root_motion_position_accumulator","get_root_motion_rotation","get_root_motion_rotation_accumulator","get_root_motion_scale","get_root_motion_scale_accumulator","get_root_motion_track","get_root_node","get_root_node_mode","get_root_nodes","get_root_path","get_root_subfolder","get_roots","get_rotation","get_rotation_3d_max","get_rotation_3d_min","get_rotation_axis","get_rotation_axis_vector","get_rotation_degrees","get_rotation_edit_mode","get_rotation_mode","get_rotation_offset","get_rotation_order","get_rotation_quaternion","get_rotation_smoothing_speed","get_rotation_velocity_3d_curve","get_rotation_velocity_3d_max","get_rotation_velocity_3d_min","get_roughness","get_roughness_texture_channel","get_round_precision","get_rpc_config","get_rpm","get_runtime_texture","get_runtime_tile_texture_region","get_safe_margin","get_sample_count","get_sample_masks","get_sample_partition_type","get_sample_playback","get_sampler","get_samples","get_sampling_rate","get_saturation","get_saved_version","get_scale","get_scale_3d_max","get_scale_3d_min","get_scale_base_bone","get_scale_curve_x","get_scale_curve_y","get_scale_curve_z","get_scaled_rid","get_scaling_3d_mode","get_scaling_3d_scale","get_scanning_progress","get_scenario","get_scene","get_scene_file_path","get_scene_instance_load_placeholder","get_scene_name","get_scene_node","get_scene_node_path","get_scene_tile_display_placeholder","get_scene_tile_id","get_scene_tile_scene","get_scene_tiles_count","get_scene_unique_id","get_screen_center_position","get_screen_count","get_screen_from_rect","get_screen_offset","get_screen_position","get_screen_relative","get_screen_rotation","get_screen_space_aa","get_screen_transform","get_screen_velocity","get_script","get_script_constant_map","get_script_create_dialog","get_script_editor","get_script_export_mode","get_script_language","get_script_language_count","get_script_method_list","get_script_name","get_script_owner","get_script_property_list","get_script_signal_list","get_script_support_override","get_script_support_overrides","get_scroll","get_scroll_base_offset","get_scroll_base_scale","get_scroll_hint_mode","get_scroll_offset","get_scroll_pos_for_line","get_scroll_scale","get_scroll_to_selected","get_scrolling_enabled","get_sdf_oversize","get_sdf_scale","get_sdfgi_bounce_feedback","get_sdfgi_cascade0_distance","get_sdfgi_cascades","get_sdfgi_energy","get_sdfgi_max_distance","get_sdfgi_min_cell_size","get_sdfgi_normal_bias","get_sdfgi_probe_bias","get_sdfgi_y_scale","get_seamless","get_seamless_blend_skirt","get_seamless_image","get_seamless_image_3d","get_search_bar_fuzzy_search_max_misses","get_search_bar_min_item_count","get_secondary_damp_threshold","get_secondary_limit_angle","get_secondary_negative_damp_threshold","get_secondary_negative_limit_angle","get_secondary_positive_damp_threshold","get_secondary_positive_limit_angle","get_secret_character","get_section_end_time","get_section_keys","get_section_length","get_section_rings","get_section_segments","get_section_start_time","get_sections","get_seed","get_segments","get_select_mode","get_select_with_rmb","get_selectable_item","get_selected","get_selected_cells","get_selected_column","get_selected_id","get_selected_items","get_selected_metadata","get_selected_nodes","get_selected_options","get_selected_palette_item","get_selected_path","get_selected_paths","get_selected_protocol","get_selected_text","get_selection","get_selection_at_line_column","get_selection_column","get_selection_from","get_selection_from_column","get_selection_from_line","get_selection_line","get_selection_line_offset","get_selection_mode","get_selection_origin_column","get_selection_origin_line","get_selection_to","get_selection_to_column","get_selection_to_line","get_self_contained_file","get_self_modulate","get_separation","get_service_type","get_session","get_session_mode","get_session_state","get_sessions","get_setting","get_setting_count","get_setting_with_override","get_setting_with_override_and_custom_features","get_sha256","get_shader","get_shader_parameter","get_shader_parameter_list","get_shader_uniform_list","get_shading_mode","get_shadow_caster_mask","get_shadow_color","get_shadow_filter","get_shadow_mesh","get_shadow_mode","get_shadow_offset","get_shadow_reverse_cull_face","get_shadow_size","get_shadow_smooth","get_shadowmask_mode","get_shadowmask_textures","get_shape","get_shape_owner_one_way_collision_direction","get_shape_owner_one_way_collision_margin","get_shape_owners","get_shape_rid","get_shape_type","get_sharp_limit","get_shortcut","get_shortcut_context","get_shortcut_list","get_shortest_axis","get_shortest_axis_index","get_shortest_axis_size","get_show_when_tracked","get_shrink_height","get_shrink_width","get_shrinking_factor","get_shuffle","get_shutter_speed","get_sidechain","get_sides","get_signal_connection_list","get_signal_list","get_signaling_state","get_simplify_epsilon","get_simplify_path","get_simulate_physics","get_simulation_precision","get_singleton","get_singleton_list","get_size","get_size_2d_override","get_size_cache_list","get_size_mag","get_size_override","get_size_with_decorations","get_skeleton","get_skeleton_bone_name","get_skeleton_path","get_skeleton_rest","get_skeleton_rig","get_skeletons","get_skew","get_skidinfo","get_skin","get_skin_reference","get_skin_root","get_skin_weight_count","get_skins","get_skips","get_sky","get_sky_cover","get_sky_cover_modulate","get_sky_curve","get_sky_custom_fov","get_sky_energy_multiplier","get_sky_horizon_color","get_sky_mode","get_sky_rotation","get_sky_top_color","get_slice","get_slice_count","get_slicec","get_slide_collision","get_slide_collision_count","get_slide_on_slope","get_slot_color_left","get_slot_color_right","get_slot_custom_icon_left","get_slot_custom_icon_right","get_slot_metadata_left","get_slot_metadata_right","get_slot_type_left","get_slot_type_right","get_slots_focus_mode","get_smooth_faces","get_smoothing_angle","get_snap","get_snapping_distance","get_soft_clip_db","get_soft_clip_ratio","get_softness","get_solver_priority","get_sort_order","get_sorted_carets","get_sorting_offset","get_source","get_source_code","get_source_count","get_source_file","get_source_geometry_group_name","get_source_geometry_mode","get_source_group_name","get_source_id","get_source_level_tile_proxy","get_space","get_space_left","get_space_state","get_spacing","get_sparse_count","get_sparse_indices_buffer_view","get_sparse_indices_byte_offset","get_sparse_indices_component_type","get_sparse_values_buffer_view","get_sparse_values_byte_offset","get_spatial_context","get_spatial_context_handle","get_spatial_context_ready","get_spatial_entity_context","get_spatial_entity_id","get_spatial_snapshot_context","get_spatial_snapshot_handle","get_spatial_tracking_state","get_spawn_function","get_spawn_limit","get_spawn_path","get_spawnable_scene","get_spawnable_scene_count","get_speaker_mode","get_spec_gloss_img","get_specialization_constants","get_specular","get_specular_color","get_specular_factor","get_specular_mode","get_specular_shininess","get_specular_texture","get_speed_scale","get_spin_degrees","get_spin_sides","get_spirv","get_split_offset","get_split_offsets","get_split_scale","get_spread","get_sprite_frames","get_src_alpha_blend_factor","get_src_color_blend_factor","get_src_image","get_ssao_ao_channel_affect","get_ssao_detail","get_ssao_direct_light_affect","get_ssao_horizon","get_ssao_intensity","get_ssao_power","get_ssao_radius","get_ssao_sharpness","get_ssil_intensity","get_ssil_normal_rejection","get_ssil_radius","get_ssil_sharpness","get_ssr_depth_tolerance","get_ssr_fade_in","get_ssr_fade_out","get_ssr_max_steps","get_stacked_outline_color","get_stacked_outline_count","get_stacked_outline_size","get_stacked_shadow_color","get_stacked_shadow_count","get_stacked_shadow_offset","get_stacked_shadow_outline_size","get_stage_bytecode","get_stage_compile_error","get_stage_source","get_start","get_start_index","get_start_offset","get_start_position","get_state","get_state_machine_type","get_static_memory_peak_usage","get_static_memory_usage","get_statistic","get_status","get_stderr_type","get_stdin_type","get_stdout_type","get_steering","get_stencil_compare","get_stencil_effect_color","get_stencil_effect_outline_thickness","get_stencil_flags","get_stencil_mode","get_stencil_reference","get_step","get_stiffness","get_stiffness_damping_curve","get_stored_values","get_stream","get_stream_count","get_stream_length","get_stream_name","get_stream_paused","get_stream_peer","get_stream_playback","get_stream_position","get_stream_probability_weight","get_streams_count","get_strength","get_stretch_margin","get_stretch_mode","get_stretch_ratio","get_stretch_shrink","get_stretch_transform","get_stride","get_string","get_string_delimiters","get_string_from_ascii","get_string_from_multibyte_char","get_string_from_utf16","get_string_from_utf32","get_string_from_utf8","get_string_from_wchar","get_string_size","get_strings","get_structure_type","get_structured_text_bidi_override","get_structured_text_bidi_override_options","get_stylebox","get_stylebox_list","get_stylebox_type_list","get_sub_emitter","get_sub_emitter_amount_at_collision","get_sub_emitter_amount_at_end","get_sub_emitter_amount_at_start","get_sub_emitter_frequency","get_sub_emitter_keep_velocity","get_sub_emitter_mode","get_subdir","get_subdir_count","get_subdiv","get_subdivide_depth","get_subdivide_height","get_subdivide_width","get_subgizmo_selection","get_subject","get_submenu_popup_delay","get_subname","get_subname_count","get_subpixel_positioning","get_subsurface_scattering_strength","get_suffix","get_sun_angle_max","get_sun_curve","get_sun_disk_scale","get_supersampling_factor","get_support","get_support_data","get_support_data_filename","get_support_data_info","get_supported_chars","get_supported_environment_blend_modes","get_supported_feature_list","get_supported_gltf_extensions","get_supported_protocols","get_supported_swapchain_formats","get_supported_variation_list","get_surface_arrays","get_surface_blend_shape_arrays","get_surface_count","get_surface_format","get_surface_index","get_surface_lod_count","get_surface_lod_indices","get_surface_lod_size","get_surface_material","get_surface_name","get_surface_override_material","get_surface_override_material_count","get_surface_primitive_type","get_surround","get_surrounding_cells","get_suspension_max_force","get_suspension_rest_length","get_suspension_stiffness","get_suspension_travel","get_swap_cancel_ok","get_swapchain_format_name","get_switch_mode","get_switch_on_drag_hover","get_swizzle_a","get_swizzle_b","get_swizzle_g","get_swizzle_r","get_symbol_color","get_symmetry_planes_clipping_bias","get_sync_mode","get_sync_stream","get_sync_stream_volume","get_syntax_highlighter","get_system_ca_certificates","get_system_dir","get_system_font_path","get_system_font_path_for_text","get_system_fonts","get_system_id","get_system_info","get_system_menu","get_system_menu_name","get_system_menu_text","get_tab_alignment","get_tab_bar","get_tab_button_icon","get_tab_close_display_policy","get_tab_control","get_tab_count","get_tab_focus_mode","get_tab_icon","get_tab_icon_max_width","get_tab_idx_at_point","get_tab_idx_from_control","get_tab_input_mode","get_tab_language","get_tab_metadata","get_tab_offset","get_tab_rect","get_tab_size","get_tab_stops","get_tab_text_direction","get_tab_title","get_tab_tooltip","get_tabs_position","get_tabs_rearrange_group","get_tags","get_tail_direction","get_tap1_delay_ms","get_tap1_level_db","get_tap1_pan","get_tap2_delay_ms","get_tap2_level_db","get_tap2_pan","get_target","get_target_desired_distance","get_target_maximum_distance","get_target_minimum_distance","get_target_node","get_target_position","get_target_size","get_target_transform","get_temp_dir","get_temperature","get_terrain","get_terrain_color","get_terrain_name","get_terrain_peering_bit","get_terrain_set","get_terrain_set_mode","get_terrain_sets_count","get_terrains_count","get_test_cube","get_test_texture","get_texel_scale","get_text","get_text_alignment","get_text_direction","get_text_document","get_text_edit","get_text_for_code_completion","get_text_for_symbol_lookup","get_text_overrun_behavior","get_text_with_cursor_char","get_texture","get_texture_array","get_texture_count","get_texture_disabled","get_texture_filter","get_texture_focused","get_texture_format","get_texture_hover","get_texture_image","get_texture_map_mode","get_texture_margin","get_texture_mipmap_bias","get_texture_mode","get_texture_normal","get_texture_offset","get_texture_offsets","get_texture_origin","get_texture_pressed","get_texture_progress_offset","get_texture_rd_rid","get_texture_region_size","get_texture_repeat","get_texture_rotation","get_texture_samplers","get_texture_samples","get_texture_scale","get_texture_slice","get_texture_slice_size","get_texture_slice_view","get_texture_source","get_texture_tex_id","get_texture_type","get_textures","get_theme","get_theme_color","get_theme_constant","get_theme_default_base_scale","get_theme_default_font","get_theme_default_font_size","get_theme_font","get_theme_font_size","get_theme_icon","get_theme_item","get_theme_item_list","get_theme_item_type_list","get_theme_stylebox","get_theme_type_variation","get_thickness","get_thread_caller_id","get_threshold","get_threshold_db","get_threshold_released","get_ticks","get_ticks_msec","get_ticks_on_borders","get_ticks_position","get_ticks_usec","get_tile_animation_columns","get_tile_animation_frame_duration","get_tile_animation_frames_count","get_tile_animation_mode","get_tile_animation_separation","get_tile_animation_speed","get_tile_animation_total_duration","get_tile_at_coords","get_tile_data","get_tile_id","get_tile_layout","get_tile_map_data_as_array","get_tile_offset_axis","get_tile_set","get_tile_shape","get_tile_size","get_tile_size_in_atlas","get_tile_texture_region","get_tiles_count","get_tiles_to_be_removed_on_change","get_tileset","get_tilt","get_tilt_fade_in","get_tilt_fade_out","get_time_dict_from_system","get_time_dict_from_unix_time","get_time_horizon_agents","get_time_horizon_obstacles","get_time_left","get_time_pullout","get_time_scale","get_time_since_last_mix","get_time_string_from_system","get_time_string_from_unix_time","get_time_to_next_mix","get_time_zone_from_system","get_timeline_length","get_timeout","get_timer_process_callback","get_tint_color","get_tint_over","get_tint_progress","get_tint_under","get_tip_bone","get_tip_node","get_tip_size","get_title","get_title_alignment","get_title_color","get_title_position","get_title_text_direction","get_title_text_overrun_behavior","get_titlebar_hbox","get_to","get_to_cell_xform","get_tonemap_agx_contrast","get_tonemap_agx_white","get_tonemap_exposure","get_tonemap_white","get_tonemapper","get_tool_locale","get_tooltip","get_tooltip_auto_translate_mode","get_tooltip_text","get_top_level_path","get_top_radius","get_top_selected_nodes","get_toplevel_paths","get_total_angular_damp","get_total_character_count","get_total_elapsed_time","get_total_gravity","get_total_gutter_width","get_total_linear_damp","get_total_mass","get_total_visible_line_count","get_track_count","get_tracked_object_name","get_tracked_object_type_count","get_tracker","get_tracker_desc","get_tracker_hand","get_tracker_name","get_tracker_profile","get_tracker_type","get_trackers","get_tracking_confidence","get_tracking_status","get_trail_lifetime","get_trail_section_subdivisions","get_trail_sections","get_transfer_channel","get_transfer_mode","get_transform","get_transform_align","get_transform_align_axis","get_transform_align_channel_filter","get_transform_for_view","get_transform_format","get_transformable_selected_nodes","get_transition","get_transition_count","get_transition_fade_beats","get_transition_fade_mode","get_transition_filler_clip","get_transition_from","get_transition_from_time","get_transition_list","get_transition_to","get_transition_to_time","get_transition_type","get_translated_message_list","get_translation_context","get_translation_domain","get_translation_object","get_translations","get_transmittance_boost","get_transmittance_color","get_transmittance_depth","get_transparency","get_transpose","get_travel","get_travel_cost","get_travel_path","get_traversable_outlines","get_tree","get_tree_root","get_tree_string","get_tree_string_pretty","get_triangle_barycentric_coords","get_triangle_count","get_triangle_point","get_true_bit_count","get_trusted_ca_chain","get_turbidity","get_turbulence_enabled","get_turbulence_noise_scale","get_turbulence_noise_speed","get_turbulence_noise_speed_random","get_turbulence_noise_strength","get_twist_from","get_type","get_type_list","get_type_names","get_type_variation_base","get_type_variation_list","get_typed_builtin","get_typed_class_name","get_typed_key_builtin","get_typed_key_class_name","get_typed_key_script","get_typed_script","get_typed_value_builtin","get_typed_value_class_name","get_typed_value_script","get_u16","get_u32","get_u64","get_u8","get_uint16_buffer","get_uint32_buffer","get_uint8_buffer","get_unbound_arguments_count","get_under_texture","get_underline_mode","get_underline_position","get_underline_thickness","get_undo_redo","get_unicode","get_uniform_buffer","get_uniform_type","get_unique_animation_names","get_unique_id","get_unique_names","get_unit_size","get_unix_permissions","get_unix_time_from_datetime_dict","get_unix_time_from_datetime_string","get_unix_time_from_system","get_unnormalized_uvw","get_unsaved_files","get_unsaved_scenes","get_up_direction","get_update_mode","get_update_on_text_changed","get_update_position","get_update_rotation","get_update_scale","get_upper_fade","get_upper_vertical_angle","get_uri","get_usage_bits","get_usage_flags","get_use_3d_avoidance","get_use_android_surface","get_use_anisotropy","get_use_colliders","get_use_debanding","get_use_edge_connections","get_use_external_skeleton","get_use_fixed_seed","get_use_global_coordinates","get_use_gravity","get_use_hidden_tabs_for_min_size","get_use_local_coordinates","get_use_mipmaps","get_use_named_skin_binds","get_use_native_dialog","get_use_parent_material","get_use_taa","get_use_texture_padding","get_used_cells","get_used_cells_by_id","get_used_cells_by_item","get_used_cells_in_octant","get_used_cells_in_octant_by_item","get_used_octants","get_used_octants_by_item","get_used_octants_in_bounds","get_used_rect","get_user_count","get_user_data_dir","get_user_path","get_utf8_string","get_uuid","get_uv","get_uv1_offset","get_uv1_scale","get_uv1_triplanar_blend_sharpness","get_uv2_offset","get_uv2_padding","get_uv2_scale","get_uv2_triplanar_blend_sharpness","get_v_axis_stretch_mode","get_v_grow_direction","get_v_offset","get_v_scroll","get_v_scroll_bar","get_v_scroll_speed","get_v_size_flags","get_valid_node_id","get_value","get_value_label","get_value_range","get_var","get_variant_type","get_variation_coordinates","get_variation_embolden","get_variation_face_index","get_variation_opentype","get_variation_transform","get_varying_name","get_varying_type","get_vbox","get_vector","get_vector2","get_vector2_buffer","get_vector3_buffer","get_velocity","get_velocity_at_local_position","get_velocity_layer","get_velocity_limit_curve","get_velocity_pivot","get_velocity_texture","get_version","get_version_alias","get_version_info","get_version_list","get_vertex","get_vertex_attributes","get_vertex_bones","get_vertex_buffer","get_vertex_color","get_vertex_colors","get_vertex_count","get_vertex_edges","get_vertex_faces","get_vertex_format","get_vertex_meta","get_vertex_normal","get_vertex_offset","get_vertex_stride","get_vertex_tangent","get_vertex_uv","get_vertex_uv2","get_vertex_weights","get_vertical_alignment","get_vertical_custom_step","get_vertical_icon_alignment","get_vertical_scroll_mode","get_vertical_wrap","get_vertices","get_vertices_per_polygon","get_vframes","get_video_adapter_api_version","get_video_adapter_driver_info","get_video_adapter_name","get_video_adapter_type","get_video_adapter_vendor","get_video_texture","get_view_configuration","get_view_count","get_view_eye_offset","get_view_projection","get_viewport","get_viewport_half_extents","get_viewport_path_in_scene","get_viewport_rect","get_viewport_rid","get_viewport_transform","get_virtual_keyboard_show_on_focus","get_virtual_keyboard_type","get_visibility_aabb","get_visibility_for","get_visibility_layer","get_visibility_layer_bit","get_visibility_mode","get_visibility_parent","get_visibility_range_begin","get_visibility_range_begin_margin","get_visibility_range_end","get_visibility_range_end_margin","get_visibility_range_fade_mode","get_visibility_rect","get_visibility_state","get_visibility_update_mode","get_visible","get_visible_characters","get_visible_characters_behavior","get_visible_content_rect","get_visible_instance_count","get_visible_line_count","get_visible_line_count_in_range","get_visible_paragraph_count","get_visible_ratio","get_visible_rect","get_voice_count","get_voice_cutoff_hz","get_voice_delay_ms","get_voice_depth_ms","get_voice_level_db","get_voice_pan","get_voice_rate_hz","get_volume","get_volume_db","get_volume_linear","get_volumetric_fog_albedo","get_volumetric_fog_ambient_inject","get_volumetric_fog_anisotropy","get_volumetric_fog_density","get_volumetric_fog_detail_spread","get_volumetric_fog_emission","get_volumetric_fog_emission_energy","get_volumetric_fog_gi_inject","get_volumetric_fog_length","get_volumetric_fog_sky_affect","get_volumetric_fog_temporal_reprojection_amount","get_vrs_min_radius","get_vrs_mode","get_vrs_render_region","get_vrs_strength","get_vrs_texture","get_vrs_update_mode","get_wait_time","get_wall_min_slide_angle","get_wall_normal","get_wedge_angle","get_weight_position","get_wet","get_which_feed","get_white_texture","get_width","get_wind_attenuation_factor","get_wind_force_magnitude","get_wind_source_path","get_window","get_window_at_screen_position","get_window_id","get_window_list","get_window_root","get_wireframe","get_word_at_pos","get_word_under_caret","get_workspace","get_world_2d","get_world_3d","get_world_origin","get_world_scale","get_worst_message_type","get_wrap_s","get_wrap_t","get_write_a","get_write_b","get_write_g","get_write_mode","get_write_movie_path","get_write_r","get_x_label","get_xfade_curve","get_xfade_time","get_xform","get_y_label","get_y_sort_origin","get_z_clip_scale","get_z_far","get_z_index","get_z_near","get_z_range_max","get_z_range_min","get_zero_y","get_zoom","get_zoom_max","get_zoom_min","get_zoom_step","gi_set_use_half_resolution","global_menu_add_check_item","global_menu_add_icon_check_item","global_menu_add_icon_item","global_menu_add_icon_radio_check_item","global_menu_add_item","global_menu_add_multistate_item","global_menu_add_radio_check_item","global_menu_add_separator","global_menu_add_submenu_item","global_menu_clear","global_menu_get_item_accelerator","global_menu_get_item_callback","global_menu_get_item_count","global_menu_get_item_icon","global_menu_get_item_indentation_level","global_menu_get_item_index_from_tag","global_menu_get_item_index_from_text","global_menu_get_item_key_callback","global_menu_get_item_max_states","global_menu_get_item_state","global_menu_get_item_submenu","global_menu_get_item_tag","global_menu_get_item_text","global_menu_get_item_tooltip","global_menu_get_system_menu_roots","global_menu_is_item_checkable","global_menu_is_item_checked","global_menu_is_item_disabled","global_menu_is_item_hidden","global_menu_is_item_radio_checkable","global_menu_remove_item","global_menu_set_item_accelerator","global_menu_set_item_callback","global_menu_set_item_checkable","global_menu_set_item_checked","global_menu_set_item_disabled","global_menu_set_item_hidden","global_menu_set_item_hover_callbacks","global_menu_set_item_icon","global_menu_set_item_indentation_level","global_menu_set_item_key_callback","global_menu_set_item_max_states","global_menu_set_item_radio_checkable","global_menu_set_item_state","global_menu_set_item_submenu","global_menu_set_item_tag","global_menu_set_item_text","global_menu_set_item_tooltip","global_menu_set_popup_callbacks","global_rotate","global_scale","global_shader_parameter_add","global_shader_parameter_get","global_shader_parameter_get_list","global_shader_parameter_get_type","global_shader_parameter_remove","global_shader_parameter_set","global_shader_parameter_set_override","global_translate","globalize_path","goto_help","goto_line","grab_click_focus","grab_focus","grow","grow_individual","grow_mask","grow_side","gui_cancel_drag","gui_get_drag_data","gui_get_drag_description","gui_get_focus_owner","gui_get_hovered_control","gui_is_drag_successful","gui_is_dragging","gui_release_focus","gui_set_drag_description","has","has_action","has_additional_outputs","has_all","has_alpha","has_alternative_level_tile_proxy","has_alternative_tile","has_animation","has_animation_library","has_area","has_attribute","has_auto_brace_completion_close_key","has_auto_brace_completion_open_key","has_auto_height","has_auto_width","has_autoplay","has_autorestart","has_autostart","has_autowrap","has_body_rid","has_bone_meta","has_built_in_include_file","has_cached","has_capture","has_cell","has_changed","has_char","has_color","has_color_region","has_comment_delimiter","has_connections","has_constant","has_coords_level_tile_proxy","has_custom_data","has_custom_data_layer_by_name","has_custom_monitor","has_data","has_default_base_scale","has_default_font","has_default_font_size","has_domain","has_element","has_encoded_var","has_environment","has_execute_failed","has_expand","has_export_file","has_feature","has_filter_clip","has_focus","has_font","has_font_size","has_group","has_hardware_keyboard","has_icon","has_id","has_ime_text","has_input_port","has_java_method","has_joy_light","has_joy_motion_sensors","has_joy_vibration","has_json_pointers","has_keyword_color","has_loop","has_marker","has_member_keyword_color","has_menu","has_meta","has_method","has_mipmaps","has_multiplayer_peer","has_node","has_node_and_resource","has_node_paths","has_object","has_os_feature","has_output_port","has_overlapping_areas","has_overlapping_bodies","has_path","has_peer","has_point","has_pose","has_profiler","has_property","has_redo","has_resource","has_response","has_room_for_tile","has_scene_tile_id","has_script_method","has_script_signal","has_section","has_section_key","has_selectable_items","has_selection","has_setting","has_shadow","has_shortcut","has_signal","has_singleton","has_source","has_source_code","has_source_level_tile_proxy","has_stream_playback","has_string_delimiter","has_stylebox","has_surface","has_system_menu","has_texture","has_theme_color","has_theme_color_override","has_theme_constant","has_theme_constant_override","has_theme_font","has_theme_font_override","has_theme_font_size","has_theme_font_size_override","has_theme_icon","has_theme_icon_override","has_theme_item","has_theme_stylebox","has_theme_stylebox_override","has_tile","has_tiles_outside_texture","has_transition","has_translation","has_translation_for_locale","has_transparent_background","has_tweeners","has_undo","has_user_signal","has_uuid","has_valid_configuration","has_valid_event","has_varying","has_volume","has_wraparound_items","hash","heightmap_shape_create","help_set_search_callbacks","hex","hex64","hex_decode","hex_encode","hex_to_int","hide","hide_bottom_panel","hinge_joint_get_flag","hinge_joint_get_param","hinge_joint_set_flag","hinge_joint_set_param","hit_sbt_create","hit_sbt_range_alloc","hit_sbt_range_free","hit_sbt_range_update","hit_sbt_set_pipeline","hit_test","hmac_digest","hover","html","html_is_valid","humanize_size","id_to_text","ime_get_selection","ime_get_text","import_object_model_property","indent","indent_lines","index","index_array_create","index_buffer_create","init_ref","initialize","initialized","insert","insert_breakpoint","insert_debug_label","insert_line_at","insert_text","insert_text_at_caret","inspect_native_shader_code","inspect_object","install_effect","instance_attach_object_instance_id","instance_attach_skeleton","instance_create","instance_create2","instance_from_id","instance_geometry_get_shader_parameter","instance_geometry_get_shader_parameter_default_value","instance_geometry_get_shader_parameter_list","instance_geometry_set_cast_shadows_setting","instance_geometry_set_flag","instance_geometry_set_lightmap","instance_geometry_set_lod_bias","instance_geometry_set_material_overlay","instance_geometry_set_material_override","instance_geometry_set_shader_parameter","instance_geometry_set_transparency","instance_geometry_set_visibility_range","instance_has","instance_set_base","instance_set_blend_shape_weight","instance_set_custom_aabb","instance_set_extra_visibility_margin","instance_set_ignore_culling","instance_set_layer_mask","instance_set_pivot_data","instance_set_scenario","instance_set_surface_override_material","instance_set_transform","instance_set_visibility_parent","instance_set_visible","instance_teleport","instances_cull_aabb","instances_cull_convex","instances_cull_ray","instantiate","instantiate_playback","instantiate_property_editor","integrate_forces","interpolate_value","interpolate_with","intersect_3","intersect_point","intersect_polygons","intersect_polyline_with_polygon","intersect_ray","intersect_segment","intersect_shape","intersection","intersects","intersects_plane","intersects_ray","intersects_segment","invalidate","invalidate_paragraph","invalidate_pose","inverse","inverse_lerp","inverted","is_3d_disabled","is_able_to_sleep","is_aborted_on_reset","is_absolute","is_absolute_path","is_absorbent","is_abstract","is_accepting_children","is_accepting_gzip","is_accessibility_enabled","is_accessibility_region","is_accessibility_supported","is_action","is_action_just_pressed","is_action_just_pressed_by_event","is_action_just_released","is_action_just_released_by_event","is_action_pressed","is_action_released","is_action_set_active","is_action_type","is_active","is_additive","is_adjustment_enabled","is_advance_on_start","is_alive","is_all_tabs_in_front","is_allow_folding_all","is_allow_system_fallback","is_allow_transition_to_self","is_allow_unpress","is_alt_pressed","is_ancestor_of","is_angular_limit_enabled","is_animation_active","is_anti_aliased","is_any_collapsed","is_anything_pressed","is_anything_selected","is_april_tag_supported","is_area_normalizing_energy","is_aruco_supported","is_attractor_interaction_enabled","is_audio_listener_2d","is_audio_listener_3d","is_auto_accept_quit","is_auto_brace_completion_enabled","is_auto_capture","is_auto_exposure_enabled","is_auto_indent_enabled","is_auto_tooltip_enabled","is_auto_translating","is_autoplay_enabled","is_autoshrink_enabled","is_autosmooth","is_available","is_axis_x_enabled","is_axis_x_inverted","is_axis_y_enabled","is_axis_y_inverted","is_axis_z_enabled","is_axis_z_inverted","is_backface_collision_enabled","is_backspace_deletes_composite_character_enabled","is_baking","is_baking_navigation","is_baking_navigation_mesh","is_baking_navigation_polygon","is_bidirectional","is_big_endian","is_big_endian_enabled","is_blend_splits_enabled","is_blocking_mode_enabled","is_blocking_signals","is_body_excluded_from_query","is_bone_enabled","is_bound","is_box_projection_enabled","is_breaked","is_breakpoint","is_built_in","is_bundle","is_bus_bypassing_effects","is_bus_effect_enabled","is_bus_mute","is_bus_solo","is_button_disabled","is_button_pressed","is_calculating_tangents","is_camera_locked_to_origin","is_canceled","is_cap_bottom","is_cap_top","is_capture_included","is_caret_after_selection_origin","is_caret_blink_enabled","is_caret_force_displayed","is_caret_mid_grapheme_enabled","is_caret_visible","is_case_sensitive","is_cell_flipped_h","is_cell_flipped_v","is_cell_transposed","is_centered","is_checkable","is_checked","is_class","is_class_disabled","is_class_editor_disabled","is_class_enabled","is_class_enum_bitfield","is_class_property_disabled","is_clear_button_enabled","is_clipping_contents","is_clipping_text","is_closable","is_closed","is_code_completion_enabled","is_collapsed","is_collide_separation_ray_enabled","is_collide_with_areas_enabled","is_collide_with_bodies_enabled","is_colliding","is_collision_animatable","is_collision_enabled","is_collision_polygon_one_way","is_collision_using_scale","is_column_clipping_content","is_column_expanding","is_command_or_control_autoremap","is_command_or_control_pressed","is_committing_action","is_compressed","is_cone","is_config_individual","is_conformal","is_confusable","is_connected","is_connection_available","is_connection_lines_antialiased","is_contact_monitor_enabled","is_context_menu_enabled","is_ctrl_pressed","is_current","is_custom","is_custom_arrow_rounding","is_custom_set_as_button","is_custom_word_separators_enabled","is_customization_flag_enabled","is_dark_mode","is_dark_mode_supported","is_debug_build","is_debuggable","is_debugging_collisions_hint","is_debugging_navigation_hint","is_debugging_paths_hint","is_dedicated_server","is_default_value_enabled","is_default_word_separators_enabled","is_deferred_drag_mode_enabled","is_deferred_mode","is_degrees_mode","is_deletable","is_delta_smoothing_enabled","is_deselect_on_focus_loss_enabled","is_deterministic","is_directional","is_dirty","is_disabled","is_discover_ipv6","is_displayed_folded","is_distance_fade_enabled","is_distraction_free_mode_enabled","is_dof_blur_far_enabled","is_dof_blur_near_enabled","is_domain_warp_enabled","is_double_click","is_double_tap","is_drag_and_drop_selection_enabled","is_drag_area_highlight_in_editor_enabled","is_drag_horizontal_enabled","is_drag_successful","is_drag_unfolding_enabled","is_drag_vertical_enabled","is_draggable","is_dragging_cursor","is_dragging_enabled","is_dragging_nested_intersections","is_draw_background","is_draw_behind_parent_enabled","is_draw_center_enabled","is_draw_label","is_draw_line_numbers_enabled","is_draw_warning","is_drawing_bookmarks_gutter","is_drawing_breakpoints_gutter","is_drawing_caret_when_editable_disabled","is_drawing_executing_lines_gutter","is_drawing_fold_gutter","is_drawing_minimap","is_drawing_spaces","is_drawing_tabs","is_echo","is_edit_multiline","is_editable","is_editable_instance","is_editing","is_editing_alpha","is_editing_integer","is_editing_intensity","is_editing_kept_on_text_submit","is_editor_hint","is_editor_only","is_editor_preview_indeterminate_enabled","is_embedded","is_embedded_in_editor","is_embedding_subwindows","is_emission_angle_enabled","is_emitting","is_emoji_menu_enabled","is_empty","is_empty_selection_clipboard_enabled","is_emulating_mouse_from_touch","is_emulating_touch_from_mouse","is_enabled","is_end_bone_extended","is_environment_blend_mode_alpha_supported","is_equal_approx","is_equivalent","is_exclude","is_exclusive","is_expand_icon","is_expand_to_text_length_enabled","is_explicit_elapse","is_extension_loaded","is_eye_gaze_interaction_supported","is_feature_disabled","is_feedback_active","is_filter_enabled","is_filtering_enabled","is_finished","is_finite","is_fit_content_enabled","is_fit_content_height_enabled","is_fit_content_width_enabled","is_fit_to_longest_item","is_flat","is_flipped_h","is_flipped_v","is_floor_block_on_wall_enabled","is_floor_constant_speed_enabled","is_floor_stop_on_slope_enabled","is_fog_enabled","is_folded","is_folding_disabled","is_folding_hidden","is_follow_camera_enabled","is_following_focus","is_following_viewport","is_force_autohinter","is_force_pass_scroll_events","is_foveation_supported","is_freeze_enabled","is_generating_mipmaps","is_global","is_glow_enabled","is_glow_normalized","is_gravity_a_point","is_greater_allowed","is_greater_than","is_group_task_completed","is_grow_enabled","is_gutter_clickable","is_gutter_drawn","is_gutter_overwritable","is_h_scroll_enabled","is_hand_interaction_supported","is_hand_tracking_supported","is_handling_input_locally","is_hdr_output_requested","is_heightmap_deep_parallax_enabled","is_hex_visible","is_hide_on_checkable_item_selection","is_hide_on_item_selection","is_hide_on_state_item_selection","is_hiding_slider","is_highlight_all_occurrences_enabled","is_highlight_current_line_enabled","is_highlight_matching_braces_enabled","is_hint_underlined","is_hit_back_faces_enabled","is_hit_from_inside_enabled","is_hovered","is_ignore_camera_scroll","is_ignore_camera_zoom","is_ignoring_joypad_on_unfocused_application","is_ignoring_occlusion_culling","is_ignoring_rotation","is_ignoring_time_scale","is_ignoring_valid_connection_type","is_importing","is_in_3d_space","is_in_bounds","is_in_boundsv","is_in_comment","is_in_contact","is_in_group","is_in_low_processor_usage_mode","is_in_mulitcaret_edit","is_in_physics_frame","is_in_pip_mode","is_in_string","is_indent_using_spaces","is_indent_wrapped_lines","is_indeterminate","is_inf","is_initialized","is_input_disabled","is_input_handled","is_input_loop_broken_at_end","is_input_reset","is_input_set_as_auto_advance","is_input_source_active","is_inside","is_inside_tree","is_instance_id_valid","is_instance_valid","is_interior","is_interpolating","is_invisible","is_item_checkable","is_item_checked","is_item_disabled","is_item_hidden","is_item_icon_transposed","is_item_radio_checkable","is_item_selectable","is_item_separator","is_item_shortcut_disabled","is_item_tooltip_enabled","is_joy_button_pressed","is_joy_known","is_joy_motion_sensors_calibrated","is_joy_motion_sensors_calibrating","is_joy_motion_sensors_enabled","is_joy_vibrating","is_js_buffer","is_jumping_enabled","is_keep_pressed_outside","is_keep_scale_enabled","is_keeping_all_compressed_buffers","is_keeping_compressed_buffer","is_key_label_pressed","is_key_pressed","is_keycode_unicode","is_keying","is_language_supported","is_layer_enabled","is_layer_navigation_enabled","is_layer_y_sort_enabled","is_layout_rtl","is_lesser_allowed","is_library_open","is_limit_drawing_enabled","is_limit_enabled","is_limit_smoothing_enabled","is_limitation_symmetry","is_line_bookmarked","is_line_breakpointed","is_line_code_region_end","is_line_code_region_start","is_line_executing","is_line_folded","is_line_folding_enabled","is_line_gutter_clickable","is_line_in_viewport","is_line_numbers_zero_padded","is_line_wrapped","is_link","is_listening","is_local_to_scene","is_local_transform_notification_enabled","is_locale_right_to_left","is_locale_using_support_data","is_localizing_numeral_system","is_lock_rotation_enabled","is_loop_broken_at_end","is_looping","is_main_thread","is_margin_drawing_enabled","is_match","is_maximize_allowed","is_menu_disabled","is_menu_hidden","is_menu_visible","is_meta_pressed","is_meta_stream","is_meta_underlined","is_micro_qrcode_supported","is_middle_mouse_paste_enabled","is_minimap_enabled","is_mode_2d","is_mode_overriding_title","is_modulate_color_glyphs","is_monitorable","is_monitoring","is_monitoring_feeds","is_monophonic","is_motor_enabled","is_mouse_button_pressed","is_mouse_over_selection","is_mouse_target_enabled","is_move_caret_on_right_click_enabled","is_movie_maker_enabled","is_movie_quit_on_finish_enabled","is_multi_window_enabled","is_multichannel_signed_distance_field","is_multiplayer_authority","is_multiplayer_poll_enabled","is_multiple_carets_enabled","is_nan","is_native_menu","is_natively_supported","is_navigation_enabled","is_navigation_finished","is_negative","is_negotiated","is_neighbor_filter_enabled","is_node_3d_snap_enabled","is_node_connected","is_node_connection","is_node_instance_placeholder","is_node_ready","is_normal_map","is_normalized","is_null","is_object_decoding_allowed","is_object_edited","is_occlusion_enabled","is_offset_transform_enabled","is_offset_transform_visual_only","is_on_ceiling","is_on_ceiling_only","is_on_floor","is_on_floor_only","is_on_render_thread","is_on_screen","is_on_wall","is_on_wall_only","is_one_shot","is_one_way_collision_enabled","is_open","is_opened","is_ordered","is_orthogonal","is_orthonormal","is_outline","is_override_tip_basis","is_overriding_audio_bus","is_overtype_mode_enabled","is_overwrite_warning_disabled","is_parent_class","is_part_of_edited_scene","is_passby_press_enabled","is_passthrough_enabled","is_passthrough_supported","is_path_continuous_u","is_path_filtered","is_path_joined","is_path_local","is_paused","is_percentage_shown","is_persistence_scope_supported","is_physical_key_pressed","is_physics_interpolated","is_physics_interpolated_and_enabled","is_physics_interpolation_enabled","is_physics_processing","is_physics_processing_internal","is_pickable","is_pixel_opaque","is_playing","is_playing_scene","is_plugin_enabled","is_point_disabled","is_point_in_circle","is_point_in_polygon","is_point_inside","is_point_over","is_point_pinned","is_point_solid","is_polygon_clockwise","is_position_behind","is_position_copying","is_position_enabled","is_position_in_frustum","is_position_smoothing_enabled","is_prefer_global_menu","is_prefer_native_menu","is_pressed","is_primary","is_printing_error_messages","is_printing_to_stdout","is_process_running","is_process_testing","is_processing","is_processing_input","is_processing_internal","is_processing_shortcut_input","is_processing_unhandled_input","is_processing_unhandled_key_input","is_profiling","is_propagating_maximum_size","is_protected_content","is_proximity_fade_enabled","is_pseudolocalization_accents_enabled","is_pseudolocalization_double_vowels_enabled","is_pseudolocalization_enabled","is_pseudolocalization_fake_bidi_enabled","is_pseudolocalization_override_enabled","is_pseudolocalization_skip_placeholders_enabled","is_public_only","is_qrcode_supported","is_queued_for_deletion","is_quit_on_go_back","is_ratio_exp","is_ray_pickable","is_read_only","is_ready","is_recording_active","is_recording_properties","is_recording_signals","is_recovery_as_collision_enabled","is_recursive_folding_enabled","is_refusing_new_connections","is_region_enabled","is_region_filter_clip_enabled","is_relative","is_relative_path","is_released","is_render_loop_enabled","is_required","is_reset","is_reset_on_save_enabled","is_resizable","is_response_chunked","is_restart_on_exit_set","is_reverse_fill","is_right_disconnects_enabled","is_root_hidden","is_root_motion_local","is_root_shape","is_rotating","is_rotation_copying","is_rotation_enabled","is_rotation_smoothing_enabled","is_rough","is_runnable","is_running","is_same","is_same_column_width","is_same_typed","is_same_typed_key","is_same_typed_value","is_sampler_visible","is_sandboxed","is_scale_copying","is_scale_disabled","is_scale_enabled","is_scaling_menus","is_scanning","is_screen_drawing_enabled","is_script_supported","is_scroll_active","is_scroll_following","is_scroll_following_visible_characters","is_scroll_hint_tiled","is_scroll_horizontal_by_default","is_scroll_past_end_of_file_enabled","is_scrollable","is_sdfgi_enabled","is_sdfgi_reading_sky_light","is_sdfgi_using_occlusion","is_search_bar_enabled","is_search_bar_fuzzy_search_enabled","is_secret","is_select_all_on_focus","is_selectable","is_selected","is_selecting_enabled","is_selection_enabled","is_self_contained","is_server","is_server_relay_enabled","is_server_relay_supported","is_session_supported","is_set_as_interior","is_set_as_sdf_collision","is_set_as_top_level","is_shadow_enabled","is_shape_centered","is_shape_owner_disabled","is_shape_owner_one_way_collision_enabled","is_shape_visible","is_shift_pressed","is_shortcut","is_shortcut_feedback","is_shortcut_in_tooltip_enabled","is_shortcut_keys_enabled","is_show_rest_only","is_showing_arrange_button","is_showing_grid","is_showing_grid_buttons","is_showing_hidden_files","is_showing_menu","is_showing_minimap_button","is_showing_rect","is_showing_zoom_buttons","is_showing_zoom_label","is_simulating_physics","is_size_2d_override_stretch_enabled","is_skipping_breakpoints","is_sleeping","is_slide_on_ceiling_enabled","is_slot_draw_stylebox","is_slot_enabled_left","is_slot_enabled_right","is_smart_resolve_enabled","is_smooth_scroll_enabled","is_snap_2d_transforms_to_pixel_enabled","is_snap_2d_vertices_to_pixel_enabled","is_snap_controls_to_pixels_enabled","is_snapping_enabled","is_socket_connected","is_sorting_use_aabb_center","is_spatial_anchor_supported","is_spatial_persistence_supported","is_ssao_enabled","is_ssil_enabled","is_ssr_enabled","is_standard","is_started","is_stdout_verbose","is_stereo","is_stopped","is_stream_playing","is_stream_registered_as_sample","is_stretch_enabled","is_stretching_time_scale","is_subgizmo_selected","is_subsequence_of","is_subsequence_ofn","is_supersampling_enabled","is_supported","is_switch_on_hover","is_symbol_lookup_on_click_enabled","is_symbol_tooltip_on_hover_enabled","is_sync_to_physics_enabled","is_system_menu","is_tab_disabled","is_tab_hidden","is_tap1_active","is_tap2_active","is_target_reachable","is_target_reached","is_target_within_limitation","is_task_completed","is_threaded","is_tilt_enabled","is_tint_color_enabled","is_toggle_mode","is_tool","is_touch_dragger_enabled","is_touchscreen_available","is_trail_enabled","is_transform_notification_enabled","is_transient","is_transient_to_focused","is_transition_holding_previous","is_transition_using_filler_clip","is_twist_from_rest","is_type_variation","is_typed","is_typed_key","is_typed_value","is_unique_name_in_owner","is_unsafe_client","is_up_vector_enabled","is_uppercase","is_use_all_surfaces","is_used_as_steering","is_used_as_traction","is_user_presence_supported","is_user_present","is_userfs_persistent","is_using_accumulated_input","is_using_angle_limitation","is_using_bbcode","is_using_collision","is_using_colors","is_using_continuous_collision_detection","is_using_custom_data","is_using_custom_integrator","is_using_custom_timeline","is_using_debanding","is_using_denoiser","is_using_euler","is_using_folding","is_using_font_oversampling","is_using_global_pose","is_using_hdr","is_using_hdr_2d","is_using_kinematic_bodies","is_using_magnet","is_using_mipmaps","is_using_model_front","is_using_occlusion_culling","is_using_oversampling","is_using_own_world_3d","is_using_reverb_bus","is_using_rotation_3d","is_using_rotation_velocity_3d","is_using_rounded_values","is_using_scale_3d","is_using_secondary_rotation","is_using_spherical_harmonics","is_using_sync","is_using_taa","is_using_texture_for_bounces","is_using_threads","is_using_top_left","is_using_two_bounces","is_using_virtual_end","is_using_xr","is_uv_clipping","is_v_scroll_enabled","is_valid","is_valid_ascii_identifier","is_valid_connection_type","is_valid_filename","is_valid_float","is_valid_gateway","is_valid_hex_number","is_valid_html_color","is_valid_identifier","is_valid_int","is_valid_ip_address","is_valid_letter","is_valid_port_name","is_valid_terrain_peering_bit","is_valid_unicode_identifier","is_vertical","is_virtual_keyboard_enabled","is_visibility_public","is_visible","is_visible_in_tree","is_volumetric_fog_enabled","is_volumetric_fog_temporal_reprojection_enabled","is_window_transparency_available","is_wrapping_controls","is_x_draw_order_reversed","is_y_sort_enabled","is_z_relative","is_zero_approx","iteration","jitter_offseted","join","join_lines","join_multicast_group","joint_clear","joint_create","joint_disable_collisions_between_bodies","joint_get_param","joint_get_solver_priority","joint_get_type","joint_is_disabled_collisions_between_bodies","joint_make_cone_twist","joint_make_damped_spring","joint_make_generic_6dof","joint_make_groove","joint_make_hinge","joint_make_pin","joint_make_slider","joint_set_param","joint_set_solver_priority","js_buffer_to_packed_byte_array","json_escape","keyboard_get_current_layout","keyboard_get_keycode_from_physical","keyboard_get_label_from_physical","keyboard_get_layout_count","keyboard_get_layout_language","keyboard_get_layout_name","keyboard_set_current_layout","keys","kill","leave_multicast_group","left","length","length_squared","lerp","lerp_angle","lerpf","light_area_set_normalize_energy","light_area_set_size","light_directional_set_blend_splits","light_directional_set_shadow_mode","light_directional_set_sky_mode","light_omni_set_shadow_mode","light_projectors_set_filter","light_set_bake_mode","light_set_color","light_set_cull_mask","light_set_distance_fade","light_set_max_sdfgi_cascade","light_set_negative","light_set_param","light_set_projector","light_set_reverse_cull_face_mode","light_set_shadow","light_set_shadow_caster_mask","lightened","lightmap_create","lightmap_get_probe_capture_bsp_tree","lightmap_get_probe_capture_points","lightmap_get_probe_capture_sh","lightmap_get_probe_capture_tetrahedra","lightmap_set_baked_exposure_normalization","lightmap_set_probe_bounds","lightmap_set_probe_capture_data","lightmap_set_probe_capture_update_speed","lightmap_set_probe_interior","lightmap_set_textures","lightmap_unwrap","lightmaps_set_bicubic_filter","limit_get","limit_length","line_intersects_line","line_poll","linear_to_db","linear_to_srgb","link_create","link_get_enabled","link_get_end_position","link_get_enter_cost","link_get_iteration_id","link_get_map","link_get_navigation_layers","link_get_owner_id","link_get_start_position","link_get_travel_cost","link_is_bidirectional","link_set_bidirectional","link_set_enabled","link_set_end_position","link_set_enter_cost","link_set_map","link_set_navigation_layers","link_set_owner_id","link_set_start_position","link_set_travel_cost","list_built_in_include_files","list_dir_begin","list_dir_end","list_directory","listen","load","load_bitmap_font","load_bmp_from_buffer","load_buffer_view_data","load_dds_from_buffer","load_dynamic_font","load_encrypted","load_encrypted_pass","load_exr_from_buffer","load_extension","load_extension_from_function","load_from_buffer","load_from_file","load_from_project_settings","load_from_string","load_jpg_from_buffer","load_ktx_from_buffer","load_png_from_buffer","load_resource_pack","load_support_data","load_svg_from_buffer","load_svg_from_string","load_tga_from_buffer","load_threaded_get","load_threaded_get_status","load_threaded_request","load_webp_from_buffer","local_to_map","localize_path","localize_rests","lock","log","look_at","look_at_from_position","looking_at","lpad","lstrip","make_atlas","make_baked_meshes","make_bottom_panel_item_visible","make_canvas_position_local","make_convex_from_siblings","make_current","make_dir","make_dir_absolute","make_dir_recursive","make_dir_recursive_absolute","make_input_local","make_mesh_previews","make_notification","make_polygons_from_outlines","make_read_only","make_request","make_response","make_response_error","make_spatial_entity","make_sphere_mesh","make_visible","make_vrs_texture","map","map_create","map_force_update","map_get_agents","map_get_cell_height","map_get_cell_size","map_get_closest_point","map_get_closest_point_normal","map_get_closest_point_owner","map_get_closest_point_to_segment","map_get_edge_connection_margin","map_get_iteration_id","map_get_link_connection_radius","map_get_links","map_get_merge_rasterizer_cell_scale","map_get_obstacles","map_get_path","map_get_random_point","map_get_regions","map_get_up","map_get_use_async_iterations","map_get_use_edge_connections","map_is_active","map_pattern","map_set_active","map_set_cell_height","map_set_cell_size","map_set_edge_connection_margin","map_set_link_connection_radius","map_set_merge_rasterizer_cell_scale","map_set_up","map_set_use_async_iterations","map_set_use_edge_connections","map_tile_proxy","map_to_local","mark_scene_as_unsaved","mark_setting_changed","match","matches_event","matchn","material_create","material_get_param","material_set_next_pass","material_set_param","material_set_render_priority","material_set_shader","material_set_use_debanding","max","max_axis_index","maxf","maxi","md5_buffer","md5_text","menu_option","merge","merge_gutters","merge_importer_meshes","merge_overlapping_carets","merge_polygons","merge_with","merged","mesh_add_surface","mesh_add_surface_from_arrays","mesh_clear","mesh_create","mesh_create_from_surfaces","mesh_get_blend_shape_count","mesh_get_blend_shape_mode","mesh_get_custom_aabb","mesh_get_surface","mesh_get_surface_count","mesh_set_blend_shape_mode","mesh_set_custom_aabb","mesh_set_shadow_mesh","mesh_surface_get_arrays","mesh_surface_get_blend_shape_arrays","mesh_surface_get_format_attribute_stride","mesh_surface_get_format_index_stride","mesh_surface_get_format_normal_tangent_stride","mesh_surface_get_format_offset","mesh_surface_get_format_skin_stride","mesh_surface_get_format_vertex_stride","mesh_surface_get_material","mesh_surface_remove","mesh_surface_set_material","mesh_surface_update_attribute_region","mesh_surface_update_index_region","mesh_surface_update_skin_region","mesh_surface_update_vertex_region","method_track_get_name","method_track_get_params","min","min_axis_index","minf","mini","mix_audio","mouse_get_button_state","mouse_get_mode","mouse_get_position","mouse_set_mode","move_after","move_and_collide","move_and_slide","move_before","move_bus","move_child","move_custom_data_layer","move_item","move_layer","move_lines_down","move_lines_up","move_local_x","move_local_y","move_navigation_layer","move_occlusion_layer","move_physics_layer","move_stacked_outline","move_stacked_shadow","move_stream","move_tab","move_terrain","move_terrain_set","move_tile_in_atlas","move_to_center","move_to_foreground","move_to_front","move_to_trash","move_toward","multicaret_edit_ignore_caret","multimesh_allocate_data","multimesh_create","multimesh_get_aabb","multimesh_get_buffer","multimesh_get_buffer_rd_rid","multimesh_get_command_buffer_rd_rid","multimesh_get_custom_aabb","multimesh_get_instance_count","multimesh_get_mesh","multimesh_get_visible_instances","multimesh_instance_get_color","multimesh_instance_get_custom_data","multimesh_instance_get_transform","multimesh_instance_get_transform_2d","multimesh_instance_reset_physics_interpolation","multimesh_instance_set_color","multimesh_instance_set_custom_data","multimesh_instance_set_transform","multimesh_instance_set_transform_2d","multimesh_instances_reset_physics_interpolation","multimesh_set_buffer","multimesh_set_buffer_interpolated","multimesh_set_custom_aabb","multimesh_set_mesh","multimesh_set_physics_interpolated","multimesh_set_physics_interpolation_quality","multimesh_set_visible_instances","name_to_tag","nativeSymbol","naturalcasecmp_to","naturalnocasecmp_to","navigate_to_path","nearest_po2","new","newline","next","nocasecmp_to","normal_map_to_xy","normalized","notification","notify_client","notify_deferred_thread_group","notify_group","notify_group_flags","notify_mouse_entered","notify_mouse_exited","notify_property_list_changed","notify_runtime_tile_data_update","notify_thread_safe","num","num_int64","num_scientific","num_uint64","object_configuration_add","object_configuration_remove","obstacle_create","obstacle_get_avoidance_enabled","obstacle_get_avoidance_layers","obstacle_get_height","obstacle_get_map","obstacle_get_paused","obstacle_get_position","obstacle_get_radius","obstacle_get_use_3d_avoidance","obstacle_get_velocity","obstacle_get_vertices","obstacle_set_avoidance_enabled","obstacle_set_avoidance_layers","obstacle_set_height","obstacle_set_map","obstacle_set_paused","obstacle_set_position","obstacle_set_radius","obstacle_set_use_3d_avoidance","obstacle_set_velocity","obstacle_set_vertices","occluder_create","occluder_set_mesh","octahedron_decode","octahedron_encode","offset_polygon","offset_polyline","omni_light_create","on_client_connected","on_client_disconnected","on_skeleton_update","opaque_to_polygons","open","open_buffer","open_compressed","open_encrypted","open_encrypted_with_pass","open_midi_inputs","open_scene_from_path","open_script_create_dialog","open_with_program","openxr_is_enabled","openxr_swapchain_acquire","openxr_swapchain_create","openxr_swapchain_free","openxr_swapchain_get_image","openxr_swapchain_get_swapchain","openxr_swapchain_release","optimize","optimize_indices_for_cache","orthogonal","orthonormalize","orthonormalized","outer","overlaps_area","overlaps_body","pack","pad_decimals","pad_zeros","parallel","parse","parse_bbcode","parse_expressions_for_values","parse_input_event","parse_local_script","parse_number","parse_script","parse_source_geometry_data","parse_string","parse_structured_text","particles_collision_create","particles_collision_height_field_update","particles_collision_set_attractor_attenuation","particles_collision_set_attractor_directionality","particles_collision_set_attractor_strength","particles_collision_set_box_extents","particles_collision_set_collision_type","particles_collision_set_cull_mask","particles_collision_set_field_texture","particles_collision_set_height_field_mask","particles_collision_set_height_field_resolution","particles_collision_set_sphere_radius","particles_create","particles_emit","particles_get_current_aabb","particles_get_emitting","particles_is_inactive","particles_request_process","particles_request_process_time","particles_restart","particles_set_amount","particles_set_amount_ratio","particles_set_collision_base_size","particles_set_custom_aabb","particles_set_draw_order","particles_set_draw_pass_mesh","particles_set_draw_passes","particles_set_emission_transform","particles_set_emitter_velocity","particles_set_emitting","particles_set_explosiveness_ratio","particles_set_fixed_fps","particles_set_fractional_delta","particles_set_interp_to_end","particles_set_interpolate","particles_set_lifetime","particles_set_mode","particles_set_one_shot","particles_set_pre_process_time","particles_set_process_material","particles_set_randomness_ratio","particles_set_speed_scale","particles_set_subemitter","particles_set_trail_bind_poses","particles_set_trails","particles_set_transform_align","particles_set_transform_align_axis","particles_set_transform_align_channel_filter","particles_set_use_local_coordinates","paste","paste_primary_clipboard","path_join","path_to_uid","pause","pck_start","peer_disconnect","peer_disconnect_later","peer_disconnect_now","percent_sign","persist_anchor","perspective_znear_adjusted","physical_bones_add_collision_exception","physical_bones_remove_collision_exception","physical_bones_start_simulation","physical_bones_stop_simulation","pick_random","pin_joint_get_flag","pin_joint_get_local_a","pin_joint_get_local_b","pin_joint_get_param","pin_joint_set_flag","pin_joint_set_local_a","pin_joint_set_local_b","pin_joint_set_param","ping","ping_interval","pingpong","pip_mode_enter","pip_mode_set_aspect_ratio","pip_mode_set_auto_enter_on_background","play","play_backwards","play_current_scene","play_custom_scene","play_main_scene","play_section","play_section_backwards","play_section_with_markers","play_section_with_markers_backwards","play_stream","play_with_capture","point_is_inside_triangle","poll","pop","pop_all","pop_at","pop_back","pop_context","pop_front","pop_statistic","popup","popup_centered","popup_centered_clamped","popup_centered_ratio","popup_create_dialog","popup_dialog","popup_dialog_centered","popup_dialog_centered_clamped","popup_dialog_centered_ratio","popup_error","popup_exclusive","popup_exclusive_centered","popup_exclusive_centered_clamped","popup_exclusive_centered_ratio","popup_exclusive_on_parent","popup_file_dialog","popup_method_selector","popup_node_selector","popup_on_parent","popup_property_selector","popup_quick_open","position_track_insert_key","position_track_interpolate","positional_soft_shadow_filter_set_quality","posmod","posmodv","post","pow","premultiply_alpha","prepareRename","print","print_orphan_nodes","print_rich","print_tree","print_tree_pretty","print_verbose","printerr","printraw","prints","printt","process_action","process_events","process_string","profiler_add_frame_data","profiler_enable","project","project_local_ray_normal","project_position","project_ray_normal","project_ray_origin","propagate_call","propagate_check","propagate_notification","property_can_revert","property_get_index","property_get_replication_mode","property_get_revert","property_get_spawn","property_get_sync","property_get_watch","property_set_replication_mode","property_set_spawn","property_set_sync","property_set_watch","pseudolocalize","publish_diagnostics","push_back","push_bgcolor","push_bold","push_bold_italics","push_buffer","push_cell","push_color","push_context","push_customfx","push_dropcap","push_error","push_fgcolor","push_font","push_font_size","push_frame","push_front","push_hint","push_indent","push_input","push_italics","push_language","push_list","push_meta","push_mono","push_normal","push_outline_color","push_outline_size","push_paragraph","push_strikethrough","push_table","push_text_input","push_toast","push_underline","push_unhandled_input","push_warning","put_16","put_32","put_64","put_8","put_data","put_double","put_float","put_half","put_packet","put_partial_data","put_string","put_u16","put_u32","put_u64","put_u8","put_utf8_string","put_var","pwa_needs_update","pwa_update","query_external_address","query_path","query_snapshot","query_string_from_dict","queue","queue_accessibility_update","queue_delete","queue_edited_resource_preview","queue_free","queue_redraw","queue_resource_preview","queue_save_layout","queue_sort","quit","rad_to_deg","rand_from_seed","rand_weighted","randf","randf_range","randfn","randi","randi_range","randomize","raw_to_base64","ray_intersects_triangle","raytracing_list_begin","raytracing_list_bind_raytracing_pipeline","raytracing_list_bind_uniform_set","raytracing_list_end","raytracing_list_set_push_constant","raytracing_list_trace_rays","raytracing_pipeline_create","raytracing_pipeline_is_valid","read","read_buffer_from_stdin","read_file","read_link","read_response_body_chunk","read_string_from_stdin","rectangle_shape_create","recursive_equal","redo","reduce","reference","references","reflect","reflection_probe_create","reflection_probe_set_ambient_color","reflection_probe_set_ambient_energy","reflection_probe_set_ambient_mode","reflection_probe_set_as_interior","reflection_probe_set_blend_distance","reflection_probe_set_cull_mask","reflection_probe_set_enable_box_projection","reflection_probe_set_enable_shadows","reflection_probe_set_intensity","reflection_probe_set_max_distance","reflection_probe_set_mesh_lod_threshold","reflection_probe_set_origin_offset","reflection_probe_set_reflection_mask","reflection_probe_set_resolution","reflection_probe_set_size","reflection_probe_set_update_mode","refuse_new_connections","regen_normal_maps","region_bake_navigation_mesh","region_create","region_get_bounds","region_get_closest_point","region_get_closest_point_normal","region_get_closest_point_to_segment","region_get_connection_pathway_end","region_get_connection_pathway_start","region_get_connections_count","region_get_enabled","region_get_enter_cost","region_get_iteration_id","region_get_map","region_get_navigation_layers","region_get_owner_id","region_get_random_point","region_get_transform","region_get_travel_cost","region_get_use_async_iterations","region_get_use_edge_connections","region_owns_point","region_set_enabled","region_set_enter_cost","region_set_map","region_set_navigation_layers","region_set_navigation_mesh","region_set_navigation_polygon","region_set_owner_id","region_set_transform","region_set_travel_cost","region_set_use_async_iterations","region_set_use_edge_connections","register_additional_output","register_composition_layer_provider","register_extension_wrapper","register_frame_info_extension","register_future","register_gltf_document_extension","register_interaction_profile","register_io_path","register_message_capture","register_path_rename","register_profile_rename","register_profiler","register_projection_layer_extension","register_projection_views_extension","register_script_language","register_server","register_singleton","register_skin","register_stream_as_sample","register_syntax_highlighter","register_text_enter","register_top_level_path","reimport_files","release_focus","reload","reload_current_scene","reload_effects","reload_extension","reload_open_files","reload_pseudolocalization","reload_scene_from_path","remap","remove","remove_absolute","remove_action","remove_action_set","remove_alternative_level_tile_proxy","remove_alternative_tile","remove_anchor","remove_animation","remove_animation_library","remove_at","remove_attached_node","remove_autoload_singleton","remove_blend_point","remove_breakpoint","remove_bus","remove_bus_effect","remove_button","remove_cache","remove_caret","remove_cell","remove_char","remove_chars","remove_child","remove_collision_exception_with","remove_collision_polygon","remove_color_region","remove_command","remove_comment_delimiter","remove_context_menu_plugin","remove_control_from_bottom_panel","remove_control_from_container","remove_control_from_docks","remove_coords_level_tile_proxy","remove_custom_data_layer","remove_custom_monitor","remove_custom_type","remove_debugger_plugin","remove_device","remove_dock","remove_domain","remove_exception","remove_exception_rid","remove_excluded_object","remove_export_platform","remove_export_plugin","remove_extended_attribute","remove_feed","remove_format_loader","remove_frame","remove_from_group","remove_glyph","remove_gutter","remove_id","remove_import_plugin","remove_input","remove_input_port","remove_input_port_default_value","remove_inspector_plugin","remove_interaction_profile","remove_interface","remove_item","remove_joy_mapping","remove_kerning","remove_keyword_color","remove_language_support_override","remove_layer","remove_line_at","remove_logger","remove_marker","remove_member_keyword_color","remove_meta","remove_navigation_layer","remove_next","remove_node","remove_node_3d_gizmo_plugin","remove_occluder_polygon","remove_occlusion_layer","remove_outline","remove_output_port","remove_paragraph","remove_path","remove_pattern","remove_peer","remove_persistence_context","remove_physics_layer","remove_point","remove_preview_generator","remove_property","remove_resource","remove_resource_conversion_plugin","remove_resource_format_loader","remove_resource_format_saver","remove_resource_tooltip_plugin","remove_scene_format_importer_plugin","remove_scene_post_import_plugin","remove_scene_tile","remove_script_support_override","remove_secondary_carets","remove_session_tab","remove_shape_owner","remove_shareable_format","remove_shortcut","remove_size_cache","remove_source","remove_source_level_tile_proxy","remove_stacked_outline","remove_stacked_shadow","remove_stream","remove_string_delimiter","remove_tab","remove_terrain","remove_terrain_set","remove_text","remove_texture","remove_theme_color_override","remove_theme_constant_override","remove_theme_font_override","remove_theme_font_size_override","remove_theme_icon_override","remove_theme_stylebox_override","remove_tile","remove_title_bar_control","remove_tool_menu_item","remove_track","remove_tracker","remove_transition","remove_transition_by_index","remove_translation","remove_translation_parser_plugin","remove_triangle","remove_type","remove_undo_redo_inspector_hook_callback","remove_user_signal","remove_valid_connection_type","remove_valid_left_disconnect_type","remove_valid_right_disconnect_type","remove_varying","remove_visibility_filter","rename","rename_absolute","rename_animation","rename_animation_library","rename_color","rename_constant","rename_font","rename_font_size","rename_icon","rename_node","rename_resource","rename_stylebox","rename_theme_item","rename_type","render_glyph","render_model_create","render_model_destroy","render_model_get_all","render_model_get_animatable_node_count","render_model_get_animatable_node_name","render_model_get_animatable_node_transform","render_model_get_confidence","render_model_get_root_transform","render_model_get_subaction_paths","render_model_get_top_level_path","render_model_is_animatable_node_visible","render_model_new_scene_instance","render_pipeline_create","render_pipeline_is_valid","render_range","reorder_blend_point","reparent","repeat","replace","replace_by","replace_char","replace_chars","replace_node","replacen","request","request_attention","request_code_completion","request_draw_and_wait","request_frame_drawn_callback","request_particles_process","request_permission","request_permissions","request_raw","request_ready","request_thumbnail","request_update","reserve_space","reset","reset_bone_pose","reset_bone_poses","reset_instance_physics_interpolation","reset_instances_physics_interpolation","reset_physics_interpolation","reset_section","reset_size","reset_smoothing","reset_state","resize","resize_object","resize_to_po2","resolve","resolve_hostname","resolve_hostname_addresses","resolve_hostname_queue_item","resource_changed","restart","restart_editor","resume","reverse","revoke_granted_permissions","rfind","rfind_custom","rfindn","rgbe_to_srgb","rid_allocate_id","rid_from_int64","right","rotate","rotate_180","rotate_90","rotate_object_local","rotate_toward","rotate_x","rotate_y","rotate_z","rotated","rotated_local","rotation_track_insert_key","rotation_track_interpolate","round","roundf","roundi","rpad","rpc","rpc_config","rpc_id","rsplit","rstrip","sample","sample_baked","sample_baked_up_vector","sample_baked_with_rotation","samplef","sampler_create","sampler_is_format_supported_for_filter","save","save_all_scenes","save_all_scripts","save_custom","save_dds","save_dds_to_buffer","save_encrypted","save_encrypted_pass","save_exr","save_exr_to_buffer","save_jpg","save_jpg_to_buffer","save_pack","save_pack_patch","save_png","save_png_to_buffer","save_scene","save_scene_as","save_support_data","save_to_file","save_to_string","save_to_wav","save_webp","save_webp_to_buffer","save_zip","save_zip_patch","scale_object_local","scale_track_insert_key","scale_track_interpolate","scaled","scaled_local","scan","scan_sources","scenario_create","scenario_set_camera_attributes","scenario_set_compositor","scenario_set_environment","scenario_set_fallback_environment","screen_get_dpi","screen_get_framebuffer_format","screen_get_height","screen_get_image","screen_get_image_rect","screen_get_max_scale","screen_get_orientation","screen_get_pixel","screen_get_position","screen_get_refresh_rate","screen_get_scale","screen_get_size","screen_get_usable_rect","screen_get_width","screen_is_kept_on","screen_set_keep_on","screen_set_orientation","screen_space_roughness_limiter_set_active","script_debug","scroll_to_item","scroll_to_line","scroll_to_paragraph","scroll_to_selection","search","search_all","seed","seek","seek_end","segment_intersects_circle","segment_intersects_convex","segment_intersects_cylinder","segment_intersects_segment","segment_intersects_sphere","segment_intersects_triangle","segment_shape_create","select","select_all","select_file","select_next_available","select_previous_available","select_word_under_caret","send","send_auth","send_bytes","send_message","send_text","separation_ray_shape_create","server","service","set","set_a","set_aa_size","set_aabb","set_abort_on_missing_resources","set_abort_on_reset","set_absorbent","set_accelerometer","set_accept_children","set_accept_gzip","set_access","set_access_resolved_color","set_access_resolved_depth","set_accessibility_controls_nodes","set_accessibility_described_by_nodes","set_accessibility_description","set_accessibility_flow_to_nodes","set_accessibility_labeled_by_nodes","set_accessibility_live","set_accessibility_name","set_accessibility_region","set_accessor_type","set_accessors","set_action","set_action_down","set_action_left","set_action_mode","set_action_right","set_action_set","set_action_set_active","set_action_sets","set_action_type","set_action_up","set_actions","set_active","set_add_uv2","set_additional_data","set_additional_rotation","set_additive","set_adjustment_brightness","set_adjustment_color_correction","set_adjustment_contrast","set_adjustment_enabled","set_adjustment_saturation","set_advance_condition","set_advance_expression","set_advance_expression_base_node","set_advance_mode","set_advance_on_start","set_affect_navigation_mesh","set_agent_height","set_agent_max_climb","set_agent_max_slope","set_agent_radius","set_albedo","set_albedo_mix","set_alignment","set_alignment_horizontal","set_alignment_vertical","set_all_tabs_in_front","set_allow_folding_all","set_allow_geometry_helper_nodes","set_allow_greater","set_allow_lesser","set_allow_object_decoding","set_allow_reselect","set_allow_rmb_select","set_allow_search","set_allow_system_fallback","set_allow_transition_to_self","set_allow_unpress","set_alpha_antialiasing","set_alpha_antialiasing_edge","set_alpha_blend","set_alpha_blend_op","set_alpha_curve","set_alpha_cut_mode","set_alpha_hash_scale","set_alpha_scissor_threshold","set_alpha_swizzle","set_alt_pressed","set_alternative_level_tile_proxy","set_alternative_tile_id","set_ambient_color","set_ambient_color_energy","set_ambient_light_color","set_ambient_light_energy","set_ambient_light_sky_contribution","set_ambient_mode","set_ambient_source","set_amount","set_amount_ratio","set_amplitude","set_anchor","set_anchor_and_offset","set_anchor_detection_is_enabled","set_anchor_mode","set_anchors_and_offsets_preset","set_anchors_preset","set_android_surface_size","set_angle","set_angular_damp","set_angular_damp_mode","set_angular_damp_space_override_mode","set_angular_delta_limit","set_angular_limit_enabled","set_angular_limit_lower","set_angular_limit_upper","set_angular_velocity","set_animate_physical_bones","set_animation","set_animation_loop","set_animation_loop_mode","set_animation_path","set_animation_player","set_animation_speed","set_animations","set_anisotropic_filtering_level","set_anisotropy","set_anisotropy_max","set_anti_aliased","set_antialiased","set_antialiasing","set_any_hit_shader","set_ao_light_affect","set_ao_texture_channel","set_aperture","set_application_thread_type","set_apply_axis","set_apply_bone","set_apply_bone_name","set_apply_range_max","set_apply_range_min","set_apply_transform_mode","set_april_dict","set_area_mask","set_area_normalize_energy","set_area_size","set_area_texture","set_array_layers","set_arrays","set_aruco_dict","set_as_audio_listener_2d","set_as_audio_listener_3d","set_as_basic","set_as_interior","set_as_internal","set_as_mix","set_as_normal_map","set_as_ratio","set_as_sdf_collision","set_as_top_level","set_aspect_ratio","set_assigned_animation","set_atlas","set_attached_nodes","set_attachments","set_attack_us","set_attenuation","set_attenuation_filter_cutoff_hz","set_attenuation_filter_db","set_attenuation_model","set_attractor_interaction_enabled","set_attributes","set_audio_bus_name","set_audio_bus_override","set_audio_max_polyphony","set_audio_track","set_auth_callback","set_auth_timeout","set_auto_accept_quit","set_auto_brace_completion_enabled","set_auto_brace_completion_pairs","set_auto_capture","set_auto_capture_duration","set_auto_capture_ease_type","set_auto_capture_transition_type","set_auto_configure_joint","set_auto_exposure_enabled","set_auto_exposure_max_exposure_value","set_auto_exposure_max_sensitivity","set_auto_exposure_min_exposure_value","set_auto_exposure_min_sensitivity","set_auto_exposure_scale","set_auto_exposure_speed","set_auto_height","set_auto_indent_enabled","set_auto_indent_prefixes","set_auto_tooltip","set_auto_translate","set_auto_translate_mode","set_auto_triangles","set_auto_width","set_autocalculate_length_and_angle","set_autoplay","set_autorestart","set_autorestart_delay","set_autorestart_random_delay","set_autoscroll","set_autoshrink_enabled","set_autoshrink_margin","set_autosmooth","set_autostart","set_autowrap","set_autowrap_mode","set_autowrap_trim_flags","set_available_layouts","set_avoidance_enabled","set_avoidance_layer_value","set_avoidance_layers","set_avoidance_mask","set_avoidance_mask_value","set_avoidance_priority","set_axis","set_axis_flags","set_axis_lock","set_axis_value","set_axis_velocity","set_axis_x_enabled","set_axis_x_inverted","set_axis_y_enabled","set_axis_y_inverted","set_axis_z_enabled","set_axis_z_inverted","set_b","set_back_op_compare","set_back_op_compare_mask","set_back_op_depth_fail","set_back_op_fail","set_back_op_pass","set_back_op_reference","set_back_op_write_mask","set_backface_collision_enabled","set_background","set_backlight","set_backspace_deletes_composite_character_enabled","set_bake_fps","set_bake_interval","set_bake_mask","set_bake_mask_value","set_bake_mode","set_bake_navigation","set_bake_quality","set_bake_resolution","set_bake_simplification_distance","set_baking_rect","set_baking_rect_offset","set_band_gain_db","set_bar_beats","set_base","set_base_error","set_base_font","set_base_path","set_base_scale","set_base_texture","set_base_type","set_baseline_offset","set_basis","set_basisu_compressor_params","set_beat_count","set_begin","set_begin_cap_mode","set_bg_color","set_bg_energy_multiplier","set_bg_intensity","set_bias","set_bidi_override","set_bidirectional","set_big_endian","set_billboard_mode","set_billboard_type","set_bind_bone","set_bind_count","set_bind_ip","set_bind_name","set_bind_pose","set_binding","set_binding_modifiers","set_binding_path","set_bindings","set_bit","set_bit_rect","set_bitmask","set_bitv","set_blas","set_blend_constant","set_blend_distance","set_blend_mode","set_blend_point_name","set_blend_point_node","set_blend_point_position","set_blend_shape","set_blend_shape_mode","set_blend_shape_name","set_blend_shape_value","set_blend_shapes","set_blend_splits","set_blend_time","set_blend_weights","set_block_signals","set_blocking_mode","set_blue_swizzle","set_body_flags","set_body_offset","set_body_size_limit","set_body_tracker","set_body_type","set_body_update","set_bone","set_bone2d_index","set_bone2d_node","set_bone2d_nodepath","set_bone_angle","set_bone_enabled","set_bone_global_pose","set_bone_global_pose_override","set_bone_idx","set_bone_index","set_bone_local_pose_override","set_bone_meta","set_bone_name","set_bone_parent","set_bone_path","set_bone_pose","set_bone_pose_position","set_bone_pose_rotation","set_bone_pose_scale","set_bone_rest","set_bone_size","set_bone_tail","set_bone_update","set_bone_weights","set_bones","set_boot_image","set_boot_image_with_stretch","set_border_blend","set_border_color","set_border_size","set_border_width","set_border_width_all","set_bottom_editor","set_bottom_radius","set_bounce","set_bounce_indirect_energy","set_bounces","set_bounds_size","set_bpm","set_brake","set_break_flags","set_break_loop_at_end","set_breakpoint","set_broadcast_enabled","set_buffer","set_buffer_interpolated","set_buffer_length","set_buffer_view","set_buffer_views","set_buffering_msec","set_buffers","set_build_mode","set_builtin_action_override","set_bump_strength","set_bus","set_bus_bypass_effects","set_bus_count","set_bus_effect_enabled","set_bus_layout","set_bus_mute","set_bus_name","set_bus_send","set_bus_solo","set_bus_volume_db","set_bus_volume_linear","set_button","set_button_color","set_button_description","set_button_disabled","set_button_group","set_button_icon","set_button_index","set_button_mask","set_button_tooltip_text","set_byte_length","set_byte_offset","set_byte_stride","set_bytecode","set_cache_ascent","set_cache_capacity","set_cache_descent","set_cache_scale","set_cache_underline_position","set_cache_underline_thickness","set_calculate_tangents","set_callback_mode_discrete","set_callback_mode_method","set_callback_mode_process","set_camera","set_camera_active","set_camera_attributes","set_camera_feed_id","set_camera_locked_to_origin","set_cameras","set_can_add_swatches","set_can_sleep","set_cancel_button_text","set_canceled","set_canvas_cull_mask","set_canvas_cull_mask_bit","set_canvas_instance_id","set_canvas_max_layer","set_canvas_transform","set_cap_bottom","set_cap_top","set_capacity","set_capture_input_on_drag","set_caret_blink_enabled","set_caret_blink_interval","set_caret_column","set_caret_force_displayed","set_caret_line","set_caret_mid_grapheme_enabled","set_caret_type","set_carve_navigation_mesh","set_cast_shadows_setting","set_ccdik_data_chain_length","set_ccdik_joint_bone2d_node","set_ccdik_joint_bone_index","set_ccdik_joint_constraint_angle_invert","set_ccdik_joint_constraint_angle_max","set_ccdik_joint_constraint_angle_min","set_ccdik_joint_enable_constraint","set_ccdik_joint_rotate_from_joint","set_ceiling_db","set_cell","set_cell_border_color","set_cell_height","set_cell_item","set_cell_mode","set_cell_padding","set_cell_row_background_color","set_cell_scale","set_cell_shape","set_cell_size","set_cell_size_override","set_cells_terrain_connect","set_cells_terrain_path","set_cellular_distance_function","set_cellular_jitter","set_cellular_return_type","set_center_bone","set_center_bone_name","set_center_from","set_center_node","set_center_of_mass","set_center_of_mass_mode","set_center_offset","set_center_region","set_center_x","set_center_y","set_center_z","set_centered","set_central_angle","set_central_horizontal_angle","set_chain_count","set_channel","set_checkable","set_checked","set_children","set_clampzone_ratio","set_clear_button_enabled","set_clear_margin","set_clear_mode","set_clearcoat","set_clearcoat_roughness","set_click_mask","set_clip_auto_advance","set_clip_auto_advance_next_clip","set_clip_children_mode","set_clip_contents","set_clip_count","set_clip_name","set_clip_stream","set_clip_tabs","set_clip_text","set_closable","set_close_on_escape","set_close_with_middle_mouse","set_closed","set_closest_hit_shader","set_code","set_code_completion_enabled","set_code_completion_prefixes","set_code_completion_selected_index","set_code_hint","set_code_hint_draw_below","set_code_region_tags","set_collapsed","set_collapsed_recursive","set_collide_separation_ray_enabled","set_collide_with_areas","set_collide_with_bodies","set_collision_animatable","set_collision_base_size","set_collision_bounce","set_collision_count","set_collision_enabled","set_collision_friction","set_collision_layer","set_collision_layer_value","set_collision_mask","set_collision_mask_value","set_collision_mode","set_collision_path","set_collision_polygon_one_way","set_collision_polygon_one_way_margin","set_collision_polygon_points","set_collision_polygons_count","set_collision_priority","set_collision_use_scale","set_collision_visibility_mode","set_color","set_color_attachments","set_color_blend_op","set_color_default","set_color_initial_ramp","set_color_map","set_color_mode","set_color_ramp","set_color_regions","set_colors","set_column_clip_content","set_column_custom_minimum_width","set_column_expand","set_column_expand_ratio","set_column_title","set_column_title_alignment","set_column_title_direction","set_column_title_language","set_column_title_tooltip_text","set_column_titles_visible","set_columns","set_command_or_control_autoremap","set_comment_delimiters","set_compare_op","set_comparison_type","set_component_type","set_compositor","set_compositor_effects","set_compression_level","set_condition","set_cone","set_config_error","set_config_missing_templates","set_connection","set_connection_activity","set_connection_lines_antialiased","set_connection_lines_curvature","set_connection_lines_thickness","set_connections","set_constant","set_constant_angular_velocity","set_constant_force","set_constant_id","set_constant_linear_velocity","set_constant_torque","set_constraint_angle_invert","set_constraint_angle_max","set_constraint_angle_min","set_contact_monitor","set_content_margin","set_content_margin_all","set_content_scale_aspect","set_content_scale_factor","set_content_scale_mode","set_content_scale_size","set_content_scale_stretch","set_context_menu_enabled","set_continuous_collision_detection_mode","set_control_state","set_controller_number","set_controller_value","set_convex_hull_approximation","set_convex_hull_downsampling","set_coords_level_tile_proxy","set_copy_flags","set_copy_mode","set_copy_position","set_copy_rotation","set_copy_scale","set_copyright","set_corner_detail","set_corner_radius","set_corner_radius_all","set_count","set_cpu_level","set_create_animations","set_ctrl_pressed","set_cube_map","set_cubic_interpolation","set_cull_mask","set_cull_mask_value","set_cull_mode","set_current","set_current_animation","set_current_dir","set_current_feature_profile","set_current_file","set_current_frame","set_current_path","set_current_scene","set_current_screen","set_current_tab","set_curve","set_curve_step","set_curve_x","set_curve_y","set_curve_z","set_custom","set_custom_aabb","set_custom_arrow_round","set_custom_arrow_step","set_custom_as_button","set_custom_bg_color","set_custom_color","set_custom_data","set_custom_data_by_layer_id","set_custom_data_layer_name","set_custom_data_layer_type","set_custom_draw","set_custom_draw_callback","set_custom_font","set_custom_font_size","set_custom_format","set_custom_interpolator","set_custom_maximum_size","set_custom_minimum_height","set_custom_minimum_size","set_custom_mouse_cursor","set_custom_play_space","set_custom_punctuation","set_custom_solver_bias","set_custom_step","set_custom_stylebox","set_custom_viewport","set_custom_word_separators","set_customization_flag_enabled","set_cutoff","set_cyclic_length","set_damping","set_damping_coefficient","set_damping_compression","set_damping_curve","set_damping_relaxation","set_data","set_data_array","set_db","set_deadzone","set_deadzone_ratio","set_debug_collisions_hint","set_debug_color","set_debug_custom_color","set_debug_draw","set_debug_enabled","set_debug_generate_wireframes","set_debug_navigation_hint","set_debug_path_custom_color","set_debug_path_custom_line_width","set_debug_path_custom_point_size","set_debug_paths_hint","set_debug_shape_custom_color","set_debug_shape_thickness","set_debug_use_custom","set_default_base_scale","set_default_blend_time","set_default_canvas_item_texture_filter","set_default_canvas_item_texture_repeat","set_default_clear_color","set_default_color","set_default_compute_heuristic","set_default_cursor_shape","set_default_estimate_heuristic","set_default_extension","set_default_font","set_default_font_size","set_default_input_values","set_default_interface","set_default_server","set_default_slot","set_default_texture_parameter","set_default_value","set_default_value_enabled","set_deferred","set_deferred_drag_mode_enabled","set_deferred_mode","set_deferred_thread_group","set_degrees_mode","set_delay","set_deletable","set_delta","set_delta_interval","set_delta_smoothing","set_denoiser_range","set_denoiser_strength","set_density","set_density_texture","set_depth","set_depth_attachment","set_depth_bias_clamp","set_depth_bias_constant_factor","set_depth_bias_enabled","set_depth_bias_slope_factor","set_depth_compare_operator","set_depth_draw_mode","set_depth_far","set_depth_near","set_depth_range_max","set_depth_range_min","set_depth_test","set_description","set_description_url","set_deselect_enabled","set_deselect_on_focus_loss_enabled","set_dest_address","set_detail_blend_mode","set_detail_sample_distance","set_detail_sample_max_error","set_detail_uv","set_deterministic","set_device","set_diagonal_mode","set_diffuse_factor","set_diffuse_img","set_diffuse_mode","set_diffuse_texture","set_direction","set_directional","set_directionality","set_disable_3d","set_disable_class","set_disable_class_editor","set_disable_class_property","set_disable_embedded_bitmaps","set_disable_feature","set_disable_folding","set_disable_input","set_disable_mode","set_disable_overwrite_warning","set_disable_scale","set_disable_shortcuts","set_disabled","set_discard_primitives","set_discover_ipv6","set_discover_local_port","set_discover_multicast_if","set_disperse_mode","set_display_folded","set_display_mode","set_display_refresh_rate","set_display_to_lens","set_display_width","set_distance","set_distance_fade","set_distance_fade_begin","set_distance_fade_length","set_distance_fade_max_distance","set_distance_fade_min_distance","set_distance_fade_shadow","set_distraction_free_mode","set_dock_icon","set_dock_shortcut","set_dock_tab_icon","set_dof_blur_amount","set_dof_blur_far_distance","set_dof_blur_far_enabled","set_dof_blur_far_transition","set_dof_blur_near_distance","set_dof_blur_near_enabled","set_dof_blur_near_transition","set_domain_warp_amplitude","set_domain_warp_enabled","set_domain_warp_fractal_gain","set_domain_warp_fractal_lacunarity","set_domain_warp_fractal_octaves","set_domain_warp_fractal_type","set_domain_warp_frequency","set_domain_warp_type","set_doppler_tracking","set_double_click","set_double_tap","set_download_chunk_size","set_download_file","set_drag","set_drag_and_drop_selection_enabled","set_drag_area_highlight_in_editor","set_drag_area_margin_begin","set_drag_area_margin_end","set_drag_area_offset","set_drag_coefficient","set_drag_damping_curve","set_drag_forwarding","set_drag_horizontal_enabled","set_drag_horizontal_offset","set_drag_margin","set_drag_nested_intersections","set_drag_preview","set_drag_threshold","set_drag_to_rearrange_enabled","set_drag_vertical_enabled","set_drag_vertical_offset","set_draggable","set_dragger_visibility","set_dragging_enabled","set_draw_background","set_draw_behind_parent","set_draw_bookmarks_gutter","set_draw_breakpoints_gutter","set_draw_caret_when_editable_disabled","set_draw_center","set_draw_control_chars","set_draw_executing_lines_gutter","set_draw_flag","set_draw_focus_border","set_draw_fold_gutter","set_draw_label","set_draw_line_numbers","set_draw_minimap","set_draw_order","set_draw_pass_mesh","set_draw_passes","set_draw_spaces","set_draw_tabs","set_draw_warning","set_drive","set_drop_mode_flags","set_dropcap","set_dry","set_dst_alpha_blend_factor","set_dst_color_blend_factor","set_duration","set_dynamic_range","set_ease","set_ease_type","set_echo","set_edge_fade","set_edge_max_error","set_edge_max_length","set_edge_meta","set_edit_alpha","set_edit_intensity","set_edit_multiline","set_editable","set_editable_instance","set_edited_resource","set_edited_scene_root","set_editing_integer","set_editor_description","set_editor_draw_gizmo","set_editor_only","set_editor_preview_indeterminate","set_effect_callback_type","set_effects","set_elapsed_time","set_ellipsis_char","set_embedding_subwindows","set_embolden","set_emission","set_emission_angle","set_emission_angle_enabled","set_emission_angle_filter_attenuation_db","set_emission_box_extents","set_emission_color_texture","set_emission_colors","set_emission_curve","set_emission_energy","set_emission_energy_multiplier","set_emission_intensity","set_emission_normal_texture","set_emission_normals","set_emission_operator","set_emission_point_count","set_emission_point_texture","set_emission_points","set_emission_rect_extents","set_emission_ring_axis","set_emission_ring_cone_angle","set_emission_ring_height","set_emission_ring_inner_radius","set_emission_ring_radius","set_emission_shape","set_emission_shape_offset","set_emission_shape_scale","set_emission_sphere_radius","set_emitting","set_emoji_menu_enabled","set_empty_selection_clipboard_enabled","set_emulate_environment_blend_mode_alpha_blend","set_emulate_mouse_from_touch","set_emulate_touch_from_mouse","set_enable_all_child_collisions","set_enable_alpha_to_coverage","set_enable_alpha_to_one","set_enable_blend","set_enable_box_projection","set_enable_compare","set_enable_constraint","set_enable_debug_fill","set_enable_depth_clamp","set_enable_depth_range","set_enable_depth_test","set_enable_depth_write","set_enable_distance_fade","set_enable_drag_unfolding","set_enable_flags","set_enable_hole_punch","set_enable_logic_op","set_enable_mode","set_enable_node_path","set_enable_recursive_folding","set_enable_sample_shading","set_enable_shadows","set_enable_stencil","set_enable_tagging_used_audio_streams","set_enabled","set_encode_buffer_max_size","set_end","set_end_bone","set_end_bone_direction","set_end_bone_length","set_end_bone_name","set_end_cap_mode","set_end_position","set_energy","set_energy_multiplier","set_engine_force","set_enter_cost","set_entity","set_enum_names","set_environment","set_environment_blend_mode","set_environment_custom_color","set_environment_custom_energy","set_environment_custom_sky","set_environment_mode","set_event_index","set_events","set_exclude","set_exclude_bodies","set_exclude_collision_count","set_exclude_collision_path","set_exclude_nodes_from_collision","set_exclude_objects","set_exclude_parent_body","set_excluded_regions","set_exclusive","set_execution_mode","set_exp_ratio","set_expand","set_expand_icon","set_expand_margin","set_expand_margin_all","set_expand_mode","set_expand_right","set_expand_to_text_length_enabled","set_explicit_elapse","set_explosiveness_ratio","set_exposure_multiplier","set_exposure_sensitivity","set_expression","set_extend_end_bone","set_extended_attribute","set_extended_attribute_string","set_external","set_external_buffer_id","set_external_force","set_external_skeleton","set_extra_baseline_offset","set_extra_cull_margin","set_extra_spacing","set_eye_height","set_eye_visibility","set_fabrik_data_chain_length","set_fabrik_joint_bone2d_node","set_fabrik_joint_bone_index","set_fabrik_joint_magnet_position","set_fabrik_joint_use_target_rotation","set_face_index","set_face_meta","set_face_tracker","set_faces","set_factor","set_fade_time","set_fadein_curve","set_fadein_time","set_fadeout_curve","set_fadeout_time","set_fallback_base_scale","set_fallback_environment","set_fallback_font","set_fallback_font_size","set_fallback_icon","set_fallback_image_format","set_fallback_image_quality","set_fallback_segments","set_fallback_stylebox","set_fallbacks","set_far","set_favorite_list","set_favorites","set_feature","set_feedback","set_feedback_active","set_feedback_delay_ms","set_feedback_level_db","set_feedback_lowpass","set_fft_size","set_file","set_file_mode","set_filename","set_filename_filter","set_fill","set_fill_degrees","set_fill_from","set_fill_mode","set_fill_to","set_filter_baking_aabb","set_filter_baking_aabb_offset","set_filter_clip","set_filter_enabled","set_filter_ledge_spans","set_filter_low_hanging_obstacles","set_filter_path","set_filter_walkable_low_height_spans","set_filtering_enabled","set_filters","set_fit_content","set_fit_content_height_enabled","set_fit_content_width_enabled","set_fit_margin","set_fit_to_longest_item","set_fix_alpha_border","set_fixed_column_width","set_fixed_fps","set_fixed_icon_size","set_fixed_size","set_fixed_size_scale_mode","set_flag","set_flag_x","set_flag_y","set_flag_z","set_flags","set_flat","set_flatness","set_flip_bend_direction","set_flip_faces","set_flip_h","set_flip_v","set_floor_block_on_wall_enabled","set_floor_constant_speed_enabled","set_floor_max_angle","set_floor_snap_length","set_floor_stop_on_slope_enabled","set_focal_length","set_focus_behavior_recursive","set_focus_distance","set_focus_mode","set_focus_neighbor","set_focus_next","set_focus_previous","set_focused_item","set_fog_aerial_perspective","set_fog_density","set_fog_depth_begin","set_fog_depth_curve","set_fog_depth_end","set_fog_enabled","set_fog_height","set_fog_height_density","set_fog_light_color","set_fog_light_energy","set_fog_mode","set_fog_sky_affect","set_fog_sun_scatter","set_foldable_group","set_folded","set_follow_bone_when_simulating","set_follow_camera_enabled","set_follow_focus","set_follow_viewport","set_follow_viewport_scale","set_font","set_font_color","set_font_italic","set_font_name","set_font_names","set_font_size","set_font_stretch","set_font_style","set_font_style_name","set_font_weight","set_force_autohinter","set_force_draw_over_forwarding_enabled","set_force_native","set_force_pass_scroll_events","set_force_show_icon","set_format","set_format_override","set_forward_axis","set_fov","set_fov_override","set_foveation_dynamic","set_foveation_level","set_foveation_with_subsampled_images","set_fractal_gain","set_fractal_lacunarity","set_fractal_octaves","set_fractal_ping_pong_strength","set_fractal_type","set_fractal_weighted_strength","set_fractional_delta","set_frame","set_frame_and_progress","set_frame_coords","set_frame_duration","set_frame_progress","set_frame_texture","set_frames","set_freeze_enabled","set_freeze_mode","set_frequency","set_friction","set_friction_slip","set_from","set_front_face","set_front_op_compare","set_front_op_compare_mask","set_front_op_depth_fail","set_front_op_fail","set_front_op_pass","set_front_op_reference","set_front_op_write_mask","set_frustum","set_frustum_offset","set_fsr_sharpness","set_function","set_function_color","set_gain","set_generate_mipmaps","set_generate_probes","set_get_icon_callback","set_get_thumbnail_callback","set_gi_mode","set_gizmo_extents","set_glb_data","set_global","set_global_basis","set_global_canvas_transform","set_global_end_position","set_global_position","set_global_rotation","set_global_rotation_degrees","set_global_scale","set_global_skew","set_global_start_position","set_global_transform","set_gloss_factor","set_glow_blend_mode","set_glow_bloom","set_glow_enabled","set_glow_hdr_bleed_scale","set_glow_hdr_bleed_threshold","set_glow_hdr_luminance_cap","set_glow_intensity","set_glow_level","set_glow_map","set_glow_map_strength","set_glow_mix","set_glow_normalized","set_glow_strength","set_gltf_to_godot_expression","set_glyph_advance","set_glyph_count","set_glyph_flags","set_glyph_index","set_glyph_offset","set_glyph_size","set_glyph_texture_idx","set_glyph_uv_rect","set_godot_bone_node","set_godot_skin","set_godot_to_gltf_expression","set_gpu_level","set_gradient","set_graph_offset","set_gravity","set_gravity_damping_curve","set_gravity_direction","set_gravity_is_point","set_gravity_point_center","set_gravity_point_unit_distance","set_gravity_scale","set_gravity_space_override_mode","set_green_swizzle","set_grid_pattern","set_ground_bottom_color","set_ground_color","set_ground_curve","set_ground_energy_multiplier","set_ground_horizon_color","set_group","set_group_flags","set_group_name","set_group_size","set_grow","set_grow_begin","set_grow_enabled","set_grow_end","set_gutter_clickable","set_gutter_custom_draw","set_gutter_draw","set_gutter_name","set_gutter_overwritable","set_gutter_type","set_gutter_width","set_gyroscope","set_h_axis_stretch_mode","set_h_grow_direction","set_h_offset","set_h_scroll","set_h_scroll_enabled","set_h_size_flags","set_hand","set_hand_joint_angular_velocity","set_hand_joint_flags","set_hand_joint_linear_velocity","set_hand_joint_radius","set_hand_joint_transform","set_hand_skeleton","set_hand_tracker","set_hand_tracking_source","set_handle_binary_image","set_handle_binary_image_mode","set_handle_input_locally","set_handle_offset","set_handshake_headers","set_handshake_timeout","set_hardware_keyboard_connection_change_callback","set_has_tracking_data","set_hdr_output_requested","set_heartbeat_interval","set_height","set_height_falloff","set_heightfield_mask","set_heightfield_mask_value","set_heightmap_deep_parallax","set_heightmap_deep_parallax_flip_binormal","set_heightmap_deep_parallax_flip_tangent","set_heightmap_deep_parallax_max_layers","set_heightmap_deep_parallax_min_layers","set_heightmap_scale","set_held_modification_stack","set_hex_visible","set_hframes","set_hidden","set_hidden_attribute","set_hide_folding","set_hide_on_checkable_item_selection","set_hide_on_item_selection","set_hide_on_ok","set_hide_on_state_item_selection","set_hide_root","set_hide_slider","set_highlight_all_occurrences","set_highlight_current_line","set_highlight_matching_braces_enabled","set_hint","set_hint_underline","set_hinting","set_hit_back_faces","set_hit_from_inside","set_hit_sbt_range","set_horizontal_alignment","set_horizontal_custom_step","set_horizontal_scroll_mode","set_horizontal_wrap","set_hpf","set_http_proxy","set_https_proxy","set_icon","set_icon_alignment","set_icon_expand_mode","set_icon_max_width","set_icon_mode","set_icon_modulate","set_icon_name","set_icon_overlay","set_icon_region","set_icon_scale","set_id","set_id_for_path","set_identity","set_igd_control_url","set_igd_our_addr","set_igd_service_type","set_igd_status","set_ignore_camera_scroll","set_ignore_camera_zoom","set_ignore_invalid_connection_type","set_ignore_joypad_on_unfocused_application","set_ignore_occlusion_culling","set_ignore_rotation","set_ignore_texture_size","set_ignore_time_scale","set_ignore_transform_notification","set_image","set_image_format","set_image_size","set_images","set_ime_active","set_ime_position","set_import_as_skeleton_bones","set_importer_mesh","set_in_3d_space","set_inbound_buffer_size","set_include_hidden","set_include_navigational","set_included_regions","set_indent_size","set_indent_using_spaces","set_indent_wrapped_lines","set_indeterminate","set_index","set_index_buffer","set_index_count","set_index_offset","set_indexed","set_indices","set_individual_config","set_inertia","set_inertia_diagonal","set_inertia_orientation","set_inertia_tensor","set_influence","set_inherit_velocity_ratio","set_initial_clip","set_initial_offset","set_initial_offset_ratio","set_initial_position","set_initial_value","set_inner_cone_angle","set_inner_radius","set_input","set_input_as_auto_advance","set_input_as_handled","set_input_attachments","set_input_break_loop_at_end","set_input_buffer_max_size","set_input_count","set_input_device","set_input_device_active","set_input_event_forwarding_always_enabled","set_input_name","set_input_path","set_input_port_default_value","set_input_port_name","set_input_port_type","set_input_reset","set_inputs","set_inside","set_instance_color","set_instance_count","set_instance_custom_data","set_instance_index","set_instance_materials","set_instance_shader_parameter","set_instance_transform","set_instance_transform_2d","set_instrument","set_intensity","set_interaction_profile_path","set_interaction_profiles","set_interface_direction","set_interior","set_internal_size","set_internal_vertex_count","set_interp_to_end","set_interpolate","set_interpolation","set_interpolation_color_space","set_interpolation_mode","set_intersection_shader","set_inverse_binds","set_invert","set_invert_border","set_invert_enabled","set_invert_flags","set_iod","set_is_discardable","set_is_hemisphere","set_is_resolve_buffer","set_is_setup","set_is_sticky","set_is_trigger","set_item_accelerator","set_item_as_checkable","set_item_as_radio_checkable","set_item_as_separator","set_item_auto_translate_mode","set_item_callback","set_item_checkable","set_item_checked","set_item_count","set_item_cull_mask","set_item_custom_bg_color","set_item_custom_fg_color","set_item_disabled","set_item_hidden","set_item_hover_callbacks","set_item_icon","set_item_icon_max_width","set_item_icon_modulate","set_item_icon_region","set_item_icon_transposed","set_item_id","set_item_indent","set_item_indentation_level","set_item_index","set_item_key_callback","set_item_language","set_item_max_states","set_item_mesh","set_item_mesh_cast_shadow","set_item_mesh_transform","set_item_metadata","set_item_multistate","set_item_multistate_max","set_item_name","set_item_navigation_layers","set_item_navigation_mesh","set_item_navigation_mesh_transform","set_item_preview","set_item_radio_checkable","set_item_selectable","set_item_shadow_cull_mask","set_item_shapes","set_item_shortcut","set_item_shortcut_disabled","set_item_state","set_item_submenu","set_item_submenu_node","set_item_tag","set_item_text","set_item_text_direction","set_item_tooltip","set_item_tooltip_enabled","set_jiggle_data_chain_length","set_jiggle_joint_bone2d_node","set_jiggle_joint_bone_index","set_jiggle_joint_damping","set_jiggle_joint_gravity","set_jiggle_joint_mass","set_jiggle_joint_override","set_jiggle_joint_stiffness","set_jiggle_joint_use_gravity","set_joint_drag","set_joint_flags","set_joint_gravity","set_joint_gravity_direction","set_joint_i_to_bone_i","set_joint_i_to_name","set_joint_limitation","set_joint_limitation_right_axis","set_joint_limitation_right_axis_vector","set_joint_limitation_rotation_offset","set_joint_mode","set_joint_offset","set_joint_one_bone2d_node","set_joint_one_bone_idx","set_joint_radius","set_joint_rotation","set_joint_rotation_axis","set_joint_rotation_axis_vector","set_joint_stiffness","set_joint_transform","set_joint_twist_amount","set_joint_two_bone2d_node","set_joint_two_bone_idx","set_joint_type","set_joints","set_joints_original","set_joy_light","set_joy_motion_sensors_calibration","set_joy_motion_sensors_enabled","set_joystick_mode","set_joystick_size","set_json","set_json_pointers","set_jumping_enabled","set_justification_flags","set_k1","set_k2","set_keep_all_compressed_buffers","set_keep_aspect_mode","set_keep_compressed_buffer","set_keep_editing_on_text_submit","set_keep_hf_hz","set_keep_pressed_outside","set_keep_rounding_remainders","set_keep_scale_enabled","set_keep_title_visible","set_keep_y_velocity","set_kerning","set_key_label","set_keycode","set_keying","set_keyword_colors","set_label","set_label_reference","set_label_settings","set_language","set_language_support_override","set_last_wrap_alignment","set_layer","set_layer_enabled","set_layer_mask","set_layer_mask_value","set_layer_modulate","set_layer_name","set_layer_navigation_enabled","set_layer_navigation_map","set_layer_range_max","set_layer_range_min","set_layer_viewport","set_layer_y_sort_enabled","set_layer_y_sort_origin","set_layer_z_index","set_layers","set_layout_direction","set_layout_key","set_left_to_right","set_length","set_lifetime","set_lifetime_randomness","set_light","set_light_data","set_light_mask","set_light_mode","set_light_texture","set_light_type","set_lightmap_scale","set_lightmap_size_hint","set_lightmap_texel_scale","set_lightmap_textures","set_lights","set_limit","set_limit_begin","set_limit_drawing_enabled","set_limit_enabled","set_limit_end","set_limit_smoothing_enabled","set_line","set_line_as_bookmarked","set_line_as_breakpoint","set_line_as_center_visible","set_line_as_executing","set_line_as_first_visible","set_line_as_last_visible","set_line_background_color","set_line_folding_enabled","set_line_gutter_clickable","set_line_gutter_icon","set_line_gutter_item_color","set_line_gutter_metadata","set_line_gutter_text","set_line_length_guidelines","set_line_numbers_min_digits","set_line_numbers_zero_padded","set_line_spacing","set_line_width","set_line_wrapping_mode","set_linear_damp","set_linear_damp_mode","set_linear_damp_space_override_mode","set_linear_stiffness","set_linear_velocity","set_lines_left","set_lines_skipped","set_list_stream","set_local_description","set_local_to_scene","set_locale","set_locale_override","set_localize_numeral_system","set_localized_name","set_location","set_lock_rotation_enabled","set_lod_bias","set_logic_op","set_loop","set_loop_begin","set_loop_end","set_loop_mode","set_loop_offset","set_loops","set_lossy_quality","set_low_processor_usage_mode","set_low_processor_usage_mode_sleep_usec","set_lower_fade","set_lower_vertical_angle","set_mag_filter","set_magnet_position","set_magnetometer","set_main_screen_editor","set_major_version","set_make_local_to_pose","set_map","set_map_data","set_map_depth","set_map_width","set_margin","set_margin_drawing_enabled","set_margins","set_marker_color","set_marker_data","set_marker_id","set_marker_type","set_mask","set_mass","set_material","set_material_overlay","set_material_override","set_materials","set_max","set_max_angular_velocity","set_max_anisotropy","set_max_collisions","set_max_columns","set_max_concavity","set_max_contacts_reported","set_max_convex_hulls","set_max_db","set_max_delta_packet_size","set_max_distance","set_max_domain","set_max_fps","set_max_iterations","set_max_length","set_max_lines_visible","set_max_lod","set_max_neighbors","set_max_num_vertices_per_convex_hull","set_max_pending_connections","set_max_physics_steps_per_frame","set_max_polyphony","set_max_queued_packets","set_max_redirects","set_max_results","set_max_size","set_max_slides","set_max_space","set_max_speed","set_max_steps","set_max_sync_packet_size","set_max_tab_width","set_max_text_lines","set_max_texture_size","set_max_value","set_member_keyword_colors","set_member_variable_color","set_menu","set_menu_disabled","set_menu_hidden","set_menu_title","set_menu_tooltip","set_mesh","set_mesh_data","set_mesh_index","set_mesh_library","set_mesh_lod_threshold","set_meshes","set_message","set_message_translation","set_meta","set_meta_pressed","set_meta_underline","set_metadata","set_metadata_flags","set_metallic","set_metallic_texture_channel","set_method","set_method_call_mode","set_mid_height","set_middle_bone","set_middle_bone_name","set_middle_mouse_paste_enabled","set_mie_coefficient","set_mie_color","set_mie_eccentricity","set_min","set_min_distance","set_min_domain","set_min_filter","set_min_lod","set_min_sample_shading","set_min_size","set_min_space","set_min_value","set_min_volume_per_convex_hull","set_minimap_enabled","set_minimap_opacity","set_minimap_size","set_minimap_width","set_minimum_width","set_minor_version","set_mip_filter","set_mipmap_mode","set_mipmaps","set_mirroring","set_mix","set_mix_mode","set_mix_rate","set_mix_rate_mode","set_mix_target","set_mode","set_mode_2d","set_mode_overrides_title","set_modes_visible","set_modification","set_modification_count","set_modification_stack","set_modifier_callback_mode_process","set_modulate","set_modulate_color_glyphs","set_monitorable","set_monitoring","set_monitoring_feeds","set_motion","set_motion_mode","set_motion_offset","set_motion_range","set_motion_scale","set_motor_enabled","set_motor_target_velocity","set_mouse_behavior_recursive","set_mouse_filter","set_mouse_mode","set_mouse_passthrough_polygon","set_mouse_target","set_move_caret_on_right_click_enabled","set_movie_maker_enabled","set_movie_quit_on_finish_enabled","set_msaa_2d","set_msaa_3d","set_msdf_outline_size","set_msdf_pixel_range","set_msdf_size","set_multichannel_signed_distance_field","set_multimesh","set_multiplayer","set_multiplayer_authority","set_multiplayer_peer","set_multiplayer_poll_enabled","set_multiple_carets_enabled","set_mutable_bone_axes","set_name","set_name_split_ratio","set_native_icon","set_navigation_enabled","set_navigation_layer_layer_value","set_navigation_layer_layers","set_navigation_layer_value","set_navigation_layers","set_navigation_map","set_navigation_mesh","set_navigation_polygon","set_navigation_visibility_mode","set_near","set_needs_motion_vectors","set_needs_normal_roughness","set_needs_separate_specular","set_negative","set_neighbor_distance","set_neighbor_filter_enabled","set_next","set_next_pass","set_night_sky","set_nine_patch_stretch","set_no_delay","set_node_3d","set_node_a","set_node_b","set_node_paths","set_node_position","set_nodes","set_noise","set_noise_type","set_non_joints","set_nonclient_area","set_normal","set_normal_bias","set_normal_fade","set_normal_scale","set_normal_texture","set_normalize","set_normalize_mesh","set_normalized","set_notify_local_transform","set_notify_transform","set_number_color","set_object_and_property","set_object_edited","set_object_id","set_object_model_type","set_object_name","set_obstruction_outlines","set_occluder","set_occluder_light_mask","set_occluder_polygon","set_occluder_polygons_count","set_occlusion_enabled","set_occlusion_layer_light_mask","set_occlusion_layer_sdf_collision","set_octant_size","set_off_haptic","set_off_threshold","set_offset","set_offset_rect","set_offset_transform_enabled","set_offset_transform_pivot","set_offset_transform_pivot_ratio","set_offset_transform_position","set_offset_transform_position_ratio","set_offset_transform_rotation","set_offset_transform_scale","set_offset_transform_visual_only","set_offsets","set_offsets_preset","set_ok_button_text","set_on_haptic","set_on_threshold","set_one_shot","set_one_way_collision","set_one_way_collision_direction","set_one_way_collision_margin","set_op_type","set_opentype_feature_overrides","set_opentype_features","set_operation","set_operator","set_option_count","set_option_default","set_option_name","set_option_values","set_optional_features","set_order","set_orientation","set_origin_bone","set_origin_bone_name","set_origin_external_node","set_origin_from","set_origin_offset","set_origin_safe_margin","set_original_class","set_original_name","set_original_scene","set_orthogonal","set_outbound_buffer_size","set_outer_cone_angle","set_outer_radius","set_outline","set_outline_color","set_outline_modulate","set_outline_render_priority","set_outline_size","set_output_buffer_max_size","set_output_device","set_output_port_for_preview","set_output_port_name","set_output_port_type","set_outputs","set_over_texture","set_override_pose","set_override_tip_basis","set_oversample","set_oversampling","set_oversampling_override","set_oversampling_with_scale","set_overtype_mode_enabled","set_owner","set_packet_data","set_packet_granule_positions","set_packet_sequence","set_page","set_palette_custom_colors","set_palette_index","set_pan","set_pan_pullout","set_panning_scheme","set_panning_strength","set_panorama","set_paragraph_separator","set_paragraph_spacing","set_parallel","set_param","set_param_curve","set_param_max","set_param_min","set_param_texture","set_param_x","set_param_y","set_param_z","set_parameter","set_parameter_name","set_parent","set_parent_collision_ignore","set_parsed_collision_mask","set_parsed_collision_mask_value","set_parsed_geometry_type","set_particle_flag","set_particles_anim_h_frames","set_particles_anim_loop","set_particles_anim_v_frames","set_particles_animation","set_passby_press","set_patch_control_points","set_patch_margin","set_path","set_path_3d","set_path_cache","set_path_continuous_u","set_path_desired_distance","set_path_height_offset","set_path_interval","set_path_interval_type","set_path_joined","set_path_length","set_path_local","set_path_max_distance","set_path_metadata_flags","set_path_node","set_path_owner_ids","set_path_postprocessing","set_path_return_max_length","set_path_return_max_radius","set_path_rids","set_path_rotation","set_path_rotation_accurate","set_path_search_max_distance","set_path_search_max_polygons","set_path_simplify_angle","set_path_types","set_path_u_distance","set_pathfinding_algorithm","set_paths","set_pattern","set_pause","set_pause_mode","set_paused","set_pen_inverted","set_perspective","set_physical_bone_chain_length","set_physical_bone_node","set_physical_keycode","set_physics_interpolation_enabled","set_physics_interpolation_mode","set_physics_interpolation_quality","set_physics_jitter_fix","set_physics_layer_collision_layer","set_physics_layer_collision_mask","set_physics_layer_collision_priority","set_physics_layer_physics_material","set_physics_material","set_physics_material_override","set_physics_object_picking","set_physics_object_picking_first_only","set_physics_object_picking_sort","set_physics_process","set_physics_process_internal","set_physics_process_priority","set_physics_quadrant_size","set_physics_ticks_per_second","set_pick_color","set_pickable","set_picker_shape","set_pitch","set_pitch_scale","set_pivot_offset","set_pivot_offset_ratio","set_pixel","set_pixel_size","set_pixelv","set_placeholder","set_plane","set_plane_alignment","set_plane_downsampling","set_plane_label","set_platform_floor_layers","set_platform_on_leave","set_platform_wall_layers","set_play_area_mode","set_play_mode","set_playback_mode","set_playback_speed_scale","set_playback_type","set_playing","set_plugin_enabled","set_plural_rules_override","set_point_cloud","set_point_count","set_point_disabled","set_point_in","set_point_left_mode","set_point_left_tangent","set_point_offset","set_point_out","set_point_penalty","set_point_pinned","set_point_position","set_point_right_mode","set_point_right_tangent","set_point_size","set_point_solid","set_point_tilt","set_point_value","set_point_weight_scale","set_points","set_pole_direction","set_pole_direction_vector","set_pole_node","set_polygon","set_polygons","set_polyphony","set_popup","set_popup_close_callback","set_popup_open_callback","set_pose","set_pose_name","set_position","set_position_enabled","set_position_offset","set_position_smoothing_enabled","set_position_smoothing_speed","set_positional_shadow_atlas_16_bits","set_positional_shadow_atlas_quadrant_subdiv","set_positional_shadow_atlas_size","set_post_gain","set_pre_gain","set_pre_gain_db","set_pre_process_time","set_precision","set_predelay_feedback","set_predelay_msec","set_prefer_global_menu","set_prefer_native_menu","set_prefix","set_premult_alpha","set_preserve_attachments","set_preserve_control","set_preserve_invalid","set_presets_visible","set_pressed","set_pressed_no_signal","set_pressure","set_pressure_coefficient","set_primary","set_primary_damp_threshold","set_primary_interface","set_primary_limit_angle","set_primary_negative_damp_threshold","set_primary_negative_limit_angle","set_primary_positive_damp_threshold","set_primary_positive_limit_angle","set_primary_rotation_axis","set_print_error_messages","set_print_to_stdout","set_priority","set_probability","set_probe_data","set_process","set_process_callback","set_process_input","set_process_internal","set_process_material","set_process_mode","set_process_priority","set_process_shortcut_input","set_process_thread_group","set_process_thread_group_order","set_process_thread_messages","set_process_unhandled_input","set_process_unhandled_key_input","set_profile","set_progress","set_progress_bar_delay","set_progress_ratio","set_progress_texture","set_project_hull_vertices","set_project_metadata","set_projected_obstructions","set_projection","set_projector","set_propagate_maximum_size","set_propagation","set_protected_content","set_proximity_fade_distance","set_proximity_fade_enabled","set_pseudolocalization_accents_enabled","set_pseudolocalization_double_vowels_enabled","set_pseudolocalization_enabled","set_pseudolocalization_expansion_ratio","set_pseudolocalization_fake_bidi_enabled","set_pseudolocalization_override_enabled","set_pseudolocalization_prefix","set_pseudolocalization_skip_placeholders_enabled","set_pseudolocalization_suffix","set_quad_size","set_qualifier","set_quaternion","set_quit_on_go_back","set_radial_center_offset","set_radial_initial_angle","set_radial_segments","set_radial_steps","set_radiance_size","set_radius","set_radius_damping_curve","set_random_pitch","set_random_pitch_semitones","set_random_volume_offset_db","set_randomness_ratio","set_range","set_range_config","set_range_max_hz","set_range_min_hz","set_rate_hz","set_ratio","set_ray_pickable","set_rayleigh_coefficient","set_rayleigh_color","set_read_chunk_size","set_read_only","set_read_only_attribute","set_recent_dirs","set_recent_list","set_recording_active","set_recording_properties","set_recording_signals","set_recovery_as_collision_enabled","set_rect","set_red_swizzle","set_reference_axis","set_reference_bone","set_reference_bone_name","set_reference_node","set_reference_pose","set_reference_range_max","set_reference_range_min","set_reference_transform_mode","set_reference_type","set_reflection_mask","set_reflection_source","set_refraction","set_refraction_texture_channel","set_refuse_new_connections","set_region","set_region_enabled","set_region_filter_clip_enabled","set_region_merge_size","set_region_min_size","set_region_rect","set_relative","set_relative_index","set_relax_frame_interval","set_release","set_release_ms","set_remote_description","set_remote_node","set_render_loop_enabled","set_render_model","set_render_priority","set_render_region","set_render_target","set_render_target_size_multiplier","set_rendering_quadrant_size","set_repeat","set_repeat_size","set_repeat_times","set_repeat_u","set_repeat_v","set_repeat_w","set_replication_config","set_replication_interval","set_requested_reference_space_types","set_required","set_required_features","set_reset","set_reset_ends","set_reset_on_save_enabled","set_resizable","set_resolution","set_resolve_attachments","set_resonance","set_resource_name","set_rest","set_rest_length","set_restart_if_changed","set_restart_on_exit","set_result_value","set_reverb_amount","set_reverb_bus_name","set_reverb_uniformity","set_reverse_fill","set_revolution_axes_clipping_bias","set_rgb_image","set_right_disconnects","set_right_icon","set_right_icon_scale","set_rim","set_rim_tint","set_ring_segments","set_ring_sides","set_rings","set_roll_influence","set_room_size","set_root","set_root_bone","set_root_bone_name","set_root_motion_local","set_root_motion_track","set_root_node","set_root_node_mode","set_root_nodes","set_root_path","set_root_subfolder","set_roots","set_rotates","set_rotation","set_rotation_3d_max","set_rotation_3d_min","set_rotation_axis","set_rotation_axis_vector","set_rotation_degrees","set_rotation_edit_mode","set_rotation_enabled","set_rotation_mode","set_rotation_offset","set_rotation_order","set_rotation_smoothing_enabled","set_rotation_smoothing_speed","set_rotation_velocity_3d_curve","set_rotation_velocity_3d_max","set_rotation_velocity_3d_min","set_rough","set_roughness","set_roughness_texture_channel","set_round_precision","set_safe_margin","set_same_column_width","set_sample_count","set_sample_masks","set_sample_partition_type","set_sample_playback","set_sampler","set_sampler_visible","set_samples","set_sampling_rate","set_saturation","set_scale","set_scale_3d_max","set_scale_3d_min","set_scale_base_bone","set_scale_curve_x","set_scale_curve_y","set_scale_curve_z","set_scale_enabled","set_scaling_3d_mode","set_scaling_3d_scale","set_scaling_menus","set_scene_file_path","set_scene_instance_load_placeholder","set_scene_name","set_scene_tile_display_placeholder","set_scene_tile_id","set_scene_tile_scene","set_scene_unique_id","set_screen_drawing_enabled","set_screen_offset","set_screen_relative","set_screen_space_aa","set_screen_velocity","set_script","set_script_owner","set_script_support_override","set_scroll_active","set_scroll_base_offset","set_scroll_base_scale","set_scroll_follow","set_scroll_follow_visible_characters","set_scroll_hint_mode","set_scroll_horizontal_by_default","set_scroll_offset","set_scroll_past_end_of_file_enabled","set_scroll_scale","set_scroll_to_selected","set_scrollable","set_scrolling_enabled","set_sdf_oversize","set_sdf_scale","set_sdfgi_bounce_feedback","set_sdfgi_cascade0_distance","set_sdfgi_cascades","set_sdfgi_enabled","set_sdfgi_energy","set_sdfgi_max_distance","set_sdfgi_min_cell_size","set_sdfgi_normal_bias","set_sdfgi_probe_bias","set_sdfgi_read_sky_light","set_sdfgi_use_occlusion","set_sdfgi_y_scale","set_seamless","set_seamless_blend_skirt","set_search_bar_enabled","set_search_bar_fuzzy_search_enabled","set_search_bar_fuzzy_search_max_misses","set_search_bar_min_item_count","set_search_flags","set_search_text","set_secondary_damp_threshold","set_secondary_limit_angle","set_secondary_negative_damp_threshold","set_secondary_negative_limit_angle","set_secondary_positive_damp_threshold","set_secondary_positive_limit_angle","set_secret","set_secret_character","set_section","set_section_length","set_section_rings","set_section_segments","set_section_with_markers","set_sections","set_seed","set_segments","set_select_all_on_focus","set_select_mode","set_select_with_rmb","set_selectable","set_selected","set_selected_palette_item","set_selecting_enabled","set_selection","set_selection_enabled","set_selection_mode","set_selection_origin_column","set_selection_origin_line","set_self_modulate","set_separation","set_server_relay_enabled","set_service_type","set_session_mode","set_setting","set_setting_count","set_shader","set_shader_parameter","set_shading_mode","set_shadow","set_shadow_caster_mask","set_shadow_color","set_shadow_enabled","set_shadow_filter","set_shadow_mesh","set_shadow_mode","set_shadow_offset","set_shadow_reverse_cull_face","set_shadow_size","set_shadow_smooth","set_shadowmask_mode","set_shadowmask_textures","set_shape","set_shape_centered","set_shape_rid","set_shape_type","set_shape_visible","set_sharp_limit","set_shift_pressed","set_shortcut","set_shortcut_context","set_shortcut_feedback","set_shortcut_in_tooltip","set_shortcut_keys_enabled","set_show_arrange_button","set_show_grid","set_show_grid_buttons","set_show_hidden_files","set_show_menu","set_show_minimap_button","set_show_percentage","set_show_rect","set_show_rest_only","set_show_when_tracked","set_show_zoom_buttons","set_show_zoom_label","set_shrink_height","set_shrink_width","set_shrinking_factor","set_shuffle","set_shutter_speed","set_sidechain","set_sides","set_simplify_epsilon","set_simplify_path","set_simulate_physics","set_simulation_precision","set_size","set_size_2d_override","set_size_2d_override_stretch","set_size_mag","set_size_override","set_skeleton","set_skeleton_bone_name","set_skeleton_path","set_skeleton_rig","set_skeletons","set_skew","set_skin","set_skin_root","set_skin_weight_count","set_skins","set_sky","set_sky_cover","set_sky_cover_modulate","set_sky_curve","set_sky_custom_fov","set_sky_energy_multiplier","set_sky_horizon_color","set_sky_mode","set_sky_rotation","set_sky_top_color","set_sleep_state","set_sleeping","set_slide_on_ceiling_enabled","set_slide_on_slope","set_sliders_visible","set_slot","set_slot_color_left","set_slot_color_right","set_slot_custom_icon_left","set_slot_custom_icon_right","set_slot_draw_stylebox","set_slot_enabled_left","set_slot_enabled_right","set_slot_metadata_left","set_slot_metadata_right","set_slot_type_left","set_slot_type_right","set_slots_focus_mode","set_smooth_faces","set_smooth_group","set_smooth_scroll_enabled","set_smoothing_angle","set_snap","set_snap_2d_transforms_to_pixel","set_snap_2d_vertices_to_pixel","set_snap_controls_to_pixels","set_snapping_distance","set_snapping_enabled","set_soft_clip_db","set_soft_clip_ratio","set_softness","set_solver_priority","set_sort_order","set_sorting_offset","set_sorting_use_aabb_center","set_source","set_source_code","set_source_geometry_group_name","set_source_geometry_mode","set_source_group_name","set_source_id","set_source_level_tile_proxy","set_spacing","set_sparse_count","set_sparse_indices_buffer_view","set_sparse_indices_byte_offset","set_sparse_indices_component_type","set_sparse_values_buffer_view","set_sparse_values_byte_offset","set_spatial_context","set_spatial_tracking_state","set_spawn_function","set_spawn_limit","set_spawn_path","set_spec_gloss_img","set_specialization_constants","set_specular","set_specular_color","set_specular_factor","set_specular_mode","set_specular_shininess","set_specular_texture","set_speed_scale","set_spin_degrees","set_spin_sides","set_split_offset","set_split_offsets","set_split_scale","set_spread","set_sprite_frames","set_src_alpha_blend_factor","set_src_color_blend_factor","set_src_image","set_ssao_ao_channel_affect","set_ssao_detail","set_ssao_direct_light_affect","set_ssao_enabled","set_ssao_horizon","set_ssao_intensity","set_ssao_power","set_ssao_radius","set_ssao_sharpness","set_ssil_enabled","set_ssil_intensity","set_ssil_normal_rejection","set_ssil_radius","set_ssil_sharpness","set_ssr_depth_tolerance","set_ssr_enabled","set_ssr_fade_in","set_ssr_fade_out","set_ssr_max_steps","set_stacked_outline_color","set_stacked_outline_count","set_stacked_outline_size","set_stacked_shadow_color","set_stacked_shadow_count","set_stacked_shadow_offset","set_stacked_shadow_outline_size","set_stage_bytecode","set_stage_compile_error","set_stage_source","set_start_index","set_start_offset","set_start_position","set_state","set_state_machine_type","set_steering","set_stencil_compare","set_stencil_effect_color","set_stencil_effect_outline_thickness","set_stencil_flags","set_stencil_mode","set_stencil_reference","set_step","set_stereo","set_stiffness","set_stiffness_damping_curve","set_stream","set_stream_count","set_stream_paused","set_stream_peer","set_stream_pitch_scale","set_stream_position","set_stream_probability_weight","set_stream_volume","set_streams_count","set_strength","set_stretch","set_stretch_margin","set_stretch_mode","set_stretch_ratio","set_stretch_shrink","set_stretch_time_scale","set_stride","set_string_delimiters","set_structured_text_bidi_override","set_structured_text_bidi_override_options","set_stylebox","set_sub_emitter","set_sub_emitter_amount_at_collision","set_sub_emitter_amount_at_end","set_sub_emitter_amount_at_start","set_sub_emitter_frequency","set_sub_emitter_keep_velocity","set_sub_emitter_mode","set_subdiv","set_subdivide_depth","set_subdivide_height","set_subdivide_width","set_subgizmo_selection","set_submenu_popup_delay","set_subpixel_positioning","set_subsurface_scattering_strength","set_suffix","set_sun_angle_max","set_sun_curve","set_sun_disk_scale","set_supersampling_enabled","set_supersampling_factor","set_supported_protocols","set_surface_index","set_surface_material","set_surface_name","set_surface_override_material","set_surround","set_suspension_max_force","set_suspension_rest_length","set_suspension_stiffness","set_suspension_travel","set_switch_mode","set_switch_on_drag_hover","set_switch_on_hover","set_swizzle_a","set_swizzle_b","set_swizzle_g","set_swizzle_r","set_symbol_color","set_symbol_lookup_on_click_enabled","set_symbol_lookup_word_as_valid","set_symbol_tooltip_on_hover_enabled","set_symmetry_limitation","set_symmetry_planes_clipping_bias","set_sync_mode","set_sync_stream","set_sync_stream_volume","set_sync_to_physics","set_syntax_highlighter","set_system_menu","set_system_menu_text","set_system_theme_change_callback","set_tab_alignment","set_tab_button_icon","set_tab_close_display_policy","set_tab_count","set_tab_disabled","set_tab_focus_mode","set_tab_hidden","set_tab_icon","set_tab_icon_max_width","set_tab_input_mode","set_tab_language","set_tab_metadata","set_tab_size","set_tab_stops","set_tab_text_direction","set_tab_title","set_tab_tooltip","set_table_column_expand","set_table_column_name","set_tabs_position","set_tabs_rearrange_group","set_tabs_visible","set_tags","set_tail_direction","set_tangent","set_tap1_active","set_tap1_delay_ms","set_tap1_level_db","set_tap1_pan","set_tap2_active","set_tap2_delay_ms","set_tap2_level_db","set_tap2_pan","set_target","set_target_desired_distance","set_target_maximum_distance","set_target_minimum_distance","set_target_node","set_target_peer","set_target_position","set_target_size","set_target_transform","set_taskbar_progress_state","set_taskbar_progress_value","set_temperature","set_terrain","set_terrain_color","set_terrain_name","set_terrain_peering_bit","set_terrain_set","set_terrain_set_mode","set_texel_scale","set_text","set_text_alignment","set_text_direction","set_text_overrun_behavior","set_texture","set_texture_array","set_texture_disabled","set_texture_filter","set_texture_focused","set_texture_hover","set_texture_image","set_texture_map_mode","set_texture_margin","set_texture_margin_all","set_texture_mipmap_bias","set_texture_mode","set_texture_normal","set_texture_offset","set_texture_offsets","set_texture_origin","set_texture_pressed","set_texture_progress_offset","set_texture_rd_rid","set_texture_region_size","set_texture_repeat","set_texture_rotation","set_texture_samplers","set_texture_scale","set_texture_source","set_texture_type","set_textures","set_theme","set_theme_item","set_theme_type_variation","set_thickness","set_thread_name","set_thread_safe","set_thread_safety_checks_enabled","set_threaded","set_threshold","set_threshold_db","set_threshold_released","set_ticks","set_ticks_on_borders","set_ticks_position","set_tile_animation_columns","set_tile_animation_frame_duration","set_tile_animation_frames_count","set_tile_animation_mode","set_tile_animation_separation","set_tile_animation_speed","set_tile_layout","set_tile_map_data_from_array","set_tile_offset_axis","set_tile_scroll_hint","set_tile_set","set_tile_shape","set_tile_size","set_tileset","set_tilt","set_tilt_enabled","set_tilt_fade_in","set_tilt_fade_out","set_time_horizon_agents","set_time_horizon_obstacles","set_time_left","set_time_pullout","set_time_scale","set_timeline_length","set_timeout","set_timer_process_callback","set_tint_color","set_tint_color_enabled","set_tint_over","set_tint_progress","set_tint_under","set_tip_bone","set_tip_node","set_tip_size","set_title","set_title_alignment","set_title_color","set_title_position","set_title_text_direction","set_title_text_overrun_behavior","set_tls_options","set_to","set_toggle_mode","set_toggle_pressed","set_tonemap_agx_contrast","set_tonemap_agx_white","set_tonemap_exposure","set_tonemap_white","set_tonemapper","set_tooltip","set_tooltip_auto_translate_mode","set_tooltip_request_func","set_tooltip_text","set_top_radius","set_toplevel_paths","set_total_mass","set_touch_dragger_enabled","set_tracker","set_tracker_desc","set_tracker_hand","set_tracker_name","set_tracker_profile","set_tracker_type","set_tracking_confidence","set_trail_enabled","set_trail_lifetime","set_trail_section_subdivisions","set_trail_sections","set_trans","set_transfer_channel","set_transfer_mode","set_transform","set_transform_align","set_transform_align_axis","set_transform_align_channel_filter","set_transform_format","set_transient","set_transient_to_focused","set_transition_type","set_translation_context","set_translation_domain","set_translation_domain_inherited","set_transmittance_boost","set_transmittance_color","set_transmittance_depth","set_transparency","set_transparent_background","set_transpose","set_travel_cost","set_traversable_outlines","set_tree_root","set_turbidity","set_turbulence_enabled","set_turbulence_noise_scale","set_turbulence_noise_speed","set_turbulence_noise_speed_random","set_turbulence_noise_strength","set_twist_from","set_twist_from_rest","set_type","set_type_names","set_type_variation","set_types","set_uid","set_under_texture","set_underline_mode","set_unicode","set_uniform_type","set_unique_animation_names","set_unique_name_in_owner","set_unique_names","set_unit_size","set_unix_permissions","set_unnormalized_uvw","set_unparent_when_invisible","set_up_direction","set_up_vector_enabled","set_update_mode","set_update_on_text_changed","set_update_position","set_update_rotation","set_update_scale","set_upper_fade","set_upper_vertical_angle","set_uppercase","set_uri","set_usage_bits","set_usage_flags","set_use_3d_avoidance","set_use_accumulated_input","set_use_all_surfaces","set_use_android_surface","set_use_angle_limitation","set_use_anisotropy","set_use_as_steering","set_use_as_traction","set_use_bbcode","set_use_colliders","set_use_collision","set_use_colors","set_use_continuous_collision_detection","set_use_custom_data","set_use_custom_integrator","set_use_custom_timeline","set_use_custom_word_separators","set_use_debanding","set_use_default_word_separators","set_use_denoiser","set_use_edge_connections","set_use_euler","set_use_external_skeleton","set_use_file_access_save_and_swap","set_use_fixed_seed","set_use_folding","set_use_font_oversampling","set_use_global_coordinates","set_use_global_pose","set_use_gravity","set_use_hdr","set_use_hdr_2d","set_use_hidden_tabs_for_min_size","set_use_kinematic_bodies","set_use_local_coordinates","set_use_magnet","set_use_mipmaps","set_use_model_front","set_use_named_skin_binds","set_use_native_dialog","set_use_occlusion_culling","set_use_oversampling","set_use_own_world_3d","set_use_parent_material","set_use_reverb_bus","set_use_rotation_3d","set_use_rounded_values","set_use_scale_3d","set_use_secondary_rotation","set_use_sync","set_use_taa","set_use_texture_for_bounces","set_use_texture_padding","set_use_threads","set_use_top_left","set_use_two_bounces","set_use_virtual_end","set_use_xr","set_uses_spherical_harmonics","set_using_rotation_velocity_3d","set_uuid","set_uv","set_uv1_offset","set_uv1_scale","set_uv1_triplanar_blend_sharpness","set_uv2","set_uv2_offset","set_uv2_padding","set_uv2_scale","set_uv2_triplanar_blend_sharpness","set_uv_clipping","set_v_axis_stretch_mode","set_v_grow_direction","set_v_offset","set_v_scroll","set_v_scroll_enabled","set_v_scroll_speed","set_v_size_flags","set_value","set_value_label","set_value_no_signal","set_variant_type","set_variation_coordinates","set_variation_embolden","set_variation_face_index","set_variation_opentype","set_variation_transform","set_varying_name","set_varying_type","set_velocity","set_velocity_depth_texture","set_velocity_forced","set_velocity_limit_curve","set_velocity_pivot","set_velocity_target_size","set_velocity_texture","set_vertex","set_vertex_attributes","set_vertex_bones","set_vertex_buffer","set_vertex_color","set_vertex_colors","set_vertex_count","set_vertex_format","set_vertex_meta","set_vertex_normal","set_vertex_offset","set_vertex_stride","set_vertex_tangent","set_vertex_uv","set_vertex_uv2","set_vertex_weights","set_vertical","set_vertical_alignment","set_vertical_custom_step","set_vertical_icon_alignment","set_vertical_scroll_mode","set_vertical_wrap","set_vertices","set_vertices_per_polygon","set_vframes","set_view_count","set_viewport_path_in_scene","set_virtual_keyboard_enabled","set_virtual_keyboard_show_on_focus","set_virtual_keyboard_type","set_visibility","set_visibility_aabb","set_visibility_for","set_visibility_layer","set_visibility_layer_bit","set_visibility_mode","set_visibility_parent","set_visibility_public","set_visibility_range_begin","set_visibility_range_begin_margin","set_visibility_range_end","set_visibility_range_end_margin","set_visibility_range_fade_mode","set_visibility_rect","set_visibility_update_mode","set_visible","set_visible_characters","set_visible_characters_behavior","set_visible_instance_count","set_visible_ratio","set_voice_count","set_voice_cutoff_hz","set_voice_delay_ms","set_voice_depth_ms","set_voice_level_db","set_voice_pan","set_voice_rate_hz","set_volume","set_volume_db","set_volume_linear","set_volumetric_fog_albedo","set_volumetric_fog_ambient_inject","set_volumetric_fog_anisotropy","set_volumetric_fog_density","set_volumetric_fog_detail_spread","set_volumetric_fog_emission","set_volumetric_fog_emission_energy","set_volumetric_fog_enabled","set_volumetric_fog_gi_inject","set_volumetric_fog_length","set_volumetric_fog_sky_affect","set_volumetric_fog_temporal_reprojection_amount","set_volumetric_fog_temporal_reprojection_enabled","set_vrs_min_radius","set_vrs_mode","set_vrs_render_region","set_vrs_strength","set_vrs_texture","set_vrs_update_mode","set_wait_time","set_wall_min_slide_angle","set_wedge_angle","set_weight_position","set_weights","set_wet","set_which_feed","set_width","set_wind_attenuation_factor","set_wind_force_magnitude","set_wind_source_path","set_window_focused","set_window_id","set_window_rect","set_wireframe","set_world_2d","set_world_3d","set_world_origin","set_world_scale","set_wrap_controls","set_wrap_s","set_wrap_t","set_wraparound_items","set_write_a","set_write_b","set_write_g","set_write_mode","set_write_r","set_x_draw_order_reversed","set_x_label","set_xfade_curve","set_xfade_time","set_xform","set_y_label","set_y_sort_enabled","set_y_sort_origin","set_ycbcr_image","set_ycbcr_images","set_z_as_relative","set_z_clip_scale","set_z_index","set_z_range_max","set_z_range_min","set_zero_y","set_zoom","set_zoom_max","set_zoom_min","set_zoom_step","setup","setup_local_to_scene","sha1_buffer","sha1_text","sha256_buffer","sha256_text","shader_compile_binary_from_spirv","shader_compile_spirv_from_source","shader_create","shader_create_from_bytecode","shader_create_from_spirv","shader_create_placeholder","shader_get_code","shader_get_default_texture_parameter","shader_get_parameter_default","shader_get_vertex_input_attribute_mask","shader_set_code","shader_set_default_texture_parameter","shader_set_path_hint","shape_find_owner","shape_get_data","shape_get_margin","shape_get_type","shape_owner_add_shape","shape_owner_clear_shapes","shape_owner_get_owner","shape_owner_get_shape","shape_owner_get_shape_count","shape_owner_get_shape_index","shape_owner_get_transform","shape_owner_remove_shape","shape_owner_set_disabled","shape_owner_set_one_way_collision","shape_owner_set_one_way_collision_direction","shape_owner_set_one_way_collision_margin","shape_owner_set_transform","shape_set_data","shape_set_margin","shaped_get_run_count","shaped_get_run_direction","shaped_get_run_font_rid","shaped_get_run_font_size","shaped_get_run_glyph_range","shaped_get_run_language","shaped_get_run_object","shaped_get_run_range","shaped_get_run_text","shaped_get_span_count","shaped_get_span_embedded_object","shaped_get_span_meta","shaped_get_span_object","shaped_get_span_text","shaped_get_text","shaped_set_span_update_font","shaped_text_add_object","shaped_text_add_string","shaped_text_clear","shaped_text_closest_character_pos","shaped_text_draw","shaped_text_draw_outline","shaped_text_duplicate","shaped_text_fit_to_width","shaped_text_get_ascent","shaped_text_get_carets","shaped_text_get_character_breaks","shaped_text_get_custom_ellipsis","shaped_text_get_custom_punctuation","shaped_text_get_descent","shaped_text_get_direction","shaped_text_get_dominant_direction_in_range","shaped_text_get_ellipsis_glyph_count","shaped_text_get_ellipsis_glyphs","shaped_text_get_ellipsis_pos","shaped_text_get_glyph_count","shaped_text_get_glyphs","shaped_text_get_grapheme_bounds","shaped_text_get_inferred_direction","shaped_text_get_line_breaks","shaped_text_get_line_breaks_adv","shaped_text_get_object_glyph","shaped_text_get_object_range","shaped_text_get_object_rect","shaped_text_get_objects","shaped_text_get_orientation","shaped_text_get_parent","shaped_text_get_preserve_control","shaped_text_get_preserve_invalid","shaped_text_get_range","shaped_text_get_selection","shaped_text_get_size","shaped_text_get_spacing","shaped_text_get_trim_pos","shaped_text_get_underline_position","shaped_text_get_underline_thickness","shaped_text_get_width","shaped_text_get_word_breaks","shaped_text_has_object","shaped_text_has_visible_chars","shaped_text_hit_test_grapheme","shaped_text_hit_test_position","shaped_text_is_ready","shaped_text_next_character_pos","shaped_text_next_grapheme_pos","shaped_text_overrun_trim_to_width","shaped_text_prev_character_pos","shaped_text_prev_grapheme_pos","shaped_text_resize_object","shaped_text_set_bidi_override","shaped_text_set_custom_ellipsis","shaped_text_set_custom_punctuation","shaped_text_set_direction","shaped_text_set_orientation","shaped_text_set_preserve_control","shaped_text_set_preserve_invalid","shaped_text_set_spacing","shaped_text_shape","shaped_text_sort_logical","shaped_text_substr","shaped_text_tab_align","share","shell_open","shell_show_in_file_manager","should_ignore_device","show","show_emoji_and_symbol_picker","show_native_symbol_in_editor","show_popup","shrink_x2","shuffle","sign","signatureHelp","signed_angle_to","signf","signi","similarity","simplify_path","sin","sinh","size","skeleton_allocate_data","skeleton_bone_get_transform","skeleton_bone_get_transform_2d","skeleton_bone_set_transform","skeleton_bone_set_transform_2d","skeleton_create","skeleton_get_bone_count","skeleton_set_base_transform_2d","skip","skip_next_frame","skip_section","skip_selection_for_next_occurrence","sky_bake_panorama","sky_create","sky_set_material","sky_set_mode","sky_set_radiance_size","slerp","slerpni","slice","slide","slider_joint_get_param","slider_joint_set_param","smoothstep","snapped","snappedf","snappedi","socket_send","soft_body_add_collision_exception","soft_body_apply_central_force","soft_body_apply_central_impulse","soft_body_apply_point_force","soft_body_apply_point_impulse","soft_body_create","soft_body_get_bounds","soft_body_get_collision_layer","soft_body_get_collision_mask","soft_body_get_damping_coefficient","soft_body_get_drag_coefficient","soft_body_get_linear_stiffness","soft_body_get_point_global_position","soft_body_get_pressure_coefficient","soft_body_get_shrinking_factor","soft_body_get_simulation_precision","soft_body_get_space","soft_body_get_state","soft_body_get_total_mass","soft_body_is_point_pinned","soft_body_move_point","soft_body_pin_point","soft_body_remove_all_pinned_points","soft_body_remove_collision_exception","soft_body_set_collision_layer","soft_body_set_collision_mask","soft_body_set_damping_coefficient","soft_body_set_drag_coefficient","soft_body_set_linear_stiffness","soft_body_set_mesh","soft_body_set_pressure_coefficient","soft_body_set_ray_pickable","soft_body_set_shrinking_factor","soft_body_set_simulation_precision","soft_body_set_space","soft_body_set_state","soft_body_set_total_mass","soft_body_set_transform","soft_body_update_rendering_server","sort","sort_custom","sort_items_by_text","source_geometry_parser_create","source_geometry_parser_set_callback","space_create","space_get_direct_state","space_get_param","space_is_active","space_set_active","space_set_param","spawn","sphere_shape_create","spherical_cubic_interpolate","spherical_cubic_interpolate_in_time","split","split_floats","spoof_check","spot_light_create","sqrt","srgb_to_linear","ssh_push_to_remote","ssh_run_on_remote","ssh_run_on_remote_no_wait","standardize_locale","start","start_action","start_compression","start_decompression","start_drag","start_entity_discovery","start_file","start_force_keep_in_merge_ends","start_joy_motion_sensors_calibration","start_joy_vibration","start_passthrough","start_resize","start_simulation","status_indicator_get_rect","status_indicator_set_callback","status_indicator_set_icon","status_indicator_set_menu","status_indicator_set_tooltip","step_decimals","stop","stop_joy_motion_sensors_calibration","stop_joy_vibration","stop_passthrough","stop_playing_scene","stop_simulation","stop_stream","storage_buffer_create","store_16","store_32","store_64","store_8","store_buffer","store_csv_line","store_double","store_float","store_half","store_line","store_pascal_string","store_real","store_string","store_var","str","str_to_var","string_get_character_breaks","string_get_word_breaks","string_to_lower","string_to_title","string_to_upper","stringify","strip_diacritics","strip_edges","strip_escapes","sub","sub_surface_scattering_set_quality","sub_surface_scattering_set_scale","submit","substr","supports_capability","supports_component_type","supports_labels","supports_mesh_2d","supports_play_area_mode","supports_polygons","surface_add_vertex","surface_add_vertex_2d","surface_begin","surface_end","surface_find_by_name","surface_get_array_index_len","surface_get_array_len","surface_get_arrays","surface_get_blend_shape_arrays","surface_get_format","surface_get_material","surface_get_name","surface_get_primitive_type","surface_remove","surface_set_color","surface_set_material","surface_set_name","surface_set_normal","surface_set_tangent","surface_set_uv","surface_set_uv2","surface_update_attribute_region","surface_update_skin_region","surface_update_vertex_region","swap_bus_effects","swap_lines","switch_to_clip","switch_to_clip_by_name","sync","tab_align","tablet_get_current_driver","tablet_get_driver_count","tablet_get_driver_name","tablet_set_current_driver","tag_saved_version","tag_to_name","take_connection","take_over_path","take_socket_connection","tan","tanh","tdotx","tdoty","tdotz","tessellate","tessellate_even_length","test_mask","test_move","tetrahedralize_delaunay","text_to_id","texture_2d_create","texture_2d_get","texture_2d_layer_get","texture_2d_layered_create","texture_2d_layered_placeholder_create","texture_2d_placeholder_create","texture_2d_update","texture_3d_create","texture_3d_get","texture_3d_placeholder_create","texture_3d_update","texture_buffer_create","texture_clear","texture_copy","texture_create","texture_create_from_extension","texture_create_from_native_handle","texture_create_shared","texture_create_shared_from_slice","texture_drawable_blit_rect","texture_drawable_create","texture_drawable_generate_mipmaps","texture_drawable_get_default_material","texture_get_data","texture_get_data_async","texture_get_format","texture_get_native_handle","texture_get_path","texture_get_rd_texture","texture_is_discardable","texture_is_format_supported_for_usage","texture_is_shared","texture_is_valid","texture_proxy_create","texture_proxy_update","texture_rd_create","texture_replace","texture_resolve_multisample","texture_set_discardable","texture_set_force_redraw_if_visible","texture_set_path","texture_set_size_override","texture_update","throttle_configure","tlas_build","tlas_create","to_abgr32","to_abgr64","to_argb32","to_argb64","to_ascii_buffer","to_byte_array","to_camel_case","to_color_array","to_dictionary","to_float","to_float32_array","to_float64_array","to_global","to_html","to_int","to_int32_array","to_int64_array","to_kebab_case","to_local","to_lower","to_multibyte_char_buffer","to_native","to_node","to_pascal_case","to_resource","to_rgba32","to_rgba64","to_snake_case","to_string","to_upper","to_utf16_buffer","to_utf32_buffer","to_utf8_buffer","to_vector2_array","to_vector3_array","to_vector4_array","to_wchar_buffer","toggle_foldable_line","toggle_foldable_lines_at_carets","toggle_item_checked","toggle_item_multistate","toggle_profiler","tr","tr_n","track_find_key","track_get_interpolation_loop_wrap","track_get_interpolation_type","track_get_key_count","track_get_key_time","track_get_key_transition","track_get_key_value","track_get_path","track_get_type","track_insert_key","track_is_compressed","track_is_enabled","track_is_imported","track_move_down","track_move_to","track_move_up","track_remove_key","track_remove_key_at_time","track_set_enabled","track_set_imported","track_set_interpolation_loop_wrap","track_set_interpolation_type","track_set_key_time","track_set_key_transition","track_set_key_value","track_set_path","track_swap","transform_from_pose","translate","translate_object_local","translate_plural","translated","translated_local","transposed","travel","triangulate_delaunay","triangulate_polygon","trigger_haptic_pulse","trim_prefix","trim_suffix","try_lock","try_wait","tts_get_voices","tts_get_voices_for_language","tts_is_paused","tts_is_speaking","tts_pause","tts_resume","tts_set_utterance_callback","tts_speak","tts_stop","tween_await","tween_callback","tween_interval","tween_method","tween_property","tween_subtween","type_convert","type_string","typeof","uid_to_path","unbind","uncollapse_tree","undo","unedit","unfold_all_lines","unfold_line","unicode_at","uniform_buffer_create","uniform_set_create","uniform_set_is_valid","unindent_lines","uninitialize","unload_current_scene","unload_extension","unlock","unparent_bone_and_rest","unpersist_anchor","unproject_position","unreference","unregister_additional_output","unregister_composition_layer_provider","unregister_frame_info_extension","unregister_gltf_document_extension","unregister_message_capture","unregister_profiler","unregister_projection_layer_extension","unregister_projection_views_extension","unregister_script_language","unregister_singleton","unregister_syntax_highlighter","unset_environment","unshare","update","update_add_action","update_add_child","update_add_custom_action","update_add_related_controls","update_add_related_described_by","update_add_related_details","update_add_related_flow_to","update_add_related_labeled_by","update_add_related_radio_group","update_cache","update_code_completion_options","update_configuration_warnings","update_docs_from_script","update_file","update_gizmos","update_image","update_internals","update_layer","update_main_swapchain_size","update_map_data_from_image","update_maximum_size","update_minimum_size","update_mouse_cursor_state","update_overlays","update_property","update_set_active_descendant","update_set_background_color","update_set_bounds","update_set_braille_label","update_set_braille_role_description","update_set_checked","update_set_classname","update_set_color_value","update_set_description","update_set_error_message","update_set_extra_info","update_set_flag","update_set_focus","update_set_foreground_color","update_set_in_page_link_target","update_set_language","update_set_list_item_count","update_set_list_item_expanded","update_set_list_item_index","update_set_list_item_level","update_set_list_item_selected","update_set_list_orientation","update_set_live","update_set_member_of","update_set_name","update_set_next_on_line","update_set_num_jump","update_set_num_range","update_set_num_step","update_set_num_value","update_set_placeholder","update_set_popup_type","update_set_previous_on_line","update_set_role","update_set_role_description","update_set_scroll_x","update_set_scroll_x_range","update_set_scroll_y","update_set_scroll_y_range","update_set_shortcut","update_set_state_description","update_set_table_cell_position","update_set_table_cell_span","update_set_table_column_count","update_set_table_column_index","update_set_table_row_count","update_set_table_row_index","update_set_text_align","update_set_text_decorations","update_set_text_orientation","update_set_text_selection","update_set_tooltip","update_set_transform","update_set_url","update_set_value","update_spatial_entities","update_visibility","uri_decode","uri_encode","uri_file_decode","utf8_to_base64","validate_filename","validate_node_name","value_track_get_update_mode","value_track_interpolate","value_track_set_update_mode","values","var_to_bytes","var_to_bytes_with_objects","var_to_str","variant_to_base64","verify","vertex_array_create","vertex_buffer_create","vertex_format_create","vibrate_handheld","viewport_attach_camera","viewport_attach_canvas","viewport_attach_to_screen","viewport_create","viewport_get_measured_render_time_cpu","viewport_get_measured_render_time_gpu","viewport_get_render_info","viewport_get_render_target","viewport_get_texture","viewport_get_update_mode","viewport_remove_canvas","viewport_set_active","viewport_set_anisotropic_filtering_level","viewport_set_canvas_cull_mask","viewport_set_canvas_stacking","viewport_set_canvas_transform","viewport_set_clear_mode","viewport_set_debug_draw","viewport_set_default_canvas_item_texture_filter","viewport_set_default_canvas_item_texture_repeat","viewport_set_disable_2d","viewport_set_disable_3d","viewport_set_environment_mode","viewport_set_fsr_sharpness","viewport_set_global_canvas_transform","viewport_set_measure_render_time","viewport_set_msaa_2d","viewport_set_msaa_3d","viewport_set_occlusion_culling_build_quality","viewport_set_occlusion_rays_per_thread","viewport_set_parent_viewport","viewport_set_positional_shadow_atlas_quadrant_subdivision","viewport_set_positional_shadow_atlas_size","viewport_set_render_direct_to_screen","viewport_set_scaling_3d_mode","viewport_set_scaling_3d_scale","viewport_set_scenario","viewport_set_screen_space_aa","viewport_set_sdf_oversize_and_scale","viewport_set_size","viewport_set_snap_2d_transforms_to_pixel","viewport_set_snap_2d_vertices_to_pixel","viewport_set_texture_mipmap_bias","viewport_set_transparent_background","viewport_set_update_mode","viewport_set_use_debanding","viewport_set_use_hdr_2d","viewport_set_use_occlusion_culling","viewport_set_use_taa","viewport_set_use_xr","viewport_set_vrs_mode","viewport_set_vrs_texture","viewport_set_vrs_update_mode","virtual_keyboard_get_height","virtual_keyboard_hide","virtual_keyboard_show","visibility_notifier_create","visibility_notifier_set_aabb","visibility_notifier_set_callbacks","voxel_gi_allocate_data","voxel_gi_create","voxel_gi_get_data_cells","voxel_gi_get_distance_field","voxel_gi_get_level_counts","voxel_gi_get_octree_cells","voxel_gi_get_octree_size","voxel_gi_get_to_cell_xform","voxel_gi_set_baked_exposure_normalization","voxel_gi_set_bias","voxel_gi_set_dynamic_range","voxel_gi_set_energy","voxel_gi_set_interior","voxel_gi_set_normal_bias","voxel_gi_set_propagation","voxel_gi_set_quality","voxel_gi_set_use_two_bounces","wait","wait_for_group_task_completion","wait_for_task_completion","wait_to_finish","warp_mouse","was_string_packet","weakref","willSaveWaitUntil","window_can_draw","window_get_active_popup","window_get_attached_instance_id","window_get_current_screen","window_get_flag","window_get_hdr_output_current_max_luminance","window_get_hdr_output_current_reference_luminance","window_get_hdr_output_max_luminance","window_get_hdr_output_reference_luminance","window_get_max_size","window_get_min_size","window_get_mode","window_get_native_handle","window_get_output_max_linear_value","window_get_popup_safe_rect","window_get_position","window_get_position_with_decorations","window_get_safe_title_margins","window_get_size","window_get_size_with_decorations","window_get_title_size","window_get_vsync_mode","window_is_focused","window_is_hdr_output_enabled","window_is_hdr_output_requested","window_is_hdr_output_supported","window_is_maximize_allowed","window_maximize_on_title_dbl_click","window_minimize_on_title_dbl_click","window_move_to_foreground","window_request_attention","window_request_hdr_output","window_set_color","window_set_current_screen","window_set_drop_files_callback","window_set_exclusive","window_set_flag","window_set_hdr_output_max_luminance","window_set_hdr_output_reference_luminance","window_set_icon","window_set_ime_active","window_set_ime_position","window_set_input_event_callback","window_set_input_text_callback","window_set_max_size","window_set_min_size","window_set_mode","window_set_mouse_passthrough","window_set_popup_safe_rect","window_set_position","window_set_rect_changed_callback","window_set_size","window_set_taskbar_progress_state","window_set_taskbar_progress_value","window_set_title","window_set_transient","window_set_vsync_mode","window_set_window_buttons_offset","window_set_window_event_callback","window_start_drag","window_start_resize","world_boundary_shape_create","wrap","wrapf","wrapi","write_file","write_to_filesystem","xformed_by","xml_escape","xml_unescape","xr_result"],"engine_signals":["about_to_popup","active_tab_rearranged","advance_condition_changed","animation_added","animation_changed","animation_finished","animation_libraries_updated","animation_list_changed","animation_looped","animation_node_removed","animation_node_renamed","animation_player_changed","animation_removed","animation_renamed","animation_started","area_entered","area_exited","area_shape_entered","area_shape_exited","autoshrink_changed","avoidance_debug_changed","bake_finished","begin_node_move","binding_modifier_removed","body_entered","body_exited","body_shape_entered","body_shape_exited","bone_enabled_changed","bone_list_changed","bone_map_updated","bone_setup_changed","breaked","breakpoint_toggled","bus_layout_changed","bus_renamed","button_clicked","button_down","button_pressed","button_released","button_up","caches_cleared","camera_feed_added","camera_feed_removed","camera_feeds_updated","canceled","caret_changed","cell_selected","cell_size_changed","changed","check_propagated_to_item","child_entered_tree","child_exiting_tree","child_order_changed","close_requested","closed","code_completion_requested","color_changed","column_title_clicked","completed","confirmed","connected_to_server","connection_drag_ended","connection_drag_started","connection_failed","connection_from_empty","connection_request","connection_to_empty","continued","copy_nodes_request","cpu_level_changed","current_animation_changed","curve_changed","custom_action","custom_item_clicked","custom_popup_edited","cut_nodes_request","data_channel_received","debug_color_changed","delete_nodes_request","delete_request","delta_synchronized","despawned","dir_selected","disconnection_request","display_mode_changed","display_refresh_rate_changed","domain_changed","dpi_changed","drag_ended","drag_started","dragged","draw","duplicate_nodes_request","edited_object_changed","edited_script_changed","editing_toggled","editor_description_changed","editor_script_changed","editor_state_changed","emission_shape_changed","empty_clicked","end_node_move","expanded","extension_loaded","extension_unloading","extensions_reloaded","fallback_changed","file_removed","file_selected","filename_filter_changed","files_dropped","files_moved","files_selected","filesystem_changed","finished","flick_canceled","flicked","focus_entered","focus_exited","folder_color_changed","folder_moved","folder_removed","folding_changed","format_changed","frame_changed","frame_post_draw","frame_pre_draw","frame_rect_changed","go_back_requested","go_to_help","go_to_method","gpu_level_changed","grabbed","graph_elements_linked_to_frame_request","gui_focus_changed","gui_input","gutter_added","gutter_clicked","gutter_removed","hidden","history_changed","ice_candidate_created","id_focused","id_pressed","index_pressed","inherit","input_event","input_float_changed","input_type_changed","input_vector2_changed","instance_exiting","instantiate","interface_added","interface_removed","item_activated","item_clicked","item_collapsed","item_edited","item_focused","item_icon_double_clicked","item_mouse_selected","item_rect_changed","item_selected","joy_connection_changed","lines_edited_from","link_reached","loop_finished","main_screen_changed","map_changed","maximum_size_changed","menu_changed","mesh_changed","meta_clicked","meta_hover_ended","meta_hover_started","minimum_size_changed","mixer_applied","mixer_updated","modification_processed","mouse_entered","mouse_exited","mouse_shape_entered","mouse_shape_exited","multi_selected","multiple_properties_changed","name_changed","navigation_debug_changed","navigation_finished","navigation_mesh_changed","navigation_polygon_changed","next_changed","node_added","node_changed","node_configuration_warning_changed","node_deselected","node_removed","node_renamed","node_selected","node_updated","nonclient_window_input","nothing_selected","object_id_selected","on_request_permissions_result","opened","orientation_changed","output_max_linear_value_changed","parameter_list_changed","paste_nodes_request","path_changed","peer_authenticating","peer_authentication_failed","peer_connected","peer_disconnected","peer_packet","physics_frame","picker_created","play_area_changed","popup_closed","popup_hide","popup_request","pose_changed","pose_lost_tracking","pose_recentered","pose_updated","position_offset_changed","pre_popup_pressed","pre_sort_children","preset_added","preset_removed","pressed","preview_invalidated","process_frame","profile_changed","profile_updated","project_settings_changed","project_settings_loaded","property_can_revert_changed","property_changed","property_checked","property_deleted","property_edited","property_favorited","property_keyed","property_keyed_with_value","property_list_changed","property_overridden","property_pinned","property_selected","property_toggled","pwa_update_available","raise_request","range_changed","ready","reference_frame_changed","reference_space_reset","refresh_rate_changed","released","renamed","render_model_added","render_model_removed","render_model_top_level_path_changed","replace_in_files_requested","replacing_by","request_completed","request_help","request_open_script_at_line","request_save_history","request_save_previous_state","resize_end","resize_request","resized","resource_changed","resource_removed","resource_saved","resource_selected","resources_reimported","resources_reimporting","resources_reload","rest_updated","restart_requested","scene_changed","scene_closed","scene_saved","screen_entered","screen_exited","script_changed","script_classes_updated","script_close","script_created","scroll_ended","scroll_offset_changed","scroll_started","scrolling","search_in_files_requested","select","selected","selectend","selection_changed","selectstart","server_disconnected","session_begun","session_description_created","session_ended","session_failed","session_focussed","session_loss_pending","session_started","session_stopping","session_supported","session_synchronized","session_visible","settings_changed","setup_local_to_scene_requested","show_rest_only_changed","size_changed","size_flags_changed","skeleton_updated","sleeping_state_changed","slot_sizes_changed","slot_updated","sort_children","sources_changed","spatial_discovery_recommended","spatial_tracking_state_changed","spawned","sprite_frames_changed","squeeze","squeezeend","squeezestart","started","state_finished","state_started","step_finished","stopped","symbol_hovered","symbol_lookup","symbol_validate","synchronized","tab_button_pressed","tab_changed","tab_clicked","tab_close_pressed","tab_hovered","tab_rmb_clicked","tab_selected","tapped","target_reached","text_change_rejected","text_changed","text_set","text_submitted","texture_changed","theme_changed","timeout","title_changed","titlebar_changed","toggled","tracker_added","tracker_removed","tracker_updated","tracking_changed","tree_changed","tree_entered","tree_exited","tree_exiting","tree_process_mode_changed","triangles_updated","ungrabbed","updown_pressed","user_presence_changed","uuid_changed","value_changed","value_focus_entered","value_focus_exited","velocity_computed","version_changed","visibility_changed","visibility_state_changed","waypoint_reached","window_input","world_origin_changed"],"godot_version":"4.6.2","names_from":"Godot Engine v4.7.2.stable.official"}
+{"classes":{"AESContext":{"inherits":"RefCounted","props":[]},"AStar2D":{"inherits":"RefCounted","props":["neighbor_filter_enabled"]},"AStar3D":{"inherits":"RefCounted","props":["neighbor_filter_enabled"]},"AStarGrid2D":{"inherits":"RefCounted","props":["cell_shape","cell_size","default_compute_heuristic","default_estimate_heuristic","diagonal_mode","jumping_enabled","offset","region","size"]},"AcceptDialog":{"inherits":"Window","props":["dialog_autowrap","dialog_close_on_escape","dialog_hide_on_ok","dialog_text","ok_button_text"]},"AimModifier3D":{"inherits":"BoneConstraint3D","props":["setting_count"]},"AnimatableBody2D":{"inherits":"StaticBody2D","props":["sync_to_physics"]},"AnimatableBody3D":{"inherits":"StaticBody3D","props":["sync_to_physics"]},"AnimatedSprite2D":{"inherits":"Node2D","props":["animation","autoplay","centered","flip_h","flip_v","frame","frame_progress","offset","speed_scale","sprite_frames"]},"AnimatedSprite3D":{"inherits":"SpriteBase3D","props":["animation","autoplay","frame","frame_progress","speed_scale","sprite_frames"]},"AnimatedTexture":{"inherits":"Texture2D","props":["current_frame","frames","one_shot","pause","speed_scale"]},"Animation":{"inherits":"Resource","props":["capture_included","length","loop_mode","step"]},"AnimationLibrary":{"inherits":"Resource","props":[]},"AnimationMixer":{"inherits":"Node","props":["active","audio_max_polyphony","callback_mode_discrete","callback_mode_method","callback_mode_process","deterministic","reset_on_save","root_motion_local","root_motion_track","root_node"]},"AnimationNode":{"inherits":"Resource","props":["filter_enabled","filters"]},"AnimationNodeAdd2":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeAdd3":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeAnimation":{"inherits":"AnimationRootNode","props":["advance_on_start","animation","loop_mode","play_mode","start_offset","stretch_time_scale","timeline_length","use_custom_timeline"]},"AnimationNodeBlend2":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeBlend3":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeBlendSpace1D":{"inherits":"AnimationRootNode","props":["blend_mode","max_space","min_space","snap","sync","value_label"]},"AnimationNodeBlendSpace2D":{"inherits":"AnimationRootNode","props":["auto_triangles","blend_mode","max_space","min_space","snap","sync","triangles","x_label","y_label"]},"AnimationNodeBlendTree":{"inherits":"AnimationRootNode","props":["graph_offset"]},"AnimationNodeExtension":{"inherits":"AnimationNode","props":[]},"AnimationNodeOneShot":{"inherits":"AnimationNodeSync","props":["abort_on_reset","autorestart","autorestart_delay","autorestart_random_delay","break_loop_at_end","fadein_curve","fadein_time","fadeout_curve","fadeout_time","mix_mode"]},"AnimationNodeOutput":{"inherits":"AnimationNode","props":[]},"AnimationNodeStateMachine":{"inherits":"AnimationRootNode","props":["allow_transition_to_self","reset_ends","state_machine_type"]},"AnimationNodeStateMachinePlayback":{"inherits":"Resource","props":[]},"AnimationNodeStateMachineTransition":{"inherits":"Resource","props":["advance_condition","advance_expression","advance_mode","break_loop_at_end","priority","reset","switch_mode","xfade_curve","xfade_time"]},"AnimationNodeSub2":{"inherits":"AnimationNodeSync","props":[]},"AnimationNodeSync":{"inherits":"AnimationNode","props":["sync"]},"AnimationNodeTimeScale":{"inherits":"AnimationNode","props":[]},"AnimationNodeTimeSeek":{"inherits":"AnimationNode","props":["explicit_elapse"]},"AnimationNodeTransition":{"inherits":"AnimationNodeSync","props":["allow_transition_to_self","input_count","xfade_curve","xfade_time"]},"AnimationPlayer":{"inherits":"AnimationMixer","props":["assigned_animation","autoplay","current_animation","current_animation_length","current_animation_position","movie_quit_on_finish","playback_auto_capture","playback_auto_capture_duration","playback_auto_capture_ease_type","playback_auto_capture_transition_type","playback_default_blend_time","speed_scale"]},"AnimationRootNode":{"inherits":"AnimationNode","props":[]},"AnimationTree":{"inherits":"AnimationMixer","props":["advance_expression_base_node","anim_player","tree_root"]},"Area2D":{"inherits":"CollisionObject2D","props":["angular_damp","angular_damp_space_override","audio_bus_name","audio_bus_override","gravity","gravity_direction","gravity_point","gravity_point_center","gravity_point_unit_distance","gravity_space_override","linear_damp","linear_damp_space_override","monitorable","monitoring","priority"]},"Area3D":{"inherits":"CollisionObject3D","props":["angular_damp","angular_damp_space_override","audio_bus_name","audio_bus_override","gravity","gravity_direction","gravity_point","gravity_point_center","gravity_point_unit_distance","gravity_space_override","linear_damp","linear_damp_space_override","monitorable","monitoring","priority","reverb_bus_amount","reverb_bus_enabled","reverb_bus_name","reverb_bus_uniformity","wind_attenuation_factor","wind_force_magnitude","wind_source_path"]},"ArrayMesh":{"inherits":"Mesh","props":["blend_shape_mode","custom_aabb","shadow_mesh"]},"ArrayOccluder3D":{"inherits":"Occluder3D","props":["indices","vertices"]},"AspectRatioContainer":{"inherits":"Container","props":["alignment_horizontal","alignment_vertical","ratio","stretch_mode"]},"AtlasTexture":{"inherits":"Texture2D","props":["atlas","filter_clip","margin","region"]},"AudioBusLayout":{"inherits":"Resource","props":[]},"AudioEffect":{"inherits":"Resource","props":[]},"AudioEffectAmplify":{"inherits":"AudioEffect","props":["volume_db","volume_linear"]},"AudioEffectBandLimitFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectBandPassFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectCapture":{"inherits":"AudioEffect","props":["buffer_length"]},"AudioEffectChorus":{"inherits":"AudioEffect","props":["dry","voice_count","wet"]},"AudioEffectCompressor":{"inherits":"AudioEffect","props":["attack_us","gain","mix","ratio","release_ms","sidechain","threshold"]},"AudioEffectDelay":{"inherits":"AudioEffect","props":["dry","feedback_active","feedback_delay_ms","feedback_level_db","feedback_lowpass","tap1_active","tap1_delay_ms","tap1_level_db","tap1_pan","tap2_active","tap2_delay_ms","tap2_level_db","tap2_pan"]},"AudioEffectDistortion":{"inherits":"AudioEffect","props":["drive","keep_hf_hz","mode","post_gain","pre_gain"]},"AudioEffectEQ":{"inherits":"AudioEffect","props":[]},"AudioEffectEQ10":{"inherits":"AudioEffectEQ","props":[]},"AudioEffectEQ21":{"inherits":"AudioEffectEQ","props":[]},"AudioEffectEQ6":{"inherits":"AudioEffectEQ","props":[]},"AudioEffectFilter":{"inherits":"AudioEffect","props":["cutoff_hz","db","gain","resonance"]},"AudioEffectHardLimiter":{"inherits":"AudioEffect","props":["ceiling_db","pre_gain_db","release"]},"AudioEffectHighPassFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectHighShelfFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectInstance":{"inherits":"RefCounted","props":[]},"AudioEffectLimiter":{"inherits":"AudioEffect","props":["ceiling_db","soft_clip_db","soft_clip_ratio","threshold_db"]},"AudioEffectLowPassFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectLowShelfFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectNotchFilter":{"inherits":"AudioEffectFilter","props":[]},"AudioEffectPanner":{"inherits":"AudioEffect","props":["pan"]},"AudioEffectPhaser":{"inherits":"AudioEffect","props":["depth","feedback","range_max_hz","range_min_hz","rate_hz"]},"AudioEffectPitchShift":{"inherits":"AudioEffect","props":["fft_size","oversampling","pitch_scale"]},"AudioEffectRecord":{"inherits":"AudioEffect","props":["format"]},"AudioEffectReverb":{"inherits":"AudioEffect","props":["damping","dry","hipass","predelay_feedback","predelay_msec","room_size","spread","wet"]},"AudioEffectSpectrumAnalyzer":{"inherits":"AudioEffect","props":["buffer_length","fft_size","tap_back_pos"]},"AudioEffectSpectrumAnalyzerInstance":{"inherits":"AudioEffectInstance","props":[]},"AudioEffectStereoEnhance":{"inherits":"AudioEffect","props":["pan_pullout","surround","time_pullout_ms"]},"AudioListener2D":{"inherits":"Node2D","props":[]},"AudioListener3D":{"inherits":"Node3D","props":["doppler_tracking"]},"AudioSample":{"inherits":"RefCounted","props":[]},"AudioSamplePlayback":{"inherits":"RefCounted","props":[]},"AudioServer":{"inherits":"Object","props":["bus_count","input_device","output_device","playback_speed_scale"]},"AudioStream":{"inherits":"Resource","props":[]},"AudioStreamGenerator":{"inherits":"AudioStream","props":["buffer_length","mix_rate","mix_rate_mode"]},"AudioStreamGeneratorPlayback":{"inherits":"AudioStreamPlaybackResampled","props":[]},"AudioStreamInteractive":{"inherits":"AudioStream","props":["clip_count","initial_clip"]},"AudioStreamMP3":{"inherits":"AudioStream","props":["bar_beats","beat_count","bpm","data","loop","loop_offset"]},"AudioStreamMicrophone":{"inherits":"AudioStream","props":[]},"AudioStreamOggVorbis":{"inherits":"AudioStream","props":["bar_beats","beat_count","bpm","loop","loop_offset","packet_sequence","tags"]},"AudioStreamPlayback":{"inherits":"RefCounted","props":[]},"AudioStreamPlaybackInteractive":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackOggVorbis":{"inherits":"AudioStreamPlaybackResampled","props":[]},"AudioStreamPlaybackPlaylist":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackPolyphonic":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackResampled":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlaybackSynchronized":{"inherits":"AudioStreamPlayback","props":[]},"AudioStreamPlayer":{"inherits":"Node","props":["autoplay","bus","max_polyphony","mix_target","pitch_scale","playback_type","playing","stream","stream_paused","volume_db","volume_linear"]},"AudioStreamPlayer2D":{"inherits":"Node2D","props":["area_mask","attenuation","autoplay","bus","max_distance","max_polyphony","panning_strength","pitch_scale","playback_type","playing","stream","stream_paused","volume_db","volume_linear"]},"AudioStreamPlayer3D":{"inherits":"Node3D","props":["area_mask","attenuation_filter_cutoff_hz","attenuation_filter_db","attenuation_model","autoplay","bus","doppler_tracking","emission_angle_degrees","emission_angle_enabled","emission_angle_filter_attenuation_db","max_db","max_distance","max_polyphony","panning_strength","pitch_scale","playback_type","playing","stream","stream_paused","unit_size","volume_db","volume_linear"]},"AudioStreamPlaylist":{"inherits":"AudioStream","props":["fade_time","loop","shuffle","stream_0","stream_1","stream_10","stream_11","stream_12","stream_13","stream_14","stream_15","stream_16","stream_17","stream_18","stream_19","stream_2","stream_20","stream_21","stream_22","stream_23","stream_24","stream_25","stream_26","stream_27","stream_28","stream_29","stream_3","stream_30","stream_31","stream_32","stream_33","stream_34","stream_35","stream_36","stream_37","stream_38","stream_39","stream_4","stream_40","stream_41","stream_42","stream_43","stream_44","stream_45","stream_46","stream_47","stream_48","stream_49","stream_5","stream_50","stream_51","stream_52","stream_53","stream_54","stream_55","stream_56","stream_57","stream_58","stream_59","stream_6","stream_60","stream_61","stream_62","stream_63","stream_7","stream_8","stream_9","stream_count"]},"AudioStreamPolyphonic":{"inherits":"AudioStream","props":["polyphony"]},"AudioStreamRandomizer":{"inherits":"AudioStream","props":["playback_mode","random_pitch","random_pitch_semitones","random_volume_offset_db","streams_count"]},"AudioStreamSynchronized":{"inherits":"AudioStream","props":["stream_count"]},"AudioStreamWAV":{"inherits":"AudioStream","props":["data","format","loop_begin","loop_end","loop_mode","mix_rate","stereo","tags"]},"BackBufferCopy":{"inherits":"Node2D","props":["copy_mode","rect"]},"BaseButton":{"inherits":"Control","props":["action_mode","button_group","button_mask","button_pressed","disabled","keep_pressed_outside","shortcut","shortcut_feedback","shortcut_in_tooltip","toggle_mode"]},"BaseMaterial3D":{"inherits":"Material","props":["albedo_color","albedo_texture","albedo_texture_force_srgb","albedo_texture_msdf","alpha_antialiasing_edge","alpha_antialiasing_mode","alpha_hash_scale","alpha_scissor_threshold","anisotropy","anisotropy_enabled","anisotropy_flowmap","ao_enabled","ao_light_affect","ao_on_uv2","ao_texture","ao_texture_channel","backlight","backlight_enabled","backlight_texture","bent_normal_enabled","bent_normal_texture","billboard_keep_scale","billboard_mode","blend_mode","clearcoat","clearcoat_enabled","clearcoat_roughness","clearcoat_texture","cull_mode","depth_draw_mode","depth_test","detail_albedo","detail_blend_mode","detail_enabled","detail_mask","detail_normal","detail_uv_layer","diffuse_mode","disable_ambient_light","disable_fog","disable_receive_shadows","disable_specular_occlusion","distance_fade_max_distance","distance_fade_min_distance","distance_fade_mode","emission","emission_enabled","emission_energy_multiplier","emission_intensity","emission_on_uv2","emission_operator","emission_texture","fixed_size","fov_override","grow","grow_amount","heightmap_deep_parallax","heightmap_enabled","heightmap_flip_binormal","heightmap_flip_tangent","heightmap_flip_texture","heightmap_max_layers","heightmap_min_layers","heightmap_scale","heightmap_texture","metallic","metallic_specular","metallic_texture","metallic_texture_channel","msdf_outline_size","msdf_pixel_range","no_depth_test","normal_enabled","normal_scale","normal_texture","orm_texture","particles_anim_h_frames","particles_anim_loop","particles_anim_v_frames","point_size","proximity_fade_distance","proximity_fade_enabled","refraction_enabled","refraction_scale","refraction_texture","refraction_texture_channel","rim","rim_enabled","rim_texture","rim_tint","roughness","roughness_texture","roughness_texture_channel","shading_mode","shadow_to_opacity","specular_mode","stencil_color","stencil_compare","stencil_flags","stencil_mode","stencil_outline_thickness","stencil_reference","subsurf_scatter_enabled","subsurf_scatter_skin_mode","subsurf_scatter_strength","subsurf_scatter_texture","subsurf_scatter_transmittance_boost","subsurf_scatter_transmittance_color","subsurf_scatter_transmittance_depth","subsurf_scatter_transmittance_enabled","subsurf_scatter_transmittance_texture","texture_filter","texture_repeat","transparency","use_fov_override","use_particle_trails","use_point_size","use_z_clip_scale","uv1_offset","uv1_scale","uv1_triplanar","uv1_triplanar_sharpness","uv1_world_triplanar","uv2_offset","uv2_scale","uv2_triplanar","uv2_triplanar_sharpness","uv2_world_triplanar","vertex_color_is_srgb","vertex_color_use_as_albedo","z_clip_scale"]},"BitMap":{"inherits":"Resource","props":["data"]},"Bone2D":{"inherits":"Node2D","props":["rest"]},"BoneAttachment3D":{"inherits":"Node3D","props":["bone_idx","bone_name","external_skeleton","override_pose","use_external_skeleton"]},"BoneConstraint3D":{"inherits":"SkeletonModifier3D","props":[]},"BoneMap":{"inherits":"Resource","props":["profile"]},"BoneTwistDisperser3D":{"inherits":"SkeletonModifier3D","props":["mutable_bone_axes","setting_count"]},"BoxContainer":{"inherits":"Container","props":["alignment","vertical"]},"BoxMesh":{"inherits":"PrimitiveMesh","props":["size","subdivide_depth","subdivide_height","subdivide_width"]},"BoxOccluder3D":{"inherits":"Occluder3D","props":["size"]},"BoxShape3D":{"inherits":"Shape3D","props":["size"]},"Button":{"inherits":"BaseButton","props":["alignment","autowrap_mode","autowrap_trim_flags","clip_text","expand_icon","flat","icon","icon_alignment","language","text","text_direction","text_overrun_behavior","vertical_icon_alignment"]},"ButtonGroup":{"inherits":"Resource","props":["allow_unpress"]},"CCDIK3D":{"inherits":"IterateIK3D","props":[]},"CPUParticles2D":{"inherits":"Node2D","props":["amount","angle_curve","angle_max","angle_min","angular_velocity_curve","angular_velocity_max","angular_velocity_min","anim_offset_curve","anim_offset_max","anim_offset_min","anim_speed_curve","anim_speed_max","anim_speed_min","color","color_initial_ramp","color_ramp","damping_curve","damping_max","damping_min","direction","draw_order","emission_colors","emission_normals","emission_points","emission_rect_extents","emission_ring_inner_radius","emission_ring_radius","emission_shape","emission_sphere_radius","emitting","explosiveness","fixed_fps","fract_delta","gravity","hue_variation_curve","hue_variation_max","hue_variation_min","initial_velocity_max","initial_velocity_min","lifetime","lifetime_randomness","linear_accel_curve","linear_accel_max","linear_accel_min","local_coords","one_shot","orbit_velocity_curve","orbit_velocity_max","orbit_velocity_min","particle_flag_align_y","preprocess","radial_accel_curve","radial_accel_max","radial_accel_min","randomness","scale_amount_curve","scale_amount_max","scale_amount_min","scale_curve_x","scale_curve_y","seed","speed_scale","split_scale","spread","tangential_accel_curve","tangential_accel_max","tangential_accel_min","texture","use_fixed_seed"]},"CPUParticles3D":{"inherits":"GeometryInstance3D","props":["amount","angle_curve","angle_max","angle_min","angular_velocity_curve","angular_velocity_max","angular_velocity_min","anim_offset_curve","anim_offset_max","anim_offset_min","anim_speed_curve","anim_speed_max","anim_speed_min","color","color_initial_ramp","color_ramp","damping_curve","damping_max","damping_min","direction","draw_order","emission_box_extents","emission_colors","emission_normals","emission_points","emission_ring_axis","emission_ring_cone_angle","emission_ring_height","emission_ring_inner_radius","emission_ring_radius","emission_shape","emission_sphere_radius","emitting","explosiveness","fixed_fps","flatness","fract_delta","gravity","hue_variation_curve","hue_variation_max","hue_variation_min","initial_velocity_max","initial_velocity_min","lifetime","lifetime_randomness","linear_accel_curve","linear_accel_max","linear_accel_min","local_coords","mesh","one_shot","orbit_velocity_curve","orbit_velocity_max","orbit_velocity_min","particle_flag_align_y","particle_flag_disable_z","particle_flag_rotate_y","preprocess","radial_accel_curve","radial_accel_max","radial_accel_min","randomness","scale_amount_curve","scale_amount_max","scale_amount_min","scale_curve_x","scale_curve_y","scale_curve_z","seed","speed_scale","split_scale","spread","tangential_accel_curve","tangential_accel_max","tangential_accel_min","use_fixed_seed","visibility_aabb"]},"CSGBox3D":{"inherits":"CSGPrimitive3D","props":["material","size"]},"CSGCombiner3D":{"inherits":"CSGShape3D","props":[]},"CSGCylinder3D":{"inherits":"CSGPrimitive3D","props":["cone","height","material","radius","sides","smooth_faces"]},"CSGMesh3D":{"inherits":"CSGPrimitive3D","props":["material","mesh"]},"CSGPolygon3D":{"inherits":"CSGPrimitive3D","props":["depth","material","mode","path_continuous_u","path_interval","path_interval_type","path_joined","path_local","path_node","path_rotation","path_rotation_accurate","path_simplify_angle","path_u_distance","polygon","smooth_faces","spin_degrees","spin_sides"]},"CSGPrimitive3D":{"inherits":"CSGShape3D","props":["flip_faces"]},"CSGShape3D":{"inherits":"GeometryInstance3D","props":["calculate_tangents","collision_layer","collision_mask","collision_priority","operation","snap","use_collision"]},"CSGSphere3D":{"inherits":"CSGPrimitive3D","props":["material","radial_segments","radius","rings","smooth_faces"]},"CSGTorus3D":{"inherits":"CSGPrimitive3D","props":["inner_radius","material","outer_radius","ring_sides","sides","smooth_faces"]},"CallbackTweener":{"inherits":"Tweener","props":[]},"Camera2D":{"inherits":"Node2D","props":["anchor_mode","custom_viewport","drag_bottom_margin","drag_horizontal_enabled","drag_horizontal_offset","drag_left_margin","drag_right_margin","drag_top_margin","drag_vertical_enabled","drag_vertical_offset","editor_draw_drag_margin","editor_draw_limits","editor_draw_screen","enabled","ignore_rotation","limit_bottom","limit_enabled","limit_left","limit_right","limit_smoothed","limit_top","offset","position_smoothing_enabled","position_smoothing_speed","process_callback","rotation_smoothing_enabled","rotation_smoothing_speed","zoom"]},"Camera3D":{"inherits":"Node3D","props":["attributes","compositor","cull_mask","current","doppler_tracking","environment","far","fov","frustum_offset","h_offset","keep_aspect","near","projection","size","v_offset"]},"CameraAttributes":{"inherits":"Resource","props":["auto_exposure_enabled","auto_exposure_scale","auto_exposure_speed","exposure_multiplier","exposure_sensitivity"]},"CameraAttributesPhysical":{"inherits":"CameraAttributes","props":["auto_exposure_max_exposure_value","auto_exposure_min_exposure_value","exposure_aperture","exposure_shutter_speed","frustum_far","frustum_focal_length","frustum_focus_distance","frustum_near"]},"CameraAttributesPractical":{"inherits":"CameraAttributes","props":["auto_exposure_max_sensitivity","auto_exposure_min_sensitivity","dof_blur_amount","dof_blur_far_distance","dof_blur_far_enabled","dof_blur_far_transition","dof_blur_near_distance","dof_blur_near_enabled","dof_blur_near_transition"]},"CameraFeed":{"inherits":"RefCounted","props":["feed_is_active","feed_transform","formats"]},"CameraServer":{"inherits":"Object","props":["monitoring_feeds"]},"CameraTexture":{"inherits":"Texture2D","props":["camera_feed_id","camera_is_active","which_feed"]},"CanvasGroup":{"inherits":"Node2D","props":["clear_margin","fit_margin","use_mipmaps"]},"CanvasItem":{"inherits":"Node","props":["clip_children","light_mask","material","modulate","self_modulate","show_behind_parent","texture_filter","texture_repeat","top_level","use_parent_material","visibility_layer","visible","y_sort_enabled","z_as_relative","z_index"]},"CanvasItemMaterial":{"inherits":"Material","props":["blend_mode","light_mode","particles_anim_h_frames","particles_anim_loop","particles_anim_v_frames","particles_animation"]},"CanvasLayer":{"inherits":"Node","props":["custom_viewport","follow_viewport_enabled","follow_viewport_scale","layer","offset","rotation","scale","transform","visible"]},"CanvasModulate":{"inherits":"Node2D","props":["color"]},"CanvasTexture":{"inherits":"Texture2D","props":["diffuse_texture","normal_texture","specular_color","specular_shininess","specular_texture","texture_filter","texture_repeat"]},"CapsuleMesh":{"inherits":"PrimitiveMesh","props":["height","radial_segments","radius","rings"]},"CapsuleShape2D":{"inherits":"Shape2D","props":["height","mid_height","radius"]},"CapsuleShape3D":{"inherits":"Shape3D","props":["height","mid_height","radius"]},"CenterContainer":{"inherits":"Container","props":["use_top_left"]},"ChainIK3D":{"inherits":"IKModifier3D","props":[]},"CharFXTransform":{"inherits":"RefCounted","props":["color","elapsed_time","env","font","glyph_count","glyph_flags","glyph_index","offset","outline","range","relative_index","transform","visible"]},"CharacterBody2D":{"inherits":"PhysicsBody2D","props":["floor_block_on_wall","floor_constant_speed","floor_max_angle","floor_snap_length","floor_stop_on_slope","max_slides","motion_mode","platform_floor_layers","platform_on_leave","platform_wall_layers","safe_margin","slide_on_ceiling","up_direction","velocity","wall_min_slide_angle"]},"CharacterBody3D":{"inherits":"PhysicsBody3D","props":["floor_block_on_wall","floor_constant_speed","floor_max_angle","floor_snap_length","floor_stop_on_slope","max_slides","motion_mode","platform_floor_layers","platform_on_leave","platform_wall_layers","safe_margin","slide_on_ceiling","up_direction","velocity","wall_min_slide_angle"]},"CheckBox":{"inherits":"Button","props":[]},"CheckButton":{"inherits":"Button","props":[]},"CircleShape2D":{"inherits":"Shape2D","props":["radius"]},"ClassDB":{"inherits":"Object","props":[]},"CodeEdit":{"inherits":"TextEdit","props":["auto_brace_completion_enabled","auto_brace_completion_highlight_matching","auto_brace_completion_pairs","code_completion_enabled","code_completion_prefixes","delimiter_comments","delimiter_strings","gutters_draw_bookmarks","gutters_draw_breakpoints_gutter","gutters_draw_executing_lines","gutters_draw_fold_gutter","gutters_draw_line_numbers","gutters_line_numbers_min_digits","gutters_zero_pad_line_numbers","indent_automatic","indent_automatic_prefixes","indent_size","indent_use_spaces","line_folding","line_length_guidelines","symbol_lookup_on_click","symbol_tooltip_on_hover"]},"CodeHighlighter":{"inherits":"SyntaxHighlighter","props":["color_regions","function_color","keyword_colors","member_keyword_colors","member_variable_color","number_color","symbol_color"]},"CollisionObject2D":{"inherits":"Node2D","props":["collision_layer","collision_mask","collision_priority","disable_mode","input_pickable"]},"CollisionObject3D":{"inherits":"Node3D","props":["collision_layer","collision_mask","collision_priority","disable_mode","input_capture_on_drag","input_ray_pickable"]},"CollisionPolygon2D":{"inherits":"Node2D","props":["build_mode","disabled","one_way_collision","one_way_collision_margin","polygon"]},"CollisionPolygon3D":{"inherits":"Node3D","props":["debug_color","debug_fill","depth","disabled","margin","polygon"]},"CollisionShape2D":{"inherits":"Node2D","props":["debug_color","disabled","one_way_collision","one_way_collision_margin","shape"]},"CollisionShape3D":{"inherits":"Node3D","props":["debug_color","debug_fill","disabled","shape"]},"ColorPalette":{"inherits":"Resource","props":["colors"]},"ColorPicker":{"inherits":"VBoxContainer","props":["can_add_swatches","color","color_mode","color_modes_visible","deferred_mode","edit_alpha","edit_intensity","hex_visible","picker_shape","presets_visible","sampler_visible","sliders_visible"]},"ColorPickerButton":{"inherits":"Button","props":["color","edit_alpha","edit_intensity"]},"ColorRect":{"inherits":"Control","props":["color"]},"Compositor":{"inherits":"Resource","props":["compositor_effects"]},"CompositorEffect":{"inherits":"Resource","props":["access_resolved_color","access_resolved_depth","effect_callback_type","enabled","needs_motion_vectors","needs_normal_roughness","needs_separate_specular"]},"CompressedCubemap":{"inherits":"CompressedTextureLayered","props":[]},"CompressedCubemapArray":{"inherits":"CompressedTextureLayered","props":[]},"CompressedTexture2D":{"inherits":"Texture2D","props":["load_path"]},"CompressedTexture2DArray":{"inherits":"CompressedTextureLayered","props":[]},"CompressedTexture3D":{"inherits":"Texture3D","props":["load_path"]},"CompressedTextureLayered":{"inherits":"TextureLayered","props":["load_path"]},"ConcavePolygonShape2D":{"inherits":"Shape2D","props":["segments"]},"ConcavePolygonShape3D":{"inherits":"Shape3D","props":["backface_collision","data"]},"ConeTwistJoint3D":{"inherits":"Joint3D","props":["bias","relaxation","softness","swing_span","twist_span"]},"ConfigFile":{"inherits":"RefCounted","props":[]},"ConfirmationDialog":{"inherits":"AcceptDialog","props":["cancel_button_text"]},"Container":{"inherits":"Control","props":[]},"Control":{"inherits":"CanvasItem","props":["accessibility_controls_nodes","accessibility_described_by_nodes","accessibility_description","accessibility_flow_to_nodes","accessibility_labeled_by_nodes","accessibility_live","accessibility_name","anchor_bottom","anchor_left","anchor_right","anchor_top","anchors_preset","auto_translate","clip_contents","custom_minimum_size","focus_behavior_recursive","focus_mode","focus_neighbor_bottom","focus_neighbor_left","focus_neighbor_right","focus_neighbor_top","focus_next","focus_previous","global_position","grow_horizontal","grow_vertical","layout_direction","layout_mode","localize_numeral_system","mouse_behavior_recursive","mouse_default_cursor_shape","mouse_filter","mouse_force_pass_scroll_events","offset_bottom","offset_left","offset_right","offset_top","pivot_offset","pivot_offset_ratio","position","rotation","rotation_degrees","scale","shortcut_context","size","size_flags_horizontal","size_flags_stretch_ratio","size_flags_vertical","theme","theme_type_variation","tooltip_auto_translate_mode","tooltip_text"]},"ConvertTransformModifier3D":{"inherits":"BoneConstraint3D","props":["setting_count"]},"ConvexPolygonShape2D":{"inherits":"Shape2D","props":["points"]},"ConvexPolygonShape3D":{"inherits":"Shape3D","props":["points"]},"CopyTransformModifier3D":{"inherits":"BoneConstraint3D","props":["setting_count"]},"Crypto":{"inherits":"RefCounted","props":[]},"CryptoKey":{"inherits":"Resource","props":[]},"Cubemap":{"inherits":"ImageTextureLayered","props":[]},"CubemapArray":{"inherits":"ImageTextureLayered","props":[]},"Curve":{"inherits":"Resource","props":["bake_resolution","max_domain","max_value","min_domain","min_value","point_count"]},"Curve2D":{"inherits":"Resource","props":["bake_interval","point_count"]},"Curve3D":{"inherits":"Resource","props":["bake_interval","closed","point_count","up_vector_enabled"]},"CurveTexture":{"inherits":"Texture2D","props":["curve","texture_mode","width"]},"CurveXYZTexture":{"inherits":"Texture2D","props":["curve_x","curve_y","curve_z","width"]},"CylinderMesh":{"inherits":"PrimitiveMesh","props":["bottom_radius","cap_bottom","cap_top","height","radial_segments","rings","top_radius"]},"CylinderShape3D":{"inherits":"Shape3D","props":["height","radius"]},"DPITexture":{"inherits":"Texture2D","props":["base_scale","color_map","saturation"]},"DTLSServer":{"inherits":"RefCounted","props":[]},"DampedSpringJoint2D":{"inherits":"Joint2D","props":["damping","length","rest_length","stiffness"]},"Decal":{"inherits":"VisualInstance3D","props":["albedo_mix","cull_mask","distance_fade_begin","distance_fade_enabled","distance_fade_length","emission_energy","lower_fade","modulate","normal_fade","size","texture_albedo","texture_emission","texture_normal","texture_orm","upper_fade"]},"DirAccess":{"inherits":"RefCounted","props":["include_hidden","include_navigational"]},"DirectionalLight2D":{"inherits":"Light2D","props":["height","max_distance"]},"DirectionalLight3D":{"inherits":"Light3D","props":["directional_shadow_blend_splits","directional_shadow_fade_start","directional_shadow_max_distance","directional_shadow_mode","directional_shadow_pancake_size","directional_shadow_split_1","directional_shadow_split_2","directional_shadow_split_3","sky_mode"]},"DisplayServer":{"inherits":"Object","props":[]},"ENetConnection":{"inherits":"RefCounted","props":[]},"ENetMultiplayerPeer":{"inherits":"MultiplayerPeer","props":["host"]},"ENetPacketPeer":{"inherits":"PacketPeer","props":[]},"EditorCommandPalette":{"inherits":"ConfirmationDialog","props":[]},"EditorContextMenuPlugin":{"inherits":"RefCounted","props":[]},"EditorDebuggerPlugin":{"inherits":"RefCounted","props":[]},"EditorDebuggerSession":{"inherits":"RefCounted","props":[]},"EditorDock":{"inherits":"MarginContainer","props":["available_layouts","closable","default_slot","dock_icon","dock_shortcut","force_show_icon","global","icon_name","layout_key","title","title_color","transient"]},"EditorExportPlatform":{"inherits":"RefCounted","props":[]},"EditorExportPlatformAndroid":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformAppleEmbedded":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformExtension":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformIOS":{"inherits":"EditorExportPlatformAppleEmbedded","props":[]},"EditorExportPlatformLinuxBSD":{"inherits":"EditorExportPlatformPC","props":[]},"EditorExportPlatformMacOS":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformPC":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformVisionOS":{"inherits":"EditorExportPlatformAppleEmbedded","props":[]},"EditorExportPlatformWeb":{"inherits":"EditorExportPlatform","props":[]},"EditorExportPlatformWindows":{"inherits":"EditorExportPlatformPC","props":[]},"EditorExportPlugin":{"inherits":"RefCounted","props":[]},"EditorExportPreset":{"inherits":"RefCounted","props":[]},"EditorFeatureProfile":{"inherits":"RefCounted","props":[]},"EditorFileDialog":{"inherits":"FileDialog","props":["disable_overwrite_warning"]},"EditorFileSystem":{"inherits":"Node","props":[]},"EditorFileSystemDirectory":{"inherits":"Object","props":[]},"EditorFileSystemImportFormatSupportQuery":{"inherits":"RefCounted","props":[]},"EditorImportPlugin":{"inherits":"ResourceImporter","props":[]},"EditorInspector":{"inherits":"ScrollContainer","props":[]},"EditorInspectorPlugin":{"inherits":"RefCounted","props":[]},"EditorInterface":{"inherits":"Object","props":["distraction_free_mode","movie_maker_enabled"]},"EditorNode3DGizmo":{"inherits":"Node3DGizmo","props":[]},"EditorNode3DGizmoPlugin":{"inherits":"Resource","props":[]},"EditorPaths":{"inherits":"Object","props":[]},"EditorPlugin":{"inherits":"Node","props":[]},"EditorProperty":{"inherits":"Container","props":["checkable","checked","deletable","draw_background","draw_label","draw_warning","keying","label","name_split_ratio","read_only","selectable","use_folding"]},"EditorResourceConversionPlugin":{"inherits":"RefCounted","props":[]},"EditorResourcePicker":{"inherits":"HBoxContainer","props":["base_type","editable","edited_resource","toggle_mode"]},"EditorResourcePreview":{"inherits":"Node","props":[]},"EditorResourcePreviewGenerator":{"inherits":"RefCounted","props":[]},"EditorResourceTooltipPlugin":{"inherits":"RefCounted","props":[]},"EditorSceneFormatImporter":{"inherits":"RefCounted","props":[]},"EditorSceneFormatImporterBlend":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorSceneFormatImporterFBX2GLTF":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorSceneFormatImporterGLTF":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorSceneFormatImporterUFBX":{"inherits":"EditorSceneFormatImporter","props":[]},"EditorScenePostImport":{"inherits":"RefCounted","props":[]},"EditorScenePostImportPlugin":{"inherits":"RefCounted","props":[]},"EditorScript":{"inherits":"RefCounted","props":[]},"EditorScriptPicker":{"inherits":"EditorResourcePicker","props":["script_owner"]},"EditorSelection":{"inherits":"Object","props":[]},"EditorSettings":{"inherits":"Resource","props":[]},"EditorSpinSlider":{"inherits":"Range","props":["control_state","editing_integer","flat","hide_slider","label","read_only","suffix"]},"EditorSyntaxHighlighter":{"inherits":"SyntaxHighlighter","props":[]},"EditorToaster":{"inherits":"HBoxContainer","props":[]},"EditorTranslationParserPlugin":{"inherits":"RefCounted","props":[]},"EditorUndoRedoManager":{"inherits":"Object","props":[]},"EditorVCSInterface":{"inherits":"Object","props":[]},"EncodedObjectAsID":{"inherits":"RefCounted","props":["object_id"]},"Engine":{"inherits":"Object","props":["max_fps","max_physics_steps_per_frame","physics_jitter_fix","physics_ticks_per_second","print_error_messages","print_to_stdout","time_scale"]},"EngineDebugger":{"inherits":"Object","props":[]},"EngineProfiler":{"inherits":"RefCounted","props":[]},"Environment":{"inherits":"Resource","props":["adjustment_brightness","adjustment_color_correction","adjustment_contrast","adjustment_enabled","adjustment_saturation","ambient_light_color","ambient_light_energy","ambient_light_sky_contribution","ambient_light_source","background_camera_feed_id","background_canvas_max_layer","background_color","background_energy_multiplier","background_intensity","background_mode","fog_aerial_perspective","fog_density","fog_depth_begin","fog_depth_curve","fog_depth_end","fog_enabled","fog_height","fog_height_density","fog_light_color","fog_light_energy","fog_mode","fog_sky_affect","fog_sun_scatter","glow_blend_mode","glow_bloom","glow_enabled","glow_hdr_luminance_cap","glow_hdr_scale","glow_hdr_threshold","glow_intensity","glow_map","glow_map_strength","glow_mix","glow_normalized","glow_strength","reflected_light_source","sdfgi_bounce_feedback","sdfgi_cascade0_distance","sdfgi_cascades","sdfgi_enabled","sdfgi_energy","sdfgi_max_distance","sdfgi_min_cell_size","sdfgi_normal_bias","sdfgi_probe_bias","sdfgi_read_sky_light","sdfgi_use_occlusion","sdfgi_y_scale","sky","sky_custom_fov","sky_rotation","ssao_ao_channel_affect","ssao_detail","ssao_enabled","ssao_horizon","ssao_intensity","ssao_light_affect","ssao_power","ssao_radius","ssao_sharpness","ssil_enabled","ssil_intensity","ssil_normal_rejection","ssil_radius","ssil_sharpness","ssr_depth_tolerance","ssr_enabled","ssr_fade_in","ssr_fade_out","ssr_max_steps","tonemap_agx_contrast","tonemap_agx_white","tonemap_exposure","tonemap_mode","tonemap_white","volumetric_fog_albedo","volumetric_fog_ambient_inject","volumetric_fog_anisotropy","volumetric_fog_density","volumetric_fog_detail_spread","volumetric_fog_emission","volumetric_fog_emission_energy","volumetric_fog_enabled","volumetric_fog_gi_inject","volumetric_fog_length","volumetric_fog_sky_affect","volumetric_fog_temporal_reprojection_amount","volumetric_fog_temporal_reprojection_enabled"]},"Expression":{"inherits":"RefCounted","props":[]},"ExternalTexture":{"inherits":"Texture2D","props":["size"]},"FABRIK3D":{"inherits":"IterateIK3D","props":[]},"FBXDocument":{"inherits":"GLTFDocument","props":[]},"FBXState":{"inherits":"GLTFState","props":["allow_geometry_helper_nodes"]},"FastNoiseLite":{"inherits":"Noise","props":["cellular_distance_function","cellular_jitter","cellular_return_type","domain_warp_amplitude","domain_warp_enabled","domain_warp_fractal_gain","domain_warp_fractal_lacunarity","domain_warp_fractal_octaves","domain_warp_fractal_type","domain_warp_frequency","domain_warp_type","fractal_gain","fractal_lacunarity","fractal_octaves","fractal_ping_pong_strength","fractal_type","fractal_weighted_strength","frequency","noise_type","offset","seed"]},"FileAccess":{"inherits":"RefCounted","props":["big_endian"]},"FileDialog":{"inherits":"ConfirmationDialog","props":["access","current_dir","current_file","current_path","deleting_enabled","display_mode","favorites_enabled","file_filter_toggle_enabled","file_mode","file_sort_options_enabled","filename_filter","filters","folder_creation_enabled","hidden_files_toggle_enabled","layout_toggle_enabled","mode_overrides_title","option_count","overwrite_warning_enabled","recent_list_enabled","root_subfolder","show_hidden_files","use_native_dialog"]},"FileSystemDock":{"inherits":"EditorDock","props":[]},"FlowContainer":{"inherits":"Container","props":["alignment","last_wrap_alignment","reverse_fill","vertical"]},"FogMaterial":{"inherits":"Material","props":["albedo","density","density_texture","edge_fade","emission","height_falloff"]},"FogVolume":{"inherits":"VisualInstance3D","props":["material","shape","size"]},"FoldableContainer":{"inherits":"Container","props":["foldable_group","folded","language","title","title_alignment","title_position","title_text_direction","title_text_overrun_behavior"]},"FoldableGroup":{"inherits":"Resource","props":["allow_folding_all"]},"Font":{"inherits":"Resource","props":["fallbacks"]},"FontFile":{"inherits":"Font","props":["allow_system_fallback","antialiasing","data","disable_embedded_bitmaps","fixed_size","fixed_size_scale_mode","font_name","font_stretch","font_style","font_weight","force_autohinter","generate_mipmaps","hinting","keep_rounding_remainders","modulate_color_glyphs","msdf_pixel_range","msdf_size","multichannel_signed_distance_field","opentype_feature_overrides","oversampling","style_name","subpixel_positioning"]},"FontVariation":{"inherits":"Font","props":["base_font","baseline_offset","opentype_features","spacing_bottom","spacing_glyph","spacing_space","spacing_top","variation_embolden","variation_face_index","variation_opentype","variation_transform"]},"FramebufferCacheRD":{"inherits":"Object","props":[]},"GDExtension":{"inherits":"Resource","props":[]},"GDExtensionManager":{"inherits":"Object","props":[]},"GDScript":{"inherits":"Script","props":[]},"GDScriptSyntaxHighlighter":{"inherits":"EditorSyntaxHighlighter","props":[]},"GLTFAccessor":{"inherits":"Resource","props":["accessor_type","buffer_view","byte_offset","component_type","count","max","min","normalized","sparse_count","sparse_indices_buffer_view","sparse_indices_byte_offset","sparse_indices_component_type","sparse_values_buffer_view","sparse_values_byte_offset","type"]},"GLTFAnimation":{"inherits":"Resource","props":["loop","original_name"]},"GLTFBufferView":{"inherits":"Resource","props":["buffer","byte_length","byte_offset","byte_stride","indices","vertex_attributes"]},"GLTFCamera":{"inherits":"Resource","props":["depth_far","depth_near","fov","perspective","size_mag"]},"GLTFDocument":{"inherits":"Resource","props":["fallback_image_format","fallback_image_quality","image_format","lossy_quality","root_node_mode","visibility_mode"]},"GLTFDocumentExtension":{"inherits":"Resource","props":[]},"GLTFDocumentExtensionConvertImporterMesh":{"inherits":"GLTFDocumentExtension","props":[]},"GLTFLight":{"inherits":"Resource","props":["color","inner_cone_angle","intensity","light_type","outer_cone_angle","range"]},"GLTFMesh":{"inherits":"Resource","props":["blend_weights","instance_materials","mesh","original_name"]},"GLTFNode":{"inherits":"Resource","props":["camera","children","height","light","mesh","original_name","parent","position","rotation","scale","skeleton","skin","visible","xform"]},"GLTFObjectModelProperty":{"inherits":"RefCounted","props":["gltf_to_godot_expression","godot_to_gltf_expression","json_pointers","node_paths","object_model_type","variant_type"]},"GLTFPhysicsBody":{"inherits":"Resource","props":["angular_velocity","body_type","center_of_mass","inertia_diagonal","inertia_orientation","inertia_tensor","linear_velocity","mass"]},"GLTFPhysicsShape":{"inherits":"Resource","props":["height","importer_mesh","is_trigger","mesh_index","radius","shape_type","size"]},"GLTFSkeleton":{"inherits":"Resource","props":["godot_bone_node","joints","roots","unique_names"]},"GLTFSkin":{"inherits":"Resource","props":["godot_skin","inverse_binds","joint_i_to_bone_i","joint_i_to_name","joints","joints_original","non_joints","roots","skeleton","skin_root"]},"GLTFSpecGloss":{"inherits":"Resource","props":["diffuse_factor","diffuse_img","gloss_factor","spec_gloss_img","specular_factor"]},"GLTFState":{"inherits":"Resource","props":["accessors","animations","bake_fps","base_path","buffer_views","buffers","cameras","copyright","create_animations","filename","glb_data","handle_binary_image","handle_binary_image_mode","images","import_as_skeleton_bones","json","lights","major_version","materials","meshes","minor_version","nodes","root_nodes","scene_name","skeletons","skins","texture_samplers","textures","unique_animation_names","unique_names","use_named_skin_binds"]},"GLTFTexture":{"inherits":"Resource","props":["sampler","src_image"]},"GLTFTextureSampler":{"inherits":"Resource","props":["mag_filter","min_filter","wrap_s","wrap_t"]},"GPUParticles2D":{"inherits":"Node2D","props":["amount","amount_ratio","collision_base_size","draw_order","emitting","explosiveness","fixed_fps","fract_delta","interp_to_end","interpolate","lifetime","local_coords","one_shot","preprocess","process_material","randomness","seed","speed_scale","sub_emitter","texture","trail_enabled","trail_lifetime","trail_section_subdivisions","trail_sections","use_fixed_seed","visibility_rect"]},"GPUParticles3D":{"inherits":"GeometryInstance3D","props":["amount","amount_ratio","collision_base_size","draw_order","draw_pass_1","draw_pass_2","draw_pass_3","draw_pass_4","draw_passes","draw_skin","emitting","explosiveness","fixed_fps","fract_delta","interp_to_end","interpolate","lifetime","local_coords","one_shot","preprocess","process_material","randomness","seed","speed_scale","sub_emitter","trail_enabled","trail_lifetime","transform_align","use_fixed_seed","visibility_aabb"]},"GPUParticlesAttractor3D":{"inherits":"VisualInstance3D","props":["attenuation","cull_mask","directionality","strength"]},"GPUParticlesAttractorBox3D":{"inherits":"GPUParticlesAttractor3D","props":["size"]},"GPUParticlesAttractorSphere3D":{"inherits":"GPUParticlesAttractor3D","props":["radius"]},"GPUParticlesAttractorVectorField3D":{"inherits":"GPUParticlesAttractor3D","props":["size","texture"]},"GPUParticlesCollision3D":{"inherits":"VisualInstance3D","props":["cull_mask"]},"GPUParticlesCollisionBox3D":{"inherits":"GPUParticlesCollision3D","props":["size"]},"GPUParticlesCollisionHeightField3D":{"inherits":"GPUParticlesCollision3D","props":["follow_camera_enabled","heightfield_mask","resolution","size","update_mode"]},"GPUParticlesCollisionSDF3D":{"inherits":"GPUParticlesCollision3D","props":["bake_mask","resolution","size","texture","thickness"]},"GPUParticlesCollisionSphere3D":{"inherits":"GPUParticlesCollision3D","props":["radius"]},"Generic6DOFJoint3D":{"inherits":"Joint3D","props":[]},"Geometry2D":{"inherits":"Object","props":[]},"Geometry3D":{"inherits":"Object","props":[]},"GeometryInstance3D":{"inherits":"VisualInstance3D","props":["cast_shadow","custom_aabb","extra_cull_margin","gi_lightmap_scale","gi_lightmap_texel_scale","gi_mode","ignore_occlusion_culling","lod_bias","material_overlay","material_override","transparency","visibility_range_begin","visibility_range_begin_margin","visibility_range_end","visibility_range_end_margin","visibility_range_fade_mode"]},"GodotInstance":{"inherits":"Object","props":[]},"Gradient":{"inherits":"Resource","props":["colors","interpolation_color_space","interpolation_mode","offsets"]},"GradientTexture1D":{"inherits":"Texture2D","props":["gradient","use_hdr","width"]},"GradientTexture2D":{"inherits":"Texture2D","props":["fill","fill_from","fill_to","gradient","height","repeat","use_hdr","width"]},"GraphEdit":{"inherits":"Control","props":["connection_lines_antialiased","connection_lines_curvature","connection_lines_thickness","connections","grid_pattern","minimap_enabled","minimap_opacity","minimap_size","panning_scheme","right_disconnects","scroll_offset","show_arrange_button","show_grid","show_grid_buttons","show_menu","show_minimap_button","show_zoom_buttons","show_zoom_label","snapping_distance","snapping_enabled","type_names","zoom","zoom_max","zoom_min","zoom_step"]},"GraphElement":{"inherits":"Container","props":["draggable","position_offset","resizable","scaling_menus","selectable","selected"]},"GraphFrame":{"inherits":"GraphElement","props":["autoshrink_enabled","autoshrink_margin","drag_margin","tint_color","tint_color_enabled","title"]},"GraphNode":{"inherits":"GraphElement","props":["ignore_invalid_connection_type","slots_focus_mode","title"]},"GridContainer":{"inherits":"Container","props":["columns"]},"GridMap":{"inherits":"Node3D","props":["bake_navigation","cell_center_x","cell_center_y","cell_center_z","cell_octant_size","cell_scale","cell_size","collision_layer","collision_mask","collision_priority","mesh_library","physics_material"]},"GridMapEditorPlugin":{"inherits":"EditorPlugin","props":[]},"GrooveJoint2D":{"inherits":"Joint2D","props":["initial_offset","length"]},"HBoxContainer":{"inherits":"BoxContainer","props":[]},"HFlowContainer":{"inherits":"FlowContainer","props":[]},"HMACContext":{"inherits":"RefCounted","props":[]},"HScrollBar":{"inherits":"ScrollBar","props":[]},"HSeparator":{"inherits":"Separator","props":[]},"HSlider":{"inherits":"Slider","props":[]},"HSplitContainer":{"inherits":"SplitContainer","props":[]},"HTTPClient":{"inherits":"RefCounted","props":["blocking_mode_enabled","connection","read_chunk_size"]},"HTTPRequest":{"inherits":"Node","props":["accept_gzip","body_size_limit","download_chunk_size","download_file","max_redirects","timeout","use_threads"]},"HashingContext":{"inherits":"RefCounted","props":[]},"HeightMapShape3D":{"inherits":"Shape3D","props":["map_data","map_depth","map_width"]},"HingeJoint3D":{"inherits":"Joint3D","props":[]},"IKModifier3D":{"inherits":"SkeletonModifier3D","props":["mutable_bone_axes"]},"IP":{"inherits":"Object","props":[]},"Image":{"inherits":"Resource","props":["data"]},"ImageFormatLoader":{"inherits":"RefCounted","props":[]},"ImageFormatLoaderExtension":{"inherits":"ImageFormatLoader","props":[]},"ImageTexture":{"inherits":"Texture2D","props":["image"]},"ImageTexture3D":{"inherits":"Texture3D","props":[]},"ImageTextureLayered":{"inherits":"TextureLayered","props":[]},"ImmediateMesh":{"inherits":"Mesh","props":[]},"ImporterMesh":{"inherits":"Resource","props":[]},"ImporterMeshInstance3D":{"inherits":"Node3D","props":["cast_shadow","layer_mask","mesh","skeleton_path","skin","visibility_range_begin","visibility_range_begin_margin","visibility_range_end","visibility_range_end_margin","visibility_range_fade_mode"]},"Input":{"inherits":"Object","props":["emulate_mouse_from_touch","emulate_touch_from_mouse","mouse_mode","use_accumulated_input"]},"InputEvent":{"inherits":"Resource","props":["device"]},"InputEventAction":{"inherits":"InputEvent","props":["action","event_index","pressed","strength"]},"InputEventFromWindow":{"inherits":"InputEvent","props":["window_id"]},"InputEventGesture":{"inherits":"InputEventWithModifiers","props":["position"]},"InputEventJoypadButton":{"inherits":"InputEvent","props":["button_index","pressed","pressure"]},"InputEventJoypadMotion":{"inherits":"InputEvent","props":["axis","axis_value"]},"InputEventKey":{"inherits":"InputEventWithModifiers","props":["echo","key_label","keycode","location","physical_keycode","pressed","unicode"]},"InputEventMIDI":{"inherits":"InputEvent","props":["channel","controller_number","controller_value","instrument","message","pitch","pressure","velocity"]},"InputEventMagnifyGesture":{"inherits":"InputEventGesture","props":["factor"]},"InputEventMouse":{"inherits":"InputEventWithModifiers","props":["button_mask","global_position","position"]},"InputEventMouseButton":{"inherits":"InputEventMouse","props":["button_index","canceled","double_click","factor","pressed"]},"InputEventMouseMotion":{"inherits":"InputEventMouse","props":["pen_inverted","pressure","relative","screen_relative","screen_velocity","tilt","velocity"]},"InputEventPanGesture":{"inherits":"InputEventGesture","props":["delta"]},"InputEventScreenDrag":{"inherits":"InputEventFromWindow","props":["index","pen_inverted","position","pressure","relative","screen_relative","screen_velocity","tilt","velocity"]},"InputEventScreenTouch":{"inherits":"InputEventFromWindow","props":["canceled","double_tap","index","position","pressed"]},"InputEventShortcut":{"inherits":"InputEvent","props":["shortcut"]},"InputEventWithModifiers":{"inherits":"InputEventFromWindow","props":["alt_pressed","command_or_control_autoremap","ctrl_pressed","meta_pressed","shift_pressed"]},"InputMap":{"inherits":"Object","props":[]},"InstancePlaceholder":{"inherits":"Node","props":[]},"IntervalTweener":{"inherits":"Tweener","props":[]},"ItemList":{"inherits":"Control","props":["allow_reselect","allow_rmb_select","allow_search","auto_height","auto_width","fixed_column_width","fixed_icon_size","icon_mode","icon_scale","item_count","max_columns","max_text_lines","same_column_width","scroll_hint_mode","select_mode","text_overrun_behavior","tile_scroll_hint","wraparound_items"]},"IterateIK3D":{"inherits":"ChainIK3D","props":["angular_delta_limit","deterministic","max_iterations","min_distance","setting_count"]},"JNISingleton":{"inherits":"Object","props":[]},"JSON":{"inherits":"Resource","props":["data"]},"JSONRPC":{"inherits":"Object","props":[]},"JacobianIK3D":{"inherits":"IterateIK3D","props":[]},"JavaClass":{"inherits":"RefCounted","props":[]},"JavaClassWrapper":{"inherits":"Object","props":[]},"JavaObject":{"inherits":"RefCounted","props":[]},"JavaScriptBridge":{"inherits":"Object","props":[]},"JavaScriptObject":{"inherits":"RefCounted","props":[]},"Joint2D":{"inherits":"Node2D","props":["bias","disable_collision","node_a","node_b"]},"Joint3D":{"inherits":"Node3D","props":["exclude_nodes_from_collision","node_a","node_b","solver_priority"]},"JointLimitation3D":{"inherits":"Resource","props":[]},"JointLimitationCone3D":{"inherits":"JointLimitation3D","props":["angle"]},"KinematicCollision2D":{"inherits":"RefCounted","props":[]},"KinematicCollision3D":{"inherits":"RefCounted","props":[]},"Label":{"inherits":"Control","props":["autowrap_mode","autowrap_trim_flags","clip_text","ellipsis_char","horizontal_alignment","justification_flags","label_settings","language","lines_skipped","max_lines_visible","paragraph_separator","structured_text_bidi_override","structured_text_bidi_override_options","tab_stops","text","text_direction","text_overrun_behavior","uppercase","vertical_alignment","visible_characters","visible_characters_behavior","visible_ratio"]},"Label3D":{"inherits":"GeometryInstance3D","props":["alpha_antialiasing_edge","alpha_antialiasing_mode","alpha_cut","alpha_hash_scale","alpha_scissor_threshold","autowrap_mode","autowrap_trim_flags","billboard","double_sided","fixed_size","font","font_size","horizontal_alignment","justification_flags","language","line_spacing","modulate","no_depth_test","offset","outline_modulate","outline_render_priority","outline_size","pixel_size","render_priority","shaded","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","texture_filter","uppercase","vertical_alignment","width"]},"LabelSettings":{"inherits":"Resource","props":["font","font_color","font_size","line_spacing","outline_color","outline_size","paragraph_spacing","shadow_color","shadow_offset","shadow_size","stacked_outline_count","stacked_shadow_count"]},"Light2D":{"inherits":"Node2D","props":["blend_mode","color","editor_only","enabled","energy","range_item_cull_mask","range_layer_max","range_layer_min","range_z_max","range_z_min","shadow_color","shadow_enabled","shadow_filter","shadow_filter_smooth","shadow_item_cull_mask"]},"Light3D":{"inherits":"VisualInstance3D","props":["distance_fade_begin","distance_fade_enabled","distance_fade_length","distance_fade_shadow","editor_only","light_angular_distance","light_bake_mode","light_color","light_cull_mask","light_energy","light_indirect_energy","light_intensity_lumens","light_intensity_lux","light_negative","light_projector","light_size","light_specular","light_temperature","light_volumetric_fog_energy","shadow_bias","shadow_blur","shadow_caster_mask","shadow_enabled","shadow_normal_bias","shadow_opacity","shadow_reverse_cull_face","shadow_transmittance_bias"]},"LightOccluder2D":{"inherits":"Node2D","props":["occluder","occluder_light_mask","sdf_collision"]},"LightmapGI":{"inherits":"VisualInstance3D","props":["bias","bounce_indirect_energy","bounces","camera_attributes","denoiser_range","denoiser_strength","directional","environment_custom_color","environment_custom_energy","environment_custom_sky","environment_mode","generate_probes_subdiv","interior","light_data","max_texture_size","quality","shadowmask_mode","supersampling","supersampling_factor","texel_scale","use_denoiser","use_texture_for_bounces"]},"LightmapGIData":{"inherits":"Resource","props":["light_texture","light_textures","lightmap_textures","probe_data","shadowmask_textures","user_data","uses_spherical_harmonics"]},"LightmapProbe":{"inherits":"Node3D","props":[]},"Lightmapper":{"inherits":"RefCounted","props":[]},"LightmapperRD":{"inherits":"Lightmapper","props":[]},"LimitAngularVelocityModifier3D":{"inherits":"SkeletonModifier3D","props":["chain_count","exclude","joint_count","max_angular_velocity"]},"Line2D":{"inherits":"Node2D","props":["antialiased","begin_cap_mode","closed","default_color","end_cap_mode","gradient","joint_mode","points","round_precision","sharp_limit","texture","texture_mode","width","width_curve"]},"LineEdit":{"inherits":"Control","props":["alignment","backspace_deletes_composite_character_enabled","caret_blink","caret_blink_interval","caret_column","caret_force_displayed","caret_mid_grapheme","clear_button_enabled","context_menu_enabled","deselect_on_focus_loss_enabled","drag_and_drop_selection_enabled","draw_control_chars","editable","emoji_menu_enabled","expand_to_text_length","flat","icon_expand_mode","keep_editing_on_text_submit","language","max_length","middle_mouse_paste_enabled","placeholder_text","right_icon","right_icon_scale","secret","secret_character","select_all_on_focus","selecting_enabled","shortcut_keys_enabled","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","virtual_keyboard_enabled","virtual_keyboard_show_on_focus","virtual_keyboard_type"]},"LinkButton":{"inherits":"BaseButton","props":["ellipsis_char","language","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","text_overrun_behavior","underline","uri"]},"Logger":{"inherits":"RefCounted","props":[]},"LookAtModifier3D":{"inherits":"SkeletonModifier3D","props":["bone","bone_name","duration","ease_type","forward_axis","origin_bone","origin_bone_name","origin_external_node","origin_from","origin_offset","origin_safe_margin","primary_damp_threshold","primary_limit_angle","primary_negative_damp_threshold","primary_negative_limit_angle","primary_positive_damp_threshold","primary_positive_limit_angle","primary_rotation_axis","relative","secondary_damp_threshold","secondary_limit_angle","secondary_negative_damp_threshold","secondary_negative_limit_angle","secondary_positive_damp_threshold","secondary_positive_limit_angle","symmetry_limitation","target_node","transition_type","use_angle_limitation","use_secondary_rotation"]},"MainLoop":{"inherits":"Object","props":[]},"MarginContainer":{"inherits":"Container","props":[]},"Marker2D":{"inherits":"Node2D","props":["gizmo_extents"]},"Marker3D":{"inherits":"Node3D","props":["gizmo_extents"]},"Marshalls":{"inherits":"Object","props":[]},"Material":{"inherits":"Resource","props":["next_pass","render_priority"]},"MenuBar":{"inherits":"Control","props":["flat","language","prefer_global_menu","start_index","switch_on_hover","text_direction"]},"MenuButton":{"inherits":"Button","props":["item_count","switch_on_hover"]},"Mesh":{"inherits":"Resource","props":["lightmap_size_hint"]},"MeshConvexDecompositionSettings":{"inherits":"RefCounted","props":["convex_hull_approximation","convex_hull_downsampling","max_concavity","max_convex_hulls","max_num_vertices_per_convex_hull","min_volume_per_convex_hull","mode","normalize_mesh","plane_downsampling","project_hull_vertices","resolution","revolution_axes_clipping_bias","symmetry_planes_clipping_bias"]},"MeshDataTool":{"inherits":"RefCounted","props":[]},"MeshInstance2D":{"inherits":"Node2D","props":["mesh","texture"]},"MeshInstance3D":{"inherits":"GeometryInstance3D","props":["mesh","skeleton","skin"]},"MeshLibrary":{"inherits":"Resource","props":[]},"MeshTexture":{"inherits":"Texture2D","props":["base_texture","image_size","mesh"]},"MethodTweener":{"inherits":"Tweener","props":[]},"MissingNode":{"inherits":"Node","props":["original_class","original_scene","recording_properties","recording_signals"]},"MissingResource":{"inherits":"Resource","props":["original_class","recording_properties"]},"MobileVRInterface":{"inherits":"XRInterface","props":["display_to_lens","display_width","eye_height","iod","k1","k2","offset_rect","oversample","vrs_min_radius","vrs_strength"]},"ModifierBoneTarget3D":{"inherits":"SkeletonModifier3D","props":["bone","bone_name"]},"MovieWriter":{"inherits":"Object","props":[]},"MultiMesh":{"inherits":"Resource","props":["buffer","color_array","custom_aabb","custom_data_array","instance_count","mesh","physics_interpolation_quality","transform_2d_array","transform_array","transform_format","use_colors","use_custom_data","visible_instance_count"]},"MultiMeshInstance2D":{"inherits":"Node2D","props":["multimesh","texture"]},"MultiMeshInstance3D":{"inherits":"GeometryInstance3D","props":["multimesh"]},"MultiplayerAPI":{"inherits":"RefCounted","props":["multiplayer_peer"]},"MultiplayerAPIExtension":{"inherits":"MultiplayerAPI","props":[]},"MultiplayerPeer":{"inherits":"PacketPeer","props":["refuse_new_connections","transfer_channel","transfer_mode"]},"MultiplayerPeerExtension":{"inherits":"MultiplayerPeer","props":[]},"MultiplayerSpawner":{"inherits":"Node","props":["spawn_function","spawn_limit","spawn_path"]},"MultiplayerSynchronizer":{"inherits":"Node","props":["delta_interval","public_visibility","replication_config","replication_interval","root_path","visibility_update_mode"]},"Mutex":{"inherits":"RefCounted","props":[]},"NativeMenu":{"inherits":"Object","props":[]},"NavigationAgent2D":{"inherits":"Node","props":["avoidance_enabled","avoidance_layers","avoidance_mask","avoidance_priority","debug_enabled","debug_path_custom_color","debug_path_custom_line_width","debug_path_custom_point_size","debug_use_custom","max_neighbors","max_speed","navigation_layers","neighbor_distance","path_desired_distance","path_max_distance","path_metadata_flags","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","radius","simplify_epsilon","simplify_path","target_desired_distance","target_position","time_horizon_agents","time_horizon_obstacles","velocity"]},"NavigationAgent3D":{"inherits":"Node","props":["avoidance_enabled","avoidance_layers","avoidance_mask","avoidance_priority","debug_enabled","debug_path_custom_color","debug_path_custom_point_size","debug_use_custom","height","keep_y_velocity","max_neighbors","max_speed","navigation_layers","neighbor_distance","path_desired_distance","path_height_offset","path_max_distance","path_metadata_flags","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","radius","simplify_epsilon","simplify_path","target_desired_distance","target_position","time_horizon_agents","time_horizon_obstacles","use_3d_avoidance","velocity"]},"NavigationLink2D":{"inherits":"Node2D","props":["bidirectional","enabled","end_position","enter_cost","navigation_layers","start_position","travel_cost"]},"NavigationLink3D":{"inherits":"Node3D","props":["bidirectional","enabled","end_position","enter_cost","navigation_layers","start_position","travel_cost"]},"NavigationMesh":{"inherits":"Resource","props":["agent_height","agent_max_climb","agent_max_slope","agent_radius","border_size","cell_height","cell_size","detail_sample_distance","detail_sample_max_error","edge_max_error","edge_max_length","filter_baking_aabb","filter_baking_aabb_offset","filter_ledge_spans","filter_low_hanging_obstacles","filter_walkable_low_height_spans","geometry_collision_mask","geometry_parsed_geometry_type","geometry_source_geometry_mode","geometry_source_group_name","polygons","region_merge_size","region_min_size","sample_partition_type","vertices","vertices_per_polygon"]},"NavigationMeshGenerator":{"inherits":"Object","props":[]},"NavigationMeshSourceGeometryData2D":{"inherits":"Resource","props":["obstruction_outlines","projected_obstructions","traversable_outlines"]},"NavigationMeshSourceGeometryData3D":{"inherits":"Resource","props":["indices","projected_obstructions","vertices"]},"NavigationObstacle2D":{"inherits":"Node2D","props":["affect_navigation_mesh","avoidance_enabled","avoidance_layers","carve_navigation_mesh","radius","velocity","vertices"]},"NavigationObstacle3D":{"inherits":"Node3D","props":["affect_navigation_mesh","avoidance_enabled","avoidance_layers","carve_navigation_mesh","height","radius","use_3d_avoidance","velocity","vertices"]},"NavigationPathQueryParameters2D":{"inherits":"RefCounted","props":["excluded_regions","included_regions","map","metadata_flags","navigation_layers","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","simplify_epsilon","simplify_path","start_position","target_position"]},"NavigationPathQueryParameters3D":{"inherits":"RefCounted","props":["excluded_regions","included_regions","map","metadata_flags","navigation_layers","path_postprocessing","path_return_max_length","path_return_max_radius","path_search_max_distance","path_search_max_polygons","pathfinding_algorithm","simplify_epsilon","simplify_path","start_position","target_position"]},"NavigationPathQueryResult2D":{"inherits":"RefCounted","props":["path","path_length","path_owner_ids","path_rids","path_types"]},"NavigationPathQueryResult3D":{"inherits":"RefCounted","props":["path","path_length","path_owner_ids","path_rids","path_types"]},"NavigationPolygon":{"inherits":"Resource","props":["agent_radius","baking_rect","baking_rect_offset","border_size","cell_size","outlines","parsed_collision_mask","parsed_geometry_type","polygons","sample_partition_type","source_geometry_group_name","source_geometry_mode","vertices"]},"NavigationRegion2D":{"inherits":"Node2D","props":["enabled","enter_cost","navigation_layers","navigation_polygon","travel_cost","use_edge_connections"]},"NavigationRegion3D":{"inherits":"Node3D","props":["enabled","enter_cost","navigation_layers","navigation_mesh","travel_cost","use_edge_connections"]},"NavigationServer2D":{"inherits":"Object","props":[]},"NavigationServer2DManager":{"inherits":"Object","props":[]},"NavigationServer3D":{"inherits":"Object","props":[]},"NavigationServer3DManager":{"inherits":"Object","props":[]},"NinePatchRect":{"inherits":"Control","props":["axis_stretch_horizontal","axis_stretch_vertical","draw_center","patch_margin_bottom","patch_margin_left","patch_margin_right","patch_margin_top","region_rect","texture"]},"Node":{"inherits":"Object","props":["auto_translate_mode","editor_description","multiplayer","name","owner","physics_interpolation_mode","process_mode","process_physics_priority","process_priority","process_thread_group","process_thread_group_order","process_thread_messages","scene_file_path","unique_name_in_owner"]},"Node2D":{"inherits":"CanvasItem","props":["global_position","global_rotation","global_rotation_degrees","global_scale","global_skew","global_transform","position","rotation","rotation_degrees","scale","skew","transform"]},"Node3D":{"inherits":"Node","props":["basis","global_basis","global_position","global_rotation","global_rotation_degrees","global_transform","position","quaternion","rotation","rotation_degrees","rotation_edit_mode","rotation_order","scale","top_level","transform","visibility_parent","visible"]},"Node3DGizmo":{"inherits":"RefCounted","props":[]},"Noise":{"inherits":"Resource","props":[]},"NoiseTexture2D":{"inherits":"Texture2D","props":["as_normal_map","bump_strength","color_ramp","generate_mipmaps","height","in_3d_space","invert","noise","normalize","seamless","seamless_blend_skirt","width"]},"NoiseTexture3D":{"inherits":"Texture3D","props":["color_ramp","depth","height","invert","noise","normalize","seamless","seamless_blend_skirt","width"]},"ORMMaterial3D":{"inherits":"BaseMaterial3D","props":[]},"OS":{"inherits":"Object","props":["delta_smoothing","low_processor_usage_mode","low_processor_usage_mode_sleep_usec"]},"Object":{"inherits":null,"props":[]},"Occluder3D":{"inherits":"Resource","props":[]},"OccluderInstance3D":{"inherits":"VisualInstance3D","props":["bake_mask","bake_simplification_distance","occluder"]},"OccluderPolygon2D":{"inherits":"Resource","props":["closed","cull_mode","polygon"]},"OfflineMultiplayerPeer":{"inherits":"MultiplayerPeer","props":[]},"OggPacketSequence":{"inherits":"Resource","props":["granule_positions","packet_data","sampling_rate"]},"OggPacketSequencePlayback":{"inherits":"RefCounted","props":[]},"OmniLight3D":{"inherits":"Light3D","props":["omni_attenuation","omni_range","omni_shadow_mode"]},"OpenXRAPIExtension":{"inherits":"RefCounted","props":[]},"OpenXRAction":{"inherits":"Resource","props":["action_type","localized_name","toplevel_paths"]},"OpenXRActionBindingModifier":{"inherits":"OpenXRBindingModifier","props":[]},"OpenXRActionMap":{"inherits":"Resource","props":["action_sets","interaction_profiles"]},"OpenXRActionSet":{"inherits":"Resource","props":["actions","localized_name","priority"]},"OpenXRAnalogThresholdModifier":{"inherits":"OpenXRActionBindingModifier","props":["off_haptic","off_threshold","on_haptic","on_threshold"]},"OpenXRAnchorTracker":{"inherits":"OpenXRSpatialEntityTracker","props":["uuid"]},"OpenXRAndroidThreadSettingsExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRBindingModifier":{"inherits":"Resource","props":[]},"OpenXRBindingModifierEditor":{"inherits":"PanelContainer","props":[]},"OpenXRCompositionLayer":{"inherits":"Node3D","props":["alpha_blend","android_surface_size","enable_hole_punch","layer_viewport","protected_content","sort_order","swapchain_state_alpha_swizzle","swapchain_state_blue_swizzle","swapchain_state_border_color","swapchain_state_green_swizzle","swapchain_state_horizontal_wrap","swapchain_state_mag_filter","swapchain_state_max_anisotropy","swapchain_state_min_filter","swapchain_state_mipmap_mode","swapchain_state_red_swizzle","swapchain_state_vertical_wrap","use_android_surface"]},"OpenXRCompositionLayerCylinder":{"inherits":"OpenXRCompositionLayer","props":["aspect_ratio","central_angle","fallback_segments","radius"]},"OpenXRCompositionLayerEquirect":{"inherits":"OpenXRCompositionLayer","props":["central_horizontal_angle","fallback_segments","lower_vertical_angle","radius","upper_vertical_angle"]},"OpenXRCompositionLayerQuad":{"inherits":"OpenXRCompositionLayer","props":["quad_size"]},"OpenXRDpadBindingModifier":{"inherits":"OpenXRIPBindingModifier","props":["action_set","center_region","input_path","is_sticky","off_haptic","on_haptic","threshold","threshold_released","wedge_angle"]},"OpenXRExtensionWrapper":{"inherits":"Object","props":[]},"OpenXRExtensionWrapperExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRFrameSynthesisExtension":{"inherits":"OpenXRExtensionWrapper","props":["enabled","relax_frame_interval"]},"OpenXRFutureExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRFutureResult":{"inherits":"RefCounted","props":[]},"OpenXRHand":{"inherits":"Node3D","props":["bone_update","hand","hand_skeleton","motion_range","skeleton_rig"]},"OpenXRHapticBase":{"inherits":"Resource","props":[]},"OpenXRHapticVibration":{"inherits":"OpenXRHapticBase","props":["amplitude","duration","frequency"]},"OpenXRIPBinding":{"inherits":"Resource","props":["action","binding_modifiers","binding_path","paths"]},"OpenXRIPBindingModifier":{"inherits":"OpenXRBindingModifier","props":[]},"OpenXRInteractionProfile":{"inherits":"Resource","props":["binding_modifiers","bindings","interaction_profile_path"]},"OpenXRInteractionProfileEditor":{"inherits":"OpenXRInteractionProfileEditorBase","props":[]},"OpenXRInteractionProfileEditorBase":{"inherits":"HBoxContainer","props":[]},"OpenXRInteractionProfileMetadata":{"inherits":"Object","props":[]},"OpenXRInterface":{"inherits":"XRInterface","props":["display_refresh_rate","foveation_dynamic","foveation_level","render_target_size_multiplier","vrs_min_radius","vrs_strength"]},"OpenXRMarkerTracker":{"inherits":"OpenXRSpatialEntityTracker","props":["bounds_size","marker_id","marker_type"]},"OpenXRPlaneTracker":{"inherits":"OpenXRSpatialEntityTracker","props":["bounds_size","plane_alignment","plane_label"]},"OpenXRRenderModel":{"inherits":"Node3D","props":["render_model"]},"OpenXRRenderModelExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRRenderModelManager":{"inherits":"Node3D","props":["make_local_to_pose","tracker"]},"OpenXRSpatialAnchorCapability":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialCapabilityConfigurationAnchor":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialCapabilityConfigurationAprilTag":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":["april_dict"]},"OpenXRSpatialCapabilityConfigurationAruco":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":["aruco_dict"]},"OpenXRSpatialCapabilityConfigurationBaseHeader":{"inherits":"RefCounted","props":[]},"OpenXRSpatialCapabilityConfigurationMicroQrCode":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialCapabilityConfigurationPlaneTracking":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialCapabilityConfigurationQrCode":{"inherits":"OpenXRSpatialCapabilityConfigurationBaseHeader","props":[]},"OpenXRSpatialComponentAnchorList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentBounded2DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentBounded3DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentData":{"inherits":"RefCounted","props":[]},"OpenXRSpatialComponentMarkerList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentMesh2DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentMesh3DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentParentList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPersistenceList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPlaneAlignmentList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPlaneSemanticLabelList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialComponentPolygon2DList":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRSpatialContextPersistenceConfig":{"inherits":"OpenXRStructureBase","props":[]},"OpenXRSpatialEntityExtension":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialEntityTracker":{"inherits":"XRPositionalTracker","props":["entity","spatial_tracking_state"]},"OpenXRSpatialMarkerTrackingCapability":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialPlaneTrackingCapability":{"inherits":"OpenXRExtensionWrapper","props":[]},"OpenXRSpatialQueryResultData":{"inherits":"OpenXRSpatialComponentData","props":[]},"OpenXRStructureBase":{"inherits":"RefCounted","props":["next"]},"OpenXRVisibilityMask":{"inherits":"VisualInstance3D","props":[]},"OptimizedTranslation":{"inherits":"Translation","props":[]},"OptionButton":{"inherits":"Button","props":["allow_reselect","fit_to_longest_item","item_count","selected"]},"PCKPacker":{"inherits":"RefCounted","props":[]},"PackedDataContainer":{"inherits":"Resource","props":[]},"PackedDataContainerRef":{"inherits":"RefCounted","props":[]},"PackedScene":{"inherits":"Resource","props":[]},"PacketPeer":{"inherits":"RefCounted","props":["encode_buffer_max_size"]},"PacketPeerDTLS":{"inherits":"PacketPeer","props":[]},"PacketPeerExtension":{"inherits":"PacketPeer","props":[]},"PacketPeerStream":{"inherits":"PacketPeer","props":["input_buffer_max_size","output_buffer_max_size","stream_peer"]},"PacketPeerUDP":{"inherits":"PacketPeer","props":[]},"Panel":{"inherits":"Control","props":[]},"PanelContainer":{"inherits":"Container","props":[]},"PanoramaSkyMaterial":{"inherits":"Material","props":["energy_multiplier","filter","panorama"]},"Parallax2D":{"inherits":"Node2D","props":["autoscroll","follow_viewport","ignore_camera_scroll","limit_begin","limit_end","repeat_size","repeat_times","screen_offset","scroll_offset","scroll_scale"]},"ParallaxBackground":{"inherits":"CanvasLayer","props":["scroll_base_offset","scroll_base_scale","scroll_ignore_camera_zoom","scroll_limit_begin","scroll_limit_end","scroll_offset"]},"ParallaxLayer":{"inherits":"Node2D","props":["motion_mirroring","motion_offset","motion_scale"]},"ParticleProcessMaterial":{"inherits":"Material","props":["alpha_curve","angle","angle_curve","angle_max","angle_min","angular_velocity","angular_velocity_curve","angular_velocity_max","angular_velocity_min","anim_offset","anim_offset_curve","anim_offset_max","anim_offset_min","anim_speed","anim_speed_curve","anim_speed_max","anim_speed_min","attractor_interaction_enabled","collision_bounce","collision_friction","collision_mode","collision_use_scale","color","color_initial_ramp","color_ramp","damping","damping_curve","damping_max","damping_min","direction","directional_velocity","directional_velocity_curve","directional_velocity_max","directional_velocity_min","emission_box_extents","emission_color_texture","emission_curve","emission_normal_texture","emission_point_count","emission_point_texture","emission_ring_axis","emission_ring_cone_angle","emission_ring_height","emission_ring_inner_radius","emission_ring_radius","emission_shape","emission_shape_offset","emission_shape_scale","emission_sphere_radius","flatness","gravity","hue_variation","hue_variation_curve","hue_variation_max","hue_variation_min","inherit_velocity_ratio","initial_velocity","initial_velocity_max","initial_velocity_min","lifetime_randomness","linear_accel","linear_accel_curve","linear_accel_max","linear_accel_min","orbit_velocity","orbit_velocity_curve","orbit_velocity_max","orbit_velocity_min","particle_flag_align_y","particle_flag_damping_as_friction","particle_flag_disable_z","particle_flag_rotate_y","radial_accel","radial_accel_curve","radial_accel_max","radial_accel_min","radial_velocity","radial_velocity_curve","radial_velocity_max","radial_velocity_min","scale","scale_curve","scale_max","scale_min","scale_over_velocity","scale_over_velocity_curve","scale_over_velocity_max","scale_over_velocity_min","spread","sub_emitter_amount_at_collision","sub_emitter_amount_at_end","sub_emitter_amount_at_start","sub_emitter_frequency","sub_emitter_keep_velocity","sub_emitter_mode","tangential_accel","tangential_accel_curve","tangential_accel_max","tangential_accel_min","turbulence_enabled","turbulence_influence","turbulence_influence_max","turbulence_influence_min","turbulence_influence_over_life","turbulence_initial_displacement","turbulence_initial_displacement_max","turbulence_initial_displacement_min","turbulence_noise_scale","turbulence_noise_speed","turbulence_noise_speed_random","turbulence_noise_strength","velocity_limit_curve","velocity_pivot"]},"Path2D":{"inherits":"Node2D","props":["curve"]},"Path3D":{"inherits":"Node3D","props":["curve","debug_custom_color"]},"PathFollow2D":{"inherits":"Node2D","props":["cubic_interp","h_offset","loop","progress","progress_ratio","rotates","v_offset"]},"PathFollow3D":{"inherits":"Node3D","props":["cubic_interp","h_offset","loop","progress","progress_ratio","rotation_mode","tilt_enabled","use_model_front","v_offset"]},"Performance":{"inherits":"Object","props":[]},"PhysicalBone2D":{"inherits":"RigidBody2D","props":["auto_configure_joint","bone2d_index","bone2d_nodepath","follow_bone_when_simulating","simulate_physics"]},"PhysicalBone3D":{"inherits":"PhysicsBody3D","props":["angular_damp","angular_damp_mode","angular_velocity","body_offset","bounce","can_sleep","custom_integrator","friction","gravity_scale","joint_offset","joint_rotation","joint_type","linear_damp","linear_damp_mode","linear_velocity","mass"]},"PhysicalBoneSimulator3D":{"inherits":"SkeletonModifier3D","props":[]},"PhysicalSkyMaterial":{"inherits":"Material","props":["energy_multiplier","ground_color","mie_coefficient","mie_color","mie_eccentricity","night_sky","rayleigh_coefficient","rayleigh_color","sun_disk_scale","turbidity","use_debanding"]},"PhysicsBody2D":{"inherits":"CollisionObject2D","props":[]},"PhysicsBody3D":{"inherits":"CollisionObject3D","props":["axis_lock_angular_x","axis_lock_angular_y","axis_lock_angular_z","axis_lock_linear_x","axis_lock_linear_y","axis_lock_linear_z"]},"PhysicsDirectBodyState2D":{"inherits":"Object","props":["angular_velocity","center_of_mass","center_of_mass_local","collision_layer","collision_mask","inverse_inertia","inverse_mass","linear_velocity","sleeping","step","total_angular_damp","total_gravity","total_linear_damp","transform"]},"PhysicsDirectBodyState2DExtension":{"inherits":"PhysicsDirectBodyState2D","props":[]},"PhysicsDirectBodyState3D":{"inherits":"Object","props":["angular_velocity","center_of_mass","center_of_mass_local","collision_layer","collision_mask","inverse_inertia","inverse_inertia_tensor","inverse_mass","linear_velocity","principal_inertia_axes","sleeping","step","total_angular_damp","total_gravity","total_linear_damp","transform"]},"PhysicsDirectBodyState3DExtension":{"inherits":"PhysicsDirectBodyState3D","props":[]},"PhysicsDirectSpaceState2D":{"inherits":"Object","props":[]},"PhysicsDirectSpaceState2DExtension":{"inherits":"PhysicsDirectSpaceState2D","props":[]},"PhysicsDirectSpaceState3D":{"inherits":"Object","props":[]},"PhysicsDirectSpaceState3DExtension":{"inherits":"PhysicsDirectSpaceState3D","props":[]},"PhysicsMaterial":{"inherits":"Resource","props":["absorbent","bounce","friction","rough"]},"PhysicsPointQueryParameters2D":{"inherits":"RefCounted","props":["canvas_instance_id","collide_with_areas","collide_with_bodies","collision_mask","exclude","position"]},"PhysicsPointQueryParameters3D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","position"]},"PhysicsRayQueryParameters2D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","from","hit_from_inside","to"]},"PhysicsRayQueryParameters3D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","from","hit_back_faces","hit_from_inside","to"]},"PhysicsServer2D":{"inherits":"Object","props":[]},"PhysicsServer2DExtension":{"inherits":"PhysicsServer2D","props":[]},"PhysicsServer2DManager":{"inherits":"Object","props":[]},"PhysicsServer3D":{"inherits":"Object","props":[]},"PhysicsServer3DExtension":{"inherits":"PhysicsServer3D","props":[]},"PhysicsServer3DManager":{"inherits":"Object","props":[]},"PhysicsServer3DRenderingServerHandler":{"inherits":"Object","props":[]},"PhysicsShapeQueryParameters2D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","margin","motion","shape","shape_rid","transform"]},"PhysicsShapeQueryParameters3D":{"inherits":"RefCounted","props":["collide_with_areas","collide_with_bodies","collision_mask","exclude","margin","motion","shape","shape_rid","transform"]},"PhysicsTestMotionParameters2D":{"inherits":"RefCounted","props":["collide_separation_ray","exclude_bodies","exclude_objects","from","margin","motion","recovery_as_collision"]},"PhysicsTestMotionParameters3D":{"inherits":"RefCounted","props":["collide_separation_ray","exclude_bodies","exclude_objects","from","margin","max_collisions","motion","recovery_as_collision"]},"PhysicsTestMotionResult2D":{"inherits":"RefCounted","props":[]},"PhysicsTestMotionResult3D":{"inherits":"RefCounted","props":[]},"PinJoint2D":{"inherits":"Joint2D","props":["angular_limit_enabled","angular_limit_lower","angular_limit_upper","motor_enabled","motor_target_velocity","softness"]},"PinJoint3D":{"inherits":"Joint3D","props":[]},"PlaceholderCubemap":{"inherits":"PlaceholderTextureLayered","props":[]},"PlaceholderCubemapArray":{"inherits":"PlaceholderTextureLayered","props":[]},"PlaceholderMaterial":{"inherits":"Material","props":[]},"PlaceholderMesh":{"inherits":"Mesh","props":["aabb"]},"PlaceholderTexture2D":{"inherits":"Texture2D","props":["size"]},"PlaceholderTexture2DArray":{"inherits":"PlaceholderTextureLayered","props":[]},"PlaceholderTexture3D":{"inherits":"Texture3D","props":["size"]},"PlaceholderTextureLayered":{"inherits":"TextureLayered","props":["layers","size"]},"PlaneMesh":{"inherits":"PrimitiveMesh","props":["center_offset","orientation","size","subdivide_depth","subdivide_width"]},"PointLight2D":{"inherits":"Light2D","props":["height","offset","texture","texture_scale"]},"PointMesh":{"inherits":"PrimitiveMesh","props":[]},"Polygon2D":{"inherits":"Node2D","props":["antialiased","bones","color","internal_vertex_count","invert_border","invert_enabled","offset","polygon","polygons","skeleton","texture","texture_offset","texture_rotation","texture_scale","uv","vertex_colors"]},"PolygonOccluder3D":{"inherits":"Occluder3D","props":["polygon"]},"PolygonPathFinder":{"inherits":"Resource","props":["data"]},"Popup":{"inherits":"Window","props":[]},"PopupMenu":{"inherits":"Popup","props":["allow_search","hide_on_checkable_item_selection","hide_on_item_selection","hide_on_state_item_selection","item_count","prefer_native_menu","shrink_height","shrink_width","submenu_popup_delay","system_menu_id"]},"PopupPanel":{"inherits":"Popup","props":[]},"PortableCompressedTexture2D":{"inherits":"Texture2D","props":["keep_compressed_buffer","size_override"]},"PrimitiveMesh":{"inherits":"Mesh","props":["add_uv2","custom_aabb","flip_faces","material","uv2_padding"]},"PrismMesh":{"inherits":"PrimitiveMesh","props":["left_to_right","size","subdivide_depth","subdivide_height","subdivide_width"]},"ProceduralSkyMaterial":{"inherits":"Material","props":["energy_multiplier","ground_bottom_color","ground_curve","ground_energy_multiplier","ground_horizon_color","sky_cover","sky_cover_modulate","sky_curve","sky_energy_multiplier","sky_horizon_color","sky_top_color","sun_angle_max","sun_curve","use_debanding"]},"ProgressBar":{"inherits":"Range","props":["editor_preview_indeterminate","fill_mode","indeterminate","show_percentage"]},"ProjectSettings":{"inherits":"Object","props":[]},"PropertyTweener":{"inherits":"Tweener","props":[]},"QuadMesh":{"inherits":"PlaneMesh","props":[]},"QuadOccluder3D":{"inherits":"Occluder3D","props":["size"]},"RDAttachmentFormat":{"inherits":"RefCounted","props":["format","samples","usage_flags"]},"RDFramebufferPass":{"inherits":"RefCounted","props":["color_attachments","depth_attachment","input_attachments","preserve_attachments","resolve_attachments"]},"RDPipelineColorBlendState":{"inherits":"RefCounted","props":["attachments","blend_constant","enable_logic_op","logic_op"]},"RDPipelineColorBlendStateAttachment":{"inherits":"RefCounted","props":["alpha_blend_op","color_blend_op","dst_alpha_blend_factor","dst_color_blend_factor","enable_blend","src_alpha_blend_factor","src_color_blend_factor","write_a","write_b","write_g","write_r"]},"RDPipelineDepthStencilState":{"inherits":"RefCounted","props":["back_op_compare","back_op_compare_mask","back_op_depth_fail","back_op_fail","back_op_pass","back_op_reference","back_op_write_mask","depth_compare_operator","depth_range_max","depth_range_min","enable_depth_range","enable_depth_test","enable_depth_write","enable_stencil","front_op_compare","front_op_compare_mask","front_op_depth_fail","front_op_fail","front_op_pass","front_op_reference","front_op_write_mask"]},"RDPipelineMultisampleState":{"inherits":"RefCounted","props":["enable_alpha_to_coverage","enable_alpha_to_one","enable_sample_shading","min_sample_shading","sample_count","sample_masks"]},"RDPipelineRasterizationState":{"inherits":"RefCounted","props":["cull_mode","depth_bias_clamp","depth_bias_constant_factor","depth_bias_enabled","depth_bias_slope_factor","discard_primitives","enable_depth_clamp","front_face","line_width","patch_control_points","wireframe"]},"RDPipelineSpecializationConstant":{"inherits":"RefCounted","props":["constant_id","value"]},"RDSamplerState":{"inherits":"RefCounted","props":["anisotropy_max","border_color","compare_op","enable_compare","lod_bias","mag_filter","max_lod","min_filter","min_lod","mip_filter","repeat_u","repeat_v","repeat_w","unnormalized_uvw","use_anisotropy"]},"RDShaderFile":{"inherits":"Resource","props":["base_error"]},"RDShaderSPIRV":{"inherits":"Resource","props":["bytecode_compute","bytecode_fragment","bytecode_tesselation_control","bytecode_tesselation_evaluation","bytecode_vertex","compile_error_compute","compile_error_fragment","compile_error_tesselation_control","compile_error_tesselation_evaluation","compile_error_vertex"]},"RDShaderSource":{"inherits":"RefCounted","props":["language","source_compute","source_fragment","source_tesselation_control","source_tesselation_evaluation","source_vertex"]},"RDTextureFormat":{"inherits":"RefCounted","props":["array_layers","depth","format","height","is_discardable","is_resolve_buffer","mipmaps","samples","texture_type","usage_bits","width"]},"RDTextureView":{"inherits":"RefCounted","props":["format_override","swizzle_a","swizzle_b","swizzle_g","swizzle_r"]},"RDUniform":{"inherits":"RefCounted","props":["binding","uniform_type"]},"RDVertexAttribute":{"inherits":"RefCounted","props":["binding","format","frequency","location","offset","stride"]},"RandomNumberGenerator":{"inherits":"RefCounted","props":["seed","state"]},"Range":{"inherits":"Control","props":["allow_greater","allow_lesser","exp_edit","max_value","min_value","page","ratio","rounded","step","value"]},"RayCast2D":{"inherits":"Node2D","props":["collide_with_areas","collide_with_bodies","collision_mask","enabled","exclude_parent","hit_from_inside","target_position"]},"RayCast3D":{"inherits":"Node3D","props":["collide_with_areas","collide_with_bodies","collision_mask","debug_shape_custom_color","debug_shape_thickness","enabled","exclude_parent","hit_back_faces","hit_from_inside","target_position"]},"RectangleShape2D":{"inherits":"Shape2D","props":["size"]},"RefCounted":{"inherits":"Object","props":[]},"ReferenceRect":{"inherits":"Control","props":["border_color","border_width","editor_only"]},"ReflectionProbe":{"inherits":"VisualInstance3D","props":["ambient_color","ambient_color_energy","ambient_mode","blend_distance","box_projection","cull_mask","enable_shadows","intensity","interior","max_distance","mesh_lod_threshold","origin_offset","reflection_mask","size","update_mode"]},"RegEx":{"inherits":"RefCounted","props":[]},"RegExMatch":{"inherits":"RefCounted","props":["names","strings","subject"]},"RemoteTransform2D":{"inherits":"Node2D","props":["remote_path","update_position","update_rotation","update_scale","use_global_coordinates"]},"RemoteTransform3D":{"inherits":"Node3D","props":["remote_path","update_position","update_rotation","update_scale","use_global_coordinates"]},"RenderData":{"inherits":"Object","props":[]},"RenderDataExtension":{"inherits":"RenderData","props":[]},"RenderDataRD":{"inherits":"RenderData","props":[]},"RenderSceneBuffers":{"inherits":"RefCounted","props":[]},"RenderSceneBuffersConfiguration":{"inherits":"RefCounted","props":["anisotropic_filtering_level","fsr_sharpness","internal_size","msaa_3d","render_target","scaling_3d_mode","screen_space_aa","target_size","texture_mipmap_bias","view_count"]},"RenderSceneBuffersExtension":{"inherits":"RenderSceneBuffers","props":[]},"RenderSceneBuffersRD":{"inherits":"RenderSceneBuffers","props":[]},"RenderSceneData":{"inherits":"Object","props":[]},"RenderSceneDataExtension":{"inherits":"RenderSceneData","props":[]},"RenderSceneDataRD":{"inherits":"RenderSceneData","props":[]},"RenderingDevice":{"inherits":"Object","props":[]},"RenderingServer":{"inherits":"Object","props":["render_loop_enabled"]},"Resource":{"inherits":"RefCounted","props":["resource_local_to_scene","resource_name","resource_path","resource_scene_unique_id"]},"ResourceFormatLoader":{"inherits":"RefCounted","props":[]},"ResourceFormatSaver":{"inherits":"RefCounted","props":[]},"ResourceImporter":{"inherits":"RefCounted","props":[]},"ResourceImporterBMFont":{"inherits":"ResourceImporter","props":[]},"ResourceImporterBitMap":{"inherits":"ResourceImporter","props":[]},"ResourceImporterCSVTranslation":{"inherits":"ResourceImporter","props":[]},"ResourceImporterDynamicFont":{"inherits":"ResourceImporter","props":[]},"ResourceImporterImage":{"inherits":"ResourceImporter","props":[]},"ResourceImporterImageFont":{"inherits":"ResourceImporter","props":[]},"ResourceImporterLayeredTexture":{"inherits":"ResourceImporter","props":[]},"ResourceImporterMP3":{"inherits":"ResourceImporter","props":[]},"ResourceImporterOBJ":{"inherits":"ResourceImporter","props":[]},"ResourceImporterOggVorbis":{"inherits":"ResourceImporter","props":[]},"ResourceImporterSVG":{"inherits":"ResourceImporter","props":[]},"ResourceImporterScene":{"inherits":"ResourceImporter","props":[]},"ResourceImporterShaderFile":{"inherits":"ResourceImporter","props":[]},"ResourceImporterTexture":{"inherits":"ResourceImporter","props":[]},"ResourceImporterTextureAtlas":{"inherits":"ResourceImporter","props":[]},"ResourceImporterWAV":{"inherits":"ResourceImporter","props":[]},"ResourceLoader":{"inherits":"Object","props":[]},"ResourcePreloader":{"inherits":"Node","props":["resources"]},"ResourceSaver":{"inherits":"Object","props":[]},"ResourceUID":{"inherits":"Object","props":[]},"RetargetModifier3D":{"inherits":"SkeletonModifier3D","props":["enable","profile","use_global_pose"]},"RibbonTrailMesh":{"inherits":"PrimitiveMesh","props":["curve","section_length","section_segments","sections","shape","size"]},"RichTextEffect":{"inherits":"Resource","props":[]},"RichTextLabel":{"inherits":"Control","props":["autowrap_mode","autowrap_trim_flags","bbcode_enabled","context_menu_enabled","custom_effects","deselect_on_focus_loss_enabled","drag_and_drop_selection_enabled","fit_content","hint_underlined","horizontal_alignment","justification_flags","language","meta_underlined","progress_bar_delay","scroll_active","scroll_following","scroll_following_visible_characters","selection_enabled","shortcut_keys_enabled","structured_text_bidi_override","structured_text_bidi_override_options","tab_size","tab_stops","text","text_direction","threaded","vertical_alignment","visible_characters","visible_characters_behavior","visible_ratio"]},"RigidBody2D":{"inherits":"PhysicsBody2D","props":["angular_damp","angular_damp_mode","angular_velocity","can_sleep","center_of_mass","center_of_mass_mode","constant_force","constant_torque","contact_monitor","continuous_cd","custom_integrator","freeze","freeze_mode","gravity_scale","inertia","linear_damp","linear_damp_mode","linear_velocity","lock_rotation","mass","max_contacts_reported","physics_material_override","sleeping"]},"RigidBody3D":{"inherits":"PhysicsBody3D","props":["angular_damp","angular_damp_mode","angular_velocity","can_sleep","center_of_mass","center_of_mass_mode","constant_force","constant_torque","contact_monitor","continuous_cd","custom_integrator","freeze","freeze_mode","gravity_scale","inertia","linear_damp","linear_damp_mode","linear_velocity","lock_rotation","mass","max_contacts_reported","physics_material_override","sleeping"]},"RootMotionView":{"inherits":"VisualInstance3D","props":["animation_path","cell_size","color","radius","zero_y"]},"SceneMultiplayer":{"inherits":"MultiplayerAPI","props":["allow_object_decoding","auth_callback","auth_timeout","max_delta_packet_size","max_sync_packet_size","refuse_new_connections","root_path","server_relay"]},"SceneReplicationConfig":{"inherits":"Resource","props":[]},"SceneState":{"inherits":"RefCounted","props":[]},"SceneTree":{"inherits":"MainLoop","props":["auto_accept_quit","current_scene","debug_collisions_hint","debug_navigation_hint","debug_paths_hint","edited_scene_root","multiplayer_poll","paused","physics_interpolation","quit_on_go_back","root"]},"SceneTreeTimer":{"inherits":"RefCounted","props":["time_left"]},"Script":{"inherits":"Resource","props":["source_code"]},"ScriptBacktrace":{"inherits":"RefCounted","props":[]},"ScriptCreateDialog":{"inherits":"ConfirmationDialog","props":[]},"ScriptEditor":{"inherits":"PanelContainer","props":[]},"ScriptEditorBase":{"inherits":"VBoxContainer","props":[]},"ScriptExtension":{"inherits":"Script","props":[]},"ScriptLanguage":{"inherits":"Object","props":[]},"ScriptLanguageExtension":{"inherits":"ScriptLanguage","props":[]},"ScrollBar":{"inherits":"Range","props":["custom_step"]},"ScrollContainer":{"inherits":"Container","props":["draw_focus_border","follow_focus","horizontal_scroll_mode","scroll_deadzone","scroll_hint_mode","scroll_horizontal","scroll_horizontal_custom_step","scroll_vertical","scroll_vertical_custom_step","tile_scroll_hint","vertical_scroll_mode"]},"SegmentShape2D":{"inherits":"Shape2D","props":["a","b"]},"Semaphore":{"inherits":"RefCounted","props":[]},"SeparationRayShape2D":{"inherits":"Shape2D","props":["length","slide_on_slope"]},"SeparationRayShape3D":{"inherits":"Shape3D","props":["length","slide_on_slope"]},"Separator":{"inherits":"Control","props":[]},"Shader":{"inherits":"Resource","props":["code"]},"ShaderGlobalsOverride":{"inherits":"Node","props":[]},"ShaderInclude":{"inherits":"Resource","props":["code"]},"ShaderIncludeDB":{"inherits":"Object","props":[]},"ShaderMaterial":{"inherits":"Material","props":["shader"]},"Shape2D":{"inherits":"Resource","props":["custom_solver_bias"]},"Shape3D":{"inherits":"Resource","props":["custom_solver_bias","margin"]},"ShapeCast2D":{"inherits":"Node2D","props":["collide_with_areas","collide_with_bodies","collision_mask","collision_result","enabled","exclude_parent","margin","max_results","shape","target_position"]},"ShapeCast3D":{"inherits":"Node3D","props":["collide_with_areas","collide_with_bodies","collision_mask","collision_result","debug_shape_custom_color","enabled","exclude_parent","margin","max_results","shape","target_position"]},"Shortcut":{"inherits":"Resource","props":["events"]},"Skeleton2D":{"inherits":"Node2D","props":[]},"Skeleton3D":{"inherits":"Node3D","props":["animate_physical_bones","modifier_callback_mode_process","motion_scale","show_rest_only"]},"SkeletonIK3D":{"inherits":"SkeletonModifier3D","props":["interpolation","magnet","max_iterations","min_distance","override_tip_basis","root_bone","target","target_node","tip_bone","use_magnet"]},"SkeletonModification2D":{"inherits":"Resource","props":["enabled","execution_mode"]},"SkeletonModification2DCCDIK":{"inherits":"SkeletonModification2D","props":["ccdik_data_chain_length","target_nodepath","tip_nodepath"]},"SkeletonModification2DFABRIK":{"inherits":"SkeletonModification2D","props":["fabrik_data_chain_length","target_nodepath"]},"SkeletonModification2DJiggle":{"inherits":"SkeletonModification2D","props":["damping","gravity","jiggle_data_chain_length","mass","stiffness","target_nodepath","use_gravity"]},"SkeletonModification2DLookAt":{"inherits":"SkeletonModification2D","props":["bone2d_node","bone_index","target_nodepath"]},"SkeletonModification2DPhysicalBones":{"inherits":"SkeletonModification2D","props":["physical_bone_chain_length"]},"SkeletonModification2DStackHolder":{"inherits":"SkeletonModification2D","props":[]},"SkeletonModification2DTwoBoneIK":{"inherits":"SkeletonModification2D","props":["flip_bend_direction","target_maximum_distance","target_minimum_distance","target_nodepath"]},"SkeletonModificationStack2D":{"inherits":"Resource","props":["enabled","modification_count","strength"]},"SkeletonModifier3D":{"inherits":"Node3D","props":["active","influence"]},"SkeletonProfile":{"inherits":"Resource","props":["bone_size","group_size","root_bone","scale_base_bone"]},"SkeletonProfileHumanoid":{"inherits":"SkeletonProfile","props":[]},"Skin":{"inherits":"Resource","props":[]},"SkinReference":{"inherits":"RefCounted","props":[]},"Sky":{"inherits":"Resource","props":["process_mode","radiance_size","sky_material"]},"Slider":{"inherits":"Range","props":["editable","scrollable","tick_count","ticks_on_borders","ticks_position"]},"SliderJoint3D":{"inherits":"Joint3D","props":[]},"SocketServer":{"inherits":"RefCounted","props":[]},"SoftBody3D":{"inherits":"MeshInstance3D","props":["collision_layer","collision_mask","damping_coefficient","disable_mode","drag_coefficient","linear_stiffness","parent_collision_ignore","pressure_coefficient","ray_pickable","shrinking_factor","simulation_precision","total_mass"]},"SphereMesh":{"inherits":"PrimitiveMesh","props":["height","is_hemisphere","radial_segments","radius","rings"]},"SphereOccluder3D":{"inherits":"Occluder3D","props":["radius"]},"SphereShape3D":{"inherits":"Shape3D","props":["radius"]},"SpinBox":{"inherits":"Range","props":["alignment","custom_arrow_round","custom_arrow_step","editable","prefix","select_all_on_focus","suffix","update_on_text_changed"]},"SplineIK3D":{"inherits":"ChainIK3D","props":["setting_count"]},"SplitContainer":{"inherits":"Container","props":["collapsed","drag_area_highlight_in_editor","drag_area_margin_begin","drag_area_margin_end","drag_area_offset","dragger_visibility","dragging_enabled","split_offset","split_offsets","touch_dragger_enabled","vertical"]},"SpotLight3D":{"inherits":"Light3D","props":["spot_angle","spot_angle_attenuation","spot_attenuation","spot_range"]},"SpringArm3D":{"inherits":"Node3D","props":["collision_mask","margin","shape","spring_length"]},"SpringBoneCollision3D":{"inherits":"Node3D","props":["bone","bone_name","position_offset","rotation_offset"]},"SpringBoneCollisionCapsule3D":{"inherits":"SpringBoneCollision3D","props":["height","inside","mid_height","radius"]},"SpringBoneCollisionPlane3D":{"inherits":"SpringBoneCollision3D","props":[]},"SpringBoneCollisionSphere3D":{"inherits":"SpringBoneCollision3D","props":["inside","radius"]},"SpringBoneSimulator3D":{"inherits":"SkeletonModifier3D","props":["external_force","mutable_bone_axes","setting_count"]},"Sprite2D":{"inherits":"Node2D","props":["centered","flip_h","flip_v","frame","frame_coords","hframes","offset","region_enabled","region_filter_clip_enabled","region_rect","texture","vframes"]},"Sprite3D":{"inherits":"SpriteBase3D","props":["frame","frame_coords","hframes","region_enabled","region_rect","texture","vframes"]},"SpriteBase3D":{"inherits":"GeometryInstance3D","props":["alpha_antialiasing_edge","alpha_antialiasing_mode","alpha_cut","alpha_hash_scale","alpha_scissor_threshold","axis","billboard","centered","double_sided","fixed_size","flip_h","flip_v","modulate","no_depth_test","offset","pixel_size","render_priority","shaded","texture_filter","transparent"]},"SpriteFrames":{"inherits":"Resource","props":["animations"]},"StandardMaterial3D":{"inherits":"BaseMaterial3D","props":[]},"StaticBody2D":{"inherits":"PhysicsBody2D","props":["constant_angular_velocity","constant_linear_velocity","physics_material_override"]},"StaticBody3D":{"inherits":"PhysicsBody3D","props":["constant_angular_velocity","constant_linear_velocity","physics_material_override"]},"StatusIndicator":{"inherits":"Node","props":["icon","menu","tooltip","visible"]},"StreamPeer":{"inherits":"RefCounted","props":["big_endian"]},"StreamPeerBuffer":{"inherits":"StreamPeer","props":["data_array"]},"StreamPeerExtension":{"inherits":"StreamPeer","props":[]},"StreamPeerGZIP":{"inherits":"StreamPeer","props":[]},"StreamPeerSocket":{"inherits":"StreamPeer","props":[]},"StreamPeerTCP":{"inherits":"StreamPeerSocket","props":[]},"StreamPeerTLS":{"inherits":"StreamPeer","props":[]},"StreamPeerUDS":{"inherits":"StreamPeerSocket","props":[]},"StyleBox":{"inherits":"Resource","props":["content_margin_bottom","content_margin_left","content_margin_right","content_margin_top"]},"StyleBoxEmpty":{"inherits":"StyleBox","props":[]},"StyleBoxFlat":{"inherits":"StyleBox","props":["anti_aliasing","anti_aliasing_size","bg_color","border_blend","border_color","border_width_bottom","border_width_left","border_width_right","border_width_top","corner_detail","corner_radius_bottom_left","corner_radius_bottom_right","corner_radius_top_left","corner_radius_top_right","draw_center","expand_margin_bottom","expand_margin_left","expand_margin_right","expand_margin_top","shadow_color","shadow_offset","shadow_size","skew"]},"StyleBoxLine":{"inherits":"StyleBox","props":["color","grow_begin","grow_end","thickness","vertical"]},"StyleBoxTexture":{"inherits":"StyleBox","props":["axis_stretch_horizontal","axis_stretch_vertical","draw_center","expand_margin_bottom","expand_margin_left","expand_margin_right","expand_margin_top","modulate_color","region_rect","texture","texture_margin_bottom","texture_margin_left","texture_margin_right","texture_margin_top"]},"SubViewport":{"inherits":"Viewport","props":["render_target_clear_mode","render_target_update_mode","size","size_2d_override","size_2d_override_stretch"]},"SubViewportContainer":{"inherits":"Container","props":["mouse_target","stretch","stretch_shrink"]},"SubtweenTweener":{"inherits":"Tweener","props":[]},"SurfaceTool":{"inherits":"RefCounted","props":[]},"SyntaxHighlighter":{"inherits":"Resource","props":[]},"SystemFont":{"inherits":"Font","props":["allow_system_fallback","antialiasing","disable_embedded_bitmaps","font_italic","font_names","font_stretch","font_weight","force_autohinter","generate_mipmaps","hinting","keep_rounding_remainders","modulate_color_glyphs","msdf_pixel_range","msdf_size","multichannel_signed_distance_field","oversampling","subpixel_positioning"]},"TCPServer":{"inherits":"SocketServer","props":[]},"TLSOptions":{"inherits":"RefCounted","props":[]},"TabBar":{"inherits":"Control","props":["clip_tabs","close_with_middle_mouse","current_tab","deselect_enabled","drag_to_rearrange_enabled","max_tab_width","scroll_to_selected","scrolling_enabled","select_with_rmb","switch_on_drag_hover","tab_alignment","tab_close_display_policy","tab_count","tabs_rearrange_group"]},"TabContainer":{"inherits":"Container","props":["all_tabs_in_front","clip_tabs","current_tab","deselect_enabled","drag_to_rearrange_enabled","switch_on_drag_hover","tab_alignment","tab_focus_mode","tabs_position","tabs_rearrange_group","tabs_visible","use_hidden_tabs_for_min_size"]},"TextEdit":{"inherits":"Control","props":["autowrap_mode","backspace_deletes_composite_character_enabled","caret_blink","caret_blink_interval","caret_draw_when_editable_disabled","caret_mid_grapheme","caret_move_on_right_click","caret_multiple","caret_type","context_menu_enabled","custom_word_separators","deselect_on_focus_loss_enabled","drag_and_drop_selection_enabled","draw_control_chars","draw_spaces","draw_tabs","editable","emoji_menu_enabled","empty_selection_clipboard_enabled","highlight_all_occurrences","highlight_current_line","indent_wrapped_lines","language","middle_mouse_paste_enabled","minimap_draw","minimap_width","placeholder_text","scroll_fit_content_height","scroll_fit_content_width","scroll_horizontal","scroll_past_end_of_file","scroll_smooth","scroll_v_scroll_speed","scroll_vertical","selecting_enabled","shortcut_keys_enabled","structured_text_bidi_override","structured_text_bidi_override_options","syntax_highlighter","tab_input_mode","text","text_direction","use_custom_word_separators","use_default_word_separators","virtual_keyboard_enabled","virtual_keyboard_show_on_focus","wrap_mode"]},"TextLine":{"inherits":"RefCounted","props":["alignment","direction","ellipsis_char","flags","orientation","preserve_control","preserve_invalid","text_overrun_behavior","width"]},"TextMesh":{"inherits":"PrimitiveMesh","props":["autowrap_mode","curve_step","depth","font","font_size","horizontal_alignment","justification_flags","language","line_spacing","offset","pixel_size","structured_text_bidi_override","structured_text_bidi_override_options","text","text_direction","uppercase","vertical_alignment","width"]},"TextParagraph":{"inherits":"RefCounted","props":["alignment","break_flags","custom_punctuation","direction","ellipsis_char","justification_flags","line_spacing","max_lines_visible","orientation","preserve_control","preserve_invalid","text_overrun_behavior","width"]},"TextServer":{"inherits":"RefCounted","props":[]},"TextServerAdvanced":{"inherits":"TextServerExtension","props":[]},"TextServerDummy":{"inherits":"TextServerExtension","props":[]},"TextServerExtension":{"inherits":"TextServer","props":[]},"TextServerManager":{"inherits":"Object","props":[]},"Texture":{"inherits":"Resource","props":[]},"Texture2D":{"inherits":"Texture","props":[]},"Texture2DArray":{"inherits":"ImageTextureLayered","props":[]},"Texture2DArrayRD":{"inherits":"TextureLayeredRD","props":[]},"Texture2DRD":{"inherits":"Texture2D","props":["texture_rd_rid"]},"Texture3D":{"inherits":"Texture","props":[]},"Texture3DRD":{"inherits":"Texture3D","props":["texture_rd_rid"]},"TextureButton":{"inherits":"BaseButton","props":["flip_h","flip_v","ignore_texture_size","stretch_mode","texture_click_mask","texture_disabled","texture_focused","texture_hover","texture_normal","texture_pressed"]},"TextureCubemapArrayRD":{"inherits":"TextureLayeredRD","props":[]},"TextureCubemapRD":{"inherits":"TextureLayeredRD","props":[]},"TextureLayered":{"inherits":"Texture","props":[]},"TextureLayeredRD":{"inherits":"TextureLayered","props":["texture_rd_rid"]},"TextureProgressBar":{"inherits":"Range","props":["fill_mode","nine_patch_stretch","radial_center_offset","radial_fill_degrees","radial_initial_angle","stretch_margin_bottom","stretch_margin_left","stretch_margin_right","stretch_margin_top","texture_over","texture_progress","texture_progress_offset","texture_under","tint_over","tint_progress","tint_under"]},"TextureRect":{"inherits":"Control","props":["expand_mode","flip_h","flip_v","stretch_mode","texture"]},"Theme":{"inherits":"Resource","props":["default_base_scale","default_font","default_font_size"]},"ThemeDB":{"inherits":"Object","props":["fallback_base_scale","fallback_font","fallback_font_size","fallback_icon","fallback_stylebox"]},"Thread":{"inherits":"RefCounted","props":[]},"TileData":{"inherits":"Object","props":["flip_h","flip_v","material","modulate","probability","terrain","terrain_set","texture_origin","transpose","y_sort_origin","z_index"]},"TileMap":{"inherits":"Node2D","props":["collision_animatable","collision_visibility_mode","navigation_visibility_mode","rendering_quadrant_size","tile_set"]},"TileMapLayer":{"inherits":"Node2D","props":["collision_enabled","collision_visibility_mode","enabled","navigation_enabled","navigation_visibility_mode","occlusion_enabled","physics_quadrant_size","rendering_quadrant_size","tile_map_data","tile_set","use_kinematic_bodies","x_draw_order_reversed","y_sort_origin"]},"TileMapPattern":{"inherits":"Resource","props":[]},"TileSet":{"inherits":"Resource","props":["tile_layout","tile_offset_axis","tile_shape","tile_size","uv_clipping"]},"TileSetAtlasSource":{"inherits":"TileSetSource","props":["margins","separation","texture","texture_region_size","use_texture_padding"]},"TileSetScenesCollectionSource":{"inherits":"TileSetSource","props":[]},"TileSetSource":{"inherits":"Resource","props":[]},"Time":{"inherits":"Object","props":[]},"Timer":{"inherits":"Node","props":["autostart","ignore_time_scale","one_shot","paused","process_callback","time_left","wait_time"]},"TorusMesh":{"inherits":"PrimitiveMesh","props":["inner_radius","outer_radius","ring_segments","rings"]},"TouchScreenButton":{"inherits":"Node2D","props":["action","bitmask","passby_press","shape","shape_centered","shape_visible","texture_normal","texture_pressed","visibility_mode"]},"Translation":{"inherits":"Resource","props":["locale","messages","plural_rules_override"]},"TranslationDomain":{"inherits":"RefCounted","props":["enabled","pseudolocalization_accents_enabled","pseudolocalization_double_vowels_enabled","pseudolocalization_enabled","pseudolocalization_expansion_ratio","pseudolocalization_fake_bidi_enabled","pseudolocalization_override_enabled","pseudolocalization_prefix","pseudolocalization_skip_placeholders_enabled","pseudolocalization_suffix"]},"TranslationServer":{"inherits":"Object","props":["pseudolocalization_enabled"]},"Tree":{"inherits":"Control","props":["allow_reselect","allow_rmb_select","allow_search","auto_tooltip","column_titles_visible","columns","drop_mode_flags","enable_drag_unfolding","enable_recursive_folding","hide_folding","hide_root","scroll_hint_mode","scroll_horizontal_enabled","scroll_vertical_enabled","select_mode","tile_scroll_hint"]},"TreeItem":{"inherits":"Object","props":["collapsed","custom_minimum_height","disable_folding","visible"]},"TriangleMesh":{"inherits":"RefCounted","props":[]},"TubeTrailMesh":{"inherits":"PrimitiveMesh","props":["cap_bottom","cap_top","curve","radial_steps","radius","section_length","section_rings","sections"]},"Tween":{"inherits":"RefCounted","props":[]},"Tweener":{"inherits":"RefCounted","props":[]},"TwoBoneIK3D":{"inherits":"IKModifier3D","props":["setting_count"]},"UDPServer":{"inherits":"RefCounted","props":["max_pending_connections"]},"UDSServer":{"inherits":"SocketServer","props":[]},"UPNP":{"inherits":"RefCounted","props":["discover_ipv6","discover_local_port","discover_multicast_if"]},"UPNPDevice":{"inherits":"RefCounted","props":["description_url","igd_control_url","igd_our_addr","igd_service_type","igd_status","service_type"]},"UndoRedo":{"inherits":"Object","props":["max_steps"]},"UniformSetCacheRD":{"inherits":"Object","props":[]},"VBoxContainer":{"inherits":"BoxContainer","props":[]},"VFlowContainer":{"inherits":"FlowContainer","props":[]},"VScrollBar":{"inherits":"ScrollBar","props":[]},"VSeparator":{"inherits":"Separator","props":[]},"VSlider":{"inherits":"Slider","props":[]},"VSplitContainer":{"inherits":"SplitContainer","props":[]},"VehicleBody3D":{"inherits":"RigidBody3D","props":["brake","engine_force","steering"]},"VehicleWheel3D":{"inherits":"Node3D","props":["brake","damping_compression","damping_relaxation","engine_force","steering","suspension_max_force","suspension_stiffness","suspension_travel","use_as_steering","use_as_traction","wheel_friction_slip","wheel_radius","wheel_rest_length","wheel_roll_influence"]},"VideoStream":{"inherits":"Resource","props":["file"]},"VideoStreamPlayback":{"inherits":"Resource","props":[]},"VideoStreamPlayer":{"inherits":"Control","props":["audio_track","autoplay","buffering_msec","bus","expand","loop","paused","speed_scale","stream","stream_position","volume","volume_db"]},"VideoStreamTheora":{"inherits":"VideoStream","props":[]},"Viewport":{"inherits":"Node","props":["anisotropic_filtering_level","audio_listener_enable_2d","audio_listener_enable_3d","canvas_cull_mask","canvas_item_default_texture_filter","canvas_item_default_texture_repeat","canvas_transform","debug_draw","disable_3d","fsr_sharpness","global_canvas_transform","gui_disable_input","gui_drag_threshold","gui_embed_subwindows","gui_snap_controls_to_pixels","handle_input_locally","mesh_lod_threshold","msaa_2d","msaa_3d","oversampling","oversampling_override","own_world_3d","physics_object_picking","physics_object_picking_first_only","physics_object_picking_sort","positional_shadow_atlas_16_bits","positional_shadow_atlas_quad_0","positional_shadow_atlas_quad_1","positional_shadow_atlas_quad_2","positional_shadow_atlas_quad_3","positional_shadow_atlas_size","scaling_3d_mode","scaling_3d_scale","screen_space_aa","sdf_oversize","sdf_scale","snap_2d_transforms_to_pixel","snap_2d_vertices_to_pixel","texture_mipmap_bias","transparent_bg","use_debanding","use_hdr_2d","use_occlusion_culling","use_taa","use_xr","vrs_mode","vrs_texture","vrs_update_mode","world_2d","world_3d"]},"ViewportTexture":{"inherits":"Texture2D","props":["viewport_path"]},"VisibleOnScreenEnabler2D":{"inherits":"VisibleOnScreenNotifier2D","props":["enable_mode","enable_node_path"]},"VisibleOnScreenEnabler3D":{"inherits":"VisibleOnScreenNotifier3D","props":["enable_mode","enable_node_path"]},"VisibleOnScreenNotifier2D":{"inherits":"Node2D","props":["rect","show_rect"]},"VisibleOnScreenNotifier3D":{"inherits":"VisualInstance3D","props":["aabb"]},"VisualInstance3D":{"inherits":"Node3D","props":["layers","sorting_offset","sorting_use_aabb_center"]},"VisualShader":{"inherits":"Shader","props":["graph_offset"]},"VisualShaderNode":{"inherits":"Resource","props":["default_input_values","expanded_output_ports","linked_parent_graph_frame","output_port_for_preview"]},"VisualShaderNodeBillboard":{"inherits":"VisualShaderNode","props":["billboard_type","keep_scale"]},"VisualShaderNodeBooleanConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeBooleanParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeClamp":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeColorConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeColorFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeColorOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeColorParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeComment":{"inherits":"VisualShaderNodeFrame","props":["description"]},"VisualShaderNodeCompare":{"inherits":"VisualShaderNode","props":["condition","function","type"]},"VisualShaderNodeConstant":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeCubemap":{"inherits":"VisualShaderNode","props":["cube_map","source","texture_type"]},"VisualShaderNodeCubemapParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeCurveTexture":{"inherits":"VisualShaderNodeResizableBase","props":["texture"]},"VisualShaderNodeCurveXYZTexture":{"inherits":"VisualShaderNodeResizableBase","props":["texture"]},"VisualShaderNodeCustom":{"inherits":"VisualShaderNode","props":["initialized","properties"]},"VisualShaderNodeDerivativeFunc":{"inherits":"VisualShaderNode","props":["function","op_type","precision"]},"VisualShaderNodeDeterminant":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeDistanceFade":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeDotProduct":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeExpression":{"inherits":"VisualShaderNodeGroupBase","props":["expression"]},"VisualShaderNodeFaceForward":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeFloatConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeFloatFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeFloatOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeFloatParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled","hint","max","min","step"]},"VisualShaderNodeFrame":{"inherits":"VisualShaderNodeResizableBase","props":["attached_nodes","autoshrink","tint_color","tint_color_enabled","title"]},"VisualShaderNodeFresnel":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeGlobalExpression":{"inherits":"VisualShaderNodeExpression","props":[]},"VisualShaderNodeGroupBase":{"inherits":"VisualShaderNodeResizableBase","props":[]},"VisualShaderNodeIf":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeInput":{"inherits":"VisualShaderNode","props":["input_name"]},"VisualShaderNodeIntConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeIntFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeIntOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeIntParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled","enum_names","hint","max","min","step"]},"VisualShaderNodeIs":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeLinearSceneDepth":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeMix":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeMultiplyAdd":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeOuterProduct":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeOutput":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeParameter":{"inherits":"VisualShaderNode","props":["instance_index","parameter_name","qualifier"]},"VisualShaderNodeParameterRef":{"inherits":"VisualShaderNode","props":["param_type","parameter_name"]},"VisualShaderNodeParticleAccelerator":{"inherits":"VisualShaderNode","props":["mode"]},"VisualShaderNodeParticleBoxEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":[]},"VisualShaderNodeParticleConeVelocity":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeParticleEmit":{"inherits":"VisualShaderNode","props":["flags"]},"VisualShaderNodeParticleEmitter":{"inherits":"VisualShaderNode","props":["mode_2d"]},"VisualShaderNodeParticleMeshEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":["mesh","surface_index","use_all_surfaces"]},"VisualShaderNodeParticleMultiplyByAxisAngle":{"inherits":"VisualShaderNode","props":["degrees_mode"]},"VisualShaderNodeParticleOutput":{"inherits":"VisualShaderNodeOutput","props":[]},"VisualShaderNodeParticleRandomness":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeParticleRingEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":[]},"VisualShaderNodeParticleSphereEmitter":{"inherits":"VisualShaderNodeParticleEmitter","props":[]},"VisualShaderNodeProximityFade":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeRandomRange":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeRemap":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeReroute":{"inherits":"VisualShaderNode","props":["port_type"]},"VisualShaderNodeResizableBase":{"inherits":"VisualShaderNode","props":["size"]},"VisualShaderNodeRotationByAxis":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSDFRaymarch":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSDFToScreenUV":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSample3D":{"inherits":"VisualShaderNode","props":["source"]},"VisualShaderNodeScreenNormalWorldSpace":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeScreenUVToSDF":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeSmoothStep":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeStep":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeSwitch":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeTexture":{"inherits":"VisualShaderNode","props":["source","texture","texture_type"]},"VisualShaderNodeTexture2DArray":{"inherits":"VisualShaderNodeSample3D","props":["texture_array"]},"VisualShaderNodeTexture2DArrayParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTexture2DParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTexture3D":{"inherits":"VisualShaderNodeSample3D","props":["texture"]},"VisualShaderNodeTexture3DParameter":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTextureParameter":{"inherits":"VisualShaderNodeParameter","props":["color_default","texture_filter","texture_repeat","texture_source","texture_type"]},"VisualShaderNodeTextureParameterTriplanar":{"inherits":"VisualShaderNodeTextureParameter","props":[]},"VisualShaderNodeTextureSDF":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTextureSDFNormal":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTransformCompose":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTransformConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeTransformDecompose":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeTransformFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeTransformOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeTransformParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeTransformVecMult":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeUIntConstant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeUIntFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeUIntOp":{"inherits":"VisualShaderNode","props":["operator"]},"VisualShaderNodeUIntParameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeUVFunc":{"inherits":"VisualShaderNode","props":["function"]},"VisualShaderNodeUVPolarCoord":{"inherits":"VisualShaderNode","props":[]},"VisualShaderNodeVarying":{"inherits":"VisualShaderNode","props":["varying_name","varying_type"]},"VisualShaderNodeVaryingGetter":{"inherits":"VisualShaderNodeVarying","props":[]},"VisualShaderNodeVaryingSetter":{"inherits":"VisualShaderNodeVarying","props":[]},"VisualShaderNodeVec2Constant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeVec2Parameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeVec3Constant":{"inherits":"VisualShaderNodeConstant","props":["constant"]},"VisualShaderNodeVec3Parameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeVec4Constant":{"inherits":"VisualShaderNodeConstant","props":["constant","constant_v4"]},"VisualShaderNodeVec4Parameter":{"inherits":"VisualShaderNodeParameter","props":["default_value","default_value_enabled"]},"VisualShaderNodeVectorBase":{"inherits":"VisualShaderNode","props":["op_type"]},"VisualShaderNodeVectorCompose":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorDecompose":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorDistance":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorFunc":{"inherits":"VisualShaderNodeVectorBase","props":["function"]},"VisualShaderNodeVectorLen":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeVectorOp":{"inherits":"VisualShaderNodeVectorBase","props":["operator"]},"VisualShaderNodeVectorRefract":{"inherits":"VisualShaderNodeVectorBase","props":[]},"VisualShaderNodeWorldPositionFromDepth":{"inherits":"VisualShaderNode","props":[]},"VoxelGI":{"inherits":"VisualInstance3D","props":["camera_attributes","data","size","subdiv"]},"VoxelGIData":{"inherits":"Resource","props":["bias","dynamic_range","energy","interior","normal_bias","propagation","use_two_bounces"]},"WeakRef":{"inherits":"RefCounted","props":[]},"WebRTCDataChannel":{"inherits":"PacketPeer","props":["write_mode"]},"WebRTCDataChannelExtension":{"inherits":"WebRTCDataChannel","props":[]},"WebRTCMultiplayerPeer":{"inherits":"MultiplayerPeer","props":[]},"WebRTCPeerConnection":{"inherits":"RefCounted","props":[]},"WebRTCPeerConnectionExtension":{"inherits":"WebRTCPeerConnection","props":[]},"WebSocketMultiplayerPeer":{"inherits":"MultiplayerPeer","props":["handshake_headers","handshake_timeout","inbound_buffer_size","max_queued_packets","outbound_buffer_size","supported_protocols"]},"WebSocketPeer":{"inherits":"PacketPeer","props":["handshake_headers","heartbeat_interval","inbound_buffer_size","max_queued_packets","outbound_buffer_size","supported_protocols"]},"WebXRInterface":{"inherits":"XRInterface","props":["enabled_features","optional_features","reference_space_type","requested_reference_space_types","required_features","session_mode","visibility_state"]},"Window":{"inherits":"Viewport","props":["accessibility_description","accessibility_name","always_on_top","auto_translate","borderless","content_scale_aspect","content_scale_factor","content_scale_mode","content_scale_size","content_scale_stretch","current_screen","exclude_from_capture","exclusive","extend_to_title","force_native","initial_position","keep_title_visible","max_size","maximize_disabled","min_size","minimize_disabled","mode","mouse_passthrough","mouse_passthrough_polygon","nonclient_area","popup_window","popup_wm_hint","position","sharp_corners","size","theme","theme_type_variation","title","transient","transient_to_focused","transparent","unfocusable","unresizable","visible","wrap_controls"]},"WorkerThreadPool":{"inherits":"Object","props":[]},"World2D":{"inherits":"Resource","props":["canvas","direct_space_state","navigation_map","space"]},"World3D":{"inherits":"Resource","props":["camera_attributes","direct_space_state","environment","fallback_environment","navigation_map","scenario","space"]},"WorldBoundaryShape2D":{"inherits":"Shape2D","props":["distance","normal"]},"WorldBoundaryShape3D":{"inherits":"Shape3D","props":["plane"]},"WorldEnvironment":{"inherits":"Node","props":["camera_attributes","compositor","environment"]},"X509Certificate":{"inherits":"Resource","props":[]},"XMLParser":{"inherits":"RefCounted","props":[]},"XRAnchor3D":{"inherits":"XRNode3D","props":[]},"XRBodyModifier3D":{"inherits":"SkeletonModifier3D","props":["body_tracker","body_update","bone_update"]},"XRBodyTracker":{"inherits":"XRPositionalTracker","props":["body_flags","has_tracking_data"]},"XRCamera3D":{"inherits":"Camera3D","props":[]},"XRController3D":{"inherits":"XRNode3D","props":[]},"XRControllerTracker":{"inherits":"XRPositionalTracker","props":[]},"XRFaceModifier3D":{"inherits":"Node3D","props":["face_tracker","target"]},"XRFaceTracker":{"inherits":"XRTracker","props":["blend_shapes"]},"XRHandModifier3D":{"inherits":"SkeletonModifier3D","props":["bone_update","hand_tracker"]},"XRHandTracker":{"inherits":"XRPositionalTracker","props":["hand_tracking_source","has_tracking_data"]},"XRInterface":{"inherits":"RefCounted","props":["ar_is_anchor_detection_enabled","environment_blend_mode","interface_is_primary","xr_play_area_mode"]},"XRInterfaceExtension":{"inherits":"XRInterface","props":[]},"XRNode3D":{"inherits":"Node3D","props":["pose","show_when_tracked","tracker"]},"XROrigin3D":{"inherits":"Node3D","props":["current","world_scale"]},"XRPose":{"inherits":"RefCounted","props":["angular_velocity","has_tracking_data","linear_velocity","name","tracking_confidence","transform"]},"XRPositionalTracker":{"inherits":"XRTracker","props":["hand","profile"]},"XRServer":{"inherits":"Object","props":["camera_locked_to_origin","primary_interface","world_origin","world_scale"]},"XRTracker":{"inherits":"RefCounted","props":["description","name","type"]},"XRVRS":{"inherits":"Object","props":["vrs_min_radius","vrs_render_region","vrs_strength"]},"ZIPPacker":{"inherits":"RefCounted","props":["compression_level"]},"ZIPReader":{"inherits":"RefCounted","props":[]}},"godot_version":"4.6.2"}
diff --git a/src/godot_devkit/data/godot-devkit.example.toml b/src/godot_devkit/data/godot-devkit.example.toml
index e52f4dc9..d510fd19 100644
--- a/src/godot_devkit/data/godot-devkit.example.toml
+++ b/src/godot_devkit/data/godot-devkit.example.toml
@@ -2,36 +2,18 @@
# tests/test_boundaries.py checks that each key a reader accepts appears here in its right shape.
# The wiki page "Configuration reference" shows this file. Optional at the repo root; stock defaults apply.
[roster]
-checks = ["warnings", "uid", "props"] # replaces the stock `check all` roster for THIS repo (stock:
- # warnings props defaults rng tres-comment unit-disk;
- # opt-in: uid tres canonical patterns test-shape ui-layout addon);
- # an unknown name exits 2
+checks = ["uid", "props"] # replaces the stock `check all` roster for THIS repo (stock:
+ # props tres-comment unit-disk; opt-in: uid patterns addon);
+ # an unknown or removed name exits 2
-[warnings]
-errors = ["unused_variable", "integer_division"] # each must be gdscript/warnings/=2 under [debug]
- # in project.godot (stock: unused_variable shadowed_variable
- # unused_signal integer_division standalone_expression)
[uid]
exclude_prefixes = ["addons/"] # scopes every uid check
-[tres]
-exclude_prefixes = ["addons/"]
-baseline = { "scenes/legacy/hub.tscn" = 7 } # existing debt, per file at its CURRENT finding
- # count; held and counted every run, and only shrinks
[props]
exclude_prefixes = ["addons/"]
baseline = { "scenes/legacy/hub.tscn" = 2 }
extra_properties = { MyWidget = ["virtual_prop"] } # a `_get_property_list` shape the scanner
# cannot see; the key is the class_name (or an ancestor's) or
# the engine type, and the carve-out applies only to it
-[defaults]
-exclude_prefixes = ["addons/"]
-baseline = { "data/enemies/grunt.tres" = 3 }
-[canonical] # opt-in: name it in [roster] checks to run it in `check all`
-exclude_prefixes = ["addons/"]
-[rng]
-roots = ["systems/run/"] # stock ".": keep it NARROW — the roots that hold run-scoped randomness
-allowlist = { "systems/run/dice.gd:roll" = "a cosmetic jitter; the reason is required" }
-baseline = { "systems/run/loot_roll.gd" = 4 }
[tres_comment]
exclude_prefixes = ["addons/"]
baseline = { "data/legacy/tuning.tres" = 12 }
@@ -43,12 +25,6 @@ forbidden_literals = { "a real save path" = ["user://saves/", "user://settings\\
forbidden_calls = { "the live settings autoload" = ["SettingsManager\\.(save|load)_settings\\("] }
min_args = { "SaveService.save" = 2 }
baseline = { "tests/unit/test_save_roundtrip.gd" = 3 }
-[test_shape]
-integration_root = "tests/integration"
-unit_root = "tests/unit" # the other side of the tier-balance line
-cap = 300 # lines; a NEW integration script over it fails
-ledger = { "tests/integration/big_flow.gd" = 812 } # existing debt at its CURRENT size; only shrinks
-
[autoloads]
suffixes = { Manager = "emits", Registry = "inert" }
expected_prefixes = ["autoloads/core/", "autoloads/presentation/"]
@@ -73,16 +49,6 @@ paths = ["src/**/*.gd"]
exclude = ["src/debug/**"] # optional
message = "Use the logger, not print()."
# a line opts out with `# lint-allow: no-print`
-[ui_layout] # opt-in: name "ui-layout" in [roster] checks; absent = PASS
-action_bar_types = ["ActionBar"] # required: a node of one of these types holds every action node
-modal_types = ["Modal"] # required
-panel_types = ["Panel"] # optional
-role_property = "ui_role" # required: the node property that marks an action
-action_roles = ["primary", "destructive", "cancel"] # required: role values that are actions
-include_prefixes = ["ui/"] # stock: the whole repo
-exclude_prefixes = ["addons/"]
-baseline = { "ui/old_dialog.tscn" = 2 }
-
[addon] # opt-in: name "addon" in [roster] checks
paths = ["addons/kit/**"] # stock: addons/**; what the add-on ships
exclude = ["addons/kit/demo/**"] # optional
diff --git a/src/godot_devkit/godot/checks/addon.py b/src/godot_devkit/godot/checks/addon.py
index 4472d7ee..92503bf7 100644
--- a/src/godot_devkit/godot/checks/addon.py
+++ b/src/godot_devkit/godot/checks/addon.py
@@ -26,7 +26,7 @@
games agree. `check addon --fix` mints them: a fresh
random uid in the engine's text form, drawn again while
any file in the project already claims it — what
- `scene new` does and what ResourceUID.create_id does.
+ what ResourceUID.create_id does.
A line opts out of a code rule with a comment that names the rule AND says
why: `# lint-allow: root-add-child -- the debug console outlives scenes`. An
diff --git a/src/godot_devkit/godot/checks/canonical.py b/src/godot_devkit/godot/checks/canonical.py
deleted file mode 100644
index 94d9d05c..00000000
--- a/src/godot_devkit/godot/checks/canonical.py
+++ /dev/null
@@ -1,137 +0,0 @@
-"""check canonical — no `.tres` value may be spelled, or placed, other than the way Godot's saver writes it.
-
-The churn this gate exists for is the same as `check defaults`'s, in the two
-dimensions that one leaves out: an editor save of a hand-authored resource
-re-spells its floats (`0.30` -> `0.3`), wraps a bare list on a typed-array
-export (`[a, b]` -> `Array[T]([a, b])`) and moves its properties into
-declaration order — so the file diffs on every save until one form wins, and
-the bulk re-save that would settle it empties resources, deletes every `;`
-comment and drops every `uid=`.
-
-CHECK (HARD): for every `[resource]` / `[sub_resource]` in a tracked `.tres`,
- no property may be spelled or positioned other than as the saver
- would write it, where a parse can PROVE how the saver writes it.
-
-SCOPE — read this before wiring it in. What is judged is exactly what
-`scene canonicalize --respell --order` fixes, and nothing else:
-
- * floats, in the saver's shortest round-trip spelling — only where the
- 32- and 64-bit spellings agree, so the verdict never depends on a build;
- * a bare list on an `@export var x: Array[T]`, where T is a builtin, an
- engine class, or a `class_name` script (its ext_resource added if missing);
- * the order of a scripted section's properties — only where every key is
- `script` or one of the script's `@export`s. An engine property's place is
- not in the ClassDB snapshot, so such a section is counted, not judged;
- * dictionary key order and SpriteFrames `animations` (by name, `"loop"`
- as an int, one key per line); `Array[T](...)` on an untyped `Array` export;
- * the file layout `editor_layout` writes: `load_steps=`, the header
- `script_class=`, ext_resource and sub_resource order, and a
- ShaderMaterial's `shader_parameter/*` lines (the windowed editor form).
-
-A `@tool` script's resource default — the editor adds an ext_resource for it
-under a random id — is not derivable, and is named in the census.
-
-Anything else — an engine-typed float, an enum element type, an export with
-an accessor — is censused as NOT A FINDING and never reported. A PASS means
-"nothing provable drifts", not "the editor would leave this file alone";
-default elision is `check defaults`'s, and a `;` comment is `check
-tres-comment`'s. Out of `check all` unless `[roster] checks` names it: a pin
-bump must not redden a tree that was never canonicalized.
-
-Fix a finding with `godot-devkit scene canonicalize --respell --order `.
-
-godot-devkit.toml: [canonical] exclude_prefixes = ["addons/"]
-"""
-from __future__ import annotations
-
-from collections import Counter
-from pathlib import Path
-
-from godot_devkit.core.config import config_section, str_tuple
-from godot_devkit.core.project import git_lines, repo_root
-from godot_devkit.godot import VENDORED_DEFAULT
-from godot_devkit.godot.format.tscn_document import TscnDocument, read_scene_text
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.godot.index.resource_canonical import CanonicalAnalyzer
-from godot_devkit.godot.write.editor_layout import layout
-
-CONFIG_SECTION = 'canonical'
-EXIT_OK = 0
-EXIT_FINDINGS = 1
-MAX_LISTED = 40
-NOT_UTF8 = 'file is not UTF-8 (unread)'
-GATE = '[check:canonical]'
-
-
-def run() -> int:
- root = repo_root()
- config = config_section(CONFIG_SECTION)
- exclude = str_tuple(config, CONFIG_SECTION, 'exclude_prefixes', VENDORED_DEFAULT)
- scripts = ScriptIndex(root, [p for p in git_lines('ls-files', '*.gd')
- if not p.startswith(exclude)])
- files = [p for p in git_lines('ls-files', '*.tres') if not p.startswith(exclude)]
- return report(root, files, CanonicalAnalyzer(scripts))
-
-
-def findings_of(root: Path, rel: str, analyzer: CanonicalAnalyzer,
- census: Counter) -> list[str] | None:
- """One ` DRIFT …` line per drifting property of one file; None if unread."""
- try:
- doc = TscnDocument(read_scene_text(root / rel))
- except UnicodeDecodeError:
- census[NOT_UTF8] += 1
- return None
- analysis = analyzer.analyze(doc.lines, doc.sections, census)
- lines = [f' DRIFT {rel} : {item.where}.{item.prop.key} = {item.prop.value} '
- f'— the saver writes {", ".join(item.changes)}'
- for item in analysis.rewrites]
- lines += [f' DRIFT {rel} : {item.where}.{item.prop.key} — the saver writes '
- f'{", ".join(item.changes)}' for item in analysis.restructures]
- for item in analysis.reorders:
- lines += [f' DRIFT {rel} : {item.where}.{prop.key} — the saver writes it '
- f'at position {position} of {len(item.order)} (declaration order)'
- for prop, position in item.moved]
- # File-level layout: the same passes `--order` runs, on a scratch copy.
- for line in layout(doc, analyzer.scripts, root):
- if line.startswith(' NOTE '):
- continue
- if 'UNRESOLVED' in line:
- census['layout: ' + line.split(' UNRESOLVED ', 1)[1].split(' — ')[0]] += 1
- else:
- lines.append(f' DRIFT {rel} : {line.strip()}')
- return lines
-
-
-def report(root: Path, files: list[str], analyzer: CanonicalAnalyzer) -> int:
- """Judge `files` (repo-relative) and print the verdict; -> the exit code."""
- census: Counter = Counter()
- findings: list[str] = []
- scanned = 0
- dirty = 0
- print(f'{GATE} CHECK — .tres value spelling and property order match '
- f'what Godot\'s saver writes, where a parse can prove it')
- for rel in files:
- lines = findings_of(root, rel, analyzer, census)
- if lines is None:
- continue
- scanned += 1
- dirty += bool(lines)
- findings += lines
- for line in findings[:MAX_LISTED]:
- print(line)
- if len(findings) > MAX_LISTED:
- print(f' … and {len(findings) - MAX_LISTED} more')
- census_line = ', '.join(f'{count} {reason}' for reason, count in census.most_common())
- if scanned == 0:
- print(f'{GATE} FAIL — scanned 0 files; check [{CONFIG_SECTION}] exclude_prefixes')
- return EXIT_FINDINGS
- if findings:
- print(f'{GATE} FAIL — {len(findings)} drift(s) in {dirty} of '
- f'{scanned} .tres file(s); Godot\'s saver will rewrite them on the '
- f'next editor save')
- print(' Fix: godot-devkit scene canonicalize --respell --order ...')
- print(f' NOT A FINDING: {census_line or "none"}')
- return EXIT_FINDINGS
- print(f'{GATE} PASS — no provable spelling or order drift in {scanned} .tres file(s)')
- print(f' NOT A FINDING: {census_line or "none"}')
- return EXIT_OK
diff --git a/src/godot_devkit/godot/checks/defaults.py b/src/godot_devkit/godot/checks/defaults.py
deleted file mode 100644
index 8d0a05a6..00000000
--- a/src/godot_devkit/godot/checks/defaults.py
+++ /dev/null
@@ -1,109 +0,0 @@
-"""check defaults — no `.tres` assignment may repeat its script's declared default.
-
-The churn this gate exists for: hand-authored `.tres` spell every property out,
-Godot's writer omits any whose value equals the declared default. Hold one form,
-open the editor, and the file diffs forever — `git checkout --` on ~20 files per
-session, every session, for months, misdiagnosed the whole time as "a headless
-boot re-serialises resources" (it does not; a full sandboxed headless run dirties
-nothing).
-
-CHECK (HARD): for every scripted `[resource]` / `[sub_resource]` in a tracked
- `.tres`, no assignment may equal the `@export`'s declared default.
-
-SCOPE — read this before wiring it in. This judges ONE dimension of what Godot's
-writer would emit: property elision. The writer also reorders properties into
-declaration order, respells typed arrays (`[a, b]` -> `Array[Resource]([a, b])`)
-and floats (`0.30` -> `0.3`), mints `ext_resource` entries for typed-array
-element types, and drops every `;` comment in the file. A PASS here means "no
-redundant defaults", NOT "the editor would leave this file alone". Saying more
-than that would be the false-PASS sin. Float spelling, typed-array wrapping and
-scripted property order are `check canonical`'s, where a parse can prove them;
-the rest would mean reimplementing `ResourceFormatSaverText`.
-
-Precision is the design constraint, exactly as in `check props`. Both sides of
-every comparison must normalise into one small closed value language, or the
-assignment is censused as UNVERIFIED and never reported. Fix a finding with
-`godot-devkit scene canonicalize --elide-defaults `.
-
-godot-devkit.toml: [defaults] exclude_prefixes = ["addons/"]
- [defaults] baseline = { "data/enemies/grunt.tres" = 3 }
- (existing debt, per file at its CURRENT count of redundant
- assignments: held and counted on a BASELINED line; a file past
- its entry fails, and an entry above what is left fails until
- lowered — it only shrinks)
-"""
-from __future__ import annotations
-
-from collections import Counter
-
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.core.project import git_lines, repo_root
-from godot_devkit.core.baseline import read_baseline
-from godot_devkit.core.config import config_section, str_tuple
-from godot_devkit.godot.index.resource_defaults import DefaultAnalyzer
-from godot_devkit.godot.format.tscn import parse
-from godot_devkit.godot import VENDORED_DEFAULT
-
-CONFIG_SECTION = 'defaults'
-TAG = '[check:defaults]'
-EXIT_OK = 0
-EXIT_FINDINGS = 1
-MAX_LISTED = 40
-
-
-def run() -> int:
- root = repo_root()
- config = config_section(CONFIG_SECTION)
- exclude = str_tuple(config, CONFIG_SECTION, 'exclude_prefixes',
- VENDORED_DEFAULT)
- baseline = read_baseline(config, CONFIG_SECTION)
-
- scripts = ScriptIndex(root, [p for p in git_lines('ls-files', '*.gd')
- if not p.startswith(exclude)])
- analyzer = DefaultAnalyzer(scripts)
- census: Counter = Counter()
- found: list[tuple[str, str]] = []
- files = 0
-
- print('[check:defaults] CHECK — no .tres assignment repeats its script\'s '
- 'declared @export default')
- for rel in git_lines('ls-files', '*.tres'):
- if rel.startswith(exclude):
- continue
- files += 1
- redundant = analyzer.analyze(parse(str(root / rel)), census)
- for item in redundant:
- found.append((rel,
- f' REDUNDANT {rel} : {item.where}.{item.prop.key} = '
- f'{item.prop.value} — equals the declared default '
- f'({item.default})'))
- judged = baseline.judge(found)
- findings = judged.open
- dirty_files = len({rel for rel, _ in found if rel not in judged.frozen})
-
- for line in findings[:MAX_LISTED]:
- print(line)
- if len(findings) > MAX_LISTED:
- print(f' … and {len(findings) - MAX_LISTED} more')
- judged.report()
- census_line = ', '.join(f'{count} {reason}'
- for reason, count in census.most_common())
- if files == 0:
- print('[check:defaults] FAIL — scanned 0 files; check '
- '[defaults] exclude_prefixes')
- return EXIT_FINDINGS
- if findings:
- print(f'[check:defaults] FAIL — {len(findings)} redundant assignment(s) '
- f'in {dirty_files} of {files} .tres file(s); Godot\'s writer will '
- f'delete them on the next editor save')
- print(' Fix: godot-devkit scene canonicalize --elide-defaults ...')
- print(f' NOT A FINDING: {census_line or "none"}')
- return EXIT_FINDINGS
- if judged.failed:
- print(judged.verdict(TAG, f'{files} .tres file(s)'))
- print(f' NOT A FINDING: {census_line or "none"}')
- return EXIT_FINDINGS
- print(f'[check:defaults] PASS — no redundant default assignment in '
- f'{files} .tres file(s)')
- print(f' NOT A FINDING: {census_line or "none"}')
- return EXIT_OK
diff --git a/src/godot_devkit/godot/checks/rng.py b/src/godot_devkit/godot/checks/rng.py
deleted file mode 100644
index 98f7b4e9..00000000
--- a/src/godot_devkit/godot/checks/rng.py
+++ /dev/null
@@ -1,316 +0,0 @@
-"""rng.py — check rng: run-scoped code draws from an RNG it OWNS.
-
-A seeded run is reproducible only if every draw it makes comes from a stream
-derived from its seed. `randi()` / `randf()` / `randi_range()` / `randf_range()`
-called unqualified are the GLOBAL generator, and `randomize()` re-seeds from
-entropy — on an instance RNG that is strictly worse than doing it globally,
-because the result then LOOKS derived. `rng.randf()` on a generator you own is
-the point of the gate, not a violation of it.
-
-Three checks, each a distinct failure mode:
-
- CHECK 1 an UNQUALIFIED global draw — no `.` and no identifier character
- immediately before the call.
- CHECK 2 `randomize()` in ANY spelling, bare or on an instance.
- CHECK 3 every allowlist entry still matches a real violation. A stale entry
- is a place to hide things, so it is a finding too.
-
-SCOPE is `[rng] roots` and it is meant to be NARROW. Scanning a whole game
-drowns the signal in menu shimmer and cosmetic jitter; the roots that hold
-run-scoped randomness are the roots worth gating, and widening them is not a
-free improvement.
-
-A DECLARATION is not a call: a seeded-stream owner that exposes the draw API
-under the engine's names (`func randf() -> float:`) is the thing the gate asks
-for, so the `func ` head of a line is never matched (#30). And inside a
-script that DECLARES one of those names, an unqualified call to it is a call to
-the script's OWN method, not the global generator — so that is not a hit
-either. The shadow is scoped per class body: a script's own `func randf()`
-does not reach into a `class Inner:` block, nor an inner class's out of it. A
-script that declares none of them is judged exactly as before.
-
-HONEST SCOPE: matching is per line, after quoted strings and a trailing `#`
-comment are stripped, with `##` doc-comment lines skipped whole — a call NAMED
-in prose is not a call. A call split across a line break slips through.
-
-godot-devkit.toml:
-
- [rng]
- roots = ["systems/progression", "resources/loot"]
- # key: `:`, value: the REASON. Function granularity,
- # not line numbers — a name survives edits above it, while a new bare call
- # in a different function of a listed file still trips the gate.
- allowlist = { "systems/hazards/wormhole_visual.gd:_ready" = "cosmetic pulse phase" }
- # Existing debt, per file at its CURRENT count of bare-RNG lines — the
- # adoption step before the allowlist's reasoned carve-outs. Held and counted
- # on a BASELINED line; a file past its entry fails, and an entry above what
- # is left fails until lowered — it only shrinks.
- baseline = { "systems/progression/loot_roll.gd" = 4 }
-"""
-from __future__ import annotations
-
-import re
-
-from godot_devkit.core.baseline import read_baseline
-from godot_devkit.core.config import ConfigError, config_section, str_tuple, str_tuple_table
-from godot_devkit.core.project import git_lines, repo_root
-from godot_devkit.godot.index.gdscript import code_only
-
-SECTION = 'rng'
-TAG = '[check:rng]'
-SUFFIX = '.gd'
-# The whole tree. A repo narrows this; a repo that does not gets every tracked
-# script, which is loud rather than silent — the direction rule 4 asks for.
-DEFAULT_ROOTS = ('.',)
-# The key grammar: `:`. A key with no separator can never match a
-# hit, so it would report as permanently stale — a config typo wearing a
-# finding's clothes. Refused at exit 2 instead.
-KEY_SEPARATOR = ':'
-FILE_SCOPE = ''
-
-FUNC_RE = re.compile(r'^\s*(?:static\s+)?func\s+([A-Za-z_]\w*)')
-DOC_COMMENT_RE = re.compile(r'^\s*##')
-RANDOMIZE_RE = re.compile(r'randomize\s*\(')
-# `(?` head of a declaration line — blanked before matching, so a
-# one-line body after it (`func f(): return randf()`) is still judged.
-FUNC_HEAD_RE = re.compile(r'^\s*(?:static\s+)?func\s+[A-Za-z_]\w*')
-# A `class :` header whose body is the indented block below it. The
-# trailing `:` with nothing after it is what makes a body; `class_name` is not
-# a match (`class` must be followed by whitespace).
-CLASS_RE = re.compile(r'^(\s*)class\s+[A-Za-z_]\w*\b[^:]*:\s*$')
-OPENERS, CLOSERS = '([{', ')]}'
-# The only string spellings that may span a line break.
-TRIPLE_QUOTES = ('"""', "'''")
-
-
-class Hit:
- """One bare-RNG call: where it is, and which function encloses it."""
-
- __slots__ = ('path', 'lineno', 'func', 'code')
-
- def __init__(self, path: str, lineno: int, func: str, code: str) -> None:
- self.path, self.lineno, self.func, self.code = path, lineno, func, code
-
- @property
- def key(self) -> str:
- """The allowlist key this hit would be silenced by."""
- return f'{self.path}{KEY_SEPARATOR}{self.func}'
-
- def __str__(self) -> str:
- return f'{self.path}:{self.lineno}:{self.func}:{self.code.strip()}'
-
-
-def _indent(code: str) -> int:
- return len(code) - len(code.lstrip())
-
-
-def _carry(line: str, depth: int, quote: str) -> tuple[int, str, bool]:
- """What one line leaves open for the next: bracket depth, string, `\\`.
-
- `quote` is the delimiter of a string still open from an earlier line (only
- a `\"\"\"` or `'''` one can be), '' for none. Brackets inside a string or
- after a `#` count for nothing.
- """
- index, joined = 0, False
- while index < len(line):
- char = line[index]
- if quote:
- if char == '\\':
- index += 2
- continue
- if line.startswith(quote, index):
- index += len(quote)
- quote = ''
- continue
- elif char == '#':
- break
- elif char in '"\'':
- triple = line[index:index + 3]
- quote = triple if triple in TRIPLE_QUOTES else char
- index += len(quote)
- continue
- elif char in OPENERS:
- depth += 1
- elif char in CLOSERS:
- depth = max(depth - 1, 0)
- if not char.isspace():
- joined = char == '\\' and not quote
- index += 1
- if quote not in TRIPLE_QUOTES:
- quote = '' # a one-quote string ends with its line
- return depth, quote, joined
-
-
-def _scopes(lines: list[str]) -> list[int]:
- """The class body each line sits in: 0 is the script, n the n-th `class`.
-
- A body is the indented block under a `class :` header, closed by the
- first code line at or left of the header's indentation; a blank or
- comment-only line closes nothing, and neither does a CONTINUATION — a line
- that starts inside an open bracket, an open `\"\"\"` string or after a
- trailing `\\`, which GDScript lets sit at any column. The header itself
- sits in the outer scope.
- """
- scope_of: list[int] = []
- stack = [(-1, 0)] # (header indent, scope id)
- opened = 0
- depth, quote, joined = 0, '', False
- for raw in lines:
- continuation = depth > 0 or bool(quote) or joined
- code = code_only(raw)
- if code.strip() and not continuation:
- while len(stack) > 1 and _indent(code) <= stack[-1][0]:
- stack.pop()
- scope_of.append(stack[-1][1])
- header = None if continuation else CLASS_RE.match(code)
- if header:
- opened += 1
- stack.append((len(header.group(1)), opened))
- depth, quote, joined = _carry(raw, depth, quote)
- return scope_of
-
-
-def _own_calls(lines: list[str], scope_of: list[int]) -> dict[int, re.Pattern]:
- """Per scope, the pattern of unqualified calls to that scope's OWN methods.
-
- A `func randf()` shadows the global only inside the body that declares it,
- at that body's member indentation: a script's column-0 `func` does not
- reach into `class Inner:`, and an inner class's `func` does not reach out.
- """
- member: dict[int, int] = {0: 0}
- names: dict[int, set[str]] = {}
- for raw, scope in zip(lines, scope_of):
- code = code_only(raw)
- if not code.strip():
- continue
- indent = member.setdefault(scope, _indent(code))
- declaration = FUNC_RE.match(code)
- if declaration and _indent(code) == indent:
- names.setdefault(scope, set()).add(declaration.group(1))
- out: dict[int, re.Pattern] = {}
- for scope, declared in names.items():
- own = sorted(declared & SHADOWABLE)
- if own:
- out[scope] = re.compile(rf'(? list[Hit]:
- """Every bare-RNG / `randomize()` call in one GDScript source."""
- hits: list[Hit] = []
- func = FILE_SCOPE
- lines = text.split('\n')
- scope_of = _scopes(lines)
- own_call = _own_calls(lines, scope_of)
- for lineno, raw in enumerate(lines, start=1):
- declaration = FUNC_RE.match(raw)
- if declaration:
- func = declaration.group(1)
- if DOC_COMMENT_RE.match(raw):
- continue
- code = code_only(raw)
- if declaration:
- code = FUNC_HEAD_RE.sub('', code, count=1)
- shadow = own_call.get(scope_of[lineno - 1])
- if shadow:
- code = shadow.sub('', code)
- # One line is one hit however many spellings it holds: `rng.randomize()`
- # matches CHECK 2 and not CHECK 1, and reporting a line twice would
- # inflate the count a consumer reads as "how much is broken".
- if RANDOMIZE_RE.search(code) or BARE_DRAW_RE.search(code):
- hits.append(Hit(path, lineno, func, raw))
- return hits
-
-
-def _allowlist(sect: dict) -> dict[str, str]:
- """`{key: reason}` from `[rng] allowlist`, with the grammar enforced.
-
- The reason is DATA, not a comment above the entry: a carve-out nobody had
- to justify is a carve-out nobody will ever revisit.
- """
- raw = str_tuple_table(sect, SECTION, 'allowlist', {})
- out: dict[str, str] = {}
- for key, reasons in raw.items():
- if KEY_SEPARATOR not in key or not key.split(KEY_SEPARATOR)[0].strip():
- raise ConfigError(
- f'[{SECTION}] allowlist key {key!r} is not '
- f'"{KEY_SEPARATOR}" — a key that cannot '
- f'match a call would report as permanently stale')
- reason = ' '.join(r.strip() for r in reasons).strip()
- if not reason:
- raise ConfigError(
- f'[{SECTION}] allowlist entry {key!r} has no reason — write '
- f'{key!r} = "why this draw is allowed"')
- out[key] = reason
- return out
-
-
-def run() -> int:
- sect = config_section(SECTION)
- roots = str_tuple(sect, SECTION, 'roots', DEFAULT_ROOTS)
- allowed = _allowlist(sect)
- baseline = read_baseline(sect, SECTION)
- root = repo_root()
- scanned = [rel for rel in git_lines('ls-files', '--', *roots)
- if rel.endswith(SUFFIX)]
- if not scanned:
- # Rule 4 — a gate that scanned nothing must say so. A wrong root is
- # indistinguishable from a clean tree, and that PASS is the most
- # dangerous output this package emits.
- print(f'{TAG} FAIL — no tracked *{SUFFIX} under '
- f'{", ".join(roots)}; check [{SECTION}] roots')
- return 1
-
- hits: list[Hit] = []
- for rel in scanned:
- try:
- text = (root / rel).read_text(encoding='utf-8', errors='replace')
- except OSError:
- continue
- hits.extend(scan_text(text, rel))
-
- bare: list[tuple[str, str]] = []
- matched = set()
- for hit in hits:
- if hit.key in allowed:
- matched.add(hit.key)
- continue
- bare.append((hit.path, f' BARE-RNG {hit}'))
- judged = baseline.judge(bare)
- findings = judged.open
- # CHECK 3 — reported in the SAME run as CHECK 1/2, never after an early
- # exit: two findings classes are two things to fix, and a gate that reveals
- # the second only once you have fixed the first costs a round trip.
- for key in sorted(set(allowed) - matched):
- findings.append(f' STALE {key} — no longer matches a bare-RNG call; '
- f'drop it from [{SECTION}] allowlist')
-
- if findings:
- for finding in findings:
- print(finding)
- judged.report()
- print(f'\n{TAG} FAIL — {len(findings)} finding(s) across '
- f'{len(scanned)} script(s) under {", ".join(roots)}')
- print(' A run-scoped draw comes from a generator the caller owns, '
- 'seeded from the run seed.')
- print(f' Cosmetic-only randomness is a carve-out: name it in '
- f'[{SECTION}] allowlist WITH a reason.')
- print(' An allowlist that outlives its violations is a place to hide '
- 'things — prune it.')
- return 1
-
- judged.report()
- if judged.failed:
- print(judged.verdict(TAG, f'{len(scanned)} script(s) under '
- f'{", ".join(roots)}'))
- return 1
- print(f'{TAG} PASS — {len(scanned)} script(s) under {", ".join(roots)} draw '
- f'from an owned RNG; {len(allowed)} allowlisted site(s), each with a reason')
- return 0
diff --git a/src/godot_devkit/godot/checks/roster.py b/src/godot_devkit/godot/checks/roster.py
index 88012600..8cf4423b 100644
--- a/src/godot_devkit/godot/checks/roster.py
+++ b/src/godot_devkit/godot/checks/roster.py
@@ -14,20 +14,20 @@
# `[roster] checks` may carry is a name `check ` runs — there is no
# second list for either fact to drift from.
#
-# Stock is what the engine does NOT already catch. `warnings` reads the
-# project's analyzer levels; `props`, `defaults`, `rng`, `tres-comment`,
-# `unit-disk` finds what the engine drops silently or the
-# editor rewrites. Project-specific test-shape policy is opt-in.
-KNOWN_GATES = ('warnings', 'props', 'defaults', 'rng', 'tres-comment',
- 'unit-disk')
+# Stock is what the engine drops silently: `props` (an assigned property no
+# script or class declares), `tres-comment` (a comment the saver deletes),
+# `unit-disk` (a no-boot test touching live save data).
+KNOWN_GATES = ('props', 'tres-comment', 'unit-disk')
# Gates that dispatch and that `[roster] checks` may name, but that the STOCK
-# roster leaves out. `uid` and `tres` police what the editor owns, and the
-# import pass in `parse` already fails on uid drift. `canonical` and `patterns`
-# each start red on any tree its fixer never ran over. A repo opts in by naming
-# a gate; the aggregate never grows under anyone.
-OPT_IN_GATES = ('uid', 'tres', 'canonical', 'patterns', 'test-shape',
- 'ui-layout', 'addon')
+# roster leaves out: `uid` (the import pass in `parse` also fails on drift),
+# `patterns` (a project's own rules) and `addon` (for add-on repos).
+OPT_IN_GATES = ('uid', 'patterns', 'addon')
+
+# Gates 5.0 removed: the engine writes the form they policed, or they were one
+# project's house rule. Named so a roster that still lists one is told so.
+REMOVED_GATES = ('warnings', 'defaults', 'rng', 'tres', 'canonical',
+ 'test-shape', 'ui-layout')
ROSTER_SECTION = 'roster'
ROSTER_KEY = 'checks'
@@ -52,6 +52,11 @@ def all_roster() -> tuple[str, ...]:
raise ConfigError('[checks] godot was removed in 4.0; use [roster] checks')
roster = str_tuple(config_section(ROSTER_SECTION), ROSTER_SECTION,
ROSTER_KEY, KNOWN_GATES)
+ removed = [c for c in roster if c in REMOVED_GATES]
+ if removed:
+ raise ConfigError(
+ f'[{ROSTER_SECTION}] {ROSTER_KEY} names gate(s) removed in 5.0: '
+ f'{", ".join(removed)} — drop them')
unknown = [c for c in roster if c not in (*KNOWN_GATES, *OPT_IN_GATES)]
if unknown:
raise ConfigError(
diff --git a/src/godot_devkit/godot/checks/test_shape.py b/src/godot_devkit/godot/checks/test_shape.py
deleted file mode 100644
index c34c2eff..00000000
--- a/src/godot_devkit/godot/checks/test_shape.py
+++ /dev/null
@@ -1,143 +0,0 @@
-"""Check the size of tracked GUT integration scripts without booting Godot.
-
-This opt-in readability gate counts every tracked .gd file under
-`[test_shape] integration_root`. New files over `cap` fail. Existing debt
-may enter `ledger` at its current wc -l size, but must not grow. A smaller
-file must lower its ceiling; one at or below the cap leaves the ledger.
-The unit/integration line balance is informational, without a ratio limit.
-
-The integration runner and GUT own runtime discovery and execution. This
-gate reads tracked source only.
-"""
-from __future__ import annotations
-
-from pathlib import Path
-
-from godot_devkit.core.config import (ConfigError, config_section, number,
- number_table, repo_path_defect, text)
-from godot_devkit.core.project import git_lines, repo_root
-
-SECTION = 'test_shape'
-TAG = '[check:test-shape]'
-SUFFIX = '.gd'
-DEFAULT_INTEGRATION_ROOT = 'tests/integration'
-DEFAULT_UNIT_ROOT = 'tests/unit'
-DEFAULT_CAP = 300
-OLD_KEYS = {
- 'scenario_root': 'rename it to integration_root',
- 'runner': 'remove it; GUT runs integration tests',
- 'header': 'remove it; GUT tests need no custom header',
- 'header_ledger': 'remove it; the header rule was retired',
- 'infra': 'remove it; all tracked integration scripts count',
-}
-
-
-def _root_path(sect: dict, key: str, fallback: str) -> str:
- rel = text(sect, SECTION, key, fallback)
- why = repo_path_defect(rel)
- if why:
- raise ConfigError(f'[{SECTION}] {key} {why}: {rel!r}')
- return rel
-
-
-def _tracked_scripts(root: str) -> list[str]:
- # The slash excludes a sibling whose name merely shares the prefix.
- return sorted(rel for rel in git_lines('ls-files', '--', f'{root}/')
- if rel.endswith(SUFFIX))
-
-
-def _measure(repo: Path, rels: list[str]) -> tuple[dict[str, int], list[str]]:
- sizes: dict[str, int] = {}
- unreadable: list[str] = []
- for rel in rels:
- try:
- sizes[rel] = (repo / rel).read_text(
- encoding='utf-8', errors='replace').count('\n')
- except OSError:
- unreadable.append(rel)
- return sizes, unreadable
-
-
-def run() -> int:
- sect = config_section(SECTION)
- for key, migration in OLD_KEYS.items():
- if key in sect:
- raise ConfigError(f'[{SECTION}] {key} was removed in 4.0; {migration}')
-
- integration_root = _root_path(sect, 'integration_root',
- DEFAULT_INTEGRATION_ROOT)
- unit_root = _root_path(sect, 'unit_root', DEFAULT_UNIT_ROOT)
- cap = number(sect, SECTION, 'cap', DEFAULT_CAP)
- if cap < 1:
- raise ConfigError(f'[{SECTION}] cap must be positive, got {cap}')
- ledger = number_table(sect, SECTION, 'ledger', {})
- for rel, ceiling in ledger.items():
- why = repo_path_defect(rel)
- if why or not rel.startswith(f'{integration_root}/') or not rel.endswith(SUFFIX):
- raise ConfigError(f'[{SECTION}] ledger entry {rel!r} must be a .gd '
- f'file under {integration_root}/'
- + (f' ({why})' if why else ''))
- if ceiling < 1:
- raise ConfigError(f'[{SECTION}] ledger.{rel!r} must be positive')
-
- root = repo_root()
- tracked = _tracked_scripts(integration_root)
- if not tracked:
- print(f'{TAG} FAIL — scanned 0 tracked *{SUFFIX} under '
- f'{integration_root}/; check [{SECTION}] integration_root')
- return 1
-
- sizes, unreadable = _measure(root, tracked)
- findings = [f' UNREADABLE {rel} — tracked but not readable on disk'
- for rel in unreadable]
- for rel in tracked:
- if rel not in sizes:
- continue
- lines = sizes[rel]
- ceiling = ledger.get(rel)
- if ceiling is None:
- if lines > cap:
- findings.append(f' OVERCAP {rel} — {lines} lines (cap {cap}, '
- f'not on the [{SECTION}] ledger)')
- elif lines > ceiling:
- findings.append(f' GREW {rel} — {lines} lines, ledger ceiling '
- f'{ceiling}')
- elif lines <= cap:
- findings.append(f' PAID {rel} — {lines} lines at or below cap '
- f'{cap}; remove it from [{SECTION}] ledger')
- elif lines < ceiling:
- findings.append(f' SHRUNK {rel} — {lines} lines, ledger ceiling '
- f'{ceiling}; lower the ceiling to {lines}')
- for rel in sorted(ledger.keys() - sizes.keys()):
- if rel not in unreadable:
- findings.append(f' STALE {rel} — on [{SECTION}] ledger but not a '
- 'tracked integration script; remove it')
-
- unit_sizes, _ = _measure(root, _tracked_scripts(unit_root))
- unit_lines = sum(unit_sizes.values())
- integration_lines = sum(sizes.values())
- total = unit_lines + integration_lines
- if total:
- share = 100 * integration_lines // total
- print(f' tier balance: unit {unit_lines} / {integration_root} '
- f'{integration_lines} — integration is {share}% of the suite')
- print(f' census: {len(sizes)} of {len(tracked)} tracked *{SUFFIX} '
- f'under {integration_root}/ read')
- print(f' debt ledger: {len(ledger)} integration script(s) — this number '
- 'should only shrink')
-
- if findings:
- for finding in findings:
- print(finding)
- print(f'\n{TAG} FAIL — {len(findings)} finding(s) across '
- f'{len(tracked)} tracked integration script(s)')
- for rel in tracked:
- if rel in sizes and sizes[rel] > cap and (
- rel not in ledger or sizes[rel] != ledger[rel]):
- print(f' "{rel}" = {sizes[rel]}')
- return 1
-
- print(f'{TAG} PASS — {len(tracked)} tracked integration script(s) under '
- f'{integration_root}/, none over the {cap}-line cap or its ledger '
- 'ceiling')
- return 0
diff --git a/src/godot_devkit/godot/checks/tres.py b/src/godot_devkit/godot/checks/tres.py
deleted file mode 100644
index d72c1eb4..00000000
--- a/src/godot_devkit/godot/checks/tres.py
+++ /dev/null
@@ -1,88 +0,0 @@
-"""check tres — .tres/.tscn reference-format guard (canonical uid-in-refs).
-
-Godot 4.4+ writes ext_resource references in the canonical uid-in-refs form:
- [ext_resource type="Script" uid="uid://X" path="res://Y" id="..."]
-A repo should be migrated to this format ONCE, deliberately. The hazard this
-guards: any editor / import / capture pass silently UPGRADES a path-only ref
-(one lacking uid=) to uid-in-refs — churn that leaks into unrelated changes.
-Keeping the committed tree fully canonical means an incidental upgrade has
-nothing left to rewrite.
-
-CHECK (HARD): every ext_resource ref in a tracked non-excluded .tres/.tscn
- carries a uid= (no path-only refs remain).
-
-godot-devkit.toml: [tres] exclude_prefixes = ["addons/", ...]
- [tres] baseline = { "scenes/legacy/hub.tscn" = 7 }
- (existing debt, per file at its CURRENT count of path-only refs:
- held and counted on a BASELINED line; a file past its entry
- fails, and an entry above what is left fails until lowered — it
- only shrinks)
-"""
-from __future__ import annotations
-
-from godot_devkit.core.baseline import read_baseline
-from godot_devkit.core.project import git_lines, repo_root
-from godot_devkit.core.config import config_section, str_tuple
-from godot_devkit.godot import VENDORED_DEFAULT
-
-SECTION = 'tres'
-TAG = '[check:tres]'
-
-
-def run() -> int:
- root = repo_root()
- sect = config_section(SECTION)
- exclude = str_tuple(sect, SECTION, 'exclude_prefixes', VENDORED_DEFAULT)
- baseline = read_baseline(sect, SECTION)
- checked = 0
- # Every line in scan order, `(rel, line)` for a finding and `(None, line)`
- # for a disclosed skip — collected before printing so a baselined file's
- # findings can be held without reordering anything around them.
- lines: list[tuple[str | None, str]] = []
-
- print('[check:tres] CHECK — every ext_resource ref carries a uid (canonical uid-in-refs)')
- for rel in git_lines('ls-files', '*.tres', '*.tscn'):
- if rel.startswith(exclude):
- continue
- try:
- text = (root / rel).read_text(encoding='utf-8', errors='replace')
- except OSError:
- # Tracked in the index but not readable on disk (partial checkout,
- # mid-rebase). No evidence to scan — a censused, disclosed skip
- # (rule 4), never a traceback and never a finding: a working-tree
- # gap is not ref-format drift.
- lines.append((None, f' UNVERIFIED {rel} — tracked in git but '
- f'not readable on disk; not scanned'))
- continue
- checked += 1
- for n, line in enumerate(text.splitlines(), start=1):
- if (line.startswith('[ext_resource ') and 'path="' in line
- and 'uid="uid://' not in line):
- lines.append((rel, f' PATH-ONLY {rel}:{n}:{line.strip()}'))
-
- judged = baseline.judge((rel, line) for rel, line in lines if rel is not None)
- hard = len(judged.open)
- for rel, line in lines:
- if rel is None or rel not in judged.frozen:
- print(line)
- judged.report()
- if hard:
- print(f'[check:tres] FAIL — {hard} path-only ext_resource ref(s) across {checked} file(s)')
- print(' Fix: rewrite each to uid-in-refs form; mint MISSING header uids with')
- print(' Godot\'s ResourceUID.create_id() (never hand-author a uid string).')
- return 1
- if not checked:
- # Rule 4 — a gate that scanned nothing must say so. A misconfigured
- # exclude or a wrong root is indistinguishable from a clean tree,
- # and that PASS is the most dangerous output this package emits.
- # "0 of 0" is a repo with no Godot resources in it; "0 of 13" is an
- # exclude that ate the whole census. The fix differs, so say which.
- print(f'[check:tres] FAIL — scanned 0 of '
- f'{len(git_lines("ls-files", "*.tres", "*.tscn"))} tracked '
- f'.tres/.tscn; check [tres] exclude_prefixes')
- return 1
- if judged.failed:
- print(judged.verdict(TAG, f'{checked} file(s)'))
- return 1
- print(f'[check:tres] PASS — all ext_resource refs canonical across {checked} .tres/.tscn')
- return 0
diff --git a/src/godot_devkit/godot/checks/ui_layout.py b/src/godot_devkit/godot/checks/ui_layout.py
deleted file mode 100644
index a0d79cd1..00000000
--- a/src/godot_devkit/godot/checks/ui_layout.py
+++ /dev/null
@@ -1,396 +0,0 @@
-"""check ui-layout — action buttons live in the action bar, not in a modal's scroll.
-
-OPT-IN: not in `check all`. With no `[ui_layout]` section it prints PASS and does
-nothing; name `ui-layout` in `[roster] checks` to run it in the aggregate.
-
-CHECK (HARD), three finding kinds, each on a ` : — ` line:
- action-outside-bar a node whose `role_property` value is one of `action_roles`
- and none of whose ancestors is an `action_bar_types` node
- button-in-modal-scroll a Button (or any class deriving Button, by the engine class
- snapshot) with a ScrollContainer ancestor that sits under, or
- is, a `modal_types` node
- label-no-overflow a Label under a `panel_types` or `modal_types` node that sets
- neither `autowrap_mode` nor `text_overrun_behavior`. Those are
- Label properties, not theme items, so no theme (and no
- `theme_type_variation`) can supply them and none exempts a Label.
-
-TYPE MATCHING. A node matches a configured type when its `type=` equals the entry,
-or its `script = ExtResource(..)` points at a .gd whose `class_name` does (Godot
-writes the native base type into `type=` and never the script class). For an
-instanced node (`instance=ExtResource(..)`), the instanced scene's ROOT type or
-script class does, following the root's own `instance=` chain (an inherited scene's
-root has `instance=` and no `type=`). Only the script's own `class_name` is read,
-not its `extends` chain. Nodes inside an instanced scene are judged with the
-instance node as their parent, so an action node inside an instanced bar is covered
-by that bar, and one inside an instanced non-bar scene outside any bar is reported at
-the HOST file, with the path through the instance. The ROOT node of an instanced scene is not judged on its own
-properties inside the host (the host's instance node stands for it).
-
-INHERITANCE. In an inherited scene a node written with no `type=` and no `instance=`
-overrides the base scene's node of that path: it keeps the base node's type and
-state, and its properties are merged over the base's before it is judged. A base
-node's finding is reported in the base file only; the inheriting file reports an
-overridden node only when the override changes the outcome. A host's override of a node inside an instanced scene (the editable-children
-form, `[node name=.. parent="Inst/Path"]`) is merged the same way, at any instance
-depth, and judged in the host.
-
-SCOPE. Static parse of tracked `.tscn` files; nothing is booted. A PASS means the
-three rules hold for the nodes the parse could type. An instanced scene that is
-missing or cyclic, an instance whose type cannot be resolved, and an unknown class
-that sits where a Button would be a finding are censused on the `NOT A FINDING:`
-line as UNVERIFIED, never reported and never silently skipped. Zero scanned files,
-or zero nodes matching any configured bar/modal/panel type, FAILS.
-
-godot-devkit.toml:
- [ui_layout]
- action_bar_types = ["ActionBar"] # required
- modal_types = ["Modal"] # required
- panel_types = ["Panel"] # optional
- role_property = "ui_role" # required
- action_roles = ["primary", "destructive", "cancel"] # required
- include_prefixes = ["ui/"] # default: the whole repo
- exclude_prefixes = ["addons/"] # default: vendored trees
- baseline = { "ui/old.tscn" = 2 } # per-file debt that only shrinks
-"""
-from __future__ import annotations
-
-import re
-from collections import Counter
-from typing import NamedTuple
-
-from godot_devkit.core.baseline import read_baseline
-from godot_devkit.core.config import ConfigError, config_section, str_tuple, text
-from godot_devkit.core.project import git_lines, load_config, repo_root
-from godot_devkit.godot import VENDORED_DEFAULT
-from godot_devkit.godot.format import classdb
-from godot_devkit.godot.format.tscn import (
- Section, ext_index, node_own_path, parse, ref_path, strip_quotes)
-
-CONFIG_SECTION = 'ui_layout'
-TAG = '[check:ui-layout]'
-EXIT_OK = 0
-EXIT_FINDINGS = 1
-MAX_LISTED = 40
-REQUIRED = ('action_bar_types', 'modal_types', 'role_property', 'action_roles')
-RES_PREFIX = 'res://'
-CLASS_NAME = re.compile(r'^\s*class_name\s+([A-Za-z_]\w*)', re.MULTILINE)
-MAX_DEPTH = 32
-
-OUTSIDE_BAR = 'action-outside-bar'
-BUTTON_IN_SCROLL = 'button-in-modal-scroll'
-NO_OVERFLOW = 'label-no-overflow'
-
-
-class State(NamedTuple):
- """What a node's ancestors (and itself, for its children) add up to."""
- in_bar: bool = False
- in_modal: bool = False
- in_panel: bool = False # under a panel OR a modal
- scroll_in_modal: bool = False
-
-
-class Settings(NamedTuple):
- bars: tuple[str, ...]
- modals: tuple[str, ...]
- panels: tuple[str, ...]
- role_property: str
- roles: tuple[str, ...]
-
-
-class Ident(NamedTuple):
- """What a node is: its native `kind` (for the engine class snapshot) and every
- name it can match a configured type by (kind, script class_name, instance root)."""
- kind: str | None = None
- names: frozenset = frozenset()
-
-
-class Merged:
- """A base node with an inheriting scene's override properties laid over it."""
-
- def __init__(self, base, over) -> None:
- self.base, self.over = base, over
-
- def prop(self, key: str):
- found = self.over.prop(key)
- return found if found is not None else self.base.prop(key)
-
-
-class Scan:
- """One run: the settings, the findings so far, and the census."""
-
- def __init__(self, root, settings: Settings) -> None:
- self.root = root
- self.cfg = settings
- self.found: list[tuple[str, str]] = []
- self.unverified: Counter = Counter()
- self.matched = 0
- self.classes: dict[str, str | None] = {}
-
- def load(self, rel: str) -> list[Section] | None:
- try:
- return parse(str(self.root / rel))
- except (OSError, UnicodeDecodeError):
- return None
-
- def script_class(self, node: Section, ext: dict) -> str | None:
- """The `class_name` declared by the node's script, if it has one."""
- prop = node.prop('script')
- path = ref_path(prop.value, ext) if prop is not None else None
- if path is None or not path.startswith(RES_PREFIX):
- return None
- rel = path[len(RES_PREFIX):]
- if rel not in self.classes:
- try:
- text_ = (self.root / rel).read_text(encoding='utf-8')
- except (OSError, UnicodeDecodeError):
- text_ = ''
- match = CLASS_NAME.search(text_)
- self.classes[rel] = match.group(1) if match else None
- return self.classes[rel]
-
- def instance_target(self, node: Section, ext: dict) -> str | None:
- value = node.attrs.get('instance')
- path = ref_path(value, ext) if value else None
- if path is None or not path.startswith(RES_PREFIX):
- return None
- return path[len(RES_PREFIX):]
-
- def identify(self, node: Section, ext: dict, seen: frozenset,
- depth: int = 0) -> Ident:
- """The node's `type=` and script class, plus what its instance chain
- bottoms out at when it has no `type=` of its own."""
- own = self.script_class(node, ext)
- names = {own} if own else set()
- if node.attrs.get('type'):
- return Ident(node.attrs['type'], frozenset(names | {node.attrs['type']}))
- rel = self.instance_target(node, ext)
- if rel is None or rel in seen or depth > MAX_DEPTH:
- return Ident(None, frozenset(names))
- sections = self.load(rel)
- nodes = [s for s in sections or [] if s.kind == 'node']
- if not nodes:
- return Ident(None, frozenset(names))
- inner = self.identify(nodes[0], ext_index(sections), seen | {rel},
- depth + 1)
- return Ident(inner.kind, inner.names | names)
-
- def advance(self, state: State, ident: Ident) -> State:
- if ident.kind is None and not ident.names:
- return state
- names = ident.names
- bar = bool(names & set(self.cfg.bars))
- modal = bool(names & set(self.cfg.modals))
- panel = bool(names & set(self.cfg.panels))
- if bar or modal or panel:
- self.matched += 1
- in_modal = state.in_modal or modal
- scroll = classdb.derives_from(ident.kind, 'ScrollContainer') is True
- return State(state.in_bar or bar, in_modal,
- state.in_panel or modal or panel,
- state.scroll_in_modal or (in_modal and scroll))
-
- def verdicts(self, node, kind: str | None, state: State,
- count: bool = True) -> list[tuple[str, str]]:
- """The three rules applied to one node, given its PARENT's state, as
- (kind, why) pairs. `count=False` leaves the census alone."""
- out: list[tuple[str, str]] = []
-
- def unverified(reason: str) -> None:
- if count:
- self.unverified[reason] += 1
- role = node.prop(self.cfg.role_property)
- if (role is not None and strip_quotes(role.value) in self.cfg.roles
- and not state.in_bar):
- out.append((OUTSIDE_BAR, f'{self.cfg.role_property} = {role.value} '
- f'sits in no {"/".join(self.cfg.bars)} ancestor'))
- if state.scroll_in_modal:
- if kind is None:
- unverified('node(s) whose type could not be resolved')
- elif classdb.derives_from(kind, 'Button'):
- out.append((BUTTON_IN_SCROLL, f'{kind} inside a ScrollContainer of a '
- f'{"/".join(self.cfg.modals)}; pin it in the action bar'))
- elif classdb.derives_from(kind, 'Button') is None:
- unverified('unknown class(es) under a modal scroll')
- if kind == 'Label' and state.in_panel and not _covered(node):
- out.append((NO_OVERFLOW,
- 'sets neither autowrap_mode nor text_overrun_behavior'))
- return out
-
- def line(self, host: str, where: str, verdict: tuple[str, str]) -> tuple[str, str]:
- return host, f' {verdict[0]} {host} : {where} — {verdict[1]}'
-
- def judge(self, host: str, where: str, node, kind: str | None,
- state: State) -> None:
- for verdict in self.verdicts(node, kind, state):
- self.found.append(self.line(host, where, verdict))
-
- def rejudge(self, host: str, where: str, base, merged, kind: str | None,
- state: State, base_muted: bool) -> None:
- """An override node: judge the merged properties. A base finding the
- override leaves unchanged belongs to the base file, so only a changed
- outcome is reported here; when the base was not muted (inside a host),
- its stale line is replaced."""
- before = self.verdicts(base, kind, state, count=False)
- after = self.verdicts(merged, kind, state, count=True)
- if base_muted:
- after = [v for v in after if v not in before]
- else:
- for verdict in before:
- try:
- self.found.remove(self.line(host, where, verdict))
- except ValueError:
- pass
- for verdict in after:
- self.found.append(self.line(host, where, verdict))
-
- def place(self, host: str, rel: str, prefix: str, entry: State,
- seen: frozenset, muted: bool = False,
- reg: dict | None = None) -> dict[str, State] | None:
- """Judge scene `rel` placed at `prefix` in `host`. Returns, per node path,
- the state its children inherit (the root `.` included). `muted` places a
- base scene whose own findings belong to its own file; `reg` carries
- {path: (node, ident, muted)} from a base scene to the scene inheriting
- it, and from an instanced scene to its host, so an override of either
- is merged over the node it overrides."""
- sections = self.load(rel)
- if sections is None:
- self.unverified['instanced scene(s) missing or unreadable'] += 1
- return None
- ext = ext_index(sections)
- states: dict[str, State] = {}
- reg = {} if reg is None else reg
- for node in (s for s in sections if s.kind == 'node'):
- path, parent = node_own_path(node), node.attrs.get('parent')
- is_root = parent is None
- above = entry if is_root else states.get(parent)
- if above is None:
- self.unverified['node(s) whose parent could not be placed'] += 1
- above = entry
- where = prefix if is_root and prefix else (
- '.' if is_root else (f'{prefix}/{path}' if prefix else path))
- nested = node.attrs.get('instance')
- if (not is_root and not node.attrs.get('type') and not nested
- and path in states):
- # An override of an inherited or instanced node: keep its type and state.
- if path in reg:
- base, ident, base_muted = reg[path]
- merged = Merged(base, node)
- if not muted:
- self.rejudge(host, where, base, merged, ident.kind,
- above, base_muted)
- reg[path] = (merged, ident, base_muted)
- else:
- self.unverified['override(s) of a node inside an instanced '
- 'scene'] += 1
- continue
- ident = self.identify(node, ext, seen)
- if ident.kind is None and (nested or is_root):
- self.unverified['instance(s) whose type could not be resolved'] += 1
- if is_root and nested and not node.attrs.get('type'):
- # An inherited scene: lay the base scene's nodes down first.
- base = self.instance_target(node, ext)
- inner = self._instance(host, base, prefix, entry, seen,
- muted or not prefix, reg)
- states.update(inner or {})
- if not (is_root and prefix) and not muted:
- self.judge(host, where, node, ident.kind, above)
- reg[path] = (node, ident, muted or (is_root and bool(prefix)))
- after = self.advance(above, ident)
- states[path] = after
- if nested and not is_root:
- target = self.instance_target(node, ext)
- sub_reg: dict = {}
- inner = self._instance(host, target, where, after, seen, muted,
- sub_reg)
- for sub, sub_state in (inner or {}).items():
- if sub != '.':
- states[f'{path}/{sub}'] = sub_state
- for sub, held in sub_reg.items():
- if sub != '.':
- reg[f'{path}/{sub}'] = held
- return states
-
- def _instance(self, host: str, rel: str | None, where: str, entry: State,
- seen: frozenset, muted: bool = False,
- reg: dict | None = None) -> dict[str, State] | None:
- if rel is None or rel in seen or len(seen) > MAX_DEPTH:
- self.unverified['instanced scene(s) missing or cyclic'] += 1
- return None
- return self.place(host, rel, where, entry, seen | {rel}, muted, reg)
-
-
-def _covered(label) -> bool:
- return any(label.prop(key) is not None
- for key in ('autowrap_mode', 'text_overrun_behavior'))
-
-
-def _settings(config: dict) -> Settings:
- for key in REQUIRED:
- if key not in config:
- raise ConfigError(f'[{CONFIG_SECTION}] {key} is required — it has '
- f'no stock default')
- panels = (str_tuple(config, CONFIG_SECTION, 'panel_types', ())
- if 'panel_types' in config else ())
- role = text(config, CONFIG_SECTION, 'role_property', '')
- if not role:
- raise ConfigError(f'[{CONFIG_SECTION}] role_property is empty')
- return Settings(
- str_tuple(config, CONFIG_SECTION, 'action_bar_types', ()),
- str_tuple(config, CONFIG_SECTION, 'modal_types', ()), panels, role,
- str_tuple(config, CONFIG_SECTION, 'action_roles', ()))
-
-
-def run() -> int:
- if CONFIG_SECTION not in load_config():
- print(f'{TAG} PASS — no [{CONFIG_SECTION}] declared')
- return EXIT_OK
- root = repo_root()
- config = config_section(CONFIG_SECTION)
- settings = _settings(config)
- include = str_tuple(config, CONFIG_SECTION, 'include_prefixes', ())
- exclude = str_tuple(config, CONFIG_SECTION, 'exclude_prefixes',
- VENDORED_DEFAULT)
- baseline = read_baseline(config, CONFIG_SECTION)
-
- scan = Scan(root, settings)
- files = 0
- print(f'{TAG} CHECK — action buttons in the action bar, none in a modal '
- f'scroll, labels with an overflow policy')
- for rel in git_lines('ls-files', '*.tscn'):
- if rel.startswith(exclude) or (include and not rel.startswith(include)):
- continue
- files += 1
- scan.place(rel, rel, '', State(), frozenset({rel}))
- judged = baseline.judge(scan.found)
- findings = judged.open
- dirty = len({rel for rel, _ in scan.found if rel not in judged.frozen})
-
- for line in findings[:MAX_LISTED]:
- print(line)
- if len(findings) > MAX_LISTED:
- print(f' … and {len(findings) - MAX_LISTED} more')
- judged.report()
- census = ', '.join(f'{count} {reason}'
- for reason, count in scan.unverified.most_common())
- note = f' NOT A FINDING: {census or "none"} (UNVERIFIED)'
- if files == 0:
- print(f'{TAG} FAIL — scanned 0 files; check [{CONFIG_SECTION}] '
- f'include_prefixes / exclude_prefixes')
- return EXIT_FINDINGS
- if scan.matched == 0:
- print(f'{TAG} FAIL — {files} file(s) scanned but no node matched '
- f'action_bar_types, modal_types or panel_types; check their spelling')
- print(note)
- return EXIT_FINDINGS
- if findings:
- print(f'{TAG} FAIL — {len(findings)} finding(s) in {dirty} of {files} '
- f'.tscn file(s)')
- print(note)
- return EXIT_FINDINGS
- if judged.failed:
- print(judged.verdict(TAG, f'{files} .tscn file(s)'))
- print(note)
- return EXIT_FINDINGS
- print(f'{TAG} PASS — no ui-layout finding in {files} .tscn file(s)')
- print(note)
- return EXIT_OK
diff --git a/src/godot_devkit/godot/checks/warnings.py b/src/godot_devkit/godot/checks/warnings.py
deleted file mode 100644
index 2abfc0c7..00000000
--- a/src/godot_devkit/godot/checks/warnings.py
+++ /dev/null
@@ -1,91 +0,0 @@
-"""check warnings — the GDScript analyzer warnings a project holds at ERROR level.
-
-The engine reports an analyzer warning only when a script loads, and a warning
-at level 1 scrolls past unread. This gate reads `project.godot` as text and
-requires every named warning to be an ERROR (`2`), so the editor and every
-headless boot fail on it. Pure parse: it never starts the engine.
-
-CHECK (HARD): for each name in `[warnings] errors`, `project.godot` carries
- `gdscript/warnings/=2` under `[debug]`.
-
-godot-devkit.toml: [warnings] errors = ["unused_variable", ...]
- (stock: unused_variable shadowed_variable unused_signal
- integer_division standalone_expression)
-
-On failure the gate prints the lines to paste under `[debug]`.
-"""
-from __future__ import annotations
-
-import re
-
-from godot_devkit.core.config import ConfigError, config_section, str_tuple
-from godot_devkit.core.project import repo_root
-
-SECTION = 'warnings'
-TAG = '[check:warnings]'
-ERROR_LEVEL = 2
-STOCK_ERRORS = ('unused_variable', 'shadowed_variable', 'unused_signal',
- 'integer_division', 'standalone_expression')
-_PREFIX = 'gdscript/warnings/'
-_NAME = re.compile(r'[a-z][a-z0-9_]*')
-
-
-def debug_levels(text: str) -> dict[str, str]:
- """`{warning name: raw value}` for every `gdscript/warnings/*` key under `[debug]`."""
- levels: dict[str, str] = {}
- section = ''
- for raw in text.splitlines():
- line = raw.strip()
- if line.startswith('[') and line.endswith(']'):
- section = line[1:-1].strip()
- elif section == 'debug' and line.startswith(_PREFIX) and '=' in line:
- key, _, value = line.partition('=')
- levels[key.strip()[len(_PREFIX):]] = value.strip()
- return levels
-
-
-def paste_lines(names) -> list[str]:
- """The `[debug]` lines that make every name an error."""
- return [f'{_PREFIX}{name}={ERROR_LEVEL}' for name in names]
-
-
-def required() -> tuple[str, ...]:
- """The configured warning names; a name that is not a plain identifier exits 2."""
- names = str_tuple(config_section(SECTION), SECTION, 'errors', STOCK_ERRORS)
- if not names:
- raise ConfigError('[warnings] errors must name at least one warning; '
- 'omit warnings from [roster] checks to disable the gate')
- bad = [n for n in names if not _NAME.fullmatch(n)]
- if bad:
- raise ConfigError(f'[{SECTION}] errors names {", ".join(bad)} — a warning '
- f'name is lowercase letters, digits and underscores')
- return tuple(dict.fromkeys(names))
-
-
-def run() -> int:
- names = required()
- path = repo_root() / 'project.godot'
- print(f'{TAG} CHECK — {len(names)} analyzer warning(s) are errors in project.godot')
- try:
- text = path.read_text(encoding='utf-8')
- except OSError:
- print(f'{TAG} FAIL — project.godot is not readable at the repo root; scanned 0 files')
- return 1
- levels = debug_levels(text)
- if levels.get('enable', 'true') != 'true':
- print(f'{TAG} FAIL — gdscript/warnings/enable must not disable the analyzer')
- print(' Fix: set gdscript/warnings/enable=true under [debug] in project.godot')
- return 1
- missing = [n for n in names if levels.get(n) != str(ERROR_LEVEL)]
- for name in missing:
- have = levels.get(name)
- print(f' WARN-LEVEL project.godot:{_PREFIX}{name} is '
- f'{have if have is not None else "unset"}, want {ERROR_LEVEL}')
- if missing:
- print(f'{TAG} FAIL — {len(missing)} of {len(names)} warning(s) below error level')
- print(' Fix: paste under [debug] in project.godot:')
- for line in paste_lines(missing):
- print(f' {line}')
- return 1
- print(f'{TAG} PASS — {len(names)} warning(s) at error level in 1 project.godot')
- return 0
diff --git a/src/godot_devkit/godot/format/atlas_map.py b/src/godot_devkit/godot/format/atlas_map.py
deleted file mode 100644
index cfb3f0aa..00000000
--- a/src/godot_devkit/godot/format/atlas_map.py
+++ /dev/null
@@ -1,169 +0,0 @@
-"""atlas_map.py — autotiling from an atlas map: which atlas cell each painted cell gets.
-
-An atlas map is a JSON file a project keeps beside its tile atlas:
-
- {"columns": 4, "material_period": [8, 8],
- "entries": [{"id": "...", "canonical_neighbor_mask": 80,
- "material_phase": [0, 0],
- "atlas_cell": {"index": 5, "x": 1, "y": 1}}, ...]}
-
-Each entry is one SLOT: the atlas cell for a cell whose filled 4-neighbours
-spell `canonical_neighbor_mask` (up 2, left 8, right 16, down 64 — the
-connect16 set) and whose position modulo `material_period` is
-`material_phase`. A BACKGROUND map has no masks at all: one entry per phase,
-and every cell's mask is 0.
-
-A cell counts as filled when it is being painted, or when the layer already
-holds a cell of the same source. Painting therefore changes the masks of the
-existing same-source neighbours too, and `autotile` re-slots them in the same
-edit — a wall painted next to a wall must not leave a cap tile in the middle.
-
-Everything here refuses rather than guesses: a malformed map, two entries for
-one (mask, phase), a cell whose (mask, phase) has no slot, and a same-source
-neighbour that is not one of the map's slots (a wrong `--source`, or a cell
-this map does not own) all raise `AtlasMapError` before anything is written.
-"""
-from __future__ import annotations
-
-import json
-from pathlib import Path
-from typing import NamedTuple
-
-from godot_devkit.godot.format.tilemap import Tile, TileMapError
-
-UP, LEFT, RIGHT, DOWN = 2, 8, 16, 64
-# (dx, dy, bit) — Godot's y axis points down, so "up" is y - 1.
-NEIGHBOURS = ((0, -1, UP), (-1, 0, LEFT), (1, 0, RIGHT), (0, 1, DOWN))
-MASKS = frozenset(up | left | right | down
- for up in (0, UP) for left in (0, LEFT)
- for right in (0, RIGHT) for down in (0, DOWN))
-BACKGROUND_MASK = 0
-MASK_KEY = 'canonical_neighbor_mask'
-Coord = tuple[int, int]
-
-
-class AtlasMapError(TileMapError):
- """An atlas map, or a paint through one, this module refuses to guess at."""
-
-
-class AtlasMap(NamedTuple):
- """A validated map: the phase period, and (mask, phase) -> atlas cell."""
- period: Coord
- connects: bool # False for a background map
- slots: dict[tuple[int, Coord], Coord]
-
- def phase(self, coord: Coord) -> Coord:
- # Python's % is already Godot's posmod: (-1) % 8 == 7.
- return coord[0] % self.period[0], coord[1] % self.period[1]
-
- def slot(self, coord: Coord, mask: int) -> Coord:
- key = (mask, self.phase(coord))
- if key not in self.slots:
- raise AtlasMapError(f'the atlas map has no slot for cell {coord}: '
- f'neighbor mask {mask}, phase {key[1]}')
- return self.slots[key]
-
-
-def load(path: str | Path) -> AtlasMap:
- """Read and validate an atlas map file."""
- try:
- data = json.loads(Path(path).read_text(encoding='utf-8'))
- except (OSError, UnicodeDecodeError, json.JSONDecodeError) as err:
- raise AtlasMapError(f'cannot read atlas map {path}: {err}') from err
- return parse(data)
-
-
-def parse(data: object) -> AtlasMap:
- """Validate a decoded atlas map. Every rule is a refusal, never a default."""
- if not isinstance(data, dict):
- raise AtlasMapError('atlas map is not a JSON object')
- period = _pair(data.get('material_period'), 'material_period')
- if min(period) < 1:
- raise AtlasMapError(f'material_period {list(period)} must be positive')
- columns = data.get('columns')
- if columns is not None and not (_is_int(columns) and columns > 0):
- raise AtlasMapError(f'columns {columns!r} is not a positive integer')
- entries = data.get('entries')
- if not isinstance(entries, list) or not entries:
- raise AtlasMapError('atlas map has no entries')
- with_mask = sum(1 for e in entries if isinstance(e, dict) and MASK_KEY in e)
- if with_mask not in (0, len(entries)):
- raise AtlasMapError(f'{with_mask} of {len(entries)} entries carry {MASK_KEY} — '
- f'a map is either connect16 (all) or background (none)')
- slots: dict[tuple[int, Coord], Coord] = {}
- for number, entry in enumerate(entries):
- where = f'entry {number}'
- if not isinstance(entry, dict):
- raise AtlasMapError(f'{where} is not an object')
- mask = entry.get(MASK_KEY, BACKGROUND_MASK)
- if not _is_int(mask) or mask not in MASKS:
- raise AtlasMapError(f'{where}: {MASK_KEY} {mask!r} is not a connect16 mask')
- phase = _pair(entry.get('material_phase'), f'{where} material_phase')
- if not all(0 <= p < n for p, n in zip(phase, period)):
- raise AtlasMapError(f'{where}: material_phase {list(phase)} is outside '
- f'the period {list(period)}')
- slots_key = (mask, phase)
- if slots_key in slots:
- raise AtlasMapError(f'{where}: a second slot for mask {mask}, phase '
- f'{list(phase)} — the map is ambiguous')
- slots[slots_key] = _atlas_cell(entry.get('atlas_cell'), columns, where)
- return AtlasMap(period, with_mask > 0, slots)
-
-
-def mask_of(coord: Coord, filled: set[Coord]) -> int:
- """The connect16 mask of `coord`'s filled 4-neighbours."""
- x, y = coord
- return sum(bit for dx, dy, bit in NEIGHBOURS if (x + dx, y + dy) in filled)
-
-
-def autotile(cells: dict[Coord, Tile], painted: list[Coord], source: int,
- amap: AtlasMap) -> dict[Coord, Tile]:
- """The tile every painted cell gets, plus every existing same-source
- neighbour whose slot the paint changes. Painted cells come first, in the
- caller's order; re-slotted neighbours follow in first-seen order."""
- painted_set = set(painted)
- filled = painted_set | {c for c, t in cells.items() if t.source == source}
- owned = set(amap.slots.values())
- targets = list(dict.fromkeys(painted))
- if amap.connects:
- for x, y in painted:
- for dx, dy, _ in NEIGHBOURS:
- near = (x + dx, y + dy)
- if near in filled and near not in painted_set and near not in targets:
- targets.append(near)
- out: dict[Coord, Tile] = {}
- for coord in targets:
- if coord not in painted_set:
- held = cells[coord]
- if (held.atlas_x, held.atlas_y) not in owned or held.alternative:
- raise AtlasMapError(
- f'neighbor {coord} holds {held}, which is not a slot of this '
- f'atlas map — wrong --source, or a cell the map does not own; '
- f'refusing to re-slot it')
- mask = mask_of(coord, filled) if amap.connects else BACKGROUND_MASK
- out[coord] = Tile(source, *amap.slot(coord, mask))
- return out
-
-
-def _is_int(value: object) -> bool:
- return isinstance(value, int) and not isinstance(value, bool)
-
-
-def _pair(value: object, what: str) -> Coord:
- if (not isinstance(value, list) or len(value) != 2
- or not all(_is_int(v) for v in value)):
- raise AtlasMapError(f'{what} {value!r} is not a pair of integers')
- return value[0], value[1]
-
-
-def _atlas_cell(cell: object, columns: object, where: str) -> Coord:
- if not isinstance(cell, dict) or not _is_int(cell.get('x')) or not _is_int(cell.get('y')):
- raise AtlasMapError(f'{where}: atlas_cell {cell!r} needs integer x and y')
- x, y = cell['x'], cell['y']
- if min(x, y) < 0:
- raise AtlasMapError(f'{where}: atlas_cell ({x},{y}) is negative')
- index = cell.get('index')
- if index is not None and _is_int(columns) and (x, y) != (index % columns, index // columns):
- raise AtlasMapError(f'{where}: atlas_cell index {index} is ({index % columns},'
- f'{index // columns}) at {columns} columns, not ({x},{y})')
- return x, y
diff --git a/src/godot_devkit/godot/format/classdb.py b/src/godot_devkit/godot/format/classdb.py
index 68323837..895d0f43 100644
--- a/src/godot_devkit/godot/format/classdb.py
+++ b/src/godot_devkit/godot/format/classdb.py
@@ -12,12 +12,6 @@
`is_known` is the honesty valve: an unknown class means the gate must report the
node as UNVERIFIED rather than guess (a false PASS is survivable, a false FAIL
gets the gate switched off).
-
-And the engine's NAMES, from the same file: `engine_methods()` (every method on
-any class or builtin type, and every utility function) and `engine_signals()`
-(every class signal), stamped `engine_names_from()` — possibly a newer dump than
-the props, which only ever adds a refusal. `refs --rename` refuses a name in
-either set: without types, `x.play()` may be the engine's.
"""
from __future__ import annotations
@@ -55,24 +49,6 @@ def godot_version() -> str:
return _payload()['godot_version']
-@lru_cache(maxsize=1)
-def engine_methods() -> frozenset[str]:
- """Every method name the engine owns: any class, any builtin type, any utility function."""
- return frozenset(_payload()['engine_methods'])
-
-
-@lru_cache(maxsize=1)
-def engine_signals() -> frozenset[str]:
- """Every signal name any engine class declares."""
- return frozenset(_payload()['engine_signals'])
-
-
-@lru_cache(maxsize=1)
-def engine_names_from() -> str:
- """The dump the engine names came from (`Godot Engine v4.7.2.stable.official`)."""
- return _payload()['names_from']
-
-
@lru_cache(maxsize=512)
def _ancestry(class_name: str) -> tuple[tuple[str, ...], str | None, bool]:
"""Walk `class_name` up its `inherits` chain: the snapshot classes met in
@@ -104,14 +80,3 @@ def is_known(class_name: str) -> bool:
"""True when `class_name` AND its whole ancestor chain are in the snapshot."""
_chain, missing, cyclic = _ancestry(class_name)
return missing is None and not cyclic
-
-
-def derives_from(class_name: str, ancestor: str) -> bool | None:
- """True when `class_name` is `ancestor` or inherits it; None when the
- snapshot does not know `class_name` (the caller must census that, not guess)."""
- if not class_name:
- return False
- chain, missing, _cyclic = _ancestry(class_name)
- if ancestor in chain or ancestor == missing:
- return True
- return None if missing is not None else False
diff --git a/src/godot_devkit/godot/format/tilemap.py b/src/godot_devkit/godot/format/tilemap.py
index ed743d6e..d8ad8421 100644
--- a/src/godot_devkit/godot/format/tilemap.py
+++ b/src/godot_devkit/godot/format/tilemap.py
@@ -1,4 +1,4 @@
-"""tilemap.py — the `tile_map_data` codec: Godot 4's packed cell stream, both ways.
+"""tilemap.py — the `tile_map_data` decoder: Godot 4's packed cell stream.
A `TileMapLayer` serialises its whole grid into one property:
@@ -6,19 +6,11 @@
The layout, verified against Godot 4.6 text scenes: a leading `uint16` format
tag, then 12 bytes per cell — `int16 x`, `int16 y`, `uint16 source_id`,
-`uint16 atlas_x`, `uint16 atlas_y`, `uint16 alternative`. Nothing else. Cell
-ORDER is not meaningful to the engine (it loads into a hash map), which is why
-`encode` is free to keep the file's existing order and append newcomers.
+`uint16 atlas_x`, `uint16 atlas_y`, `uint16 alternative`. Nothing else.
This module owns that format alone. It knows nothing about `.tscn` sections —
-`tscn.py` is a peer, not a parent — so the read side (`scene`, `scene-diff`,
-`tiles`) and the write side (`tiles paint/erase`) share ONE decoder instead of
-the hand-rolled twelve-byte loop that gets re-derived every time somebody needs
-a cell count.
-
-`decode(encode(...))` round-trips exactly, and `encode(decode(v)) == v` for any
-value this module accepts — that identity is what lets a paint that changes no
-cell leave the file byte-identical.
+`tscn.py` is a peer, not a parent — so `scene`, `scene-diff` and `tiles` share
+ONE decoder instead of a hand-rolled twelve-byte loop.
"""
from __future__ import annotations
@@ -32,21 +24,16 @@
CELL_BYTES = 12 # x, y, source, atlas_x, atlas_y, alternative
CELL_STRUCT = ' bool:
def size(self) -> int:
return (self.x1 - self.x0 + 1) * (self.y1 - self.y0 + 1)
- def coords(self):
- """Every coordinate in the rectangle, row-major — the paint order."""
- for y in range(self.y0, self.y1 + 1):
- for x in range(self.x0, self.x1 + 1):
- yield (x, y)
-
def __str__(self) -> str:
return f'x[{self.x0}..{self.x1}] y[{self.y0}..{self.y1}]'
@@ -138,23 +119,6 @@ def decode(value: str) -> TileMapData:
return TileMapData(version, cells)
-def encode(data: TileMapData) -> str:
- """Re-emit `{(x, y): Tile}` as a `PackedByteArray("...")` property value.
-
- Cells are written in the dict's iteration order — the caller's job is to
- keep that order stable (surviving cells where they were, newcomers appended
- deterministically), because a reshuffled stream is a whole-line diff that
- changes nothing.
- """
- out = bytearray(struct.pack(HEADER_STRUCT, data.version))
- for (x, y), tile in data.cells.items():
- _check_range('cell coordinate', (x, y), COORD_MIN, COORD_MAX)
- _check_range('tile field', tile, FIELD_MIN, FIELD_MAX)
- out += struct.pack(CELL_STRUCT, x, y, tile.source,
- tile.atlas_x, tile.atlas_y, tile.alternative)
- return PACKED_BYTE_ARRAY.format(b64=base64.b64encode(bytes(out)).decode('ascii'))
-
-
def decode_or_empty(value: str | None) -> TileMapData:
"""The cells a layer holds — its decoded value, or an empty grid when the
property is absent, which is how a never-painted TileMapLayer is stored."""
@@ -172,7 +136,7 @@ def decode_tilemap_bounds(value: str) -> str:
"""` cells, x[..] y[..]` — the one-line summary `scene`/`scene-diff` print.
Lenient by design: this is a display path, so an unreadable value is
- described, never raised. The write path calls `decode` and gets the refusal.
+ described, never raised; `tiles` calls `decode` and gets the refusal.
"""
try:
data = decode(value)
@@ -184,21 +148,6 @@ def decode_tilemap_bounds(value: str) -> str:
return f'{len(data.cells)} cells, x[{min_x}..{max_x}] y[{min_y}..{max_y}]'
-def parse_tile(spec: str) -> Tile:
- """`SRC/AX,AY[/ALT]` -> a `Tile`. Refuses anything it would have to guess at."""
- parts = spec.split(FIELD_SEP)
- if len(parts) not in (2, 3):
- raise TileMapError(f'malformed --tile {spec!r} (expected {TILE_SPEC})')
- source = _int(parts[0], '--tile source')
- atlas = parts[1].split(VALUE_SEP)
- if len(atlas) != 2:
- raise TileMapError(f'malformed --tile {spec!r}: atlas coord must be AX,AY')
- tile = Tile(source, _int(atlas[0], '--tile atlas x'), _int(atlas[1], '--tile atlas y'),
- _int(parts[2], '--tile alternative') if len(parts) == 3 else 0)
- _check_range('--tile field', tile, FIELD_MIN, FIELD_MAX)
- return tile
-
-
def parse_coord(spec: str) -> tuple[int, int]:
"""`X,Y` -> a cell coordinate."""
parts = spec.split(VALUE_SEP)
diff --git a/src/godot_devkit/godot/format/tscn.py b/src/godot_devkit/godot/format/tscn.py
index 64d46a36..b5b0e92a 100644
--- a/src/godot_devkit/godot/format/tscn.py
+++ b/src/godot_devkit/godot/format/tscn.py
@@ -32,7 +32,6 @@
HEADER_ATTR = re.compile(r'(\w+)=("(?:[^"\\]|\\.)*"|\w+\("[^"]*"\)|[^\s\]]+)')
PACKED_ARRAY = re.compile(r'^Packed\w+Array\(')
RESOURCE_REF = re.compile(r'(Ext|Sub)Resource\("([^"]*)"\)')
-NODE_PATH_LITERAL = re.compile(r'(\^?)NodePath\("([^"]*)"\)')
REF_ARROW = '→'
EXT_RESOURCE_ONLY = re.compile(r'^ExtResource\("([^"]*)"\)$')
@@ -45,9 +44,6 @@
CLOSERS = ')]}'
ROOT_PATH = '.'
PATH_SEP = '/'
-PARENT_SEG = '..'
-SELF_SEG = '.'
-SUBNAME_SEP = ':'
ABSOLUTE_PATH_PREFIX = '/'
PROP_ASSIGN = ' = '
TILE_MAP_DATA_PROP = 'tile_map_data'
@@ -277,25 +273,3 @@ def split_path(path: str) -> list[str]:
def join_path(segments: list[str]) -> str:
return PATH_SEP.join(segments) if segments else ROOT_PATH
-
-
-def resolve_node_path(owner: list[str], literal: str) -> list[str] | None:
- """Resolve a relative NodePath literal against the node that carries it.
-
- Returns absolute segments from the scene root, or None when the path is
- absolute (`/root/...`) or walks above the root — neither is a scene-local
- reference and neither may be rewritten by a rename.
- """
- if literal.startswith(ABSOLUTE_PATH_PREFIX):
- return None
- segments = list(owner)
- for part in literal.split(PATH_SEP):
- if part in ('', SELF_SEG):
- continue
- if part == PARENT_SEG:
- if not segments:
- return None
- segments.pop()
- continue
- segments.append(part)
- return segments
diff --git a/src/godot_devkit/godot/format/tscn_document.py b/src/godot_devkit/godot/format/tscn_document.py
index d706a671..a9396b3c 100644
--- a/src/godot_devkit/godot/format/tscn_document.py
+++ b/src/godot_devkit/godot/format/tscn_document.py
@@ -14,27 +14,16 @@
Nodes are addressed BY PATH, because that is how .tscn addresses them:
`parent="Center"` + `name="Panel"` is the node `Center/Panel`, and the root is
-`.`. Format 4's `unique_id=` is a serialisation detail, not an address — nothing
-here keys off it.
-
-The hard part is not moving lines, it is keeping REFERENCES true. A rename or a
-reparent changes the absolute path of a whole subtree, so this module rewrites,
-in one pass driven by a single old-path -> new-path map:
- * every `parent=` on a descendant,
- * every `[connection from=/to=]` and `[editable path=]`,
- * every relative `NodePath("...")` literal that resolved into the moved
- subtree — resolved against the node that OWNS it, never text-matched.
-A blanket `s/Sandbox/Vertical room/g` cannot tell `NodePath("Sandbox/X")` from
-prose; that is the incident this module exists to make impossible. When a
-reference cannot be re-expressed truthfully, the edit RAISES instead of writing
-a plausible-looking wrong answer.
+`.`. Format 4's `unique_id=` is a serialisation detail, not an address.
+An edit that cannot be expressed truthfully RAISES instead of writing a
+plausible-looking wrong answer.
"""
from __future__ import annotations
import hashlib
import re
import zlib
-from collections import Counter, defaultdict
+from collections import Counter
from pathlib import Path
from typing import Callable
from godot_devkit.core import apply
@@ -43,42 +32,19 @@
COMMENT_CHAR,
EXT_RESOURCE_KIND,
NODE_KIND,
- NODE_PATH_LITERAL,
- PARENT_SEG,
PATH_SEP,
PROP_ASSIGN,
- ROOT_PATH,
- SUBNAME_SEP,
- Prop,
Section,
TscnError,
join_path,
node_own_path,
parse_lines,
- resolve_node_path,
split_path,
)
-CONNECTION_KIND = 'connection'
-EDITABLE_KIND = 'editable'
SUB_RESOURCE_KIND = 'sub_resource'
RESOURCE_KIND = 'resource'
SCENE_KINDS = ('gd_scene', 'gd_resource')
-
-# Header attributes whose value is a scene-relative NODE PATH (so a rename or a
-# reparent has to rewrite them). `node_paths=` is deliberately absent: it lists
-# PROPERTY names, not paths, and rewriting it is a classic blanket-sed bug.
-PATH_ATTRS = {
- NODE_KIND: ('parent',),
- CONNECTION_KIND: ('from', 'to'),
- EDITABLE_KIND: ('path',),
-}
-SUB_RESOURCE_REF = re.compile(r'SubResource\("([^"]*)"\)')
-# An AnimationPlayer's track paths resolve against `root_node`, NOT against the
-# player — and Godot omits the property when it holds the default `..`.
-ANIMATION_HOSTS = ('AnimationPlayer',)
-ROOT_NODE_PROP = 'root_node'
-DEFAULT_ROOT_NODE = '..'
SCRIPT_PROP = 'script'
LOAD_STEPS_ATTR = 'load_steps'
EXT_REF = 'ExtResource("{id}")'
@@ -94,10 +60,6 @@
LF = '\n'
-def _attr_pattern(name: str) -> re.Pattern:
- return re.compile(rf'(\b{name}=")((?:[^"\\]|\\.)*)(")')
-
-
def read_scene_text(path: str | Path) -> str:
"""The file's text with its own line endings intact.
@@ -274,18 +236,11 @@ def sub_resource(self, sub_id: str) -> Section:
raise TscnError(f'no sub_resource with id {sub_id!r}; '
f'this file has: {known}')
- def connections(self) -> list[Section]:
- return [s for s in self.sections if s.kind == CONNECTION_KIND]
-
# --- line surgery -------------------------------------------------------
def _splice(self, start: int, end: int, replacement: list[str]) -> None:
self.lines[start:end] = replacement
self._reparse()
- def replace_lines(self, start: int, end: int, replacement: list[str]) -> None:
- """Replace lines `start:end` with `replacement`, then reparse."""
- self._splice(start, end, replacement)
-
def _block_span(self, section: Section) -> tuple[int, int]:
"""The lines a section owns for move/delete: its header and body, any
contiguous comment lines directly above it (they document THIS section),
@@ -319,108 +274,6 @@ def set_section_prop(self, section: Section, key: str, value: str,
self._splice(anchor, anchor, [f'{key}{PROP_ASSIGN}{value}'])
return 'added'
- def remove_prop(self, node_path: str, key: str) -> None:
- section = self.node(node_path)
- existing = section.prop(key)
- if existing is None:
- raise TscnError(f'node {node_path!r} has no property {key!r}')
- self._splice(existing.start, existing.end, [])
-
- def delete_props(self, props: list[Prop]) -> int:
- """Delete whole property assignments by their line spans, bottom-up.
-
- Batch, because every deletion shifts the spans below it — one pass in
- reverse file order keeps the surviving spans valid without a reparse
- per line. Multi-line values come out whole: the span is what the parser
- folded, not one line of it.
- """
- for prop in sorted(props, key=lambda entry: entry.start, reverse=True):
- self.lines[prop.start:prop.end] = []
- if props:
- self._reparse()
- return len(props)
-
- def rewrite_props(self, rewrites: list[tuple[Prop, list[str]]]) -> int:
- """Replace each property's lines with the SAME NUMBER of new lines.
-
- Batch, and line-count-preserving by contract: no span shifts, so every
- rewrite is computed from one parse, each line keeps its own ending,
- and a value's inline comment rides along inside the line it was on.
- A rewrite that would change the count is refused, never absorbed.
- """
- for prop, lines in rewrites:
- if len(lines) != prop.end - prop.start:
- raise TscnError(f'rewrite of {prop.key!r} changes its line count')
- for prop, lines in rewrites:
- self.lines[prop.start:prop.end] = lines
- if rewrites:
- self._reparse()
- return len(rewrites)
-
- def reorder_props(self, section: Section, ordered: list[Prop]) -> None:
- """Rewrite a section's body with its properties in `ordered` order.
-
- Only a body that is NOTHING but properties may move: a comment or a
- blank line among them documents a neighbour, and moving the lines
- around it would silently re-attach it — so that is refused. Each
- property moves whole (a multi-line value, its inline comment); the
- line endings stay where they were, so the file's ending pattern is
- unchanged even where the edit reached.
- """
- first = section.header_line + 1
- if sorted(p.key for p in ordered) != sorted(p.key for p in section.entries) \
- or sum(p.end - p.start for p in ordered) != section.body_end - first:
- raise TscnError(f'cannot reorder {section.kind}: its body is not only '
- f'the properties being moved')
- moved = [line for prop in ordered for line in self.lines[prop.start:prop.end]]
- self._splice(first, section.body_end, moved)
-
- # --- structure ----------------------------------------------------------
- def rename_node(self, node_path: str, new_name: str) -> None:
- section = self.node(node_path)
- old = self.node_path(section)
- if not new_name or PATH_SEP in new_name:
- raise TscnError(f'invalid node name {new_name!r}')
- if not old: # the scene root
- self._rewrite_attr(section, 'name', new_name)
- return
- new = old[:-1] + (new_name,)
- if any(self.node_path(n) == new for n in self.nodes):
- raise TscnError(f'a sibling named {new_name!r} already exists')
- self._apply_path_map({old: new})
- self._rewrite_attr(self.node(join_path(list(old))), 'name', new_name)
-
- def reparent_node(self, node_path: str, new_parent_path: str) -> None:
- section = self.node(node_path)
- old = self.node_path(section)
- if not old:
- raise TscnError('cannot reparent the scene root')
- parent = self.node(new_parent_path)
- target = self.node_path(parent)
- if target[:len(old)] == old:
- raise TscnError('cannot reparent a node under itself')
- new = target + (old[-1],)
- if new == old:
- return
- if any(self.node_path(n) == new for n in self.nodes):
- raise TscnError(f'{new_parent_path!r} already has a child named {old[-1]!r}')
-
- self._apply_path_map({old: new})
- moved = self.node(join_path(list(old)))
- self._rewrite_attr(moved, 'parent', join_path(list(target)))
- self._move_subtree(join_path(list(new)), parent_path=join_path(list(target)))
-
- def remove_node(self, node_path: str) -> None:
- section = self.node(node_path)
- if self.node_path(section) == ():
- raise TscnError('cannot remove the scene root')
- doomed = {self.node_path(section)}
- doomed.update(self.node_path(n) for n in self.descendants(section))
- self._warn_dangling(doomed)
- for block in sorted(self._blocks_referencing(doomed), reverse=True):
- self._splice(block[0], block[1], [])
- self._prune_unreferenced_ext_resources()
-
def add_node(self, parent_path: str, name: str, node_type: str,
script: str | None = None, *, groups: tuple[str, ...] = (),
props: tuple[tuple[str, str], ...] = ()) -> None:
@@ -456,14 +309,6 @@ def add_instance_node(self, parent_path: str, name: str, res_path: str) -> None:
insert = self._subtree_end(self.node(parent_path))
self._splice(insert, insert, ['', header])
- def append_block(self, lines: list[str]) -> None:
- """Append a section at the end of the file, after a blank separator,
- keeping the file's final newline where it was."""
- end = len(self.lines)
- while end > 0 and not self.lines[end - 1].strip():
- end -= 1 # trailing blanks and the final ''
- self._splice(end, end, ['', *lines])
-
def ext_ref(self, res_path: str, res_type: str) -> str:
"""`ExtResource("id")` for `res_path`, reusing or minting its ext_resource."""
return EXT_REF.format(id=self._ensure_ext_resource(res_path, res_type))
@@ -497,196 +342,6 @@ def _unique_id_attr(self, path: tuple[str, ...]) -> str:
return ''
return f' {UNIQUE_ID_ATTR}={mint_unique_id(join_path(list(path)), held)}'
- def add_connection(self, signal_name: str, from_attr: str, to_attr: str,
- method: str, flags: str | None = None) -> None:
- """Append a `[connection]` where Godot serializes them: after every
- node (and after the existing connections, which Godot writes as one
- contiguous run), before any `[editable]` markers."""
- attrs = (f'signal="{signal_name}" from="{from_attr}" '
- f'to="{to_attr}" method="{method}"')
- if flags is not None:
- attrs += f' flags={flags}'
- line = f'[{CONNECTION_KIND} {attrs}]'
- existing = self.connections()
- if existing:
- anchor = max(s.body_end for s in existing)
- self._splice(anchor, anchor, [line])
- return
- anchor = max((s.body_end for s in self.nodes), default=None)
- if anchor is None:
- raise TscnError('this file has no nodes to connect')
- self._splice(anchor, anchor, ['', line])
-
- def remove_connection(self, section: Section) -> None:
- """Remove one `[connection]` and its own comment lines — NOT the blank
- separator below it, which belongs to the NEXT section (`_block_span`'s
- trailing-blank grab is right for subtree moves, and here it would eat
- a byte the caller never asked about). Removing a connection that sat
- between two blanks collapses them to one, so a connect -> disconnect
- round trip is byte-identical."""
- if section.kind != CONNECTION_KIND:
- raise TscnError(f'not a [connection] section: [{section.kind}]')
- start = section.header_line
- while start > 0 and self.lines[start - 1].lstrip().startswith(COMMENT_CHAR):
- start -= 1
- self.lines[start:section.body_end] = []
- if (0 < start < len(self.lines)
- and not self.lines[start - 1].strip()
- and not self.lines[start].strip()):
- del self.lines[start - 1]
- self._reparse()
-
- # --- reference bookkeeping ---------------------------------------------
- def _rewrite_attr(self, section: Section, attr: str, value: str) -> None:
- line = self.lines[section.header_line]
- pattern = _attr_pattern(attr)
- if not pattern.search(line):
- raise TscnError(f'section header has no {attr}= attribute: {line}')
- self._splice(section.header_line, section.header_line + 1,
- [pattern.sub(lambda m: m.group(1) + value + m.group(3), line, count=1)])
-
- def _apply_path_map(self, mapping: PathMap) -> None:
- """Rewrite every reference affected by `old -> new` subtree moves.
-
- Edits are computed from ONE snapshot of the parse and then applied
- bottom-up, so no edit invalidates another's line span and no edit is
- re-derived from a half-updated document.
- """
- edits = self._path_attr_edits(mapping) + self._node_path_edits(mapping)
- for start, end, replacement in sorted(edits, reverse=True):
- self.lines[start:end] = replacement
- self._reparse()
-
- def _path_attr_edits(self, mapping: PathMap) -> list[tuple[int, int, list[str]]]:
- edits = []
- for section in self.sections:
- for attr in PATH_ATTRS.get(section.kind, ()):
- current = section.attrs.get(attr)
- if current is None:
- continue
- moved = _map_path(tuple(split_path(current)), mapping)
- if moved == tuple(split_path(current)):
- continue
- line = self.lines[section.header_line]
- pattern = _attr_pattern(attr)
- if not pattern.search(line):
- raise TscnError(f'section header has no {attr}= attribute: {line}')
- replacement = join_path(list(moved))
- edits.append((section.header_line, section.header_line + 1, [pattern.sub(
- lambda m, value=replacement: m.group(1) + value + m.group(3),
- line, count=1)]))
- return edits
-
- def _node_path_edits(self, mapping: PathMap) -> list[tuple[int, int, list[str]]]:
- """Retarget relative NodePath literals so they still point where they did.
-
- Covers sub_resources too — an Animation's `tracks/N/path` is a NodePath
- like any other, and a rename that misses it breaks the animation
- silently.
- """
- edits = []
- frames = self._sub_resource_frames()
- for section in self.sections:
- if section.kind in (SUB_RESOURCE_KIND, RESOURCE_KIND):
- owner_old = frames.get(section.attrs.get('id', ''))
- if owner_old is None:
- self._note_unowned_node_paths(section)
- continue
- elif section.kind == NODE_KIND:
- owner_old = self.node_path(section)
- else:
- continue
- owner_new = _map_path(owner_old, mapping)
- for prop in section.entries:
- if not NODE_PATH_LITERAL.search(prop.value):
- continue
- rewritten = NODE_PATH_LITERAL.sub(
- lambda m, old=owner_old, new=owner_new: (
- m.group(1) + 'NodePath("'
- + _retarget(m.group(2), old, new, mapping) + '")'),
- prop.value)
- if rewritten != prop.value:
- edits.append((prop.start, prop.end, [prop.render(rewritten)]))
- return edits
-
- def _resolution_frame(self, node: Section) -> tuple[str, ...]:
- """The node path a node's sub-resources resolve their NodePaths against.
-
- Usually the node itself. An AnimationPlayer is the exception that makes
- this worth having: its Animation tracks are spelled relative to
- `root_node`, which defaults to `..` and is omitted when default.
- """
- path = self.node_path(node)
- prop = node.prop(ROOT_NODE_PROP)
- literal = None
- if prop is not None:
- match = NODE_PATH_LITERAL.search(prop.value)
- literal = match.group(2) if match else None
- elif node.attrs.get('type') in ANIMATION_HOSTS:
- literal = DEFAULT_ROOT_NODE
- if literal is None:
- return path
- resolved = resolve_node_path(list(path), literal)
- return tuple(resolved) if resolved is not None else path
-
- def _sub_resource_frames(self) -> dict[str, tuple[str, ...] | None]:
- """sub_resource id -> the frame its NodePaths resolve in.
-
- A sub_resource has no path of its own, so it borrows the frame of the
- node that uses it, followed transitively (node -> AnimationLibrary ->
- Animation). `None` means two different nodes use it in two different
- frames — ambiguous, so we report instead of rewriting.
- """
- subs = {s.attrs['id']: s for s in self.sections
- if s.kind == SUB_RESOURCE_KIND and 'id' in s.attrs}
- frames: dict[str, set[tuple[str, ...]]] = defaultdict(set)
- pending: list[tuple[str, tuple[str, ...]]] = []
- for node in self.nodes:
- frame = self._resolution_frame(node)
- for prop in node.entries:
- for match in SUB_RESOURCE_REF.finditer(prop.value):
- frames[match.group(1)].add(frame)
- pending.append((match.group(1), frame))
- seen: set[tuple[str, tuple[str, ...]]] = set()
- while pending:
- entry = pending.pop()
- if entry in seen:
- continue
- seen.add(entry)
- section = subs.get(entry[0])
- if section is None:
- continue
- for prop in section.entries:
- for match in SUB_RESOURCE_REF.finditer(prop.value):
- frames[match.group(1)].add(entry[1])
- pending.append((match.group(1), entry[1]))
- return {sid: (next(iter(f)) if len(f) == 1 else None) for sid, f in frames.items()}
-
- def _note_unowned_node_paths(self, section: Section) -> None:
- """A NodePath inside a sub_resource resolves against whatever node uses
- it — unknowable from this file, so we say so instead of guessing."""
- for prop in section.entries:
- if NODE_PATH_LITERAL.search(prop.value):
- self.notes.append(
- f'NOT REWRITTEN {section.kind} {section.attrs.get("id", "?")}.'
- f'{prop.key} holds a NodePath; its owning node is unknowable '
- f'from this file — verify by hand')
-
- def _move_subtree(self, node_path: str, parent_path: str) -> None:
- """Relocate a node's block (and its descendants') after the new parent's."""
- section = self.node(node_path)
- blocks = [self._block_span(s) for s in (section, *self.descendants(section))]
- moved_lines: list[str] = []
- for start, end in sorted(blocks):
- moved_lines.extend(self.lines[start:end])
- while moved_lines and not moved_lines[-1].strip():
- moved_lines.pop() # separators are re-added below
- for start, end in sorted(blocks, reverse=True):
- self.lines[start:end] = []
- self._reparse()
- insert = self._subtree_end(self.node(parent_path))
- self._splice(insert, insert, ['', *moved_lines])
-
def _subtree_end(self, section: Section) -> int:
"""The line index just past a node's own block and all its descendants'."""
spans = [self._block_span(s) for s in (section, *self.descendants(section))]
@@ -695,46 +350,6 @@ def _subtree_end(self, section: Section) -> int:
end -= 1
return end
- def _blocks_referencing(self, doomed: set[tuple[str, ...]]) -> list[tuple[int, int]]:
- blocks = []
- for section in self.sections:
- if section.kind == NODE_KIND:
- if self.node_path(section) in doomed:
- blocks.append(self._block_span(section))
- continue
- for attr in PATH_ATTRS.get(section.kind, ()):
- value = section.attrs.get(attr)
- if value is not None and tuple(split_path(value)) in doomed:
- blocks.append(self._block_span(section))
- break
- return blocks
-
- def _warn_dangling(self, doomed: set[tuple[str, ...]]) -> None:
- for section in self.nodes:
- owner = self.node_path(section)
- if owner in doomed:
- continue
- for prop in section.entries:
- for match in NODE_PATH_LITERAL.finditer(prop.value):
- target = resolve_node_path(list(owner), match.group(2).split(SUBNAME_SEP)[0])
- if target is not None and _longest_prefix(tuple(target), doomed):
- self.notes.append(
- f'DANGLING {join_path(list(owner))}.{prop.key} = '
- f'NodePath("{match.group(2)}") now points at nothing')
-
- def _prune_unreferenced_ext_resources(self) -> None:
- """Drop ext_resources the removal left with no referent — what Godot
- does on the next resave anyway. Reported, never silent."""
- for ref_id, section in reversed(list(self.ext_resources().items())):
- needle = EXT_REF.format(id=ref_id)
- if any(needle in line for index, line in enumerate(self.lines)
- if index != section.header_line):
- continue
- self.notes.append(f'PRUNED ext_resource {ref_id} '
- f'({section.attrs.get("path", "?")}) is no longer referenced')
- self._splice(section.header_line, section.header_line + 1, [])
- self._bump_load_steps()
-
def _ensure_ext_resource(self, res_path: str, res_type: str) -> str:
"""Reuse or append an ext_resource for `res_path`; returns its id.
The uid comes from the resource's committed `.uid` sidecar, so a scene
@@ -786,78 +401,6 @@ def _bump_load_steps(self) -> None:
[re.sub(rf'\b{LOAD_STEPS_ATTR}=\d+', f'{LOAD_STEPS_ATTR}={steps}', line)])
-def _longest_prefix(path: tuple[str, ...], keys) -> tuple[str, ...] | None:
- """The longest key in `keys` that is `path` or one of its ancestors."""
- best = None
- for key in keys:
- if path[:len(key)] == key and (best is None or len(key) > len(best)):
- best = key
- return best
-
-
-def _map_path(path: tuple[str, ...], mapping: PathMap) -> tuple[str, ...]:
- key = _longest_prefix(path, mapping.keys())
- return path if key is None else mapping[key] + path[len(key):]
-
-
-def _retarget(literal: str, owner_old: tuple[str, ...], owner_new: tuple[str, ...],
- mapping: PathMap) -> str:
- """Re-spell one NodePath literal so it still resolves to the same node.
-
- Tries the minimal edit first (swap the renamed segment in place, keeping the
- author's `../` style); falls back to recomputing the relative path when the
- owner itself moved. Refuses rather than emit a path that resolves elsewhere.
- """
- main, sep, subname = literal.partition(SUBNAME_SEP)
- target_old = resolve_node_path(list(owner_old), main)
- if target_old is None:
- return literal # absolute or above-root
- target_new = _map_path(tuple(target_old), mapping)
- if tuple(target_old) == target_new and owner_old == owner_new:
- return literal
-
- candidate = _swap_in_place(main, owner_old, mapping)
- if candidate is not None:
- resolved = resolve_node_path(list(owner_new), candidate)
- if resolved is not None and tuple(resolved) == target_new:
- return candidate + sep + subname
- candidate = _relative_path(owner_new, target_new)
- resolved = resolve_node_path(list(owner_new), candidate)
- if resolved is None or tuple(resolved) != target_new:
- raise TscnError(f'cannot re-express NodePath("{literal}") after the move')
- return candidate + sep + subname
-
-
-def _swap_in_place(main: str, owner: tuple[str, ...], mapping: PathMap) -> str | None:
- """Rebuild a literal by renaming only the segments it spells out itself."""
- walk = list(owner)
- parts = main.split(PATH_SEP)
- rebuilt: list[str] = []
- for part in parts:
- if part in ('', '.'):
- rebuilt.append(part)
- continue
- if part == PARENT_SEG:
- if not walk:
- return None
- walk.pop()
- rebuilt.append(part)
- continue
- walk.append(part)
- moved = _map_path(tuple(walk), mapping)
- rebuilt.append(moved[len(walk) - 1] if len(moved) == len(walk) else part)
- return PATH_SEP.join(rebuilt)
-
-
-def _relative_path(owner: tuple[str, ...], target: tuple[str, ...]) -> str:
- common = 0
- while common < min(len(owner), len(target)) and owner[common] == target[common]:
- common += 1
- hops = [PARENT_SEG] * (len(owner) - common)
- rest = list(target[common:])
- return PATH_SEP.join(hops + rest) if (hops or rest) else ROOT_PATH
-
-
def mint_ext_id(res_path: str, used) -> str:
"""`_`: one past the highest numbered id in `used`; the editor keeps it."""
ordinal = max((int(k.split('_')[0]) for k in used if k.split('_')[0].isdigit()),
diff --git a/src/godot_devkit/godot/format/value_order.py b/src/godot_devkit/godot/format/value_order.py
deleted file mode 100644
index 7727fcf7..00000000
--- a/src/godot_devkit/godot/format/value_order.py
+++ /dev/null
@@ -1,209 +0,0 @@
-"""value_order.py — the ORDER Godot's text saver gives the items inside one value.
-
-Two facts, measured on a Godot 4.7.2 editor save and pinned by the pairs under
-`tests/fixtures/editor_parity/`:
-
-* **Dictionary keys are written sorted.** Ints first, by value; then String
- and StringName keys together, by code point (`"10" < "9" < "B" < "_u" <
- &"a2" < "a3"`). Every dictionary, at every depth. A key of any other kind,
- StringName keys beside int keys, a duplicate key, or items that are not
- separated the same way is REFUSED: the order is not proven for it, or
- permuting it would reflow text.
-* **SpriteFrames `animations` is rebuilt by the engine on save:** the array is
- sorted by each animation's `name` (code point), `"loop"` is written as an
- int (`true` -> `1`), and it is laid out the way the saver writes every
- value: a dictionary one key per line, an array inline.
-
-A dictionary sort is a PERMUTATION of item texts that share one separator, so
-the value keeps its length in lines and every item keeps its own bytes. The
-`animations` rebuild alone re-lays the value out, and may change its line count.
-"""
-from __future__ import annotations
-
-from godot_devkit.godot.format.value_spelling import (
- DICT_OPEN,
- ESCAPE,
- IDENT,
- LIST_OPEN,
- NUMBER,
- PUNCT,
- STRING,
- INT_TEXT_RE,
- Token,
- ValueSyntaxError,
- apply_edits,
- matching,
- scan_value,
- split_items,
-)
-
-KEY_COLON = ':'
-STRING_NAME_PREFIX = '&'
-INT_KEY = 0
-STRING_KEY = 1
-STRING_NAME_KEY = 2
-LOOP_KEY = '"loop"'
-NAME_KEY = '"name"'
-BOOL_INTS = {'true': '1', 'false': '0'}
-
-
-class OrderRefusal(ValueError):
- """The saver would reorder this value, but the tool cannot prove how."""
-
-
-def _separators(text: str, items: list[list[Token]]) -> list[str]:
- """The exact text between consecutive items (comma and whitespace)."""
- return [text[items[i][-1].end:items[i + 1][0].start] for i in range(len(items) - 1)]
-
-
-def _permute(text: str, items: list[list[Token]], order: list[int]) -> tuple[int, int, str]:
- """-> one edit that writes `items` in `order`, separators kept in place."""
- seps = _separators(text, items)
- if len(set(seps)) > 1:
- raise OrderRefusal('items are not separated the same way — reordering would reflow text')
- bodies = [text[item[0].start:item[-1].end] for item in items]
- sep = seps[0] if seps else ''
- return items[0][0].start, items[-1][-1].end, sep.join(bodies[i] for i in order)
-
-
-def _key(item: list[Token]) -> tuple[int, object]:
- colon = next((i for i, t in enumerate(item) if t.kind == PUNCT and t.text == KEY_COLON), None)
- if colon is None:
- raise OrderRefusal('dictionary item without a key')
- key = item[:colon]
- if len(key) == 1 and key[0].kind == STRING and ESCAPE not in key[0].text:
- return STRING_KEY, key[0].text[1:-1]
- if (len(key) == 2 and key[0].kind == PUNCT and key[0].text == STRING_NAME_PREFIX
- and key[1].kind == STRING and ESCAPE not in key[1].text):
- return STRING_NAME_KEY, key[1].text[1:-1]
- if len(key) == 1 and key[0].kind == NUMBER and INT_TEXT_RE.match(key[0].text):
- return INT_KEY, int(key[0].text)
- raise OrderRefusal(f'dictionary key {" ".join(t.text for t in key)} is not a string or an '
- f'int — its sort position is not proven')
-
-
-def _dict_order(items: list[list[Token]]) -> list[int]:
- keys = [_key(item) for item in items]
- kinds = {kind for kind, _ in keys}
- if STRING_NAME_KEY in kinds and INT_KEY in kinds:
- raise OrderRefusal('dictionary mixes StringName and int keys — their relative order '
- 'is not proven')
- rank = {INT_KEY: 0, STRING_KEY: 1, STRING_NAME_KEY: 1}
- ranked = [(rank[kind], value) for kind, value in keys]
- if len(set(ranked)) != len(ranked):
- raise OrderRefusal('dictionary repeats a key (or a String and a StringName spell one key)')
- return sorted(range(len(items)), key=lambda i: ranked[i])
-
-
-def _scan(text: str, start: int) -> list[Token]:
- try:
- return scan_value(text, start)[0]
- except ValueSyntaxError as err:
- raise OrderRefusal(f'value outside the grammar the reorder reads ({err})') from err
-
-
-def sort_dicts(text: str, start: int) -> tuple[str, int]:
- """-> (text with every dictionary's keys in saver order, dictionaries reordered).
-
- Rightmost-first: a permutation keeps its span, so an outer dictionary's
- braces never move while its inner ones are sorted.
- """
- opens = [t.start for t in _scan(text, start) if t.kind == PUNCT and t.text == DICT_OPEN]
- changed = 0
- for offset in sorted(opens, reverse=True):
- tokens = _scan(text, start)
- index = next(i for i, t in enumerate(tokens) if t.start == offset)
- items = split_items(tokens, index, matching(tokens, index))
- if len(items) < 2:
- continue
- order = _dict_order(items)
- if order == list(range(len(items))):
- continue
- text = apply_edits(text, [_permute(text, items, order)])
- changed += 1
- return text, changed
-
-
-def _field(text: str, item: list[Token], name: str) -> list[Token] | None:
- """The value tokens of `name: value` directly inside one dictionary item."""
- if not (item and item[0].text == DICT_OPEN):
- return None
- for entry in split_items(item, 0, len(item) - 1):
- if entry and entry[0].kind == STRING and entry[0].text == name:
- return entry[2:]
- return None
-
-
-def _laid_out(text: str, item: list[Token]) -> str:
- """One value as the saver lays it out: a dictionary one key per line, an
- array inline with `, ` between items, anything else as written."""
- head, last = item[0], len(item) - 1
- if head.kind == PUNCT and head.text in (DICT_OPEN, LIST_OPEN) and matching(item, 0) == last:
- entries = split_items(item, 0, last)
- if head.text == LIST_OPEN:
- return LIST_OPEN + ', '.join(_laid_out(text, e) for e in entries) + ']'
- if not entries:
- return '{}'
- pairs = []
- for entry in entries:
- colon = next((i for i, t in enumerate(entry)
- if t.kind == PUNCT and t.text == KEY_COLON), None)
- if colon is None or colon == 0 or colon == len(entry) - 1:
- raise OrderRefusal('dictionary item without a key')
- key = text[entry[0].start:entry[colon - 1].end]
- pairs.append(f'{key}: {_laid_out(text, entry[colon + 1:])}')
- return '{\n' + ',\n'.join(pairs) + '\n}'
- if any(t.kind == PUNCT and t.text in (DICT_OPEN, LIST_OPEN) for t in item):
- raise OrderRefusal('a container inside a call — its layout is not measured')
- raw = text[head.start:item[-1].end]
- if '\n' in raw:
- raise OrderRefusal('a value broken across lines — its layout is not measured')
- return raw
-
-
-def rebuild_animations(text: str, start: int) -> tuple[str, list[str]]:
- """-> (SpriteFrames `animations` as the engine writes it, what changed)."""
- tokens = _scan(text, start)
- if not tokens or tokens[0].text != LIST_OPEN or matching(tokens, 0) != len(tokens) - 1:
- raise OrderRefusal('animations is not one array literal')
- items = split_items(tokens, 0, len(tokens) - 1)
- edits, names = [], []
- for item in items:
- name = _field(text, item, NAME_KEY)
- if not (name and len(name) == 2 and name[0].text == STRING_NAME_PREFIX
- and name[1].kind == STRING and ESCAPE not in name[1].text):
- raise OrderRefusal('an animation has no &"name" — its sort position is not proven')
- names.append(name[1].text[1:-1])
- loop = _field(text, item, LOOP_KEY)
- if loop and len(loop) == 1 and loop[0].kind == IDENT and loop[0].text in BOOL_INTS:
- edits.append((loop[0].start, loop[0].end, BOOL_INTS[loop[0].text]))
- if len(set(names)) != len(names):
- raise OrderRefusal('two animations share a name')
- changes = [f'"loop": {text[s:e]} -> {new}' for s, e, new in edits]
- order = sorted(range(len(items)), key=lambda i: names[i])
- if order != list(range(len(items))):
- changes.append('animations sorted by name')
- text = apply_edits(text, edits)
- tokens = _scan(text, start)
- items = split_items(tokens, 0, len(tokens) - 1)
- body = LIST_OPEN + ', '.join(_laid_out(text, items[i]) for i in order) + ']'
- laid = text[:tokens[0].start] + body + text[tokens[-1].end:]
- if laid.count('\n') != text.count('\n'):
- changes.append('one key per line')
- return laid, changes
-
-
-def animations_in_engine_order(text: str, start: int) -> str:
- """`animations`' items joined in the order the engine walks them: by name."""
- tokens = _scan(text, start)
- if not tokens or tokens[0].text != LIST_OPEN or matching(tokens, 0) != len(tokens) - 1:
- raise OrderRefusal('animations is not one array literal')
- items = split_items(tokens, 0, len(tokens) - 1)
- names = []
- for item in items:
- name = _field(text, item, NAME_KEY)
- if not (name and len(name) == 2 and name[1].kind == STRING):
- raise OrderRefusal('an animation has no &"name" — its sort position is not proven')
- names.append(name[1].text[1:-1])
- order = sorted(range(len(items)), key=lambda i: names[i])
- return ' '.join(text[items[i][0].start:items[i][-1].end] for i in order)
diff --git a/src/godot_devkit/godot/format/value_spelling.py b/src/godot_devkit/godot/format/value_spelling.py
deleted file mode 100644
index 5209df91..00000000
--- a/src/godot_devkit/godot/format/value_spelling.py
+++ /dev/null
@@ -1,410 +0,0 @@
-"""value_spelling.py — how Godot's text saver SPELLS a value, as far as a parse can prove it.
-
-An editor save of a `.tres` re-spells values it did not change. This module
-knows the float half of that, and the token grammar the typed-array half needs;
-which property a value belongs to, and so what TYPE it holds, is the caller's
-(`index/resource_canonical.py`), because only a script can say.
-
-**Floats.** The saver writes the shortest decimal that reads back as the same
-number: `0.30` is written `0.3`, `12.50` is `12.5`. Two styles, both visible in
-the editor-written half of the committed corpus:
-
- * a FLOAT Variant — a bare `float` property, an element of an untyped Array or
- Dictionary — keeps a `.0` on an integral value: `anchor_right = 1.0`,
- `"values": [0.0, 6.2831855]`;
- * a real_t COMPONENT — inside `Vector2(...)`, `Color(...)`,
- `PackedFloat32Array(...)` and the other math constructors — does not:
- `Color(0.561, 0.89, 1, 1)`, `PackedFloat32Array(0, 0.08, 0.25)`.
-
-**Precision is the trap, and it is refused rather than guessed.** A real_t is
-32-bit in a stock build and 64-bit in a double-precision one, and the corpus
-shows the saver writing a 32-bit value at 32-bit precision (`6.2831855`, TAU as
-a float). A spelling is therefore only ever EMITTED when the 32-bit and the
-64-bit shortest forms agree — true of every value a person types (`0.3`,
-`1.25`, `0.561`), false of `0.123456789`, whose respelling depends on a build
-this parse cannot see. Those, and any magnitude outside the plain positional
-range (the saver switches to exponent notation somewhere past it), come back
-`None`: not provable, so never written.
-
-Nothing here reads a file or knows a property; `respell()` takes the context
-each position is in and returns edits, never a re-serialised value, so every
-byte it was not asked about survives.
-"""
-from __future__ import annotations
-
-import math
-import re
-import struct
-from dataclasses import dataclass
-
-# --- the token grammar of one value ----------------------------------------
-IDENT_RE = re.compile(r'[A-Za-z_]\w*')
-NUMBER_RE = re.compile(r'-?(?:\d+\.\d*|\.\d+|\d+)(?:[eE][-+]?\d+)?')
-INT_TEXT_RE = re.compile(r'^-?\d+$')
-NUMBER_START = '0123456789-.'
-IDENT_TAIL = re.compile(r'[\w.]')
-WHITESPACE = ' \t\r\n'
-QUOTE = '"'
-ESCAPE = '\\'
-COMMENT_CHAR = ';'
-OPENERS = '([{'
-CLOSERS = ')]}'
-PAIRS = {'(': ')', '[': ']', '{': '}'}
-LIST_OPEN = '['
-CALL_OPEN = '('
-DICT_OPEN = '{'
-SEPARATOR = ','
-
-IDENT = 'ident'
-NUMBER = 'number'
-STRING = 'string'
-PUNCT = 'punct'
-
-# --- contexts: what a number at a given position IS --------------------------
-FLOAT_CONTEXT = 'float' # a FLOAT slot: `.0` style, and an int is coerced
-VARIANT_CONTEXT = 'variant' # a Variant slot: `.0` style, an int stays an int
-COMPONENT_CONTEXT = 'component' # a real_t component: no `.0`
-OPAQUE_CONTEXT = None # type unknown: nothing is provable
-
-# The constructors whose every numeric argument is a real_t (or a float
-# channel), written by the saver without a `.0`. The `i` vectors, the other
-# packed arrays and anything unknown are OPAQUE: their numbers are not ours.
-COMPONENT_CTORS = frozenset((
- 'Vector2', 'Vector3', 'Vector4', 'Rect2', 'Color', 'Quaternion', 'Plane',
- 'Transform2D', 'Transform3D', 'Basis', 'AABB', 'Projection',
- 'PackedFloat32Array', 'PackedVector2Array', 'PackedVector3Array',
- 'PackedVector4Array', 'PackedColorArray',
-))
-TYPED_ARRAY = 'Array'
-TYPED_CONTAINERS = frozenset((TYPED_ARRAY, 'Dictionary'))
-FLOAT_TYPE = 'float'
-
-# The plain positional range: inside it both the 32- and 64-bit writers print
-# digits and a point, outside it the saver's exponent spelling is not proven.
-# One decade inside `%g`'s own [1e-4, 1e6) at each end: a shortest-form writer
-# may already spell 1e-04 or 1e+05 in exponent form, so the edge decades are
-# unprovable, and an exponent-spelled token is never ours to respell.
-POSITIONAL_MIN = 1e-3
-POSITIONAL_MAX = 1e5
-EXPONENT_MARKS = ('e', 'E')
-FLOAT32_MAX_DIGITS = 9 # every float32 round-trips in 9 significant digits
-FLOAT32 = struct.Struct(' tuple[list[Token], int]:
- """Tokenize one value from `start`; -> (tokens, offset where the value ends).
-
- The value ends at a top-level `;` comment or at the end of `text` — the
- same rule the `.tres` parser uses, so a `;` inside a string or a bracket
- is data. Raises `ValueSyntaxError` on a spelling it cannot classify (an
- unterminated string, `0x1F`, unbalanced brackets): a value this cannot
- read is a value it must not touch.
- """
- tokens: list[Token] = []
- depth = 0
- index = start
- while index < len(text):
- char = text[index]
- if char in WHITESPACE:
- index += 1
- continue
- if char == COMMENT_CHAR and depth <= 0:
- break
- if char == QUOTE:
- end = _string_end(text, index)
- tokens.append(Token(STRING, text[index:end], index, end))
- index = end
- continue
- ident = IDENT_RE.match(text, index)
- if ident:
- tokens.append(Token(IDENT, ident.group(0), index, ident.end()))
- index = ident.end()
- continue
- number = NUMBER_RE.match(text, index) if char in NUMBER_START else None
- if number and any(c.isdigit() for c in number.group(0)):
- end = number.end()
- if end < len(text) and IDENT_TAIL.match(text[end]):
- raise ValueSyntaxError(f'unrecognised number spelling at {text[index:end + 1]!r}')
- tokens.append(Token(NUMBER, number.group(0), index, end))
- index = end
- continue
- if char in OPENERS:
- depth += 1
- elif char in CLOSERS:
- depth -= 1
- if depth < 0:
- raise ValueSyntaxError('unbalanced brackets')
- tokens.append(Token(PUNCT, char, index, index + 1))
- index += 1
- if depth != 0:
- raise ValueSyntaxError('unbalanced brackets')
- return tokens, index
-
-
-def _string_end(text: str, start: int) -> int:
- escaped = False
- for index in range(start + 1, len(text)):
- char = text[index]
- if escaped:
- escaped = False
- elif char == ESCAPE:
- escaped = True
- elif char == QUOTE:
- return index + 1
- raise ValueSyntaxError('unterminated string')
-
-
-def matching(tokens: list[Token], open_index: int) -> int:
- """Index of the token closing the bracket at `open_index`."""
- depth = 0
- for index in range(open_index, len(tokens)):
- token = tokens[index]
- if token.kind != PUNCT:
- continue
- if token.text in OPENERS:
- depth += 1
- elif token.text in CLOSERS:
- depth -= 1
- if depth == 0:
- if token.text != PAIRS[tokens[open_index].text]:
- raise ValueSyntaxError('mismatched brackets')
- return index
- raise ValueSyntaxError('unbalanced brackets')
-
-
-def split_items(tokens: list[Token], open_index: int, close_index: int) -> list[list[Token]]:
- """The comma-separated items directly inside one bracket pair."""
- items: list[list[Token]] = []
- current: list[Token] = []
- depth = 0
- for token in tokens[open_index + 1:close_index]:
- if token.kind == PUNCT and token.text in OPENERS:
- depth += 1
- elif token.kind == PUNCT and token.text in CLOSERS:
- depth -= 1
- if depth == 0 and token.kind == PUNCT and token.text == SEPARATOR:
- items.append(current)
- current = []
- continue
- current.append(token)
- if current:
- items.append(current)
- return items
-
-
-def bare_list(tokens: list[Token]) -> tuple[int, int] | None:
- """(open, close) when the whole value is ONE `[...]` list, else None."""
- if not tokens or tokens[0].kind != PUNCT or tokens[0].text != LIST_OPEN:
- return None
- close = matching(tokens, 0)
- return (0, close) if close == len(tokens) - 1 else None
-
-
-def typed_array(tokens: list[Token], source: str) -> str | None:
- """The element-type spelling when the value is `Array[T]([...])`, else None."""
- if len(tokens) < 2 or tokens[0].text != TYPED_ARRAY or tokens[1].text != LIST_OPEN:
- return None
- close = matching(tokens, 1)
- call = close + 1
- if call >= len(tokens) or tokens[call].text != CALL_OPEN \
- or matching(tokens, call) != len(tokens) - 1:
- return None
- return source[tokens[1].end:tokens[close].start].strip()
-
-
-# --- floats -----------------------------------------------------------------
-def _float32(value: float) -> float:
- return FLOAT32.unpack(FLOAT32.pack(value))[0]
-
-
-def _shortest_float32(value: float) -> str | None:
- """The shortest decimal that reads back as the same float32 as `value`."""
- single = _float32(value)
- for digits in range(1, FLOAT32_MAX_DIGITS + 1):
- candidate = float(f'{single:.{digits - 1}e}')
- if _float32(candidate) == single:
- return repr(candidate)
- return None
-
-
-def canonical_float(value: float, style: str) -> str | None:
- """The saver's spelling of `value` in `style`, or None when not provable."""
- if not math.isfinite(value):
- return None
- if value == 0.0: # -0.0 too: the saver writes "0"
- return ZERO_COMPONENT if style == COMPONENT_CONTEXT else ZERO_VARIANT
- if not POSITIONAL_MIN <= abs(value) < POSITIONAL_MAX:
- return None
- double = repr(value)
- if _shortest_float32(value) != double:
- return None # precision-dependent: refuse
- if style == COMPONENT_CONTEXT and double.endswith(INTEGRAL_SUFFIX):
- return double[:-len(INTEGRAL_SUFFIX)]
- return double
-
-
-def looks_noncanonical(text: str) -> bool:
- """True when no style of the saver could have written this float token.
-
- What turns a position the tool cannot prove into a NAMED refusal instead
- of silence: `0.30` is wrong whatever its type, `0.123456789` may be right.
- """
- if any(mark in text for mark in EXPONENT_MARKS):
- return False
- value = float(text)
- if not math.isfinite(value):
- return False
- if value == 0.0:
- return text not in (ZERO_COMPONENT, ZERO_VARIANT)
- if not POSITIONAL_MIN <= abs(value) < POSITIONAL_MAX:
- # Unprovable spelling, but a trailing zero after the point (`0.00050`)
- # is one no writer emits in any notation: still named.
- fraction = text.partition('.')[2]
- return len(fraction) > 1 and fraction.endswith('0')
- double = repr(value)
- component = double[:-len(INTEGRAL_SUFFIX)] if double.endswith(INTEGRAL_SUFFIX) else double
- return text not in (double, component)
-
-
-def is_float_text(text: str) -> bool:
- return not INT_TEXT_RE.match(text)
-
-
-# --- the respell walk -------------------------------------------------------
-@dataclass
-class Respelling:
- edits: list[tuple[int, int, str]] # (start, end, replacement), ascending
- refused: list[str] # tokens no saver writes, that it cannot fix
- unverified: int = 0 # floats that may be right; unprovable
-
-
-@dataclass(frozen=True)
-class _TypedCall:
- """The `(...)` of `Array[T](...)`: its one list's elements are `element`."""
- element: str | None
-
-
-_TOP = 'top'
-
-
-def _opens(tokens: list[Token], index: int) -> bool:
- """Does the token at `index` open a container (a call, a list, a dict)?"""
- token = tokens[index]
- if token.kind == PUNCT:
- return token.text in OPENERS
- following = tokens[index + 1].text if index + 1 < len(tokens) else ''
- return token.kind == IDENT and (
- following == CALL_OPEN
- or (following == LIST_OPEN and token.text in TYPED_CONTAINERS))
-
-
-def _child_context(tokens: list[Token], index: int, source: str,
- parent: object, elements: str | None) -> tuple[object, int]:
- """The context for what sits directly inside the container opened at `index`.
-
- -> (context, index of the next token to read). A constructor fixes its own
- arguments' type whatever surrounds it; a list or dictionary inherits a
- Variant context and nothing else — inside anything typed, it is OPAQUE.
- """
- token = tokens[index]
- if token.kind == IDENT:
- if tokens[index + 1].text == LIST_OPEN: # Array[T]( / Dictionary[K, V](
- close = matching(tokens, index + 1)
- if close + 1 >= len(tokens) or tokens[close + 1].text != CALL_OPEN:
- raise ValueSyntaxError(f'{token.text}[...] with no constructor call')
- element = source[tokens[index + 1].end:tokens[close].start].strip()
- floats = token.text == TYPED_ARRAY and element == FLOAT_TYPE
- return _TypedCall(FLOAT_CONTEXT if floats else OPAQUE_CONTEXT), close + 2
- own = COMPONENT_CONTEXT if token.text in COMPONENT_CTORS else OPAQUE_CONTEXT
- return own, index + 2
- if token.text == CALL_OPEN:
- return OPAQUE_CONTEXT, index + 1
- if isinstance(parent, _TypedCall):
- return (parent.element if token.text == LIST_OPEN else OPAQUE_CONTEXT), index + 1
- if parent == VARIANT_CONTEXT:
- return VARIANT_CONTEXT, index + 1
- if parent == _TOP:
- if token.text == LIST_OPEN:
- return elements, index + 1
- return (VARIANT_CONTEXT if elements == VARIANT_CONTEXT else OPAQUE_CONTEXT), index + 1
- return OPAQUE_CONTEXT, index + 1
-
-
-def respell(tokens: list[Token], source: str, scalar: str | None,
- elements: str | None) -> Respelling:
- """Every float the saver would spell differently, as edits into `source`.
-
- `scalar` is the context of a number at the top of the value (a bare
- `x = 0.30`), `elements` the context of what sits inside a top-level list
- or dictionary; both come from the property's declared type, and either
- may be OPAQUE. Constructors decide for themselves.
- """
- result = Respelling([], [])
- stack: list[object] = []
- index = 0
- while index < len(tokens):
- token = tokens[index]
- if _opens(tokens, index):
- parent = stack[-1] if stack else _TOP
- context, index = _child_context(tokens, index, source, parent, elements)
- stack.append(context)
- continue
- if token.kind == PUNCT and token.text in CLOSERS:
- stack.pop()
- elif token.kind == NUMBER:
- context = stack[-1] if stack else scalar
- wanted = _wanted(token.text, context)
- if wanted is None:
- # Unprovable. Named when no saver could have written it this
- # way (`0.30`), merely counted when it may be right as it is.
- if not is_float_text(token.text) or looks_noncanonical(token.text):
- result.refused.append(token.text)
- else:
- result.unverified += 1
- elif wanted != token.text:
- result.edits.append((token.start, token.end, wanted))
- index += 1
- return result
-
-
-def _wanted(text: str, context: object) -> str | None:
- """The saver's spelling of one number token in `context`; None if unprovable.
-
- An int is the token's own spelling everywhere but a FLOAT slot, where the
- saver stores — and so writes — the coerced float (`1` -> `1.0`).
- """
- if not is_float_text(text):
- if context != FLOAT_CONTEXT:
- return text
- whole = int(text)
- return (canonical_float(float(whole), VARIANT_CONTEXT)
- if abs(whole) < EXACT_INT_LIMIT else None)
- if context not in (FLOAT_CONTEXT, VARIANT_CONTEXT, COMPONENT_CONTEXT):
- return None
- if any(mark in text for mark in EXPONENT_MARKS):
- return None
- style = COMPONENT_CONTEXT if context == COMPONENT_CONTEXT else VARIANT_CONTEXT
- return canonical_float(float(text), style)
-
-
-def apply_edits(text: str, edits: list[tuple[int, int, str]]) -> str:
- """`text` with each (start, end, replacement) applied; edits must not overlap."""
- for start, end, replacement in sorted(edits, reverse=True):
- text = text[:start] + replacement + text[end:]
- return text
diff --git a/src/godot_devkit/godot/index/engine_defaults.py b/src/godot_devkit/godot/index/engine_defaults.py
deleted file mode 100644
index b1e3626c..00000000
--- a/src/godot_devkit/godot/index/engine_defaults.py
+++ /dev/null
@@ -1,35 +0,0 @@
-"""engine_defaults.py — vendored engine defaults for the built-in resource types met so far.
-
-Godot's saver omits a stored property whose value equals the class default.
-Those defaults live in the engine, not in any file a parse can read, so they
-are VENDORED here, per class, spelled exactly as the 4.7 saver writes them
-(`var_to_str` of `ClassDB.class_get_property_default_value`, dumped once from
-Godot 4.7.2). An assignment is elided only when its text EQUALS the entry; a
-class or a property not listed is never judged. Grow the table by dumping the
-new class the same way and vendoring an editor-saved pair for it under
-`tests/fixtures/editor_parity/`.
-"""
-from __future__ import annotations
-
-GODOT_VERSION = '4.7.2'
-_RESOURCE = {'resource_local_to_scene': 'false', 'resource_name': '""'}
-
-DEFAULTS: dict[str, dict[str, str]] = {
- 'Gradient': {**_RESOURCE,
- 'colors': 'PackedColorArray(0, 0, 0, 1, 1, 1, 1, 1)',
- 'interpolation_color_space': '0',
- 'interpolation_mode': '0',
- 'offsets': 'PackedFloat32Array(0, 1)'},
- 'GradientTexture1D': {**_RESOURCE,
- 'gradient': 'null', 'use_hdr': 'false', 'width': '256'},
- 'GradientTexture2D': {**_RESOURCE,
- 'fill': '0', 'fill_from': 'Vector2(0, 0)', 'fill_to': 'Vector2(1, 0)',
- 'gradient': 'null', 'height': '64', 'repeat': '0',
- 'use_hdr': 'false', 'width': '64'},
- 'PlaceholderTexture2D': {**_RESOURCE, 'size': 'Vector2(1, 1)'},
-}
-
-
-def default_of(class_name: str | None, key: str) -> str | None:
- """The saver's spelling of `class_name.key`'s default, or None if not vendored."""
- return DEFAULTS.get(class_name or '', {}).get(key)
diff --git a/src/godot_devkit/godot/index/gd_declarations.py b/src/godot_devkit/godot/index/gd_declarations.py
deleted file mode 100644
index 8a77f44b..00000000
--- a/src/godot_devkit/godot/index/gd_declarations.py
+++ /dev/null
@@ -1,229 +0,0 @@
-"""gd_declarations.py — the DECLARATION half of a GDScript `@export`.
-
-`gdscript.py` answers "does this script export a property called X?". Deciding
-whether a `.tres` assignment is REDUNDANT needs three more facts about the same
-declaration, and all three come from the one folded source line:
-
- @export var trigger: Trigger = Trigger.ALL_PLAYERS_DOWN
- ^name ^type ^default expression
-
-plus the script's `enum` tables, because an enum member is the single most
-common default spelling in hand-authored data (`trigger = 0` IS
-`Trigger.ALL_PLAYERS_DOWN`, and no regex over the `.tres` can know that).
-
-Split out of `gdscript.py` rather than folded into it because the two answer
-different questions on different grains: `ScriptFacts` is a NAME SET the props
-gate consumes, this is a per-name value grammar. The scanner shares
-`gdscript.py`'s honesty valve: a declaration it cannot fully account for — an
-accessor, a call, an unresolved identifier — leaves `default` unusable, and an
-unusable default can never justify deleting a line.
-"""
-from __future__ import annotations
-
-import re
-from dataclasses import dataclass, field
-
-from godot_devkit.godot.format.tscn import scan_line
-
-GDSCRIPT_COMMENT = '#'
-VAR_KEYWORD = 'var'
-ENUM_KEYWORD = 'enum'
-INFER_ASSIGN = ':='
-EXPORT_ANNOTATION = '@export'
-DECL_RE = re.compile(r'\bvar\s+([A-Za-z_]\w*)\s*(.*)$')
-ENUM_RE = re.compile(r'^enum\s*([A-Za-z_]\w*)?\s*\{')
-ENUM_MEMBER_RE = re.compile(r'^([A-Za-z_]\w*)\s*(?:=\s*(-?\d+))?$')
-# `[^=]*` (not `+`) so the inferred form `const X := 1` parses too.
-CONST_RE = re.compile(r'^const\s+([A-Za-z_]\w*)\s*(?::\s*[^=]*)?=\s*(.+)$')
-PRELOAD_RE = re.compile(r'^preload\(\s*"([^"]+)"\s*\)$')
-CONST_KEYWORD = 'const'
-OPEN_BRACKETS = '([{'
-CLOSE_BRACKETS = ')]}'
-
-
-@dataclass
-class Declaration:
- """One `@export var` as written: its type annotation and its initializer."""
- name: str
- declared_type: str | None = None # 'int', 'Array[Foo]', 'Trigger', ...
- default: str | None = None # initializer source, comment-stripped
- has_accessor: bool = False # `: set = f` / `: set(v):` / `: get:`
-
-
-@dataclass
-class DeclarationFacts:
- """Everything one .gd says about the VALUES of its exports."""
- declarations: dict[str, Declaration] = field(default_factory=dict)
- enums: dict[str, dict[str, int]] = field(default_factory=dict)
- # Every enum member, unqualified — GDScript lets a default spell either
- # `Trigger.ALL_PLAYERS_DOWN` or the bare `ALL_PLAYERS_DOWN`.
- enum_members: dict[str, int] = field(default_factory=dict)
- # `const SPEED := 300.0` — a default is allowed to name one.
- consts: dict[str, str] = field(default_factory=dict)
- # `const PlayerIdentity = preload("res://…")` — how `Alias.MEMBER` resolves.
- aliases: dict[str, str] = field(default_factory=dict)
-
-
-def fold(lines: list[str], index: int) -> tuple[str, int]:
- """Join a statement that spans lines into one comment-stripped string.
-
- Continues while brackets are open or a string is unterminated — the same
- string-aware scan the .tres grammar uses, so a `#` inside a default string
- literal and a `{` inside a Dictionary default both behave.
- """
- depth, in_string, escaped, comment_at = scan_line(
- lines[index], comment_char=GDSCRIPT_COMMENT, comment_in_brackets=True)
- folded = lines[index][:comment_at] if comment_at >= 0 else lines[index]
- while (depth > 0 or in_string) and index + 1 < len(lines):
- index += 1
- depth, in_string, escaped, comment_at = scan_line(
- lines[index], depth, in_string, escaped, GDSCRIPT_COMMENT,
- comment_in_brackets=True)
- body = lines[index][:comment_at] if comment_at >= 0 else lines[index]
- folded += ' ' + body.strip()
- return folded.rstrip(), index
-
-
-def top_level(text: str, wanted: str) -> int:
- """Index of `wanted` at bracket depth 0 and outside any string, else -1."""
- depth = 0
- in_string = False
- escaped = False
- for position, char in enumerate(text):
- if in_string:
- if escaped:
- escaped = False
- elif char == '\\':
- escaped = True
- elif char == '"':
- in_string = False
- continue
- if char == '"':
- in_string = True
- elif char in OPEN_BRACKETS:
- depth += 1
- elif char in CLOSE_BRACKETS:
- depth -= 1
- elif depth == 0 and text.startswith(wanted, position):
- return position
- return -1
-
-
-def _cut_accessor(text: str, decl: Declaration) -> str:
- """Drop a `: set = f` / `: get(): ...` tail, flagging that it existed.
-
- Anything after a top-level `:` in a var declaration is an accessor clause,
- and an accessor means the STORED value need not be the assigned one — so
- the flag is what makes the caller refuse rather than compare.
- """
- colon = top_level(text, ':')
- if colon < 0:
- return text
- decl.has_accessor = True
- return text[:colon]
-
-
-def parse_declaration(folded: str) -> Declaration | None:
- """`@export var x: T = expr` -> a Declaration, or None if there is no `var`."""
- match = DECL_RE.search(folded)
- if match is None:
- return None
- decl = Declaration(name=match.group(1))
- rest = match.group(2).strip()
- if rest.startswith(INFER_ASSIGN):
- body = rest[len(INFER_ASSIGN):]
- elif rest.startswith(':'):
- typed = rest[1:]
- assign = top_level(typed, '=')
- if assign < 0:
- decl.declared_type = _cut_accessor(typed, decl).strip() or None
- return decl
- decl.declared_type = typed[:assign].strip() or None
- body = typed[assign + 1:]
- elif rest.startswith('='):
- body = rest[1:]
- else:
- return decl # bare `var x` — untyped, no default
- decl.default = _cut_accessor(body, decl).strip() or None
- return decl
-
-
-def parse_enum(folded: str) -> tuple[str | None, dict[str, int]] | None:
- """`enum Trigger { A, B = 3, C }` -> ('Trigger', {'A': 0, 'B': 3, 'C': 4}).
-
- Returns None when any member is an expression we cannot evaluate — a
- partially-known enum would silently mis-resolve every member after it.
- """
- header = ENUM_RE.match(folded)
- if header is None:
- return None
- body = folded[folded.index('{') + 1:]
- close = body.rfind('}')
- if close < 0:
- return None
- members: dict[str, int] = {}
- following = 0
- for raw in body[:close].split(','):
- item = raw.strip()
- if not item:
- continue
- entry = ENUM_MEMBER_RE.match(item)
- if entry is None:
- return None # `A = SOME_CONST` / a bit expression
- value = following if entry.group(2) is None else int(entry.group(2))
- members[entry.group(1)] = value
- following = value + 1
- return header.group(1), members
-
-
-def scan_declarations(text: str) -> DeclarationFacts:
- """Every `@export` declaration and every `enum` in one .gd source."""
- facts = DeclarationFacts()
- lines = text.split('\n')
- index = -1
- pending_export = False
- while index + 1 < len(lines):
- index += 1
- stripped = lines[index].strip()
- if stripped.startswith(CONST_KEYWORD + ' '):
- folded, index = fold(lines, index)
- entry = CONST_RE.match(folded.strip())
- if entry is not None:
- name, expression = entry.group(1), entry.group(2).strip()
- preload = PRELOAD_RE.match(expression)
- if preload:
- facts.aliases[name] = preload.group(1)
- else:
- facts.consts[name] = expression
- continue
- if ENUM_RE.match(stripped):
- folded, index = fold(lines, index)
- parsed = parse_enum(folded.strip())
- if parsed is not None:
- name, members = parsed
- if name:
- facts.enums[name] = members
- facts.enum_members.update(members)
- continue
- if not (stripped.startswith(EXPORT_ANNOTATION) or pending_export):
- continue
- if stripped.startswith(EXPORT_ANNOTATION):
- folded, index = fold(lines, index)
- stripped = folded.strip()
- if VAR_KEYWORD not in stripped:
- # `@export_group("x")` declares nothing; a bare `@export` on its
- # own line declares the NEXT line's var.
- pending_export = not stripped.startswith(
- (EXPORT_ANNOTATION + '_group', EXPORT_ANNOTATION + '_subgroup',
- EXPORT_ANNOTATION + '_category'))
- continue
- else:
- folded, index = fold(lines, index)
- stripped = folded.strip()
- if not stripped or stripped.startswith(GDSCRIPT_COMMENT):
- continue
- pending_export = False
- declaration = parse_declaration(stripped)
- if declaration is not None:
- facts.declarations[declaration.name] = declaration
- return facts
diff --git a/src/godot_devkit/godot/index/gdscript.py b/src/godot_devkit/godot/index/gdscript.py
index 2a93799d..39e5c6cf 100644
--- a/src/godot_devkit/godot/index/gdscript.py
+++ b/src/godot_devkit/godot/index/gdscript.py
@@ -18,11 +18,6 @@
from dataclasses import dataclass, field
from pathlib import Path
-from godot_devkit.godot.index.gd_declarations import (
- Declaration,
- DeclarationFacts,
- scan_declarations,
-)
from godot_devkit.godot.format.tscn import scan_line
RES_PREFIX = 'res://'
@@ -56,9 +51,6 @@ class ScriptFacts:
extends: str | None = None
exports: set[str] = field(default_factory=set)
dynamic_properties: bool = False
- # What each export is DECLARED as (type + initializer) and the script's
- # enum tables — the value grammar `check defaults` compares against.
- declared: DeclarationFacts = field(default_factory=DeclarationFacts)
@dataclass
@@ -67,12 +59,6 @@ class Resolution:
exports: frozenset[str]
engine_base: str | None # the Godot class the `extends` chain lands on
opaque: bool # True => do not call anything on it "dead"
- # Inheritance-folded declarations; a subclass re-declaring a name wins.
- # Iteration order is the saver's: the script's own, then its base's.
- declarations: dict[str, Declaration] = field(default_factory=dict)
- enum_members: dict[str, int] = field(default_factory=dict)
- consts: dict[str, str] = field(default_factory=dict)
- aliases: dict[str, str] = field(default_factory=dict)
def code_only(line: str) -> str:
@@ -95,7 +81,7 @@ def code_only(line: str) -> str:
def scan_script(text: str, res_path: str) -> ScriptFacts:
"""Extract class_name / extends / @export names from one .gd source."""
- facts = ScriptFacts(res_path=res_path, declared=scan_declarations(text))
+ facts = ScriptFacts(res_path=res_path)
pending_export = False
lines = text.split('\n')
index = -1
@@ -184,17 +170,6 @@ def _resolve(self, res_path: str, seen: set[str]) -> Resolution:
exports = set(facts.exports)
opaque = facts.dynamic_properties
base: str | None = None
- declarations: dict[str, Declaration] = {}
- enum_members: dict[str, int] = {}
- consts: dict[str, str] = {}
- aliases: dict[str, str] = {}
-
- def inherit(parent: Resolution) -> None:
- declarations.update(parent.declarations)
- enum_members.update(parent.enum_members)
- consts.update(parent.consts)
- aliases.update(parent.aliases)
-
target = facts.extends
if target is None:
base = 'RefCounted' # implicit base of a bare script
@@ -207,27 +182,13 @@ def inherit(parent: Resolution) -> None:
exports |= parent.exports
base = parent.engine_base
opaque = opaque or parent.opaque
- inherit(parent)
elif target in self.by_class:
parent = self._resolve(self.by_class[target], seen)
exports |= parent.exports
base = parent.engine_base
opaque = opaque or parent.opaque
- inherit(parent)
elif classdb.is_known(target):
base = target
else:
opaque = True # e.g. `extends SomeAddonClass`
- # Godot lists a script's own properties before its base's
- # (`get_script_property_list` walks derived -> base), and the saver
- # writes them in that order.
- own = facts.declared.declarations
- declarations = {**own, **{k: v for k, v in declarations.items() if k not in own}}
- enum_members.update(facts.declared.enum_members)
- consts.update(facts.declared.consts)
- aliases.update(facts.declared.aliases)
- for enum_name, members in facts.declared.enums.items():
- for member, value in members.items():
- enum_members[f'{enum_name}.{member}'] = value
- return Resolution(frozenset(exports), base, opaque, declarations,
- enum_members, consts, aliases)
+ return Resolution(frozenset(exports), base, opaque)
diff --git a/src/godot_devkit/godot/index/resource_canonical.py b/src/godot_devkit/godot/index/resource_canonical.py
deleted file mode 100644
index 5e410846..00000000
--- a/src/godot_devkit/godot/index/resource_canonical.py
+++ /dev/null
@@ -1,464 +0,0 @@
-"""resource_canonical.py — what Godot's text saver would RE-SPELL or REORDER in a `.tres`.
-
-The sibling of `resource_defaults.py`, from the same evidence: the section's own
-script, read through `ScriptIndex`, plus the ClassDB snapshot. Where that says
-DELETE (a value equal to its default), this says REWRITE, in two dimensions a
-parse can prove and no others:
-
-* **spelling** — a float the saver writes shorter (`0.30` -> `0.3`, a FLOAT
- slot's int as `1.0`), per `format/value_spelling.py`; and a bare `[a, b]`
- on an `@export var x: Array[T]` wrapped the way the saver writes a typed
- array, `Array[T]([a, b])`. `T` is spelled as the saver spells it: a builtin
- by name, an engine class by name, a `class_name` script as
- `ExtResource("")`. A file without that script's ext_resource gets one
- (`added_exts`): the editor adds it under a random id and keeps any id it
- reads, so a minted `_` is what its next save leaves alone.
-* **order** — the saver writes `script` and then the script's properties in
- DECLARATION order, the base script's first. That is knowable only for a
- section whose every key is `script` or a declared `@export`: an engine
- property (`resource_name`) is written before `script` in an order the
- sorted ClassDB snapshot does not keep, so such a section is left alone and
- counted, never guessed at.
-
-Everything is refused rather than approximated. A property whose type the
-script does not settle is OPAQUE — its floats are counted, and named only when
-no saver could have written them (`0.30`); an element type that is an enum, an
-inner class or an addon class is refused by name; an export with an accessor
-is refused whole, because the saver writes what the GETTER returns. A refused
-property is never partly rewritten.
-"""
-from __future__ import annotations
-
-import re
-from collections import Counter
-from dataclasses import dataclass, field
-
-from godot_devkit.godot.format import classdb
-from godot_devkit.godot.format.tscn import EXT_RESOURCE_KIND, Prop, Section, ext_index, script_path
-from godot_devkit.godot.format.tscn_document import mint_ext_id
-from godot_devkit.godot.format.value_order import OrderRefusal, rebuild_animations, sort_dicts
-from godot_devkit.godot.format.value_spelling import (
- COMPONENT_CTORS,
- FLOAT_CONTEXT,
- IDENT,
- NUMBER,
- OPAQUE_CONTEXT,
- PUNCT,
- STRING,
- VARIANT_CONTEXT,
- Token,
- ValueSyntaxError,
- apply_edits,
- bare_list,
- is_float_text,
- looks_noncanonical,
- matching,
- respell,
- scan_value,
- split_items,
- typed_array,
-)
-from godot_devkit.godot.index.gd_declarations import Declaration
-from godot_devkit.godot.index.gdscript import Resolution, ScriptIndex
-
-CHECKED_KINDS = ('resource', 'sub_resource')
-SCRIPT_PROP = 'script'
-SCRIPT_TYPE = 'Script'
-ASSIGN = '='
-ARRAY_OF_RE = re.compile(r'^Array\[(.+)\]$')
-UNTYPED_ARRAY = 'Array'
-UNTYPED_CONTAINERS = (UNTYPED_ARRAY, 'Dictionary')
-RESOURCE_HEADER = 'gd_resource'
-SPRITE_FRAMES = 'SpriteFrames'
-ANIMATIONS = 'animations'
-FLOAT_TYPE = 'float'
-LIST_DEFAULT = '['
-DICT_DEFAULT = '{'
-WRAP_OPEN = 'Array[{element}]('
-WRAP_CLOSE = ')'
-EXT_REF = 'ExtResource("{id}")'
-RESOURCE_REFS = ('ExtResource', 'SubResource')
-NULL = 'null'
-BOOLS = ('true', 'false')
-STRING_NAME_PREFIX = '&'
-NODE_PATH_CTOR = 'NodePath'
-# The integer-component constructors: a typed-array element of these is a
-# constructor like any other, its numbers are simply not floats.
-INT_CTORS = frozenset(('Vector2i', 'Vector3i', 'Vector4i', 'Rect2i'))
-SCALAR_ELEMENTS = frozenset(('int', 'float', 'bool', 'String', 'StringName', 'NodePath'))
-
-# Census reasons — NOT findings: what a parse cannot settle, counted so a PASS
-# says how much it did not judge.
-NO_SCRIPT = 'section has no script (engine resource — types and order not knowable)'
-SCRIPT_UNREADABLE = 'script not readable'
-SCRIPT_OPAQUE = 'script declares dynamic properties or an unresolved extends'
-NOT_DECLARED = 'not an @export of the script (engine built-in — type not knowable)'
-HAS_ACCESSOR = 'export has a setter/getter (the saver writes what the getter returns)'
-UNVERIFIED_FLOAT = 'float whose spelling depends on a type or precision a parse cannot see'
-OUTSIDE_GRAMMAR = 'value outside the grammar the respell reads'
-REFUSED = 'refused by name (the saver would re-spell it; the tool cannot prove how)'
-ORDER_UNKNOWABLE = 'section holds an engine property or an undeclared key (order not knowable)'
-ORDER_INTERLEAVED = 'section order drifts but a comment or blank line sits among its properties'
-ORDER_DUPLICATE = 'section assigns one key twice'
-
-
-@dataclass
-class Rewrite:
- """One property the saver would spell differently, and its new lines."""
- section: Section
- prop: Prop
- where: str
- lines: list[str] # same count as the property occupies
- changes: list[str] # `0.30 -> 0.3`, `wrap Array[int]`, ...
-
-
-@dataclass
-class Refusal:
- """A property or section the saver would rewrite that this tool cannot prove."""
- where: str
- key: str
- reason: str
-
-
-@dataclass
-class Reorder:
- """One section whose properties the saver writes in a different order."""
- section: Section
- where: str
- order: list[Prop]
- moved: list[tuple[Prop, int]] # each property whose position changes, 1-based
-
-
-@dataclass
-class Analysis:
- rewrites: list[Rewrite] = field(default_factory=list)
- restructures: list[Rewrite] = field(default_factory=list)
- reorders: list[Reorder] = field(default_factory=list)
- refusals: list[Refusal] = field(default_factory=list)
- added_exts: dict[str, str] = field(default_factory=dict) # script path -> minted id
-
-
-@dataclass(frozen=True)
-class _Slot:
- """What the declaration says about the numbers and lists in one value."""
- scalar: str | None = OPAQUE_CONTEXT
- elements: str | None = OPAQUE_CONTEXT
- element_type: str | None = None # T of a declared Array[T]
-
-
-def section_type(section: Section, sections: list[Section]) -> str | None:
- """The engine class a `[resource]` / `[sub_resource]` section builds."""
- if section.kind == 'resource':
- header = next((s for s in sections if s.kind == RESOURCE_HEADER), None)
- return header.attrs.get('type') if header is not None else None
- return section.attrs.get('type')
-
-
-def _unwrap(tokens: list[Token], text: str, edits: list, changes: list[str]) -> None:
- """`Array[T]([...])` on an UNTYPED `Array` export: the saver writes `[...]`."""
- element = typed_array(tokens, text)
- if element is None:
- return
- call = matching(tokens, 1) + 1
- edits.append((tokens[0].start, tokens[call].end, ''))
- edits.append((tokens[-1].start, tokens[-1].end, ''))
- changes.append(f'unwrap Array[{element}](...) (the export is an untyped Array)')
-
-
-def label(section: Section) -> str:
- if section.kind == 'resource':
- return '[resource]'
- return f'[{section.kind} id="{section.attrs.get("id", "?")}"]'
-
-
-def _slot(decl: Declaration | None) -> _Slot:
- """The contexts a declaration puts a value's positions in."""
- if decl is None:
- return _Slot()
- declared = decl.declared_type
- if declared is None:
- # `@export var x = 0.3` / `:= 0.3` — a float either way; an untyped or
- # inferred list or dictionary holds Variants.
- default = (decl.default or '').strip()
- if default.startswith((LIST_DEFAULT, DICT_DEFAULT)):
- return _Slot(elements=VARIANT_CONTEXT)
- try:
- tokens, _ = scan_value(default, 0)
- except ValueSyntaxError:
- return _Slot()
- if len(tokens) == 1 and tokens[0].kind == NUMBER and is_float_text(tokens[0].text):
- return _Slot(scalar=VARIANT_CONTEXT)
- return _Slot()
- if declared == FLOAT_TYPE:
- return _Slot(scalar=FLOAT_CONTEXT)
- if declared in UNTYPED_CONTAINERS:
- return _Slot(elements=VARIANT_CONTEXT)
- typed = ARRAY_OF_RE.match(declared)
- if typed:
- element = typed.group(1).strip()
- return _Slot(elements=FLOAT_CONTEXT if element == FLOAT_TYPE else OPAQUE_CONTEXT,
- element_type=element)
- return _Slot()
-
-
-def _is_call(item: list[Token], names) -> bool:
- return (len(item) >= 3 and item[0].kind == IDENT and item[0].text in names
- and item[1].text == '(' and matching(item, 1) == len(item) - 1)
-
-
-def _element_fits(element_type: str, is_object: bool, item: list[Token]) -> bool:
- """Is this list item already in the form the saver writes for `element_type`?"""
- if is_object:
- return ((len(item) == 1 and item[0].text == NULL)
- or (_is_call(item, RESOURCE_REFS) and len(item) == 4
- and item[2].kind == STRING))
- if element_type in COMPONENT_CTORS or element_type in INT_CTORS:
- return _is_call(item, (element_type,))
- kinds = [(t.kind, t.text if t.kind != STRING else '') for t in item]
- if element_type == 'int':
- return len(item) == 1 and item[0].kind == NUMBER and not is_float_text(item[0].text)
- if element_type == FLOAT_TYPE:
- return len(item) == 1 and item[0].kind == NUMBER
- if element_type == 'bool':
- return len(item) == 1 and item[0].kind == IDENT and item[0].text in BOOLS
- if element_type == 'String':
- return kinds == [(STRING, '')]
- if element_type == 'StringName':
- return kinds == [(PUNCT, STRING_NAME_PREFIX), (STRING, '')]
- if element_type == NODE_PATH_CTOR:
- return _is_call(item, (NODE_PATH_CTOR,)) and len(item) == 4 and item[2].kind == STRING
- return False
-
-
-class CanonicalAnalyzer:
- """Answers `analyze()` for every section of one parsed `.tres`."""
-
- def __init__(self, scripts: ScriptIndex) -> None:
- self.scripts = scripts
-
- def analyze(self, lines: list[str], sections: list[Section],
- census: Counter | None = None, *, spelling: bool = True,
- order: bool = True, structure: bool = True) -> Analysis:
- """-> what the saver would rewrite; everything unsettled lands in `census`.
-
- `lines` are the document's line contents — the spans every `Prop`
- indexes — so a rewrite is computed against the bytes, never against
- the parser's folded view of them.
- """
- census = Counter() if census is None else census
- ext = ext_index(sections)
- script_refs = self._script_refs(sections)
- analysis = Analysis()
- self._used_ids = set(ext)
- self._added = analysis.added_exts
- for section in sections:
- if section.kind not in CHECKED_KINDS:
- continue
- resolved, why = self._resolution(section, ext)
- if spelling:
- for entry in section.entries:
- if entry.key != SCRIPT_PROP:
- self._spell(lines, section, entry, resolved, why,
- script_refs, census, analysis)
- if structure:
- kind = section_type(section, sections)
- for entry in section.entries:
- if entry.key != SCRIPT_PROP:
- self._restructure(lines, section, kind, entry, census, analysis)
- if order:
- self._order(section, resolved, why, census, analysis)
- written = '\n'.join(line for item in analysis.rewrites for line in item.lines)
- analysis.added_exts = {script: ref_id for script, ref_id in self._added.items()
- if EXT_REF.format(id=ref_id) in written}
- return analysis
-
- # --- evidence -------------------------------------------------------------
- def _resolution(self, section: Section,
- ext: dict[str, dict]) -> tuple[Resolution | None, str | None]:
- script_rel = script_path(section, ext)
- if script_rel is None:
- return None, NO_SCRIPT
- if not self.scripts.has(script_rel):
- return None, SCRIPT_UNREADABLE
- resolved = self.scripts.resolve(script_rel)
- if resolved.opaque:
- return None, SCRIPT_OPAQUE
- return resolved, None
-
- @staticmethod
- def _script_refs(sections: list[Section]) -> dict[str, list[str]]:
- """`{script res:// path: [ext_resource ids]}` — how an element type is spelled."""
- refs: dict[str, list[str]] = {}
- for section in sections:
- if (section.kind == EXT_RESOURCE_KIND and section.attrs.get('type') == SCRIPT_TYPE
- and 'id' in section.attrs and 'path' in section.attrs):
- refs.setdefault(section.attrs['path'], []).append(section.attrs['id'])
- return refs
-
- def _element_spelling(self, element_type: str,
- script_refs: dict[str, list[str]]) -> tuple[str | None, bool, str]:
- """-> (how the saver spells `Array[T]`'s T, is it an object type, why not)."""
- if element_type in SCALAR_ELEMENTS or element_type in COMPONENT_CTORS \
- or element_type in INT_CTORS:
- return element_type, False, ''
- script = self.scripts.by_class.get(element_type)
- if script is not None:
- ids = script_refs.get(script, [])
- if len(ids) == 1:
- return EXT_REF.format(id=ids[0]), True, ''
- if ids:
- return None, True, (f'element type {element_type} is a script the file '
- f'has several ext_resources for — the saver would '
- f'choose one')
- # The saver adds an ext_resource under a random id and keeps any id
- # it reads, so a minted one is the form its next save leaves alone.
- if script not in self._added:
- self._added[script] = mint_ext_id(script, self._used_ids)
- self._used_ids.add(self._added[script])
- return EXT_REF.format(id=self._added[script]), True, ''
- if classdb.is_known(element_type):
- return element_type, True, ''
- return None, False, (f'element type {element_type} is not knowable by parse '
- f'(an enum, an inner class or an addon class)')
-
- # --- spelling -------------------------------------------------------------
- def _spell(self, lines: list[str], section: Section, entry: Prop,
- resolved: Resolution | None, why: str | None,
- script_refs: dict[str, list[str]], census: Counter,
- analysis: Analysis) -> None:
- where = label(section)
- raw = list(lines[entry.start:entry.end])
- text = '\n'.join(raw)
- start = raw[0].index(ASSIGN) + 1
- try:
- tokens, _ = scan_value(text, start)
- except ValueSyntaxError:
- census[OUTSIDE_GRAMMAR] += 1
- return
- decl = resolved.declarations.get(entry.key) if resolved is not None else None
- if decl is not None and decl.has_accessor:
- suspects = [t.text for t in tokens if t.kind == NUMBER
- and is_float_text(t.text) and looks_noncanonical(t.text)]
- if suspects:
- analysis.refusals.append(Refusal(where, entry.key, HAS_ACCESSOR))
- census[REFUSED] += 1
- elif any(t.kind == NUMBER for t in tokens):
- census[HAS_ACCESSOR] += 1
- return
- slot = _slot(decl)
- result = respell(tokens, text, slot.scalar, slot.elements)
- if decl is not None:
- unsettled = f'{decl.declared_type or "untyped"} export — precision or type unsettled'
- else:
- unsettled = why if resolved is None else NOT_DECLARED
- reasons = [f'{token} has no provable spelling ({unsettled})' for token in result.refused]
- changes = [f'{text[s:e]} -> {new}' for s, e, new in result.edits]
- edits = list(result.edits)
- if slot.element_type is not None:
- self._wrap(tokens, text, slot.element_type, script_refs, edits, changes, reasons)
- elif decl is not None and decl.declared_type == UNTYPED_ARRAY:
- _unwrap(tokens, text, edits, changes)
- if reasons:
- analysis.refusals.append(Refusal(where, entry.key, '; '.join(reasons)))
- census[REFUSED] += 1
- return
- if result.unverified:
- if decl is not None:
- reason = UNVERIFIED_FLOAT
- else:
- reason = why if resolved is None else NOT_DECLARED
- census[reason] += result.unverified
- if not edits:
- return
- rewritten = apply_edits(text, edits).split('\n')
- if len(rewritten) != len(raw): # an edit never adds a line
- census[OUTSIDE_GRAMMAR] += 1
- return
- analysis.rewrites.append(Rewrite(section, entry, where, rewritten, changes))
-
- def _wrap(self, tokens: list[Token], text: str, element_type: str,
- script_refs: dict[str, list[str]], edits: list, changes: list[str],
- reasons: list[str]) -> None:
- """Wrap a bare list on an `Array[T]` export the way the saver writes it."""
- span = bare_list(tokens)
- existing = None if span is not None else typed_array(tokens, text)
- if span is None and existing is None:
- return # not a list at all: not ours
- spelling, is_object, why = self._element_spelling(element_type, script_refs)
- if spelling is None:
- reasons.append(why)
- return
- if existing is not None:
- if existing != spelling:
- reasons.append(f'typed Array[{existing}], but the saver writes '
- f'Array[{spelling}] — retyping is not a respell')
- return
- items = split_items(tokens, *span)
- misfits = [text[item[0].start:item[-1].end] for item in items
- if not _element_fits(element_type, is_object, item)]
- if misfits:
- reasons.append(f'element(s) {", ".join(misfits)} are not in the form the '
- f'saver writes for {element_type} — conversion is not a respell')
- return
- opening = WRAP_OPEN.format(element=spelling)
- edits.append((tokens[0].start, tokens[0].start, opening))
- edits.append((tokens[-1].end, tokens[-1].end, WRAP_CLOSE))
- changes.append(f'wrap {opening}...{WRAP_CLOSE}')
-
- # --- structure ------------------------------------------------------------
- def _restructure(self, lines: list[str], section: Section, kind: str | None,
- entry: Prop, census: Counter, analysis: Analysis) -> None:
- """Item order inside one value: dictionary keys, SpriteFrames animations."""
- raw = list(lines[entry.start:entry.end])
- text = '\n'.join(raw)
- start = raw[0].index(ASSIGN) + 1
- changes: list[str] = []
- try:
- new = text
- if kind == SPRITE_FRAMES and entry.key == ANIMATIONS:
- new, changes = rebuild_animations(new, start)
- new, sorted_count = sort_dicts(new, start)
- except OrderRefusal as refusal:
- analysis.refusals.append(Refusal(label(section), entry.key, str(refusal)))
- census[REFUSED] += 1
- return
- if sorted_count:
- changes.append(f'keys sorted in {sorted_count} dictionar'
- f'{"y" if sorted_count == 1 else "ies"}')
- if new == text:
- return
- rewritten = new.split('\n')
- if len(rewritten) != len(raw) and not (kind == SPRITE_FRAMES and entry.key == ANIMATIONS):
- census[OUTSIDE_GRAMMAR] += 1
- return
- analysis.restructures.append(Rewrite(section, entry, label(section), rewritten, changes))
-
- # --- order ----------------------------------------------------------------
- def _order(self, section: Section, resolved: Resolution | None, why: str | None,
- census: Counter, analysis: Analysis) -> None:
- entries = section.entries
- if len(entries) < 2:
- return
- if resolved is None:
- census[f'order: {why}'] += 1
- return
- keys = [entry.key for entry in entries]
- if len(set(keys)) != len(keys):
- census[ORDER_DUPLICATE] += 1
- return
- rank = {name: position for position, name in enumerate(resolved.declarations)}
- if any(key != SCRIPT_PROP and key not in rank for key in keys):
- census[ORDER_UNKNOWABLE] += 1
- return
- ordered = sorted(entries, key=lambda entry: -1 if entry.key == SCRIPT_PROP
- else rank[entry.key])
- if [e.key for e in ordered] == keys:
- return
- body = section.body_end - (section.header_line + 1)
- if sum(entry.end - entry.start for entry in entries) != body:
- analysis.refusals.append(Refusal(label(section), '', ORDER_INTERLEAVED))
- census[ORDER_INTERLEAVED] += 1
- return
- moved = [(entry, ordered.index(entry) + 1)
- for position, entry in enumerate(entries) if ordered[position] is not entry]
- analysis.reorders.append(Reorder(section, label(section), ordered, moved))
diff --git a/src/godot_devkit/godot/index/resource_defaults.py b/src/godot_devkit/godot/index/resource_defaults.py
deleted file mode 100644
index db37ecd2..00000000
--- a/src/godot_devkit/godot/index/resource_defaults.py
+++ /dev/null
@@ -1,322 +0,0 @@
-"""resource_defaults.py — which `.tres` assignments Godot's writer would DROP.
-
-Two writers produce different-but-equivalent text for the same resource, and a
-repo that holds one form while the editor emits the other diffs forever:
-
- * **hand-authored** `.tres` spell every property out, defaults included;
- * **Godot's writer** omits any property whose value equals the declared
- default (`ResourceFormatSaverText` skips it), so `trigger = 0` for
- `@export var trigger: Trigger = Trigger.ALL_PLAYERS_DOWN` vanishes on the
- first editor save. Same meaning, different bytes, churn on every session.
-
-This module answers one question per assignment: **is this value PROVABLY the
-declared default?** Deleting such a line cannot change what loads — the
-initializer supplies the same value — which is what makes the fix safe in bulk
-where a load-and-re-save is not (that reorders properties, respells typed arrays
-and floats, mints `ext_resource` ids, and deletes every `;` comment in the file).
-
-Proof, not inference. Both sides normalise into one small CLOSED value language
-(bool / number / string / empty array / empty dict / null / numeric
-constructor), and only two values that both landed inside it are ever compared.
-Everything else — an accessor on the export, an engine built-in with no default
-table, a `preload()` default, an unresolvable `extends` — is censused as
-UNVERIFIED and left strictly alone. A missed redundancy costs a diff; a wrong
-one costs a data file.
-"""
-from __future__ import annotations
-
-import re
-from collections import Counter
-from dataclasses import dataclass
-
-from godot_devkit.godot.index.gd_declarations import Declaration
-from godot_devkit.godot.index.gdscript import Resolution, ScriptIndex
-from godot_devkit.godot.format.tscn import Prop, Section, ext_index, script_path
-from godot_devkit.godot.index import engine_defaults
-
-CHECKED_KINDS = ('resource', 'sub_resource')
-RESOURCE_HEADER = 'gd_resource'
-SCRIPT_PROP = 'script'
-PATH_FORM_KEY = '/'
-INTERNAL_PREFIX = '_'
-
-INT_RE = re.compile(r'^-?\d+$')
-FLOAT_RE = re.compile(r'^-?(?:\d+\.\d*|\.\d+|\d+)(?:[eE][-+]?\d+)?$')
-STRING_RE = re.compile(r'^"((?:[^"\\]|\\.)*)"$')
-STRING_NAME_RE = re.compile(r'^&"((?:[^"\\]|\\.)*)"$')
-TYPED_EMPTY_ARRAY_RE = re.compile(r'^Array\[.+\]\(\s*\[\s*\]\s*\)$')
-TYPED_EMPTY_DICT_RE = re.compile(r'^Dictionary\[.+\]\(\s*\{\s*\}\s*\)$')
-CTOR_RE = re.compile(r'^([A-Z]\w*)\(([^()]*)\)$')
-QUALIFIED_RE = re.compile(r'^([A-Za-z_]\w*)\.([A-Za-z_]\w*)$')
-BARE_NAME_RE = re.compile(r'^[A-Za-z_]\w*$')
-DOTTED_RE = re.compile(r'^[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)+$')
-ARRAY_TYPE_RE = re.compile(r'^Array(\[.+\])?$')
-DICT_TYPE_RE = re.compile(r'^Dictionary(\[.+\])?$')
-
-# The constructors whose arguments are plain numbers, so two spellings of the
-# same value ("Vector2(0, 0)" vs "Vector2.ZERO") compare by arithmetic.
-NUMERIC_CTORS = frozenset((
- 'Vector2', 'Vector2i', 'Vector3', 'Vector3i', 'Vector4', 'Vector4i',
- 'Rect2', 'Rect2i', 'Color', 'Quaternion', 'Plane',
-))
-# GDScript's zero value per declared type — what an `@export var x: T` with no
-# initializer holds, and therefore what the writer compares against.
-ZERO_BY_TYPE: dict[str, tuple] = {
- 'int': ('num', 0.0),
- 'float': ('num', 0.0),
- 'bool': ('bool', False),
- 'String': ('str', ''),
- 'StringName': ('str', ''),
- 'NodePath': ('str', ''),
- 'Array': ('arr',),
- 'Dictionary': ('dict',),
- 'Vector2': ('ctor', 'Vector2', (0.0, 0.0)),
- 'Vector2i': ('ctor', 'Vector2i', (0.0, 0.0)),
- 'Vector3': ('ctor', 'Vector3', (0.0, 0.0, 0.0)),
- 'Vector3i': ('ctor', 'Vector3i', (0.0, 0.0, 0.0)),
- 'Vector4': ('ctor', 'Vector4', (0.0, 0.0, 0.0, 0.0)),
- 'Vector4i': ('ctor', 'Vector4i', (0.0, 0.0, 0.0, 0.0)),
- 'Rect2': ('ctor', 'Rect2', (0.0, 0.0, 0.0, 0.0)),
- 'Rect2i': ('ctor', 'Rect2i', (0.0, 0.0, 0.0, 0.0)),
- 'Color': ('ctor', 'Color', (0.0, 0.0, 0.0, 1.0)),
-}
-# Named constants a default is allowed to spell. Deliberately short: each entry
-# is a claim about the engine, and a wrong one deletes a line that mattered.
-NAMED_CONSTANTS: dict[str, tuple] = {
- 'Vector2.ZERO': ('ctor', 'Vector2', (0.0, 0.0)),
- 'Vector2.ONE': ('ctor', 'Vector2', (1.0, 1.0)),
- 'Vector2i.ZERO': ('ctor', 'Vector2i', (0.0, 0.0)),
- 'Vector2i.ONE': ('ctor', 'Vector2i', (1.0, 1.0)),
- 'Vector3.ZERO': ('ctor', 'Vector3', (0.0, 0.0, 0.0)),
- 'Vector3.ONE': ('ctor', 'Vector3', (1.0, 1.0, 1.0)),
- 'Color.WHITE': ('ctor', 'Color', (1.0, 1.0, 1.0, 1.0)),
- 'Color.BLACK': ('ctor', 'Color', (0.0, 0.0, 0.0, 1.0)),
- 'Color.TRANSPARENT': ('ctor', 'Color', (0.0, 0.0, 0.0, 0.0)),
- 'Vector2.UP': ('ctor', 'Vector2', (0.0, -1.0)),
- 'Vector2.DOWN': ('ctor', 'Vector2', (0.0, 1.0)),
- 'Vector2.LEFT': ('ctor', 'Vector2', (-1.0, 0.0)),
- 'Vector2.RIGHT': ('ctor', 'Vector2', (1.0, 0.0)),
-}
-# `const A = preload(...)` chains are walked, not guessed; the cap only stops a
-# cyclic `const A = preload(self)` from spinning.
-MAX_SYMBOL_HOPS = 6
-
-NO_SCRIPT = 'section has no script (engine resource — no default table)'
-SCRIPT_UNREADABLE = 'script not readable'
-SCRIPT_OPAQUE = 'script declares dynamic properties or an unresolved extends'
-NOT_DECLARED = 'not an @export of the script (engine built-in — no default table)'
-HAS_ACCESSOR = 'export has a setter/getter (stored value need not be the assigned one)'
-DEFAULT_UNKNOWN = 'default expression outside the comparable value language'
-VALUE_UNKNOWN = 'assigned value outside the comparable value language'
-DIFFERS = 'value differs from the default (correctly written out)'
-
-
-@dataclass
-class Redundant:
- """One assignment Godot's writer would omit — and the evidence for saying so."""
- section: Section
- prop: Prop
- where: str # `[resource]` / `[sub_resource id="X"]`
- default: str # the declared default, as the .gd spells it
-
-
-def _unescape(text: str) -> str:
- return text.replace('\\"', '"').replace('\\\\', '\\')
-
-
-def _numbers(argument_text: str) -> tuple[float, ...] | None:
- parts = [p.strip() for p in argument_text.split(',') if p.strip()]
- values: list[float] = []
- for part in parts:
- if not FLOAT_RE.match(part):
- return None
- values.append(float(part))
- return tuple(values)
-
-
-def literal(text: str) -> tuple | None:
- """Normalise ONE spelling — .tres or GDScript — into the closed language.
-
- Returns None for anything outside it, which is the refusal path: the caller
- must never compare a value it could not fully parse.
- """
- value = text.strip()
- if value in ('true', 'false'):
- return ('bool', value == 'true')
- if value == 'null':
- return ('null',)
- if INT_RE.match(value):
- # Exact, not float(): two distinct ints past 2**53 normalize to the
- # same float, and a collision here means a value deleted as
- # "redundant" that was not. Python's `==` is exact across int/float,
- # so ('num', 5) still equals ('num', 5.0).
- return ('num', int(value))
- if FLOAT_RE.match(value):
- return ('num', float(value))
- match = STRING_RE.match(value) or STRING_NAME_RE.match(value)
- if match:
- return ('str', _unescape(match.group(1)))
- if value == '[]' or TYPED_EMPTY_ARRAY_RE.match(value):
- return ('arr',)
- if value == '{}' or TYPED_EMPTY_DICT_RE.match(value):
- return ('dict',)
- if value in NAMED_CONSTANTS:
- return NAMED_CONSTANTS[value]
- ctor = CTOR_RE.match(value)
- if ctor and ctor.group(1) in NUMERIC_CTORS:
- numbers = _numbers(ctor.group(2))
- if numbers is not None:
- return ('ctor', ctor.group(1), numbers)
- return None
-
-
-def resolve_symbol(scripts: ScriptIndex, resolution: Resolution, name: str,
- hops: int = 0) -> tuple | None:
- """Normalise a NAMED default — an enum member, a `const`, or either of those
- reached through a `const Alias = preload(...)` — or None if unprovable.
-
- `RoomType.Type.COMBAT` is the shape that makes this worth having: an alias
- to another script, an enum inside it, a member inside that. Every hop is
- evidence from a file we parsed; nothing is guessed.
- """
- if hops > MAX_SYMBOL_HOPS:
- return None
- member = resolution.enum_members.get(name)
- if member is not None:
- return ('num', float(member))
- expression = resolution.consts.get(name)
- if expression is not None:
- return literal(expression) or resolve_symbol(
- scripts, resolution, expression, hops + 1)
- head, separator, tail = name.partition('.')
- if not separator:
- return None
- target = resolution.aliases.get(head) or scripts.by_class.get(head)
- if target is None or not scripts.has(target):
- return None
- return resolve_symbol(scripts, scripts.resolve(target), tail, hops + 1)
-
-
-def default_of(decl: Declaration, resolution: Resolution,
- scripts: ScriptIndex, enum_types: frozenset[str]) -> tuple | None:
- """The declared default of one export, normalised — or None if unprovable."""
- if decl.default is None:
- return _zero_of(decl.declared_type, enum_types)
- parsed = literal(decl.default)
- if parsed is not None:
- return parsed
- if QUALIFIED_RE.match(decl.default) or BARE_NAME_RE.match(decl.default) \
- or DOTTED_RE.match(decl.default):
- return resolve_symbol(scripts, resolution, decl.default)
- return None
-
-
-def _zero_of(declared_type: str | None, enum_types: frozenset[str]) -> tuple | None:
- """`@export var x: T` with no initializer holds T's zero value."""
- if declared_type is None:
- return None # untyped, uninitialised: Variant null,
- # but the writer's view is not provable
- if declared_type in ZERO_BY_TYPE:
- return ZERO_BY_TYPE[declared_type]
- if ARRAY_TYPE_RE.match(declared_type):
- return ('arr',)
- if DICT_TYPE_RE.match(declared_type):
- return ('dict',)
- if declared_type in enum_types:
- return ('num', 0.0)
- if declared_type[:1].isupper():
- return ('null',) # an Object/Resource type defaults null
- return None
-
-
-def _label(section: Section) -> str:
- if section.kind == 'resource':
- return '[resource]'
- return f'[{section.kind} id="{section.attrs.get("id", "?")}"]'
-
-
-class DefaultAnalyzer:
- """Answers `analyze()` for every section of one parsed `.tres`."""
-
- def __init__(self, scripts: ScriptIndex) -> None:
- self.scripts = scripts
-
- def analyze(self, sections: list[Section],
- census: Counter | None = None) -> list[Redundant]:
- """-> the redundant assignments; everything else lands in `census`."""
- census = Counter() if census is None else census
- ext = ext_index(sections)
- header = next((s for s in sections if s.kind == RESOURCE_HEADER), None)
- findings: list[Redundant] = []
- for section in sections:
- if section.kind not in CHECKED_KINDS:
- continue
- kind = (header.attrs.get('type') if header is not None else None) \
- if section.kind == 'resource' else section.attrs.get('type')
- findings += self._analyze_section(section, ext, census, kind)
- return findings
-
- def _analyze_section(self, section: Section, ext: dict[str, dict],
- census: Counter, kind: str | None = None) -> list[Redundant]:
- entries = [e for e in section.entries if not _is_skipped_key(e.key)]
- census['engine-synthesized key (script / _x / a/b form)'] += (
- len(section.entries) - len(entries))
- if not entries:
- return []
- script_rel = script_path(section, ext)
- if script_rel is None:
- return self._engine_defaults(section, entries, kind, census)
- if not self.scripts.has(script_rel):
- census[SCRIPT_UNREADABLE] += len(entries)
- return []
- resolved = self.scripts.resolve(script_rel)
- if resolved.opaque:
- census[SCRIPT_OPAQUE] += len(entries)
- return []
- enum_types = frozenset(
- key.split('.', 1)[0] for key in resolved.enum_members if '.' in key)
- findings: list[Redundant] = []
- for entry in entries:
- decl = resolved.declarations.get(entry.key)
- if decl is None:
- census[NOT_DECLARED] += 1
- continue
- if decl.has_accessor:
- census[HAS_ACCESSOR] += 1
- continue
- declared = default_of(decl, resolved, self.scripts, enum_types)
- if declared is None:
- census[DEFAULT_UNKNOWN] += 1
- continue
- assigned = literal(entry.value)
- if assigned is None:
- census[VALUE_UNKNOWN] += 1
- continue
- if assigned != declared:
- census[DIFFERS] += 1
- continue
- findings.append(Redundant(section, entry, _label(section),
- decl.default or f'{decl.declared_type}()'))
- return findings
-
-
- @staticmethod
- def _engine_defaults(section: Section, entries: list[Prop], kind: str | None,
- census: Counter) -> list[Redundant]:
- """An engine resource: elide what EQUALS a vendored engine default."""
- findings: list[Redundant] = []
- for entry in entries:
- default = engine_defaults.default_of(kind, entry.key)
- if default is None:
- census[NO_SCRIPT] += 1
- elif entry.value.strip() == default:
- findings.append(Redundant(section, entry, _label(section),
- f'{default}, the {kind} engine default'))
- else:
- census[DIFFERS] += 1
- return findings
-
-
-def _is_skipped_key(key: str) -> bool:
- return (key == SCRIPT_PROP or PATH_FORM_KEY in key
- or key.startswith(INTERNAL_PREFIX))
diff --git a/src/godot_devkit/godot/index/shader_uniforms.py b/src/godot_devkit/godot/index/shader_uniforms.py
deleted file mode 100644
index 07bf2971..00000000
--- a/src/godot_devkit/godot/index/shader_uniforms.py
+++ /dev/null
@@ -1,117 +0,0 @@
-"""shader_uniforms.py — the `shader_parameter/*` lines a windowed editor save writes for a ShaderMaterial.
-
-A windowed Godot 4.7 editor writes EVERY material uniform of the material's
-shader, in declaration order, each with its value — the shader's default when
-the material sets none. (A headless save writes `null` instead; the windowed
-form is the one people produce, so it is the target.) Samplers and `instance`
-/ `global` uniforms are not written. Read from the `.gdshader` text, never by
-compiling it; measured on a 4.7.2 save and pinned by the pairs under
-`tests/fixtures/editor_parity/`:
-
- float = 0.75 -> 0.75 (no default -> 0.0)
- int = 3 -> 3
- bool = true -> true
- vec2/3/4 / ivec2/3/4 -> Vector2(1, 0.5) / Vector2i(2, 3) ...
- vec3/vec4 : source_color -> Color(r, g, b, a) (a vec3 gets alpha 1)
-
-Anything else — a preprocessor directive, an array, a default that is not a
-literal, a type or a missing default not listed above — raises
-`UniformRefusal`: the tool says it cannot prove the line rather than writing one.
-"""
-from __future__ import annotations
-
-import re
-
-from godot_devkit.godot.format.value_spelling import (
- COMPONENT_CONTEXT,
- FLOAT_CONTEXT,
- canonical_float,
-)
-
-BLOCK_COMMENT = re.compile(r'/\*.*?\*/', re.S)
-LINE_COMMENT = re.compile(r'//[^\n]*')
-PREPROCESSOR = re.compile(r'^\s*#', re.M)
-STATEMENT = re.compile(r'[^;{}]*;')
-UNIFORM = re.compile(r'^\s*(?:(global|instance)\s+)?uniform\s+(\w+)\s+(\w+)\s*(\[[^\]]*\])?'
- r'\s*(?::\s*([^=]*?))?\s*(?:=\s*(.*?))?\s*;$', re.S)
-NUMBER = re.compile(r'^[-+]?(?:\d+\.\d*|\.\d+|\d+)(?:[eE][-+]?\d+)?$')
-INT = re.compile(r'^[-+]?\d+$')
-CALL = re.compile(r'^(\w+)\s*\((.*)\)$', re.S)
-SOURCE_COLOR = 'source_color'
-VECTORS = {'vec2': ('Vector2', 2, False), 'vec3': ('Vector3', 3, False),
- 'vec4': ('Vector4', 4, False), 'ivec2': ('Vector2i', 2, True),
- 'ivec3': ('Vector3i', 3, True), 'ivec4': ('Vector4i', 4, True)}
-COLOR_SIZES = (3, 4)
-OPAQUE_ALPHA = '1'
-
-
-class UniformRefusal(ValueError):
- """The editor would write this material's parameters; the tool cannot prove how."""
-
-
-def _float(text: str, style: str) -> str:
- if not NUMBER.match(text):
- raise UniformRefusal(f'default {text!r} is not a number literal')
- spelled = canonical_float(float(text), style)
- if spelled is None:
- raise UniformRefusal(f'default {text!r} has no build-independent spelling')
- return spelled
-
-
-def _int(text: str) -> str:
- if not INT.match(text):
- raise UniformRefusal(f'default {text!r} is not an int literal')
- return str(int(text))
-
-
-def _vector(kind: str, hints: str, default: str) -> str:
- call = CALL.match(default)
- args = [a.strip() for a in call.group(2).split(',')] if call else []
- ctor, size, integral = VECTORS[kind]
- if call is None or call.group(1) != kind or len(args) != size:
- raise UniformRefusal(f'default {default!r} is not a {kind}() of {size} literals')
- parts = [_int(a) if integral else _float(a, COMPONENT_CONTEXT) for a in args]
- if SOURCE_COLOR in hints:
- if integral or size not in COLOR_SIZES:
- raise UniformRefusal(f'{kind} : source_color is not a measured form')
- return f'Color({", ".join(parts + [OPAQUE_ALPHA] * (4 - size))})'
- return f'{ctor}({", ".join(parts)})'
-
-
-def _spell(kind: str, hints: str, default: str | None) -> str:
- if kind == 'float':
- return _float(default, FLOAT_CONTEXT) if default is not None else '0.0'
- if default is None:
- raise UniformRefusal(f'a {kind} uniform with no default is not a measured form')
- if kind == 'int':
- return _int(default)
- if kind == 'bool':
- if default not in ('true', 'false'):
- raise UniformRefusal(f'default {default!r} is not a bool literal')
- return default
- if kind in VECTORS:
- return _vector(kind, hints, default)
- raise UniformRefusal(f'uniform type {kind} is not a measured form')
-
-
-def material_parameters(source: str) -> list[tuple[str, str]]:
- """-> `[(uniform name, value as the editor writes it)]`, declaration order."""
- code = LINE_COMMENT.sub('', BLOCK_COMMENT.sub('', source))
- if PREPROCESSOR.search(code):
- raise UniformRefusal('the shader uses the preprocessor — its uniforms are not '
- 'readable without compiling it')
- params = []
- for statement in STATEMENT.findall(code):
- match = UNIFORM.match(statement)
- if match is None:
- continue
- scope, kind, name, array, hints, default = match.groups()
- if scope is not None or kind.startswith(('sampler', 'isampler', 'usampler')):
- continue
- if array is not None:
- raise UniformRefusal(f'uniform {name} is an array — not a measured form')
- try:
- params.append((name, _spell(kind, hints or '', default.strip() if default else None)))
- except UniformRefusal as refusal:
- raise UniformRefusal(f'uniform {name}: {refusal}') from refusal
- return params
diff --git a/src/godot_devkit/godot/index/uid_index.py b/src/godot_devkit/godot/index/uid_index.py
index 87d9db06..dc809dc3 100644
--- a/src/godot_devkit/godot/index/uid_index.py
+++ b/src/godot_devkit/godot/index/uid_index.py
@@ -1,8 +1,8 @@
"""uid_index.py — where a Godot resource's uid actually lives.
Godot 4 stores a resource's uid in a different place for every resource kind,
-and both `scene canonicalize` (restoring refs a packed save dropped) and
-`scene add --script` (minting a new ref) need the same answer. Four routes, in
+and `scene add --script` (minting a new ref) and `check uid` need the same
+answer. Four routes, in
order of authority:
res://x.gd -> the `x.gd.uid` sidecar
@@ -108,8 +108,8 @@ def from_repo_references(self, res_path: str) -> str | None:
def project_uids(root: Path) -> set[int]:
"""Every uid a file under `root` already claims for itself: the header of a
- .tscn/.tres, a .uid sidecar, an .import file. What `scene new` must not
- mint twice — Godot resolves a duplicated uid to whichever file it met first."""
+ .tscn/.tres, a .uid sidecar, an .import file. What `check addon --fix` must
+ not mint twice — Godot resolves a duplicated uid to whichever file it met first."""
taken: set[int] = set()
for file in walk.descendants(root, walk.Kind.FILE):
if file.suffix not in UID_HOMES:
diff --git a/src/godot_devkit/godot/install.py b/src/godot_devkit/godot/install.py
index 35593a25..6b5b8f86 100644
--- a/src/godot_devkit/godot/install.py
+++ b/src/godot_devkit/godot/install.py
@@ -297,7 +297,7 @@
# it, so the retirement is not silence (a file that looks installed and that
# nothing maintains any more).
UID_GUARD = '.github/workflows/uid-guard.yml'
-# `warnings.sh` became `check warnings`, a parse of project.godot (4.0).
+# `warnings.sh` retired in 4.0; Project Settings hold the warning levels.
WARNINGS_RUNNER = 'tools/dev/runners/warnings.sh'
SCENARIO_RUNNER = 'tools/dev/runners/scenario.sh'
RETIRED: tuple[str, ...] = (UID_GUARD, WARNINGS_RUNNER, SCENARIO_RUNNER)
@@ -317,12 +317,8 @@ def retired_line(rel: str) -> str:
"""
head = f'[install] retired: {rel} is no longer written by {COMMAND} — '
if rel == WARNINGS_RUNNER:
- if 'warnings' in all_roster():
- return (head + '`check warnings` replaces it in `check all`; '
- 'it was left in place and is safe to delete')
- return (head + '`check warnings` is omitted from this repo\'s '
- '`[roster] checks`; it was left in place — keep it or add '
- '"warnings" to that roster')
+ return (head + 'set analyzer warning levels in Project Settings; it '
+ 'was left in place and is safe to delete')
if rel == SCENARIO_RUNNER:
return (head + '`integration.sh` now runs native GUT tests; it was left '
'in place and is safe to delete after updating Makefile.tiers')
@@ -359,6 +355,13 @@ def retired_line(rel: str) -> str:
# never written, for the same reason as the hook entry: those files are
# hand-maintained.
CONTEXT_BLOCK = (
+ 'Godot native first: the editor\'s building blocks (scenes, containers, '
+ 'themes, resources) before code. A .tscn is the layout, with authored '
+ 'sample content; code only binds live data. "Data-driven" means data the '
+ 'editor writes (scenes and resources), never UI trees built in code. '
+ 'Run the scene, not the game: a test or proof opens the one scene it cares '
+ 'about with sample data; booting the whole game is for a few real journeys '
+ 'and performance measurements. '
'Use named class_name types and scene-node ownership for gameplay state. '
'Keep gameplay autoloads near zero; reserve them for a few app-lifetime '
'services such as save slots and settings. '
diff --git a/src/godot_devkit/godot/installables/Makefile.tiers b/src/godot_devkit/godot/installables/Makefile.tiers
index a3baa7c0..8181aff6 100644
--- a/src/godot_devkit/godot/installables/Makefile.tiers
+++ b/src/godot_devkit/godot/installables/Makefile.tiers
@@ -184,7 +184,7 @@ render: ## Draw a scene (or SHEET= as a contact sheet) to a PNG (LOCAL, nee
@test -n "$(OUT)" && test -n "$(SCENE)$(SHEET)" || { echo "usage: make render SCENE= OUT= [RECT=x,y,w,h] | make render SHEET= OUT="; exit 2; }
@bash $(GDK_RUNNERS_DIR)/render.sh $(if $(SHEET),--sheet "$(SHEET)","$(SCENE)") --out "$(OUT)" $(if $(RECT),--rect "$(RECT)")
-# The runtime half of `check ui-layout`. The runner asks the godot-devkit
+# Text fit at runtime. The runner asks the godot-devkit
# command for the [ui_fit] plan (pure parse; 0 scenes FAILS there), boots it,
# and draws a scene with findings to .ui-fit-reports/ through render.sh.
ui-fit: ## Boot the [ui_fit] scenes (default ui/gallery/) pseudolocalized at the smallest and largest window; report spills and cut text
diff --git a/src/godot_devkit/godot/installables/skills/godot-101/SKILL.md b/src/godot_devkit/godot/installables/skills/godot-101/SKILL.md
index 87dc466f..905d40e3 100644
--- a/src/godot_devkit/godot/installables/skills/godot-101/SKILL.md
+++ b/src/godot_devkit/godot/installables/skills/godot-101/SKILL.md
@@ -77,6 +77,7 @@ This mapping is this skill's guidance, not a quote from the book. Read the patte
| Spatial partition | The physics server (`Area2D`, space queries) and `TileMapLayer` |
| Dirty flag | Notifications and property setters |
| Type object | A `Resource` subclass as the data type |
+| Data-driven UI | An authored `.tscn` with sample content plus Resources; code only binds live data (`reference/ui.md`) |
## 5. The mental model
diff --git a/src/godot_devkit/godot/installables/skills/godot-101/reference/testing-and-debugging.md b/src/godot_devkit/godot/installables/skills/godot-101/reference/testing-and-debugging.md
index f714d287..1eb4f4da 100644
--- a/src/godot_devkit/godot/installables/skills/godot-101/reference/testing-and-debugging.md
+++ b/src/godot_devkit/godot/installables/skills/godot-101/reference/testing-and-debugging.md
@@ -2,6 +2,10 @@
## Tests
+**Run the scene, not the game.** A test or proof opens the one scene it cares about with sample
+data (`godot --path . res://x.tscn`, Run Current Scene in the editor, GUT headless). Booting the
+whole game is for a few real journeys and performance measurements.
+
Godot has no built-in unit test runner. Use a test framework addon, for example GUT (Godot Unit
Test) or another from the Asset Library. Pick one per project and run it headless in CI. Test a
scene or a resource with the smallest setup that shows the rule: instantiate one scene, add it to
diff --git a/src/godot_devkit/godot/installables/skills/godot-101/reference/ui.md b/src/godot_devkit/godot/installables/skills/godot-101/reference/ui.md
index a5042c48..078c4565 100644
--- a/src/godot_devkit/godot/installables/skills/godot-101/reference/ui.md
+++ b/src/godot_devkit/godot/installables/skills/godot-101/reference/ui.md
@@ -1,5 +1,16 @@
# UI (Godot 4.7)
+## Principles
+
+1. **Godot native first.** Use the editor's building blocks (scenes, containers, themes,
+ resources) before code.
+2. **A `.tscn` is the layout**, with authored sample content; code only binds live data.
+3. **"Data-driven" means data the editor writes** (scenes and resources), never UI trees built
+ in code.
+4. **Run the scene, not the game.** A test or proof opens the one scene it cares about with
+ sample data (`godot --path . res://x.tscn`, Run Current Scene, GUT headless). Booting the
+ whole game is for a few real journeys and performance measurements.
+
Surface rules (HUD, menu, info screen, modal, transient, readouts), layout contracts and visual
proof live in the `godot-ui` skill; do not repeat them here. This file is the engine vocabulary.
diff --git a/src/godot_devkit/godot/installables/skills/godot-devkit/SKILL.md b/src/godot_devkit/godot/installables/skills/godot-devkit/SKILL.md
index 7b39aeb9..6e18ddc5 100644
--- a/src/godot_devkit/godot/installables/skills/godot-devkit/SKILL.md
+++ b/src/godot_devkit/godot/installables/skills/godot-devkit/SKILL.md
@@ -1,48 +1,98 @@
---
name: godot-devkit
-description: Use before you read, edit or write a Godot .tscn or .tres file, or write a script to do it. Covers moving, adding, removing, renaming or reparenting nodes, setting properties, signal connections, painting or erasing TileMapLayer cells, renaming a class/method/signal or moving a resource path, editor save churn (files the Godot editor re-writes on save), diffing a scene, and code-size stats. Maps each job to its godot-devkit verb; never hand-edit scene text or write an ad-hoc parser.
+description: Use before you read, edit or write a Godot .tscn or .tres file, or write a script to do it. Covers reading a scene or tile grid without loading the whole file, changing a scene or resource headless with Godot itself (nodes, properties, signals, tiles, new scenes), the narrow `scene set`/`scene add` writer for inherited scenes with overrides, finding real usages of a class/method/signal/resource, diffing a scene, and code-size stats. Never hand-edit scene text or write an ad-hoc parser.
---
# godot-devkit
-godot-devkit reads and edits `.tscn`/`.tres` as text, without booting Godot. Each write verb
-touches only what you ask for, refuses rather than mangles, and is idempotent. Every write verb
-takes `--dry-run`. Run it as the project pins it (`uv run godot-devkit …`). With no pin, use
+godot-devkit reads `.tscn`/`.tres` as text without booting Godot, and ships the gates and
+runners a Godot project runs. Godot writes scenes; the devkit keeps one narrow writer,
+`scene set` and `scene add`, for the case Godot's headless save gets wrong. Run it as the project pins
+it (`uv run godot-devkit …`). With no pin, use
`uvx --index https://cdowin.github.io/godot-devkit/simple/ godot-devkit …`.
`godot-devkit --help` and `godot-devkit --help` give the full contract.
## The rule
-When a Godot editor is running with a live MCP bridge (for example godot-ai), edit scenes
-through the bridge, so the editor writes the file. Headless agents, generators and CI use devkit
-write verbs, then `scene canonicalize --respell --order`, so the editor finds nothing to re-write.
-`check canonical` guards both. Never hand-edit scene text with `sed` or a script, and never write
-your own `.tscn` parser or compare tool.
+Godot writes its own files. With an editor running and a live MCP bridge (for example
+godot-ai), edit through the bridge. With no editor, run a headless GDScript (below), except
+on an inherited scene that carries overrides or local materials: there use `scene set` and
+`scene add`. Never hand-edit scene text with `sed` or a script, and never write your own
+`.tscn` parser or compare tool.
+
+## Change a scene headless with Godot itself
+
+A short GDScript loads the scene, edits nodes, tiles or properties with the normal API, and
+saves it with `ResourceSaver`. Godot writes its own format, uids and ordering, so nothing
+re-writes it later.
+
+```gdscript
+# tools/dev/edit_hud.gd
+extends SceneTree
+
+func _initialize() -> void: # not _init(): autoloads do not exist yet there
+ var path := "res://ui/hud.tscn"
+ var root := (load(path) as PackedScene).instantiate()
+ var ammo := Label.new()
+ ammo.name = "Ammo"
+ ammo.text = "30" # authored sample content
+ root.get_node("Margin/Row").add_child(ammo)
+ ammo.owner = root # a node with no owner is not saved
+ # Tiles: root.get_node("Ground").set_cell(Vector2i(4, 2), 0, Vector2i(1, 0))
+ var packed := PackedScene.new()
+ packed.pack(root)
+ var err := ResourceSaver.save(packed, path)
+ root.free()
+ quit(0 if err == OK else 1)
+```
+
+- **Run it through the project's sandboxed engine wrapper** (a `make` target that sources
+ `gdk_runners.sh` and calls `gdk_sandbox_home`), never a raw `godot --headless`: the script
+ boots the project's autoloads.
+- **Fail on `SCRIPT ERROR`.** Godot exits 0 when the edit script does not compile, so the
+ wrapper must grep the output for `SCRIPT ERROR` and fail.
+- **Make it idempotent.** Find the node before you add it, so a second run changes nothing.
+- **The first save normalizes a hand-written scene:** Godot adds or rewrites `unique_id` on
+ every node. Expect that diff once; review it apart from your change.
+- Prove the result with `scene-diff --git HEAD`. A `.tres` works the same way:
+ `load`, change it, `ResourceSaver.save(res, path)`.
+
+| Change | Godot API |
+|---|---|
+| Set a property | `node.set(&"prop", value)` |
+| Add, remove, move a node | `add_child` + `owner = root`, `queue_free`/`remove_child`, `reparent` |
+| Wire a signal | `node.connect(&"pressed", target.method, CONNECT_PERSIST)` |
+| New scene, inherited scene | `PackedScene.pack(new_root)`; an inherited one instantiates the base with `GEN_EDIT_STATE_MAIN_INHERITED` |
+| Paint or clear tiles | `TileMapLayer.set_cell`, `erase_cell`, `set_cells_terrain_connect` |
+| Move a resource | the editor's FileSystem dock; headless, refs are uid-in-refs, so Godot finds the moved file by uid and writes the new path at the next save |
+
+## When to use `scene set` and `scene add` instead
+
+A headless load-and-save of an INHERITED scene drops what it overrides: shader parameters
+on local materials and tile overrides do not survive `instantiate` → `pack` → save. For
+those scenes, change only the lines you mean with the devkit, which edits its own lines and
+nothing else:
+
+| Need | Verb |
+|---|---|
+| Set a property | `scene set ` (`--resource`, `--sub-resource `) |
+| Add a node | `scene add ` or `--instance res://x.tscn` |
+
+Both take `--dry-run`, refuse rather than guess, and are no-ops the second time.
## Which verb
| Need | Verb |
|---|---|
-| See a scene without reading it | `scene [--paths] [--props]` (node paths are write input) |
-| Set a property | `scene set ` (`--resource`, `--sub-resource ` for `.tres` bodies) |
-| Add, remove, rename a node | `scene add ` (`--instance res://x.tscn`), `scene rm`, `scene rename` |
-| Move a node to a new parent | `scene reparent ` |
-| Move a node in space | `scene set position "Vector2(x, y)"` |
-| Wire a signal | `scene connect` / `scene disconnect ` |
-| New scene | `scene new --root ` or `--inherits res://base.tscn` |
+| See a scene without reading it | `scene [--paths] [--props]` |
| Read a tile grid | `tiles [--layer N] [--cols] [--rows] [--at X,Y] [--region …]` |
-| Paint or clear tiles | `tiles paint --layer N (--at X,Y \| --region …) --tile SRC/AX,AY`, `tiles erase …` |
-| Editor save churn | `scene canonicalize ... --respell --order --elide-defaults` |
-| Gate churn in CI | `check canonical` (spelling, order) and `check defaults` (values equal to the `@export` default) |
-| Rename a class, method, signal, autoload | `refs --rename [--dry-run]` |
-| After `git mv` of a resource | `refs --retarget ` |
| Find real usages | `refs [--tests]` |
| Prove an edit | `scene-diff --git HEAD` |
+| Files nothing references | `orphans [--tests]` |
| Code size | `stats [...] [--by dir] [--json]` |
+| Localization template | `pot [--check]` |
## Habits
-- Read with `scene --paths`, write with the path it printed, prove with `scene-diff`.
-- Exit 0 is pass, 1 is findings or a refusal, 2 is a usage or config error. Read a refusal and
- fix the input; do not work around it by hand.
-- A job no verb does is a gap in devkit. Say so in your report; do not script around it.
+- Read with `scene --paths`, change with Godot (or `scene set`/`add`), prove with `scene-diff`.
+- Exit 0 is pass, 1 is findings, 2 is a usage or config error.
diff --git a/src/godot_devkit/godot/installables/skills/godot-ui/SKILL.md b/src/godot_devkit/godot/installables/skills/godot-ui/SKILL.md
index 315fe97a..d2706b13 100644
--- a/src/godot_devkit/godot/installables/skills/godot-ui/SKILL.md
+++ b/src/godot_devkit/godot/installables/skills/godot-ui/SKILL.md
@@ -5,6 +5,18 @@ description: Design, implement, or review native Godot menus, HUDs, dialogs, car
# Godot UI: component contract to native proof
+## Principles
+
+1. **Godot native first.** Use the editor's building blocks (scenes, containers, themes,
+ resources) before code.
+2. **A `.tscn` is the layout**, with authored sample content, so it opens in the editor and
+ renders on its own. Code only binds live data into the nodes the scene already has.
+3. **"Data-driven" means data the editor writes** (scenes and resources), never UI trees built
+ in code. `add_child` and `.new()` in a UI script are for real lists of runtime items only.
+4. **Run the scene, not the game.** A test or proof opens the one scene it cares about with
+ sample data (`godot --path . res://x.tscn`, Run Current Scene, GUT headless). Booting the
+ whole game is for a few real journeys and performance measurements.
+
Treat the user's task and approved wireframe as the design input. Identify the spatial and
interaction intent before changing a dimension. A stable panel that obscures the task still fails.
Use this workflow for the affected surface; reuse existing contracts for a small edit.
@@ -30,10 +42,7 @@ Use this workflow for the affected surface; reuse existing contracts for a small
4. Reuse the nearest native shell, row, theme and gallery before you add a component.
5. Optional skills `ui-patterns`, `visual-layout` and `usability-review` add principles and audits.
Their web capture sizes do not replace the project's Godot viewports and input modes.
-6. Enforcement: the opt-in `godot-devkit check ui-layout` fails an action button outside the action
- bar, a button inside a modal scroll, and a Label with no overflow policy. Configure it in
- `godot-devkit.toml` under `[ui_layout]`. It is static; it does not prove fit or usability.
-7. A game keeps its parts gallery at `/gallery/` and runs `make ui-fit` on it: each
+6. A game keeps its parts gallery at `/gallery/` and runs `make ui-fit` on it: each
scene boots pseudolocalized at the smallest and largest window and reports `spills` and `cut`.
## Define the component contract
@@ -57,8 +66,8 @@ inside its graph region. Distinguish these cases instead of forbidding every siz
## Translate into Godot deliberately
-- Author layout in scenes using the project's conventions. In a `Container`, the parent manages
- child positions and sizes; hand-set offsets are not a substitute for the right hierarchy.
+- Author the node tree in the `.tscn` (principle 2). In a `Container`, the parent manages child
+ positions and sizes; hand-set offsets are not a substitute for the right hierarchy.
- `custom_minimum_size` is a floor, not a fixed rectangle. Content, fonts and visible children can
contribute a larger minimum. `Expand`/`Fill` alone do not establish a bounded scroll viewport.
- Choose the sizing/minimum-propagation behavior for each allocated region. Put scroll boundaries
diff --git a/src/godot_devkit/godot/installables/skills/godot-ui/reference/modal-dialog.md b/src/godot_devkit/godot/installables/skills/godot-ui/reference/modal-dialog.md
index 10be99a4..e6526507 100644
--- a/src/godot_devkit/godot/installables/skills/godot-ui/reference/modal-dialog.md
+++ b/src/godot_devkit/godot/installables/skills/godot-ui/reference/modal-dialog.md
@@ -33,41 +33,34 @@ Body text scrolls in its own `ScrollContainer`. Keep button labels short; never
## Reference ActionBar
-```gdscript
-class_name ActionBar
-extends HBoxContainer
-## Orders children by role: destructive (far left), spacer, cancel, primary.
+The bar is an authored scene, `action_bar.tscn`; the order is in the file, not in code:
-enum Role { DESTRUCTIVE, CANCEL, PRIMARY }
+```
+ActionBar (HBoxContainer)
+├── Destructive (Button, text "Delete save") far left; hidden when the dialog has none
+├── Spacer (Control, size_flags_horizontal = Expand Fill, mouse_filter = Ignore)
+├── Cancel (Button, text "Cancel")
+└── Primary (Button, text "Confirm")
+```
-var _spacer := Control.new()
+The sample labels make the scene render on its own. The dialog's script only binds live data:
-func _ready() -> void:
- _spacer.size_flags_horizontal = Control.SIZE_EXPAND_FILL
- _spacer.mouse_filter = Control.MOUSE_FILTER_IGNORE
- add_child(_spacer)
- child_entered_tree.connect(func(_n: Node) -> void: _sort.call_deferred())
- _sort()
+```gdscript
+class_name ActionBar
+extends HBoxContainer
-func _sort() -> void:
- var buttons := get_children().filter(func(n: Node) -> bool: return n != _spacer)
- buttons.sort_custom(func(a: Node, b: Node) -> bool: return _role(a) < _role(b))
- for i in buttons.size():
- move_child(buttons[i], i)
- move_child(_spacer, buttons.filter(func(n: Node) -> bool: return _role(n) == Role.DESTRUCTIVE).size())
+@onready var _destructive: Button = $Destructive
+@onready var _primary: Button = $Primary
-func _role(node: Node) -> int:
- var role: Variant = node.get(&"ui_role") # exported Role on the button's script
- return Role.PRIMARY if role == null else int(role)
+func bind(primary_text: String, destructive_text: String = "") -> void:
+ _primary.text = primary_text
+ _destructive.text = destructive_text
+ _destructive.visible = not destructive_text.is_empty()
```
-The role property name must match `role_property` in `[ui_layout]`. Adapt the enum to the
-roles you configure in `action_roles`.
-
## Proof to capture
- Capture the dialog with a short and a very long body: the bar stays in place.
-- Run `godot-devkit check ui-layout` (`action-outside-bar`, `button-in-modal-scroll`).
- Drive `ui_cancel` and `ui_accept` through real input and confirm the result and focus return.
## Sources
diff --git a/src/godot_devkit/godot/installables/skills/godot-ui/reference/readouts-and-text.md b/src/godot_devkit/godot/installables/skills/godot-ui/reference/readouts-and-text.md
index 15affdef..f41cbc18 100644
--- a/src/godot_devkit/godot/installables/skills/godot-ui/reference/readouts-and-text.md
+++ b/src/godot_devkit/godot/installables/skills/godot-ui/reference/readouts-and-text.md
@@ -26,8 +26,6 @@ Choose 1 policy per slot and write it down:
maximum height with a scroll.
A Label with neither is a defect. These are Label properties; a Theme cannot supply them.
-`godot-devkit check ui-layout` reports a Label under a configured panel or modal that sets
-neither.
## Focus and input
diff --git a/src/godot_devkit/godot/installables/ui_fit.gd b/src/godot_devkit/godot/installables/ui_fit.gd
index 6e22d3ae..33348fc9 100644
--- a/src/godot_devkit/godot/installables/ui_fit.gd
+++ b/src/godot_devkit/godot/installables/ui_fit.gd
@@ -1,7 +1,6 @@
extends SceneTree
## UI fit — boot each listed scene under stress and report what spills or is
-## cut. The runtime half of `godot-devkit check ui-layout`, which only reads
-## scene text.
+## cut.
##
## Run by ui_fit.sh — never invoke godot directly: the wrapper owns the
## user:// sandbox, the bound and the plan. Layout and font metrics resolve
diff --git a/src/godot_devkit/godot/read/refs.py b/src/godot_devkit/godot/read/refs.py
index bf3743be..414fd02a 100644
--- a/src/godot_devkit/godot/read/refs.py
+++ b/src/godot_devkit/godot/read/refs.py
@@ -9,7 +9,7 @@
untyped `entity`, `emit_signal(&"died")`, `connect("died", …)`). Those are
not proven references, and they are not nothing either: a zero verdict prints
only when BOTH buckets are empty, because zero is the answer that gets a
-signal deleted (#19). `refs --retarget` never acts on a dynamic hit.
+signal deleted (#19).
It also indexes what Godot itself wires, which no `.gd` line spells: a
`[connection signal=… method=…]` in a scene (typed, `scene connections`), and
an autoload NAME from `project.godot [autoload]`, indexed like a `class_name`
@@ -88,8 +88,7 @@ def _relpath(root: Path, path: Path) -> str:
def exclude_prefixes() -> tuple[str, ...]:
"""The `[refs] exclude_prefixes` scope, guarded — one key, one scope,
- shared by `refs` and `refs --retarget` (write side) so the two can never
- disagree about what the refs family looks at."""
+ the one key the refs family reads."""
return str_tuple(config_section(CONFIG_SECTION), CONFIG_SECTION,
'exclude_prefixes', DEFAULT_EXCLUDE)
@@ -218,27 +217,6 @@ def _dynamic_pattern(symbol: str, autoload: bool = False) -> re.Pattern:
PRELOAD_LOAD = re.compile(r'(?:preload|load)\(\s*"([^"]+)"\s*\)')
-def typed_spans(symbol: str, stripped: str, global_name: bool = False) -> set[tuple[int, int]]:
- """The `(start, end)` of every `symbol` token the typed arms claim on one
- comment-stripped `.gd` line — the definition, typed-ref and call/emit
- grammar `scan_gd_files` counts the line by, down to the token. What
- `refs --rename` may rewrite is exactly this set, so the read side and the
- write side can never disagree about what a reference is. `global_name`:
- the symbol is an autoload or a `class_name` — see `_global_pattern`."""
- token = re.compile(rf'(? dict[str, list[Hit]]:
"""One pass per `.gd` file, feeding all four line-based scan kinds at
@@ -365,18 +343,13 @@ def scan_autoloads(root: Path, symbol: str) -> list[Hit]:
@dataclass
class Scan:
- """One symbol's hits over the `refs` scope, with the walk behind them —
- the census a reader prints, and the files a writer re-reads."""
+ """One symbol's hits over the `refs` scope, with the walk behind them."""
searched: walk.Walk
- gd_files: list[Path]
- scene_files: list[Path]
hits: dict[str, list[Hit]]
- global_name: bool # an autoload or a `class_name` — see `_global_pattern`
def scan(root: Path, symbol: str, include_tests: bool) -> Scan:
- """Every hit of `symbol`, by kind — what `refs ` prints and what
- `refs --rename` rewrites or refuses on."""
+ """Every hit of `symbol`, by kind — what `refs ` prints."""
exclude = exclude_prefixes()
gd_walk = iter_files(root, exclude, GD_GLOB, include_tests)
scene_walk = walk.Walk(())
@@ -389,10 +362,7 @@ def scan(root: Path, symbol: str, include_tests: bool) -> Scan:
hits_by_kind = scan_gd_files(root, symbol, gd_files, autoload=bool(autoload_hits))
hits_by_kind[DEFINITION_KIND][:0] = autoload_hits
hits_by_kind.update(scan_scene_refs(root, symbol, scene_files))
- class_name_pattern = _class_name_pattern(symbol)
- global_name = bool(autoload_hits) or any(
- class_name_pattern.search(hit.text) for hit in hits_by_kind[DEFINITION_KIND])
- return Scan(gd_walk.merge(scene_walk), gd_files, scene_files, hits_by_kind, global_name)
+ return Scan(gd_walk.merge(scene_walk), hits_by_kind)
def run(symbol: str, include_tests: bool) -> int:
@@ -422,7 +392,7 @@ def run(symbol: str, include_tests: bool) -> int:
print(f'\n## {title} ({len(hits)})')
if kind == DYNAMIC_KIND:
print('# textual hits on a receiver the index cannot type — not '
- 'proven references; `refs --retarget` does not act on these')
+ 'proven references')
for hit in hits:
location = f'{hit.path}:{hit.line}' if hit.line else hit.path
print(f' {location} {hit.text}')
diff --git a/src/godot_devkit/godot/write/__init__.py b/src/godot_devkit/godot/write/__init__.py
index a098f109..e1139813 100644
--- a/src/godot_devkit/godot/write/__init__.py
+++ b/src/godot_devkit/godot/write/__init__.py
@@ -1,4 +1,4 @@
-"""godot.write — the scene-surgery verbs, plus the one rendering they share.
+"""godot.write — the narrow scene writer and `pot`, plus the rendering they share.
Every write verb reports its work the same way: a unified diff with one line
of context — enough to see the edit, never a re-dump of the scene. That shape
@@ -6,8 +6,7 @@
The UTF-8 refusal is the other shared output shape: a write verb never
rewrites bytes it cannot read, and every verb says so in the same sentence —
-`load_scene_or_refuse` / `utf8_refusal_reason` below are its one home, so a
-tenth write verb gets the contract for free instead of pasting the paragraph.
+`load_scene_or_refuse` / `utf8_refusal_reason` below are its one home.
"""
from __future__ import annotations
@@ -26,12 +25,7 @@ def render_diff(before: str, after: str, name: str) -> str:
def utf8_refusal_reason(err: UnicodeDecodeError) -> str:
- """The one sentence for bytes no write verb can read.
-
- `refs_retarget` composes it under a SKIPPED line (a sweep steps over the
- file and keeps going); the single-file verbs put it under REFUSED via
- `load_scene_or_refuse`. Same fact, one spelling.
- """
+ """The one sentence for bytes no write verb can read."""
return (f'not valid UTF-8 ({err.reason} at byte {err.start}) — '
f'refusing to rewrite bytes this tool cannot read')
diff --git a/src/godot_devkit/godot/write/autoloads_edit.py b/src/godot_devkit/godot/write/autoloads_edit.py
deleted file mode 100644
index 999b2a1b..00000000
--- a/src/godot_devkit/godot/write/autoloads_edit.py
+++ /dev/null
@@ -1,306 +0,0 @@
-"""autoloads_edit.py — declare or remove one autoload in project.godot, in place.
-
- godot-devkit autoloads add [--dry-run]
- godot-devkit autoloads rm [--dry-run]
-
-The write half of the `autoloads` census, under the same noun the way `scene`
-and `tiles` carry theirs. `add` writes `Name="*res://path"` — the `*` is an
-enabled singleton, what the editor's Autoload tab writes — as the last entry of
-`[autoload]`, creating the section at the end of the file when there is none.
-`rm` deletes that one entry, and the section with it only when nothing but
-blank lines would be left. Every other byte of `project.godot` is carried
-through verbatim, its own line endings included.
-
-Refusals (exit 1, nothing written, the reason named): a name that is not an
-identifier, or that the editor refuses because it is an engine class or a
-project script's `class_name` — a script the editor sees, so not one under a
-dot-prefixed directory or a directory holding `.gdignore`, and `addons/`
-included; a path that is not `res://`, escapes the project,
-is not in its canonical spelling (`//`, `/./`, `/../`, a trailing `/` — the
-refusal names the canonical one), differs from the file's on-disk spelling only
-by case (a case-insensitive filesystem finds it, a case-sensitive export does
-not — the refusal names the on-disk one), or names no file on disk; a name already
-declared with a DIFFERENT path (the line names it), or with the same path but
-DISABLED (no `*`, so no singleton exists to be `unchanged`); a name or an
-`[autoload]` section declared more than once. The same `add` twice
-is a no-op that says `unchanged`, and so is `rm` of a name nobody declares —
-exit 0, because models retry. A `project.godot` that is missing or is not
-UTF-8 is exit 2: there is no project here to edit.
-"""
-from __future__ import annotations
-
-import argparse
-import posixpath
-import re
-import sys
-from pathlib import Path, PurePosixPath
-
-from godot_devkit.core import apply, walk
-from godot_devkit.core.project import repo_root
-from godot_devkit.godot.format import classdb
-from godot_devkit.godot.format.tscn import parse_lines, strip_quotes
-from godot_devkit.godot.format.tscn_document import read_scene_text
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.godot.read.autoloads import PROJECT_GODOT
-from godot_devkit.godot.write import file_exists, render_diff, utf8_refusal_reason
-
-VERBS = ('add', 'rm')
-ADD, RM = VERBS
-SECTION_KIND = 'autoload'
-HEADER = f'[{SECTION_KIND}]'
-RES_PREFIX = 'res://'
-ENABLED = '*'
-GD_SUFFIX = '.gd'
-HIDDEN = '.'
-GDIGNORE = '.gdignore'
-PARENT = '..'
-# ASCII on purpose: a narrower rule than the editor's never writes a name the
-# editor would refuse, and the refusal says what was expected.
-IDENTIFIER = re.compile(r'[A-Za-z_][A-Za-z0-9_]*\Z')
-# Bytes that cannot sit unescaped inside the quoted value this verb writes.
-UNQUOTABLE = ('"', '\\', '\n', '\r')
-UNCHANGED = 'unchanged'
-CR = '\r'
-LF = '\n'
-EXIT_OK = 0
-EXIT_REFUSED = 1
-EXIT_USAGE = 2
-
-
-class Refused(Exception):
- """The edit cannot be made correctly — say why, write nothing, exit 1."""
-
-
-def _entry(name: str, res_path: str) -> str:
- return f'{name}="{ENABLED}{res_path}"'
-
-
-def _declared_path(value: str) -> str:
- """`"*res://x.gd"` -> `res://x.gd`; the same reading the census makes."""
- return strip_quotes(value).lstrip(ENABLED)
-
-
-def _editor_sees(root: Path, path: Path) -> bool:
- """Godot's own scan rule: a directory whose name starts with `.` (`.git/`,
- `.godot/`, a `.claude/` worktree) or that holds a `.gdignore` hides
- everything below it. Nothing else does — an addon's class_name is one the
- editor knows."""
- folder = root
- for part in path.relative_to(root).parts[:-1]:
- folder = folder / part
- if part.startswith(HIDDEN) or file_exists(folder / GDIGNORE):
- return False
- return True
-
-
-def _check_name(root: Path, name: str) -> None:
- """The editor's refusals, as far as this package can know them: an
- identifier, and not a name a script already resolves to something else."""
- if not IDENTIFIER.match(name):
- raise Refused(f'{name!r} is not a valid autoload name '
- f'(expected an identifier: [A-Za-z_][A-Za-z0-9_]*)')
- if classdb.is_known(name):
- raise Refused(f'{name} is an engine class — the editor refuses an '
- f'autoload that shadows it; pick another name')
- scripts = walk.descendants(root, walk.Kind.FILE, suffix=GD_SUFFIX,
- pattern=f'*{GD_SUFFIX}').filter(
- lambda path: _editor_sees(root, path), walk.SkipReason.EXCLUDED_PATH)
- index = ScriptIndex(root, [path.relative_to(root).as_posix() for path in scripts])
- owner = index.by_class.get(name)
- if owner is not None:
- raise Refused(f'{name} is the class_name of {owner} — the editor refuses '
- f'an autoload that shadows it; pick another name')
-
-
-def _case_mismatch(root: Path, rel: str) -> str | None:
- """The on-disk spelling of `rel` when one differs from it only by case.
-
- Read off the tree's own listing, never `stat`: a case-insensitive
- filesystem answers `stat` for any spelling, so the listing is the only
- place the real one is written down. An exact match wins — a case-sensitive
- tree may hold both spellings."""
- want = rel.casefold()
- other = None
- for path in walk.descendants(root):
- found = path.relative_to(root).as_posix()
- if found == rel:
- return None
- if other is None and found.casefold() == want:
- other = found
- return other
-
-
-def _check_path(root: Path, res_path: str) -> None:
- if not res_path.startswith(RES_PREFIX):
- raise Refused(f'{res_path!r} is not a {RES_PREFIX} path')
- rel = res_path[len(RES_PREFIX):]
- canonical = posixpath.normpath(rel) if rel else rel
- if (not rel or rel.startswith('/')
- or PurePosixPath(canonical).parts[:1] == (PARENT,)):
- raise Refused(f'{res_path} does not name a file inside the project')
- if canonical != rel:
- # Normalising silently would write a spelling the user did not type;
- # leaving it would make one file two autoload paths.
- raise Refused(f'{res_path} is not the canonical spelling — '
- f'write {RES_PREFIX}{canonical}')
- if any(char in res_path for char in UNQUOTABLE):
- raise Refused(f'{res_path!r} holds a character this verb cannot '
- f'write unescaped (one of {" ".join(map(repr, UNQUOTABLE))})')
- # Before the existence check, so a case-sensitive filesystem names the
- # on-disk spelling too, rather than calling the file missing.
- spelled = _case_mismatch(root, rel)
- if spelled is not None:
- raise Refused(f'{res_path} is spelled {RES_PREFIX}{spelled} on disk — '
- f'a case-sensitive export would not find it; '
- f'write {RES_PREFIX}{spelled}')
- if not file_exists(root / rel):
- raise Refused(f'{res_path} does not exist on disk ({root / rel})')
-
-
-def _autoload_section(parts: list[str]):
- """The one `[autoload]` section, None when absent; two is a refusal."""
- sections = parse_lines(parts)
- found = [s for s in sections if s.kind == SECTION_KIND]
- if len(found) > 1:
- raise Refused(f'{HEADER} is declared {len(found)} times — '
- f'refusing to pick one')
- if not found:
- return None, sections
- return found[0], sections
-
-
-def _the_entry(section, name: str):
- """The one entry declaring `name`, None when undeclared; two is a refusal."""
- matches = [e for e in section.entries if e.key == name]
- if len(matches) > 1:
- raise Refused(f'{name} is declared {len(matches)} times in {HEADER} — '
- f'refusing to pick one')
- return matches[0] if matches else None
-
-
-def plan_add(text: str, name: str, res_path: str) -> tuple[str, str]:
- """(new text, note). The text is unchanged when the entry already exists."""
- crlf = CR + LF in text
- cr = CR if crlf else ''
- parts = text.split(LF)
- section, _ = _autoload_section(parts)
- entry = _entry(name, res_path)
- if section is None:
- # Godot's own layout: a blank line between sections, one after the
- # header. Always the separator, so `rm` removing exactly one restores
- # the file whatever its tail looked like.
- eol = cr + LF
- lead = eol if text and not text.endswith(LF) else ''
- block = [HEADER, '', entry]
- if text:
- block.insert(0, '')
- added = ''.join(line + eol for line in block)
- # A file with no final newline keeps having none, so `rm` restores it.
- if lead:
- added = added[:-len(eol)]
- return text + lead + added, f'new {HEADER} section'
- existing = _the_entry(section, name)
- if existing is not None:
- declared = _declared_path(existing.value)
- if declared == res_path:
- if not strip_quotes(existing.value).startswith(ENABLED):
- raise Refused(f'{name} is declared but disabled (no `{ENABLED}`) — '
- f'`autoloads rm {name}` then add to enable it')
- return text, f'{UNCHANGED} (already declared: {declared})'
- raise Refused(f'{name} is already declared with {declared} — '
- f'`autoloads rm {name}` first to point it elsewhere')
- parts.insert(section.body_end, entry + cr)
- return LF.join(parts), ''
-
-
-def plan_rm(text: str, name: str) -> tuple[str, str]:
- """(new text, note). The text is unchanged when nothing declares `name`."""
- parts = text.split(LF)
- section, sections = _autoload_section(parts)
- existing = _the_entry(section, name) if section is not None else None
- if existing is None:
- return text, f'{UNCHANGED} (not declared)'
- following = [s.header_line for s in sections if s.header_line > section.header_line]
- at_eof = not following
- # The phantom '' after a final newline is not a line: keep it, so the file
- # keeps its last newline.
- end = following[0] if following else len(parts) - (1 if text.endswith(LF) else 0)
- rest = [line for index, line in enumerate(parts[section.header_line + 1:end],
- start=section.header_line + 1)
- if not existing.start <= index < existing.end]
- if any(line.strip() for line in rest):
- del parts[existing.start:existing.end]
- return LF.join(parts), ''
- start = section.header_line
- # A section at the end of the file takes its one separator line with it —
- # the inverse of `add` creating it; mid-file, that line separates the
- # section before from the one after and stays.
- if at_eof and start > 0 and not parts[start - 1].strip():
- start -= 1
- del parts[start:end]
- return LF.join(parts), f'{HEADER} section removed (it held only {name})'
-
-
-def _build_parser() -> argparse.ArgumentParser:
- parser = argparse.ArgumentParser(
- prog='godot-devkit autoloads', description=__doc__,
- formatter_class=argparse.RawDescriptionHelpFormatter)
- subs = parser.add_subparsers(dest='verb', required=True)
- for verb in VERBS:
- sub = subs.add_parser(verb)
- sub.add_argument('name', help='the autoload (singleton) name')
- if verb == ADD:
- sub.add_argument('path', help='the script or scene, as res://...')
- sub.add_argument('--dry-run', action='store_true',
- help='print the unified diff instead of writing')
- return parser
-
-
-def _read(path: Path, verb: str) -> str | None:
- """The file's text, endings intact — or None with the exit-2 line printed."""
- try:
- return read_scene_text(path)
- except UnicodeDecodeError as err:
- reason = utf8_refusal_reason(err)
- except OSError as err:
- reason = (f'cannot read it — run from inside a Godot repo '
- f'({err.strerror or err})')
- print(f'godot-devkit autoloads {verb}: {path}: {reason}', file=sys.stderr)
- return None
-
-
-def main(argv: list[str]) -> int:
- args = _build_parser().parse_args(argv)
- root = repo_root()
- path = root / PROJECT_GODOT
- before = _read(path, args.verb)
- if before is None:
- return EXIT_USAGE
- try:
- if args.verb == ADD:
- _check_name(root, args.name)
- _check_path(root, args.path)
- after, note = plan_add(before, args.name, args.path)
- else:
- after, note = plan_rm(before, args.name)
- except Refused as err:
- print(f'REFUSED {PROJECT_GODOT}: {err}')
- return EXIT_REFUSED
-
- label = f'{args.verb} {PROJECT_GODOT} {args.name}'
- if after == before:
- print(f'{label} {note}')
- return EXIT_OK
- if args.dry_run:
- print(render_diff(before, after, PROJECT_GODOT), end='')
- else:
- try:
- apply.raise_on_error(apply.write(path, after))
- except OSError as err:
- print(f'REFUSED {PROJECT_GODOT}: cannot write it ({err})')
- return EXIT_REFUSED
- shown = _entry(args.name, args.path) if args.verb == ADD else args.name
- tail = ''.join(f' ({part})' for part in (note, 'dry run' if args.dry_run else '')
- if part)
- print(f'{args.verb} {PROJECT_GODOT} {shown}{tail}')
- return EXIT_OK
diff --git a/src/godot_devkit/godot/write/editor_layout.py b/src/godot_devkit/godot/write/editor_layout.py
deleted file mode 100644
index b0e1a36e..00000000
--- a/src/godot_devkit/godot/write/editor_layout.py
+++ /dev/null
@@ -1,371 +0,0 @@
-"""editor_layout.py — the FILE-level layout Godot 4.7's text saver writes.
-
-`scene canonicalize --order` runs these after the property-level passes; `check
-canonical` runs them on a scratch copy and reports what they would change, so
-the gate flags exactly what the fixer fixes. Each was measured on an editor save
-and is pinned by a pair under `tests/fixtures/editor_parity/`:
-
-* **header** — `load_steps=` is never written (`.tscn` and `.tres`); a
- `.tres` whose `[resource]` script has a `class_name` carries
- `script_class=""` right after `type=`, and one whose script has none
- carries no `script_class`.
-* **ext_resources** — one contiguous block, no blank line inside, sorted by
- id in natural order, letters compared upper-cased, whatever order they
- were written in (`1` < `6_hpjp2` < `charms` < `charm_roller`).
-* **sub_resources** — in the order the saver first REACHES each one: walk the
- `[resource]` (or every `[node]`, in file order) property by property — a
- resource section's properties sorted by NAME, not as written — and a
- sub_resource's own references come before it. The walk reads each value as
- written, so a dictionary is walked in its written key order — the order the
- NEXT save walks a file whose keys are already sorted. SpriteFrames
- `animations` is walked by name, the order the engine rebuilds it in.
-
-What is not proven is refused by name and left alone: a comment among the
-lines that would move, an ext_resource with a body, a sub_resource nothing
-references (the saver would DROP it — a deletion is not a reorder).
-"""
-from __future__ import annotations
-
-import re
-from pathlib import Path
-
-from godot_devkit.godot.format.tscn import (
- COMMENT_CHAR,
- EXT_RESOURCE_KIND,
- HEADER_ATTR,
- NODE_KIND,
- RESOURCE_REF,
- Section,
- ext_index,
- join_path,
- ref_path,
- script_path,
-)
-from godot_devkit.godot.format.tscn_document import TscnDocument, mint_unique_id
-from godot_devkit.godot.format.value_order import OrderRefusal, animations_in_engine_order
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.godot.index.shader_uniforms import UniformRefusal, material_parameters
-
-SUB_RESOURCE_KIND = 'sub_resource'
-RESOURCE_KIND = 'resource'
-HEADER_KINDS = ('gd_scene', 'gd_resource')
-RESOURCE_HEADER = 'gd_resource'
-SCENE_HEADER = 'gd_scene'
-ID_PRECEDES = ('name', 'type', 'parent', 'index')
-SHADER_MATERIAL = 'ShaderMaterial'
-SHADER_PROP = 'shader'
-PARAM_PREFIX = 'shader_parameter/'
-RES_PREFIX = 'res://'
-TOOL_ANNOTATION = re.compile(r'^@tool\b', re.M)
-RESOURCE_DEFAULT = re.compile(r'^(?:pre)?load\("([^"]+)"\)$')
-LOAD_STEPS = re.compile(r' load_steps=\d+')
-TYPE_ATTR = re.compile(r'\btype="[^"]*"')
-SCRIPT_CLASS_ATTR = re.compile(r' script_class="[^"]*"')
-DIGITS = re.compile(r'\d+|\D')
-SPRITE_FRAMES = 'SpriteFrames'
-ANIMATIONS = 'animations'
-SUB = 'Sub'
-
-
-def _header(doc: TscnDocument) -> Section | None:
- return next((s for s in doc.sections if s.kind in HEADER_KINDS), None)
-
-
-def drop_load_steps(doc: TscnDocument) -> list[str]:
- header = _header(doc)
- if header is None or 'load_steps' not in header.attrs:
- return []
- line = doc.lines[header.header_line]
- doc.replace_lines(header.header_line, header.header_line + 1, [LOAD_STEPS.sub('', line)])
- return [' HEADER load_steps= dropped (Godot 4.7 never writes it)']
-
-
-def restore_script_class(doc: TscnDocument, scripts: ScriptIndex) -> list[str]:
- """`script_class=` on a `.tres` header, from the `[resource]` script's `class_name`."""
- header = _header(doc)
- body = next((s for s in doc.sections if s.kind == RESOURCE_KIND), None)
- if header is None or header.kind != RESOURCE_HEADER or body is None:
- return []
- script = script_path(body, ext_index(doc.sections))
- have = header.attrs.get('script_class')
- have = have.strip('"') if have is not None else None
- if script is None:
- want = None
- elif not scripts.has(script):
- if have is None:
- return []
- return [f' UNRESOLVED header script_class: {script} is not readable — left as written']
- else:
- want = scripts.by_path[script].class_name
- if want == have:
- return []
- line = doc.lines[header.header_line]
- line = SCRIPT_CLASS_ATTR.sub('', line)
- if want is not None:
- match = TYPE_ATTR.search(line)
- if match is None:
- return [' UNRESOLVED header has no type= to place script_class after — left as written']
- line = f'{line[:match.end()]} script_class="{want}"{line[match.end():]}'
- doc.replace_lines(header.header_line, header.header_line + 1, [line])
- return [f' HEADER script_class: {have or "(none)"} -> {want or "(none)"}']
-
-
-def natural_key(text: str) -> tuple:
- """Godot's `naturalnocasecmp_to`: digit runs compare as numbers, letters UPPER-cased.
-
- Upper-casing puts `_` after every letter: `charms` < `charm_roller`.
- """
- return tuple((ord('0'), int(part)) if part.isdigit() else (ord(part.upper()), 0)
- for part in DIGITS.findall(text))
-
-
-def sort_ext_resources(doc: TscnDocument) -> list[str]:
- exts = [s for s in doc.sections if s.kind == EXT_RESOURCE_KIND]
- if not exts:
- return []
- first, last = exts[0].header_line, exts[-1].header_line
- region = doc.lines[first:last + 1]
- heads = {s.header_line for s in exts}
- others = [i for i in range(first, last + 1) if i not in heads and doc.lines[i].strip()]
- if any(s.entries for s in exts) or others:
- return [' UNRESOLVED ext_resource block holds a comment, a body or another section '
- '— order left as written']
- ids = [s.attrs.get('id', '') for s in exts]
- if len({natural_key(i) for i in ids}) != len(ids):
- return [' UNRESOLVED two ext_resource ids tie in natural order — order left as written']
- ordered = sorted(exts, key=lambda s: natural_key(s.attrs.get('id', '')))
- lines = [doc.lines[s.header_line] for s in ordered]
- if lines == region:
- return []
- doc.replace_lines(first, last + 1, lines)
- report = []
- if [s.attrs.get('id') for s in ordered] != ids:
- report.append(f' EXT ORDER {len(ids)} ext_resource(s) sorted by id')
- if len(region) != len(lines):
- report.append(f' EXT ORDER {len(region) - len(lines)} blank line(s) inside the '
- f'ext_resource block dropped')
- return report
-
-
-def _refs(section: Section, kind: str | None) -> list[str]:
- """SubResource ids a section references, in the order the saver walks them."""
- ids = []
- entries = section.entries
- if section.kind in (RESOURCE_KIND, SUB_RESOURCE_KIND):
- entries = sorted(entries, key=lambda entry: entry.key)
- for entry in entries:
- value = entry.value
- if kind == SPRITE_FRAMES and entry.key == ANIMATIONS:
- value = animations_in_engine_order(value, 0)
- ids += [m.group(2) for m in RESOURCE_REF.finditer(value) if m.group(1) == SUB]
- return ids
-
-
-def first_use_order(doc: TscnDocument) -> list[str]:
- """Sub_resource ids in the order the saver reaches them. Raises OrderRefusal."""
- header = _header(doc)
- subs = {s.attrs.get('id'): s for s in doc.sections if s.kind == SUB_RESOURCE_KIND}
- order: list[str] = []
- seen: set[str] = set()
-
- def visit(sub_id: str) -> None:
- if sub_id in seen:
- return
- if sub_id not in subs:
- raise OrderRefusal(f'SubResource("{sub_id}") names no sub_resource')
- seen.add(sub_id)
- for ref in _refs(subs[sub_id], subs[sub_id].attrs.get('type')):
- visit(ref)
- order.append(sub_id)
-
- for section in doc.sections:
- if section.kind in (EXT_RESOURCE_KIND, SUB_RESOURCE_KIND) or section.kind in HEADER_KINDS:
- continue
- kind = header.attrs.get('type') if section.kind == RESOURCE_KIND and header else None
- for ref in _refs(section, kind):
- visit(ref)
- unused = [i for i in subs if i not in seen]
- if unused:
- raise OrderRefusal(f'sub_resource {", ".join(unused)} is referenced by nothing '
- f'(the saver would drop it)')
- return order
-
-
-def order_sub_resources(doc: TscnDocument) -> list[str]:
- subs = [s for s in doc.sections if s.kind == SUB_RESOURCE_KIND]
- if len(subs) < 2:
- return []
- try:
- order = first_use_order(doc)
- except OrderRefusal as refusal:
- return [f' UNRESOLVED sub_resource order: {refusal} — left as written']
- if order == [s.attrs.get('id') for s in subs]:
- return []
- position = doc.sections.index(subs[0])
- tail = doc.sections[position + len(subs)] if position + len(subs) < len(doc.sections) else None
- contiguous = doc.sections[position:position + len(subs)] == subs
- end = tail.header_line if tail is not None else len(doc.lines)
- starts = [s.header_line for s in subs] + [end]
- blocks = {s.attrs.get('id'): doc.lines[starts[i]:starts[i + 1]] for i, s in enumerate(subs)}
- trailers = {tuple(doc.lines[s.body_end:starts[i + 1]]) for i, s in enumerate(subs)}
- above = subs[0].header_line > 0 and doc.lines[subs[0].header_line - 1].lstrip().startswith(
- COMMENT_CHAR)
- if not contiguous or above or len(trailers) != 1 or any(
- line.strip() for trailer in trailers for line in trailer):
- return [' UNRESOLVED sub_resource order drifts but a comment, an irregular blank line '
- 'or another section sits among them — left as written']
- doc.replace_lines(starts[0], end, [line for sub_id in order for line in blocks[sub_id]])
- return [f' SUB ORDER {len(order)} sub_resource(s) moved to first-use order']
-
-
-def mint_unique_ids(doc: TscnDocument) -> list[str]:
- """`unique_id=` on every node this scene CREATES that lacks one.
-
- The editor writes one on every node of a `.tscn` and KEEPS any it reads,
- so its own value is random but any valid id survives the next save: a
- deterministic one (from the node's path, as `scene add` mints) is the
- form an editor save leaves alone. An override of an instance's child is
- different — the editor copies the BASE node's id — so it is reported,
- never minted.
- """
- header = _header(doc)
- if header is None or header.kind != SCENE_HEADER:
- return []
- held = {s.attrs['unique_id'] for s in doc.nodes if 'unique_id' in s.attrs}
- report, overrides, edits = [], 0, []
- for node in doc.nodes:
- if 'unique_id' in node.attrs:
- continue
- created = node.attrs.get('parent') is None or 'type' in node.attrs \
- or 'instance' in node.attrs
- if not created:
- overrides += 1
- continue
- line = doc.lines[node.header_line]
- attrs = list(HEADER_ATTR.finditer(line))
- names = [m.group(1) for m in attrs]
- lead = [i for i, name in enumerate(names) if name in ID_PRECEDES]
- if not lead or lead != list(range(len(lead))):
- report.append(f' UNRESOLVED unique_id: node {node.attrs.get("name")} has an '
- f'attribute order the tool cannot place unique_id in — left as written')
- continue
- value = mint_unique_id(join_path(list(doc.node_path(node))) or '.', held)
- held.add(value)
- cut = attrs[lead[-1]].end()
- edits.append((node.header_line, f'{line[:cut]} unique_id={value}{line[cut:]}'))
- for index, line in edits:
- doc.replace_lines(index, index + 1, [line])
- if edits:
- report.append(f' UNIQUE ID {len(edits)} node(s) given a unique_id= (an editor save '
- f'keeps it)')
- if overrides:
- report.append(f' NOTE {overrides} instance-child override(s) lack unique_id= — the '
- f'editor copies the base node\'s id; left as written')
- return report
-
-
-def _material_sections(doc: TscnDocument) -> list[Section]:
- header = _header(doc)
- return [s for s in doc.sections
- if (s.kind == RESOURCE_KIND and header is not None
- and header.attrs.get('type') == SHADER_MATERIAL)
- or (s.kind == SUB_RESOURCE_KIND and s.attrs.get('type') == SHADER_MATERIAL)]
-
-
-def write_shader_parameters(doc: TscnDocument, root: Path) -> list[str]:
- """Each ShaderMaterial's `shader_parameter/*` lines, as a windowed editor writes them."""
- report = []
- for section in _material_sections(doc):
- where = f'{section.kind} {section.attrs.get("id", "")}'.strip()
- try:
- body = _material_body(doc, section, root)
- except UniformRefusal as refusal:
- report.append(f' UNRESOLVED {where} shader parameters: {refusal} — left as written')
- continue
- first = section.header_line + 1
- if body is None or body == doc.lines[first:section.body_end]:
- continue
- added = len(body) - (section.body_end - first)
- doc.replace_lines(first, section.body_end, body)
- report.append(f' SHADER {where}: {added} shader_parameter(s) written from the '
- f'shader\'s uniform defaults, in declaration order')
- return report
-
-
-def _material_body(doc: TscnDocument, section: Section, root: Path) -> list[str] | None:
- keys = [e.key for e in section.entries]
- shader = section.prop(SHADER_PROP)
- if shader is None:
- return None
- path = ref_path(shader.value, ext_index(doc.sections))
- if path is None or not path.startswith(RES_PREFIX):
- raise UniformRefusal('the shader is not an ext_resource .gdshader in this repo')
- file = root / path[len(RES_PREFIX):]
- if not file.is_file():
- raise UniformRefusal(f'{path} is not readable')
- params = material_parameters(file.read_text(encoding='utf-8'))
- names = {name for name, _ in params}
- if keys[0] != SHADER_PROP or any(not k.startswith(PARAM_PREFIX) for k in keys[1:]):
- raise UniformRefusal('the material holds a property other than shader and '
- 'shader_parameter/* — its place is not measured')
- unknown = [k for k in keys[1:] if k[len(PARAM_PREFIX):] not in names]
- if unknown:
- raise UniformRefusal(f'{", ".join(unknown)} names no uniform of {path}')
- if sum(e.end - e.start for e in section.entries) != section.body_end - section.header_line - 1:
- raise UniformRefusal('a comment or blank line sits among the material\'s properties')
- lines = list(doc.lines[shader.start:shader.end])
- for name, value in params:
- held = section.prop(PARAM_PREFIX + name)
- lines += (doc.lines[held.start:held.end] if held is not None
- else [f'{PARAM_PREFIX}{name} = {value}'])
- return lines
-
-
-def tool_default_refs(doc: TscnDocument, scripts: ScriptIndex) -> list[str]:
- """Name what a parse cannot write: a `@tool` script's resource default.
-
- The editor runs a `@tool` script, so an export left at a `preload()` /
- `load()` default makes the save add an ext_resource for that resource —
- under an id the editor generates at random, with no property using it.
- Nothing a parse can derive; reported so a PASS never hides it.
- """
- ext = ext_index(doc.sections)
- held = {attrs.get('path') for attrs in ext.values()}
- report = []
- for section in doc.sections:
- if section.kind not in (RESOURCE_KIND, SUB_RESOURCE_KIND):
- continue
- script = script_path(section, ext)
- if script is None or not scripts.has(script) or not _is_tool(scripts, script):
- continue
- resolved = scripts.resolve(script)
- for name, decl in resolved.declarations.items():
- match = RESOURCE_DEFAULT.match((decl.default or '').strip())
- if match and section.prop(name) is None and match.group(1) not in held:
- report.append(f' UNRESOLVED {section.kind}.{name}: @tool default '
- f'{match.group(1)} — the editor adds an ext_resource for it '
- f'under a random id; not derivable by parse')
- return report
-
-
-def _is_tool(scripts: ScriptIndex, script: str) -> bool:
- try:
- text = (scripts.root / script[len(RES_PREFIX):]).read_text(encoding='utf-8')
- except (OSError, UnicodeDecodeError):
- return False
- return TOOL_ANNOTATION.search(text) is not None
-
-
-def layout(doc: TscnDocument, scripts: ScriptIndex | None,
- root: Path | None = None) -> list[str]:
- """Every file-level pass, in the order `--order` runs them."""
- report = mint_unique_ids(doc)
- if root is not None:
- report += write_shader_parameters(doc, root)
- report += order_sub_resources(doc)
- report += sort_ext_resources(doc)
- report += drop_load_steps(doc)
- if scripts is not None:
- report += restore_script_class(doc, scripts)
- report += tool_default_refs(doc, scripts)
- return report
diff --git a/src/godot_devkit/godot/write/refs_rename.py b/src/godot_devkit/godot/write/refs_rename.py
deleted file mode 100644
index 8e2ccf78..00000000
--- a/src/godot_devkit/godot/write/refs_rename.py
+++ /dev/null
@@ -1,520 +0,0 @@
-"""refs_rename.py — rename a class_name, method, signal or autoload, everywhere or nowhere.
-
- godot-devkit refs --rename [--dry-run]
-
-The hit set is `refs `'s — definitions, typed refs, call/emit sites,
-scene `[connection] signal=`/`method=` attrs, the `project.godot [autoload]`
-entry and its uses — and the rewrite is that set fed to `core/apply` as ONE
-plan: in a `.gd` only the identifier token a typed arm claims, in a scene only
-the connection attr's value, in `project.godot` only the autoload's key.
-
-All or nothing, unlike `--retarget` (which writes what it can prove and SKIPs
-the rest): a stranded old name is a runtime break with no parse error. Any
-blocking site refuses the WHOLE plan, exit 1, every site named, nothing
-written. A site blocks when it is:
- * a dynamic hit (`refs` prints these under `dynamic (untyped receiver)`);
- * in a `.gd`, a claimed token inside a string literal, a string literal
- that IS the name (`call("old")`, `&"old"`), or a code token no typed arm
- proves (a member `x.old`, a local, a callable reference);
- * in a scene, a StringName `&"old"` (a call-method track), a
- `script_class="old"`, or any other line holding as a word outside
- a rewritten [connection] attr, a res:// or uid:// path and a section
- header's `name=`/`parent=`/`from=`/`to=` — a built-in script's
- `script/source`, a `NodePath("/root/old")`, a by-name value;
- * a line it would rewrite that already carries .
-Before any of that it refuses when or is an engine name — in
-the snapshot's `engine_methods` (a method on any class or builtin type, a
-utility function: `play`, `_ready`, `queue_free`) or `engine_signals`
-(`pressed`) — even when the project defines it too: without types,
-`sfx.play()` or a Button's `[connection signal="pressed"]` may be the
-engine's, and a rename that rewrote it would break the game. A name in
-neither set is unaffected. It also refuses when is already defined (a
-class_name, func, signal or autoload), and when is defined nowhere in
-the scanned tree — a typo or an engine name is not this project's to rename.
-
-A res:// path or uid that `refs` matches (a preload, an ext_resource) is
-neither rewritten nor a block — a rename changes identifiers, not files. Each
-prints as a PATH line after the plan, and leaves the exit code alone.
-A comment and a node path (`$Name`, `%Name` where an expression starts — after
-an operand `%` is modulo) are not references and are left alone. The same rename twice is a no-op: zero hits of with defined
-prints `already renamed`, exit 0. Zero hits with undefined is exit 1 —
-nothing to rename. not an identifier, a GDScript keyword, or equal to
-, is exit 2.
-tests/ is ALWAYS in scope — a rename that skips the tests strands their
-references — so there is no `--tests` (passing one is a usage error); the
-`[refs] exclude_prefixes` scope applies. `--dry-run` prints the diff and
-writes nothing.
-"""
-from __future__ import annotations
-
-import argparse
-import re
-import sys
-from dataclasses import dataclass, field
-from pathlib import Path
-
-from godot_devkit.core import apply
-from godot_devkit.core.config import ConfigError
-from godot_devkit.core.project import repo_root
-from godot_devkit.godot.format import classdb
-from godot_devkit.godot.format.tscn import parse_lines
-from godot_devkit.godot.format.tscn_document import LINE_ENDING, read_scene_text
-from godot_devkit.godot.read import refs
-from godot_devkit.godot.read.autoloads import PROJECT_GODOT
-from godot_devkit.godot.write import render_diff, utf8_refusal_reason
-
-EXIT_OK = 0
-EXIT_FINDINGS = 1
-IDENTIFIER = re.compile(r'[A-Za-z_][A-Za-z0-9_]*\Z')
-ALREADY = 'already renamed'
-CENSUS = '[refs:rename] {census}, {rewritten} rewritten, {blocked} blocked'
-CONNECTION_KIND = 'connection'
-CONNECTION_ATTRS = ('signal', 'method')
-AUTOLOAD_KIND = 'autoload'
-GD_SUFFIX = '.gd'
-QUOTES = ('"', "'")
-NODE_PATH_SIGIL = '$'
-UNIQUE_NODE_SIGIL = '%'
-OPERAND_END = re.compile(refs.OPERAND_END)
-# GDScript's reserved words (Godot 4): a spelled like one is not a name.
-GDSCRIPT_KEYWORDS = frozenset((
- 'if', 'elif', 'else', 'for', 'while', 'match', 'when', 'break', 'continue',
- 'pass', 'return', 'class', 'class_name', 'extends', 'is', 'in', 'as', 'self',
- 'super', 'signal', 'func', 'static', 'const', 'enum', 'var', 'breakpoint',
- 'preload', 'await', 'yield', 'assert', 'void', 'and', 'or', 'not', 'true',
- 'false', 'null', 'PI', 'TAU', 'INF', 'NAN', 'namespace', 'trait',
-))
-
-BLOCK_DYNAMIC = 'a dynamic hit — a receiver the index cannot type'
-PATH_LINE = (' PATH {location} {path} — left as is; git mv + refs --retarget '
- 'if the file should follow')
-# A path ends where a quote, space or list/call punctuation does: a single-
-# quoted path in a built-in script must not swallow the name after it.
-RESOURCE_PATH = re.compile(r'(?:res|uid)://[^"\'\s),\]:]+')
-PATH_KINDS = (refs.PRELOAD_LOAD_KIND, refs.SCENE_REF_KIND)
-BLOCK_IN_STRING = 'inside a string literal — not provably a reference'
-BLOCK_STRING_NAMES = ('a string that IS the name — a by-name reference '
- '(call, has_method, Callable, StringName) the index cannot type')
-BLOCK_UNPROVEN = ('an occurrence no typed arm proves — a member, a local or a '
- 'callable reference; rename it by hand or rename the other name first')
-BLOCK_CARRIES_NEW = 'the line already carries {new}'
-BLOCK_STRINGNAME = 'a StringName naming it — a call-method track or a by-name reference'
-BLOCK_SCRIPT_CLASS = 'a script_class naming it — `refs` does not index it; rename by hand'
-BLOCK_SCENE_UNPROVEN = ('an occurrence in a scene no [connection] rewrite covers — a built-in '
- 'script, a NodePath, a by-name value; rename it by hand')
-# A section header's node addressing: a node's own name, its parent's path, a
-# connection's ends — a node in the tree, not the symbol.
-NODE_ATTRS = re.compile(r'\b(?:name|parent|from|to)="[^"]*"')
-BLOCK_CONNECTION_MISMATCH = ('{found} [connection] attr(s) here, `refs` counted '
- '{counted} — refusing to guess which')
-BLOCK_CONNECTION_SPELLING = 'a [connection] whose signal=/method= is not spelled `attr="name"`'
-BLOCK_AUTOLOAD = 'the [autoload] entry for {old} is not one plain `{old}=` line'
-BLOCK_UNDEFINED = 'a reference to {old}, which nothing here defines'
-BLOCK_NEW_DEFINED = '{new} is already defined here — renaming onto it merges two symbols'
-ENGINE_LINE = (' BLOCKED {name} an engine {sets} name ({names_from}) — without types a '
- 'call or [connection] on it may be the engine\'s')
-
-
-@dataclass
-class Site:
- """One line the plan touches: a rewrite, or — with a reason — a block."""
- rel: str
- line: int # 1-based; 0 is the file as a whole
- text: str
- reason: str = ''
-
- def render(self) -> str:
- location = f'{self.rel}:{self.line}' if self.line else self.rel
- if self.reason:
- return f' BLOCKED {location} {self.reason}: {self.text}'
- return f' REWRITE {location} {self.text}'
-
-
-@dataclass
-class FilePlan:
- path: Path
- rel: str
- before: str
- contents: list[str]
- endings: list[str]
- rewrites: list[Site] = field(default_factory=list)
- blocks: list[Site] = field(default_factory=list)
-
- def after(self) -> str:
- return ''.join(c + e for c, e in zip(self.contents, self.endings))
-
- def block(self, index: int, reason: str) -> None:
- self.blocks.append(Site(self.rel, index + 1, self.contents[index].strip(), reason))
-
- def rewrite(self, index: int, spans: list[tuple[int, int]], new: str) -> None:
- text = self.contents[index]
- for start, end in sorted(spans, reverse=True):
- text = text[:start] + new + text[end:]
- self.contents[index] = text
- self.rewrites.append(Site(self.rel, index + 1, text.strip()))
-
-
-def _token(name: str) -> re.Pattern:
- return re.compile(rf'(? FilePlan | Site | None:
- """The file split into lines with its own endings, a blocking Site when it
- holds and cannot be read as UTF-8, or None when it has nothing to
- say: is not in it and `refs` put no hit there (`hit` — a path hit
- matches case-insensitively, so it can sit in a file is not in)."""
- rel = str(path.relative_to(root))
- try:
- text = read_scene_text(path)
- except UnicodeDecodeError as err:
- lossy = path.read_bytes().decode('utf-8', errors='replace')
- return (Site(rel, 0, utf8_refusal_reason(err), 'unreadable')
- if hit or old in lossy else None)
- except OSError as err:
- return Site(rel, 0, str(err.strerror or err), 'unreadable')
- if not hit and old not in text:
- return None
- parts = LINE_ENDING.split(text)
- return FilePlan(path, rel, text, parts[::2], parts[1::2] + [''])
-
-
-def _gd_regions(lines: list[str]) -> list[tuple[list[tuple[int, int]], int]]:
- """Per line: the string-literal spans (quotes included) and where a
- comment starts (len(line) when none) — string-aware, which `refs`'s
- comment strip is not. A triple-quoted string carries across lines."""
- out = []
- quote = ''
- for line in lines:
- strings: list[tuple[int, int]] = []
- comment = len(line)
- start = 0
- index = 0
- while index < len(line):
- char = line[index]
- if quote:
- if char == '\\':
- index += 2
- continue
- if line.startswith(quote, index):
- index += len(quote)
- strings.append((start, index))
- quote = ''
- continue
- index += 1
- continue
- if char == '#':
- comment = index
- break
- if char in QUOTES:
- quote = char * 3 if line.startswith(char * 3, index) else char
- start = index
- index += len(quote)
- continue
- index += 1
- if quote:
- strings.append((start, len(line)))
- if len(quote) == 1:
- quote = '' # an unterminated one-line string ends with its line
- out.append((strings, comment))
- return out
-
-
-def _is_node_path(line: str, at: int) -> bool:
- """`$Name`, `%Name`, `$Parent/Name` — a node in the tree, not the symbol.
- A `%` after an operand is modulo (`10%Name`), not a sigil."""
- index = at - 1
- while index >= 0 and (line[index].isalnum() or line[index] in '_/'):
- index -= 1
- if index < 0:
- return False
- if line[index] == UNIQUE_NODE_SIGIL:
- return not (index > 0 and OPERAND_END.match(line[index - 1]))
- return line[index] == NODE_PATH_SIGIL
-
-
-def _plan_gd(plan: FilePlan, old: str, new: str, global_name: bool,
- dynamic: set[int]) -> None:
- token, new_token = _token(old), _token(new)
- regions = _gd_regions(plan.contents)
- for index, content in enumerate(plan.contents):
- lineno = index + 1
- if lineno in dynamic:
- plan.block(index, BLOCK_DYNAMIC)
- continue
- if old not in content:
- continue
- strings, comment_at = regions[index]
- claimed = refs.typed_spans(old, refs.strip_comment(content), global_name)
- spans, reasons = [], []
- for match in token.finditer(content):
- span = (match.start(), match.end())
- if span[0] >= comment_at:
- continue
- literal = next((s for s in strings if s[0] <= span[0] < s[1]), None)
- if literal is not None:
- if span in claimed:
- reasons.append(BLOCK_IN_STRING)
- elif content[literal[0]:literal[1]].strip('"\'') == old:
- reasons.append(BLOCK_STRING_NAMES)
- continue
- if _is_node_path(content, span[0]):
- continue
- if span in claimed:
- spans.append(span)
- else:
- reasons.append(BLOCK_UNPROVEN)
- if spans and new_token.search(content):
- reasons.append(BLOCK_CARRIES_NEW.format(new=new))
- for reason in dict.fromkeys(reasons):
- plan.block(index, reason)
- if spans and not reasons:
- plan.rewrite(index, spans, new)
-
-
-def _plan_scene(plan: FilePlan, old: str, new: str, counted: int) -> None:
- attr = re.compile(rf'(\b(?:{"|".join(CONNECTION_ATTRS)})="){re.escape(old)}(")')
- stringname = re.compile(rf'&"{re.escape(old)}"')
- script_class = re.compile(rf'\bscript_class="{re.escape(old)}"')
- token, new_token = _token(old), _token(new)
- sections = parse_lines(plan.contents)
- section_headers = {section.header_line for section in sections}
- headers = {section.header_line for section in sections
- if section.kind == CONNECTION_KIND
- and old in (section.attrs.get(a) for a in CONNECTION_ATTRS)}
- for index, content in enumerate(plan.contents):
- if old not in content:
- continue
- connection = index in headers
- # What is left once the parts that are provably not the symbol go: a
- # res:// or uid:// path, a header's node addressing, the attr rewritten.
- rest = RESOURCE_PATH.sub('', content)
- if index in section_headers:
- rest = NODE_ATTRS.sub('', rest)
- if connection:
- rest = attr.sub('', rest)
- blocked = False
- if stringname.search(content):
- plan.block(index, BLOCK_STRINGNAME)
- blocked = True
- if script_class.search(content):
- plan.block(index, BLOCK_SCRIPT_CLASS)
- blocked = True
- if (not blocked and token.search(rest)
- and not (connection and not attr.search(content))):
- plan.block(index, BLOCK_SCENE_UNPROVEN)
- blocked = True
- if not connection or blocked:
- continue
- if new_token.search(content):
- plan.block(index, BLOCK_CARRIES_NEW.format(new=new))
- elif not attr.search(content):
- plan.block(index, BLOCK_CONNECTION_SPELLING)
- else:
- text = attr.sub(lambda m: m.group(1) + new + m.group(2), content)
- plan.contents[index] = text
- plan.rewrites.append(Site(plan.rel, index + 1, text.strip()))
- if len(headers) != counted:
- plan.blocks.append(Site(plan.rel, 0, f'{old} in [connection]',
- BLOCK_CONNECTION_MISMATCH.format(found=len(headers),
- counted=counted)))
-
-
-def _plan_project(plan: FilePlan, old: str, new: str) -> None:
- sections = [s for s in parse_lines(plan.contents) if s.kind == AUTOLOAD_KIND]
- entries = [e for s in sections for e in s.entries if e.key == old]
- key = re.compile(rf'^(\s*){re.escape(old)}(?=\s*=)')
- plain = (len(sections) == 1 and len(entries) == 1
- and entries[0].end - entries[0].start == 1
- and key.match(plan.contents[entries[0].start]))
- if not plain:
- reason = BLOCK_AUTOLOAD.format(old=old)
- if entries:
- plan.block(entries[0].start, reason)
- else:
- plan.blocks.append(Site(plan.rel, 0, f'[{AUTOLOAD_KIND}]', reason))
- return
- index = entries[0].start
- plan.contents[index] = key.sub(lambda m: m.group(1) + new, plan.contents[index], count=1)
- plan.rewrites.append(Site(plan.rel, index + 1, plan.contents[index].strip()))
-
-
-def _lines(hits: list[refs.Hit]) -> dict[str, set[int]]:
- out: dict[str, set[int]] = {}
- for hit in hits:
- out.setdefault(hit.path, set()).add(hit.line)
- return out
-
-
-def _plan(root: Path, found: refs.Scan, old: str, new: str) -> tuple[list[FilePlan], list[Site]]:
- """Every file's rewrite, and every site that blocks the whole plan."""
- hits = found.hits
- dynamic = _lines(hits[refs.DYNAMIC_KIND])
- connections: dict[str, int] = {}
- for hit in hits[refs.SCENE_CONNECTION_KIND]:
- connections[hit.path] = connections.get(hit.path, 0) + 1
- plans: list[FilePlan] = []
- blocks: list[Site] = []
-
- def load(path: Path, hit: bool = False) -> FilePlan | None:
- loaded = _load(root, path, old, hit)
- if isinstance(loaded, Site):
- blocks.append(loaded)
- return None
- return loaded
-
- for path in found.gd_files:
- rel = str(path.relative_to(root))
- plan = load(path, rel in dynamic)
- if plan is not None:
- _plan_gd(plan, old, new, found.global_name,
- dynamic.get(rel, set()))
- plans.append(plan)
- for path in found.scene_files:
- plan = load(path, str(path.relative_to(root)) in connections)
- if plan is not None:
- _plan_scene(plan, old, new, connections.get(plan.rel, 0))
- plans.append(plan)
- if any(hit.path == PROJECT_GODOT for hit in hits[refs.DEFINITION_KIND]):
- plan = load(root / PROJECT_GODOT, True)
- if plan is not None:
- _plan_project(plan, old, new)
- plans.append(plan)
- for plan in plans:
- blocks.extend(plan.blocks)
- return [p for p in plans if p.rewrites], blocks
-
-
-def _engine_sets(name: str) -> str:
- """Which engine name set(s) hold `name` — `method`, `signal`, both — or ''."""
- held = [kind for kind, names in (('method', classdb.engine_methods()),
- ('signal', classdb.engine_signals()))
- if name in names]
- return ' and '.join(held)
-
-
-def _location(hit: refs.Hit) -> str:
- return f'{hit.path}:{hit.line}' if hit.line else hit.path
-
-
-def run(old: str, new: str, dry_run: bool) -> int:
- root = repo_root()
- found = refs.scan(root, old, include_tests=True)
- new_definitions = refs.scan(root, new, include_tests=True).hits[refs.DEFINITION_KIND]
- census = found.searched.census('file(s) searched')
- header = f'rename {old} -> {new}' + (' (dry run — nothing written)' if dry_run else '')
- total = sum(len(hits) for kind, hits in found.hits.items() if kind not in PATH_KINDS)
-
- def verdict(rewritten: int, blocked: int) -> None:
- for kind in PATH_KINDS:
- for hit in found.hits[kind]:
- shown = RESOURCE_PATH.search(hit.text)
- print(PATH_LINE.format(location=_location(hit),
- path=shown.group(0) if shown else hit.text))
- print(CENSUS.format(census=census, rewritten=rewritten, blocked=blocked))
-
- engine = [(name, sets) for name in (old, new) if (sets := _engine_sets(name))]
- if engine:
- print(header)
- for name, sets in engine:
- print(ENGINE_LINE.format(name=name, sets=sets,
- names_from=classdb.engine_names_from()))
- print(f'REFUSED {" and ".join(name for name, _ in engine)} '
- f'{"is an engine name" if len(engine) == 1 else "are engine names"} — '
- f'a rename cannot tell the project\'s from the engine\'s; nothing written')
- verdict(0, len(engine))
- return EXIT_FINDINGS
- if total == 0:
- if new_definitions:
- print(f'{header} {ALREADY} ({new} is defined at '
- f'{_location(new_definitions[0])}; no reference to {old} is left)')
- verdict(0, 0)
- return EXIT_OK
- print(header)
- print(f'REFUSED no reference to {old} and no definition of {new} — '
- f'nothing to rename')
- verdict(0, 0)
- return EXIT_FINDINGS
- if not found.hits[refs.DEFINITION_KIND]:
- print(header)
- sites = [Site(hit.path, hit.line, hit.text, BLOCK_UNDEFINED.format(old=old))
- for kind, hits in found.hits.items() if kind not in PATH_KINDS
- for hit in hits]
- for site in sites:
- print(site.render())
- print(f'REFUSED {old} is defined nowhere in the scanned tree — an engine '
- f'name or a typo is not this project\'s to rename; nothing written')
- verdict(0, len(sites))
- return EXIT_FINDINGS
- if new_definitions:
- print(header)
- for hit in new_definitions:
- print(Site(hit.path, hit.line, hit.text, BLOCK_NEW_DEFINED.format(new=new)).render())
- print(f'REFUSED {new} is already defined — nothing written')
- verdict(0, len(new_definitions))
- return EXIT_FINDINGS
-
- plans, blocks = _plan(root, found, old, new)
- rewritten = sum(len(plan.rewrites) for plan in plans)
- print(header)
- if blocks:
- for site in blocks:
- print(site.render())
- print(f'REFUSED {len(blocks)} blocking site(s) — a rename is all or nothing; '
- f'nothing written')
- verdict(0, len(blocks))
- return EXIT_FINDINGS
- if dry_run:
- for plan in plans:
- print(render_diff(plan.before, plan.after(), plan.rel), end='')
- verdict(rewritten, 0)
- return EXIT_OK
- write = apply.Plan()
- for plan in plans:
- write.overwrite(plan.path, plan.after())
- applied = write.apply()
- if applied.blocked:
- for blocked in applied.blocked:
- print(f' BLOCKED {blocked.describe()}')
- print('REFUSED the plan cannot be written — nothing written')
- verdict(0, len(applied.blocked))
- return EXIT_FINDINGS
- for plan in plans:
- for site in plan.rewrites:
- print(site.render())
- if applied.failed is not None:
- landed = ', '.join(str(step.dest.relative_to(root)) for step in applied.landed)
- print(f'FAILED {applied.failed.dest.relative_to(root)}: {applied.error} — '
- f'written before it: {landed or "nothing"}')
- verdict(len(applied.landed), 0)
- return EXIT_FINDINGS
- verdict(rewritten, 0)
- return EXIT_OK
-
-
-def main(argv: list[str]) -> int:
- parser = argparse.ArgumentParser(
- prog='godot-devkit refs', description=__doc__,
- formatter_class=argparse.RawDescriptionHelpFormatter)
- parser.add_argument('--rename', nargs=2, metavar=('OLD', 'NEW'), required=True,
- help='a class_name / method / signal / autoload: every '
- 'reference to OLD is rewritten to NEW, or none is')
- parser.add_argument('--dry-run', action='store_true',
- help='print the diff, write nothing')
- args = parser.parse_args(argv)
- old, new = args.rename
- for name in (old, new):
- if not IDENTIFIER.match(name):
- parser.error(f'{name!r} is not an identifier ([A-Za-z_][A-Za-z0-9_]*)')
- if new in GDSCRIPT_KEYWORDS:
- parser.error(f'{new!r} is a GDScript keyword — not a name a symbol can take')
- if old == new:
- parser.error(f'old and new are the same name ({old}) — nothing to rename')
- try:
- return run(old, new, args.dry_run)
- except ConfigError as err:
- print(f'godot-devkit: {err}', file=sys.stderr)
- return 2
-
-
-if __name__ == '__main__':
- raise SystemExit(main(sys.argv[1:]))
diff --git a/src/godot_devkit/godot/write/refs_retarget.py b/src/godot_devkit/godot/write/refs_retarget.py
deleted file mode 100644
index 32717171..00000000
--- a/src/godot_devkit/godot/write/refs_retarget.py
+++ /dev/null
@@ -1,235 +0,0 @@
-"""refs_retarget.py — re-point every reference to a moved res:// path.
-
- godot-devkit refs --retarget [--dry-run]
-
-After a `git mv old.gd new.gd` (or .tscn/.tres), every `path="res://old"`
-ext_resource ref in the tree strands: Godot falls back to the uid, warns on
-every cold import, and rewrites the path on the next editor save of each
-file — the whole tree diffs, one file at a time, forever. This does the
-rewrite in one pass, byte-surgically: only the reference text changes, every
-other byte (the uid attr, its text spelling, line endings, neighbours) is
-carried through verbatim.
-
-What it rewrites:
- * every `[ext_resource ...]` line whose `path="..."` attr IS the old path,
- in every .tscn/.tres;
- * every `preload("res://old")` / `load("res://old")` literal in a .gd whose
- quoted string IS exactly the old path.
-
-What it reports instead of rewriting — a SKIPPED line with the reason, never
-a guess (the census counts them, and any skip exits 1 so a stranded ref is
-loud): an occurrence inside a comment, an exact quoted match outside a
-preload/load call, an occurrence that is a substring of a longer string, and
-a quoted path in a scene file outside an ext_resource path attr.
-
-REFUSES when the NEW path does not exist on disk — retargeting refs onto
-nothing is minting drift. The OLD file being gone is fine; it moved, that is
-the point. `--dry-run` lists every file+line and writes nothing. tests/ are
-scanned (a repair that strands the tests' refs is half a repair); the
-`[refs] exclude_prefixes` scope from godot-devkit.toml applies, same as `refs`.
-It rewrites res:// paths only: a hit `refs` prints under `dynamic (untyped
-receiver)` is a signal NAME on an unresolved receiver, and is never acted on.
-"""
-from __future__ import annotations
-
-import argparse
-import re
-import sys
-from pathlib import Path
-
-from godot_devkit.core import apply, walk
-from godot_devkit.core.config import ConfigError
-from godot_devkit.core.project import repo_root
-from godot_devkit.core.walk import Kind, SkipReason
-from godot_devkit.godot.format.tscn import COMMENT_CHAR, EXT_RESOURCE_KIND, scan_line
-from godot_devkit.godot.format.tscn_document import LINE_ENDING, read_scene_text
-from godot_devkit.godot.write import file_exists, utf8_refusal_reason
-from godot_devkit.godot.index.uid_index import RES_PREFIX
-from godot_devkit.godot.read.refs import exclude_prefixes
-
-EXIT_OK = 0
-EXIT_FINDINGS = 1
-SCENE_GLOBS = ('*.tscn', '*.tres')
-GD_GLOB = '*.gd'
-GD_COMMENT_CHAR = '#'
-EXT_RESOURCE_OPEN = f'[{EXT_RESOURCE_KIND} '
-QUOTE = '"'
-CENSUS = '[refs:retarget] {census}, {rewritten} rewritten, {skipped} skipped'
-
-SKIP_COMMENT = 'inside a comment — not a reference'
-SKIP_NOT_CALL = 'an exact quoted path outside a preload/load call — verify by hand'
-SKIP_SUBSTRING = 'a substring of a longer string — not this resource'
-SKIP_SCENE_PROP = ('a quoted path outside an ext_resource path attr — '
- 'verify by hand')
-
-
-class _Line:
- """One line's rewrite: occurrences classified BEFORE any text moves, so a
- new path that contains the old one cannot confuse the census."""
-
- def __init__(self, content: str, comment_char: str,
- comment_in_brackets: bool) -> None:
- self.content = content
- _, _, _, cut = scan_line(content, comment_char=comment_char,
- comment_in_brackets=comment_in_brackets)
- self.comment_at = cut if cut >= 0 else len(content)
-
- def occurrences(self, needle: str) -> list[int]:
- found, at = [], self.content.find(needle)
- while at >= 0:
- found.append(at)
- at = self.content.find(needle, at + 1)
- return found
-
- def is_quoted_exactly(self, at: int, needle: str) -> bool:
- end = at + len(needle)
- return (at > 0 and self.content[at - 1] == QUOTE
- and end < len(self.content) and self.content[end] == QUOTE)
-
- def rewrite(self, spans: list[tuple[int, int]], new: str) -> str:
- text = self.content
- for start, end in sorted(spans, reverse=True):
- text = text[:start] + new + text[end:]
- return text
-
-
-def _path_attr_span(line: _Line, at: int, old: str) -> bool:
- prefix = f'path={QUOTE}'
- return (line.content.lstrip().startswith(EXT_RESOURCE_OPEN)
- and line.content[max(at - len(prefix), 0):at] == prefix
- and line.is_quoted_exactly(at, old))
-
-
-def _call_spans(line: _Line, old: str) -> list[tuple[int, int]]:
- pattern = re.compile(r'\b(?:preload|load)\(\s*"' + re.escape(old) + r'"\s*\)')
- return [(m.start() + m.group(0).index(QUOTE) + 1,
- m.start() + m.group(0).index(QUOTE) + 1 + len(old))
- for m in pattern.finditer(line.content) if m.start() < line.comment_at]
-
-
-def _classify(line: _Line, old: str, is_scene: bool) -> tuple[list[tuple[int, int]], list[str]]:
- """(spans to rewrite, skip reasons) for one line's occurrences of `old`."""
- spans = (
- [(at, at + len(old)) for at in line.occurrences(old)
- if at < line.comment_at and _path_attr_span(line, at, old)]
- if is_scene else _call_spans(line, old))
- starts = {span[0] for span in spans}
- skips = []
- for at in line.occurrences(old):
- if at in starts:
- continue
- if at >= line.comment_at:
- skips.append(SKIP_COMMENT)
- elif not line.is_quoted_exactly(at, old):
- skips.append(SKIP_SUBSTRING)
- else:
- skips.append(SKIP_SCENE_PROP if is_scene else SKIP_NOT_CALL)
- return spans, skips
-
-
-def _scan_files(root: Path) -> walk.Walk:
- """The walk, not its kept half — the census line discloses what the
- `exclude_prefixes` removed. Before 0.25.0's review this ended
- `list(found.kept)`, so a sweep narrowed to nothing reported the same
- "0 file(s) scanned" as a repo that genuinely holds none (rule 4)."""
- exclude = exclude_prefixes()
-
- def kept(glob: str) -> walk.Walk:
- return walk.descendants(root, Kind.ANY, pattern=glob).filter(
- lambda p: not any(str(p.relative_to(root)).startswith(prefix)
- for prefix in exclude),
- SkipReason.EXCLUDED_PATH)
-
- found = walk.Walk(())
- for glob in (*SCENE_GLOBS, GD_GLOB):
- found = found.merge(kept(glob))
- return found
-
-
-def _retarget_file(path: Path, rel: str, old: str, new: str,
- dry_run: bool) -> tuple[int, int, list[str]]:
- """(rewritten, skipped, report lines) for one file; writes unless dry."""
- is_scene = path.suffix != '.gd'
- comment_char = COMMENT_CHAR if is_scene else GD_COMMENT_CHAR
- try:
- text = read_scene_text(path)
- except UnicodeDecodeError as err:
- # The SKIPPED variant: a sweep steps over the file and keeps going,
- # where a single-file verb refuses — the sentence itself is shared.
- return 0, 1, [f' SKIPPED {rel} {utf8_refusal_reason(err)}']
- except OSError as err:
- # Same contract for an unreadable file (permissions, vanished mid-
- # sweep): step over loudly. A traceback here would strand a partial
- # multi-file rewrite with no census.
- return 0, 1, [f' SKIPPED {rel} unreadable ({err.strerror or err})']
- if old not in text:
- return 0, 0, []
- parts = LINE_ENDING.split(text)
- contents, endings = parts[::2], parts[1::2] + ['']
- rewritten, skipped, report = 0, 0, []
- for index, content in enumerate(contents):
- if old not in content:
- continue
- line = _Line(content, comment_char, comment_in_brackets=not is_scene)
- spans, skips = _classify(line, old, is_scene)
- if spans:
- contents[index] = line.rewrite(spans, new)
- rewritten += len(spans)
- report.append(f' REWRITE {rel}:{index + 1} {contents[index].strip()}')
- for reason in skips:
- skipped += 1
- report.append(f' SKIPPED {rel}:{index + 1} {reason}')
- if rewritten and not dry_run:
- apply.raise_on_error(apply.write(
- path, ''.join(c + e for c, e in zip(contents, endings))))
- return rewritten, skipped, report
-
-
-def run(old: str, new: str, dry_run: bool) -> int:
- root = repo_root()
- if not file_exists(root / new[len(RES_PREFIX):]):
- print(f'REFUSED {new} does not exist on disk — retargeting '
- f'references onto nothing is minting drift')
- return EXIT_FINDINGS
- print(f'retarget {old} -> {new}'
- + (' (dry run — nothing written)' if dry_run else ''))
- found = _scan_files(root)
- files = sorted(found)
- rewritten = skipped = 0
- for path in files:
- wrote, skips, report = _retarget_file(
- path, str(path.relative_to(root)), old, new, dry_run)
- rewritten += wrote
- skipped += skips
- for line in report:
- print(line)
- print(CENSUS.format(census=found.census('file(s) scanned'),
- rewritten=rewritten, skipped=skipped))
- return EXIT_FINDINGS if skipped else EXIT_OK
-
-
-def main(argv: list[str]) -> int:
- parser = argparse.ArgumentParser(
- prog='godot-devkit refs', description=__doc__,
- formatter_class=argparse.RawDescriptionHelpFormatter)
- parser.add_argument('--retarget', nargs=2, metavar=('OLD', 'NEW'),
- required=True, help='res:// paths: every reference to '
- 'OLD is rewritten to NEW')
- parser.add_argument('--dry-run', action='store_true',
- help='list every file+line, write nothing')
- args = parser.parse_args(argv)
- old, new = args.retarget
- for res_path in (old, new):
- if not res_path.startswith(RES_PREFIX):
- parser.error(f'{res_path!r} is not a {RES_PREFIX} path')
- if old == new:
- parser.error(f'old and new are the same path ({old}) — nothing to retarget')
- try:
- return run(old, new, args.dry_run)
- except ConfigError as err:
- print(f'godot-devkit: {err}', file=sys.stderr)
- return 2
-
-
-if __name__ == '__main__':
- raise SystemExit(main(sys.argv[1:]))
diff --git a/src/godot_devkit/godot/write/scene_canonicalize.py b/src/godot_devkit/godot/write/scene_canonicalize.py
deleted file mode 100644
index d5ac31a0..00000000
--- a/src/godot_devkit/godot/write/scene_canonicalize.py
+++ /dev/null
@@ -1,440 +0,0 @@
-"""scene_canonicalize.py — put back what `PackedScene.pack()` throws away.
-
- godot-devkit scene canonicalize ... [--dry-run] [--elide-defaults]
- [--respell] [--order]
-
-Authoring a scene offline (build a tree in a headless script, `PackedScene.pack()`,
-`ResourceSaver.save()`) is the fastest way to produce a big scene and the fastest
-way to produce a subtly broken one. `save()` writes a MINIMAL file; three things
-it leaves out are load-bearing, and all three recur on every single pass:
-
-1. **uid-in-refs.** Refs come out `path=`-only. The consuming repos require the
- canonical `uid=`+`path=` form (`check tres`), because any later import silently
- upgrades a path-only ref and the churn leaks into unrelated diffs. This is the
- one Chris named: *"I think we keep fighting that."*
-2. **The file's OWN header uid.** A freshly packed scene has no uid, so the
- `[gd_scene uid="..."]` line vanishes — and every other file that referenced
- this scene by uid is now pointing at nothing.
-3. **`index=` on instance-child overrides.** An override without it does not
- reload as an override: Godot creates a NEW SIBLING, and the base scene's real
- child leaks as an orphan on EVERY load. That is what stack-overflowed an
- unrelated unit test. The instancing ancestor may be the ROOT — an inherited
- scene's root is `[node name="X" instance=ExtResource(base)]`, its children
- are the base's children, and an override there is an override like any
- other — unless the base is ITSELF an inherited scene, whose file lists only
- the nodes it writes rather than its children; an ordinal counted there is
- too small, and a too-small `index=` is read by Godot as a POSITION and
- REORDERS the node on load, so that case is refused rather than guessed.
- What is NOT restored is an `index=` on a node this scene CREATES
- (`type=` / `instance=`). Its ordinal often IS derivable — a created node
- appended under an instanced parent lands after that base's own children —
- but whether the engine WRITES the attribute there is not, and the corpus
- contradicts itself about it, so writing one invents authored position.
- See `_restore_indexes` for the census.
-
-**`[editable path=]` is NOT one of them, and is never written here.** The marker
-records the editor's per-instance "Editable Children" toggle and nothing else:
-the engine emits it from the live `is_editable_instance(node)` flag, and applies
-it on load LAST, after every node and property already exists, by calling
-`set_editable_instance()`. Overrides on an instance's children neither require
-it nor imply it. Deriving one from the node tree therefore invents authored
-state — it hands a human a sub-tree the scene never said was editable, and the
-next editor save writes the marker out for good. Both consumers' trees show the
-two facts are independent in both directions: markers on hosts with no
-overridden child, and overridden children under hosts with no marker.
-
-`--elide-defaults` adds the fourth, and it SUBTRACTS instead of restoring: a
-hand-authored `.tres` spells out properties whose value equals the script's
-`@export` default, and Godot's writer omits exactly those — so the file diffs on
-every editor save until one form wins. It is opt-in because it deletes lines, and
-because deleting them is only safe where the redundancy is PROVEN
-(`resource_defaults`); anything unprovable is left alone. Unlike a load-and-
-re-save it touches nothing else: comments, ordering, uids and value spellings all
-survive, which is what makes it safe to run over a whole tree.
-
-`--respell` and `--order` are the rest of what a Godot 4.7 editor save changes,
-each proven from the file, its scripts and its shader, and each pinned by an
-editor-saved pair under `tests/fixtures/editor_parity/`. `--respell`: floats
-in the saver's shortest spelling (`0.30` -> `0.3`), a bare list on an
-`Array[T]` export wrapped as `Array[T]([...])` and `Array[T](...)` on an
-untyped `Array` export unwrapped, dictionary keys sorted, and SpriteFrames
-`animations` rebuilt (sorted by name, `"loop"` as an int, one key per line).
-`--order`: a scripted section's properties in the saver's order (the script's own exports,
-then its base's), and the file's layout (`editor_layout`): `load_steps=`
-dropped, the header `script_class=`, ext_resources sorted by id with no blank
-line between, sub_resources in first-use order, a ShaderMaterial's
-`shader_parameter/*` lines as a WINDOWED editor writes them, and a
-deterministic `unique_id=` on each node a `.tscn` creates (the editor keeps
-it). `--elide-defaults` also drops an engine resource's property equal to its
-vendored default (`engine_defaults`). These are LINE edits: a respell rewrites
-tokens inside the lines a value occupies, a reorder moves whole lines, so
-comments, `uid=` and every other line survive byte for byte. What a parse
-cannot prove — a `@tool` script's `preload()` default, which the editor adds
-under a random ext_resource id — it names as UNRESOLVED and leaves alone.
-`check canonical` is the gate over the same analysis.
-
-Each is restored from evidence, never invented: a uid comes from the target's own
-`.uid` sidecar, its `[gd_scene/gd_resource]` header, or its `.import` file, and an
-`index` is counted off the base scene's actual children. Anything that cannot be
-resolved is REPORTED and left alone — a wrong uid is worse than a missing one.
-"""
-from __future__ import annotations
-
-import argparse
-import re
-from pathlib import Path
-
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.core import apply
-from godot_devkit.core.project import git_lines, repo_root
-from godot_devkit.godot.index.resource_canonical import CanonicalAnalyzer
-from godot_devkit.godot.index.resource_defaults import DefaultAnalyzer
-from godot_devkit.godot.format.tscn import Section, node_own_path, parse, split_path
-from godot_devkit.godot.format.tscn_document import TscnDocument, read_scene_text
-from godot_devkit.godot.index.uid_index import PATH_ATTR, RES_PREFIX, UID_ATTR, UidIndex
-from godot_devkit.godot.write import (file_exists, render_diff,
- utf8_refusal_reason)
-from godot_devkit.godot.write.editor_layout import layout
-
-SCRIPT_TYPE = 'Script'
-TYPE_ATTR = re.compile(r'(\btype="[^"]*")')
-RESOURCE_HEADER_KIND = 'gd_resource'
-SCENE_HEADER_KINDS = ('gd_scene', RESOURCE_HEADER_KIND)
-INSTANCE_ATTR = 'instance'
-NOTE = ' NOTE '
-EXIT_OK = 0
-EXIT_FINDINGS = 1
-EXIT_USAGE = 2
-
-
-class BaseScenes:
- """Child ordering inside instanced scenes — the evidence `index=` needs."""
-
- def __init__(self, root: Path) -> None:
- self.root = root
- self._parsed: dict[str, tuple[Section, ...]] = {}
-
- def _sections(self, res_path: str) -> tuple[Section, ...]:
- if res_path not in self._parsed:
- file = self.root / res_path[len(RES_PREFIX):]
- self._parsed[res_path] = (
- tuple(parse(str(file)))
- if res_path.startswith(RES_PREFIX) and file.is_file() else ())
- return self._parsed[res_path]
-
- def root_is_instanced(self, res_path: str) -> bool:
- """True when the base is ITSELF an inherited scene.
-
- A `.tscn` holds only the sections that file WRITES. When its root
- carries `instance=`, its own base's children are not among them — so
- the file is not a listing of that scene's children, it is a listing of
- the ones it overrides or adds.
- """
- root = next((s for s in self._sections(res_path)
- if s.kind == 'node' and s.attrs.get('parent') is None),
- None)
- return root is not None and INSTANCE_ATTR in root.attrs
-
- def child_index(self, res_path: str, parent: list[str], name: str) -> int | None:
- """The ordinal of `name` among the children of `parent` in `res_path`.
-
- `None` when the count would be a GUESS rather than a reading. A base
- whose own root is instanced is the case that matters: counting the
- `[node]` sections it writes yields an ordinal that is too small,
- because the ones its base contributes are not in the file. Godot reads
- `index=` as the child's POSITION, so a too-small ordinal does not
- merely fail to help — it reorders the node on every load, which is
- worse than the missing attribute it replaced. A verb that cannot
- guarantee a correct result refuses and says why.
- """
- sections = self._sections(res_path)
- if not sections or self.root_is_instanced(res_path):
- return None
- wanted = ['.'] if not parent else parent
- siblings = [s for s in sections if s.kind == 'node'
- and s.attrs.get('parent') is not None
- and split_path(s.attrs['parent']) == split_path('/'.join(wanted))]
- for ordinal, sibling in enumerate(siblings):
- if sibling.attrs.get('name') == name:
- return ordinal
- return None
-
-
-def _instance_host(doc: TscnDocument, path: tuple[str, ...]) -> tuple[Section, tuple] | None:
- """The nearest ancestor of `path` that instances another scene, ROOT included.
-
- An INHERITED scene's root IS an instancing ancestor — it is written
- `[node name="X" instance=ExtResource(base)]` and its children are the
- base's children. Stopping the walk one level short of it (`range(…, 0, -1)`)
- made every direct child of an inherited root unresolvable, so an override
- there lost its `index=` and got a "no instancing ancestor was found"
- refusal instead of the ordinal the base plainly gives it.
- """
- for cut in range(len(path) - 1, -1, -1):
- for node in doc.nodes:
- if doc.node_path(node) == path[:cut] and INSTANCE_ATTR in node.attrs:
- return node, path[cut:]
- return None
-
-
-def _restore_ref_uids(doc: TscnDocument, uids: UidIndex) -> list[str]:
- fixed = []
- for index, line in enumerate(list(doc.lines)):
- if not line.startswith('[ext_resource ') or UID_ATTR.search(line):
- continue
- path_m = PATH_ATTR.search(line)
- if path_m is None:
- continue
- uid = uids.of(path_m.group(1))
- if uid is None:
- fixed.append(f' UNRESOLVED no uid found for {path_m.group(1)} — left path-only')
- continue
- # Godot's own attribute order: type, uid, path, id.
- doc.lines[index] = TYPE_ATTR.sub(rf'\1 uid="{uid}"', line, count=1)
- fixed.append(f' UID {path_m.group(1)} -> {uid}')
- return fixed
-
-
-def _restore_header_uid(doc: TscnDocument, rel: str, uids: UidIndex) -> list[str]:
- header = next((s for s in doc.sections if s.kind in SCENE_HEADER_KINDS), None)
- if header is None or 'uid' in header.attrs:
- return []
- known = uids.from_repo_references(RES_PREFIX + rel)
- if known is None:
- # A .tscn always leaves the editor with a header uid, so a missing one
- # is a real pack() loss. A hand-authored .tres legitimately has none —
- # Godot writes one only for a registered resource — and with nothing
- # referencing it by uid there is nothing to restore and nothing broken.
- if header.kind == RESOURCE_HEADER_KIND:
- return []
- return [f' UNRESOLVED {rel} has no header uid and nothing references it by uid']
- line = doc.lines[header.header_line]
- doc.lines[header.header_line] = line[:-1] + f' uid="{known}"]'
- return [f' HEADER UID {rel} -> {known} (restored from existing references)']
-
-
-def _restore_indexes(doc: TscnDocument, bases: BaseScenes) -> list[str]:
- fixed = []
- ext = doc.ext_resources()
- for node in list(doc.nodes):
- if 'index' in node.attrs:
- continue
- if 'type' in node.attrs or INSTANCE_ATTR in node.attrs:
- # This scene CREATES the node — `type=` builds it, `instance=`
- # instantiates it. The skip is keyed here rather than on the
- # PARENT, which was tried and measured: keying it off "the parent
- # is an instanced subtree" makes the ordinal derivable (an append
- # lands after the base's own children) and makes the attribute
- # invented, because the two are different claims.
- #
- # A real-world corpus decided it, in both directions. RECORDED
- # here, not re-runnable: the measurement was taken over two whole
- # game checkouts, and nothing in this package reaches outside its
- # own tree (CLAUDE.md rule 8). What is committed is a scrubbed
- # SAMPLE of each half, under `tests/fixtures/corpus/`: 22 `.tscn`
- # in `editor_written` and 14 `.tscn` in `hand_authored`. So the
- # counts below cannot be reproduced from this checkout, and finding
- # fewer scenes here than the numbers name is the sample, not
- # staleness.
- #
- # The EDITOR-WRITTEN half — 194 scenes, every one round-tripped
- # through ResourceSaver — had 1008 created nodes and NOT ONE
- # carried an `index=`, including 87 whose parent is a node the base
- # provides; it held no inherited scene with a written child, so it
- # cannot speak to that case. The HAND-AUTHORED half — 116 scenes,
- # every one carrying a `;` comment and so never through
- # ResourceSaver — contradicts itself exactly there: 10 created
- # nodes directly under an inherited root carry an append-correct
- # `index=` and 10 more, same tree, same position, carry none. So a
- # rule that reproduces the first 10 invents the second 10, and the
- # narrowest form of it still invents 4. The behaviour those numbers
- # bought is pinned by fixtures in `tests/test_canonicalize.py`,
- # which carries the same record and the shapes it argues from.
- #
- # Restoring them is inventing authored state, which is the sibling
- # bug this module already paid for once. Settling it needs the
- # engine, not more reading: whether `pack()` emits `index=` for a
- # created node in an inherited scene. Until then the tool has no
- # evidence either way and writes nothing either way.
- continue
- host = _instance_host(doc, doc.node_path(node))
- if host is None:
- fixed.append(f' UNRESOLVED {node_own_path(node)} overrides an instance child '
- f'but no instancing ancestor was found')
- continue
- parent_node, inner = host
- match = re.match(r'ExtResource\("([^"]*)"\)', parent_node.attrs[INSTANCE_ATTR])
- base = ext[match.group(1)].attrs.get('path') if match and match.group(1) in ext else None
- ordinal = bases.child_index(base, list(inner[:-1]), inner[-1]) if base else None
- if ordinal is None:
- why = (f'{base} is itself an inherited scene, so its file lists '
- f'only the nodes IT writes and an ordinal counted there is '
- f'too SMALL — which Godot reads as a POSITION and reorders '
- f'the node on load'
- if base and bases.root_is_instanced(base)
- else f'cannot count {node_own_path(node)} in {base or "?"}')
- fixed.append(f' UNRESOLVED {why} — index= left off for '
- f'{node_own_path(node)} (this node WILL reload as a '
- f'new sibling)')
- continue
- line = doc.lines[node.header_line]
- doc.lines[node.header_line] = line[:-1] + f' index="{ordinal}"]'
- fixed.append(f' INDEX {node_own_path(node)} -> index="{ordinal}"')
- return fixed
-
-
-def _elide_redundant_defaults(doc: TscnDocument, analyzer: DefaultAnalyzer) -> list[str]:
- """Delete assignments PROVEN equal to the script's declared default."""
- redundant = analyzer.analyze(doc.sections)
- report = [f' DEFAULT {item.where}.{item.prop.key} = {item.prop.value} '
- f'(declared default {item.default}) — removed' for item in redundant]
- doc.delete_props([item.prop for item in redundant])
- return report
-
-
-def respell_values(doc: TscnDocument, analyzer: CanonicalAnalyzer) -> list[str]:
- """Re-spell values the way the saver writes them — tokens, never lines."""
- analysis = analyzer.analyze(doc.lines, doc.sections, order=False, structure=False)
- report = [f' RESPELL {item.where}.{item.prop.key}: {", ".join(item.changes)}'
- for item in analysis.rewrites]
- report += [_unresolved(refusal) for refusal in analysis.refusals]
- doc.rewrite_props([(item.prop, item.lines) for item in analysis.rewrites])
- for script, ref_id in analysis.added_exts.items():
- doc.add_ext_resource(script, SCRIPT_TYPE, ref_id)
- report.append(f' EXT {script} added as id="{ref_id}" (a typed array\'s element type)')
- # Item order inside a value (dictionary keys, SpriteFrames animations),
- # read from the re-spelled text: a second analysis, never two rewrites of
- # one property from one parse.
- analysis = analyzer.analyze(doc.lines, doc.sections, spelling=False, order=False)
- report += [f' RESPELL {item.where}.{item.prop.key}: {", ".join(item.changes)}'
- for item in analysis.restructures]
- report += [_unresolved(refusal) for refusal in analysis.refusals]
- kept = [item for item in analysis.restructures
- if len(item.lines) == item.prop.end - item.prop.start]
- doc.rewrite_props([(item.prop, item.lines) for item in kept])
- # A re-laid-out value changes its line count: replace bottom-up, so no
- # pending span shifts.
- spans = sorted(((item.prop.start, item.prop.end, item.lines)
- for item in analysis.restructures if item not in kept), reverse=True)
- for start, end, lines in spans:
- doc.replace_lines(start, end, lines)
- return report
-
-
-def order_properties(doc: TscnDocument, analyzer: CanonicalAnalyzer) -> list[str]:
- """Move each scripted section's properties into the saver's order."""
- analysis = analyzer.analyze(doc.lines, doc.sections, spelling=False, structure=False)
- report = []
- for item in analysis.reorders:
- doc.reorder_props(item.section, item.order)
- report.append(f' ORDER {item.where}: {len(item.moved)} of '
- f'{len(item.order)} properties moved to declaration order')
- report += [_unresolved(refusal) for refusal in analysis.refusals]
- return report
-
-
-def _unresolved(refusal) -> str:
- key = f'.{refusal.key}' if refusal.key else ''
- return f' UNRESOLVED {refusal.where}{key}: {refusal.reason} — left as written'
-
-
-def canonicalize(path: Path, root: Path, uids: UidIndex, bases: BaseScenes,
- analyzer: DefaultAnalyzer | None = None,
- canonical: CanonicalAnalyzer | None = None, *,
- respell: bool = False, order: bool = False) -> tuple[str, list[str]]:
- """-> (canonical text, one report line per restoration or refusal)."""
- doc = TscnDocument(read_scene_text(path), path, uids.of)
- try:
- rel = str(path.resolve().relative_to(root))
- except ValueError:
- rel = path.name
- report = _restore_ref_uids(doc, uids)
- report += _restore_header_uid(doc, rel, uids)
- report += _restore_indexes(doc, bases)
- if analyzer is not None:
- report += _elide_redundant_defaults(doc, analyzer)
- if canonical is not None and respell:
- report += respell_values(doc, canonical)
- if analyzer is not None:
- # A default spelled long (`PackedFloat32Array(0.0, 1.0)`) equals
- # its entry only once re-spelled: elide again, or a second run would.
- report += _elide_redundant_defaults(doc, analyzer)
- if canonical is not None and order:
- report += order_properties(doc, canonical)
- report += layout(doc, canonical.scripts, root)
- return doc.text, report
-
-
-def main(argv: list[str]) -> int:
- parser = argparse.ArgumentParser(
- prog='godot-devkit scene canonicalize', description=__doc__,
- formatter_class=argparse.RawDescriptionHelpFormatter)
- parser.add_argument('files', nargs='+')
- parser.add_argument('--dry-run', action='store_true',
- help='print the unified diff instead of writing')
- parser.add_argument('--elide-defaults', action='store_true',
- help='also DELETE assignments proven equal to the '
- 'script\'s @export default (what Godot\'s writer '
- 'omits); see `check defaults`')
- parser.add_argument('--respell', action='store_true',
- help='also re-spell values as Godot\'s saver writes them: '
- 'floats in their shortest form, a bare list on an '
- 'Array[T] export wrapped as Array[T]([...]), '
- 'dictionary keys sorted, SpriteFrames animations '
- 'rebuilt; see `check canonical`')
- parser.add_argument('--order', action='store_true',
- help='also move a scripted section\'s properties into '
- 'the saver\'s order (script, own exports, then the '
- 'base\'s) and lay the file out as the editor does '
- '(header, ext_resource and sub_resource order, '
- 'shader parameters, unique_id); see `check canonical`')
- args = parser.parse_args(argv)
-
- root = repo_root()
- uids = UidIndex(root)
- bases = BaseScenes(root)
- analyzer = None
- canonical = None
- if args.elide_defaults or args.respell or args.order:
- scripts = ScriptIndex(root, git_lines('ls-files', '*.gd'))
- analyzer = DefaultAnalyzer(scripts) if args.elide_defaults else None
- canonical = CanonicalAnalyzer(scripts) if args.respell or args.order else None
- unresolved = 0
- refused = 0
- for name in args.files:
- path = Path(name)
- if not file_exists(path):
- print(f'godot-devkit scene canonicalize: no such file: {path}')
- return EXIT_USAGE
- try:
- before = read_scene_text(path)
- after, report = canonicalize(path, root, uids, bases, analyzer, canonical,
- respell=args.respell, order=args.order)
- except UnicodeDecodeError as err:
- print(f'REFUSED {path}: {utf8_refusal_reason(err)}')
- refused += 1
- continue
- unresolved += sum(1 for line in report if 'UNRESOLVED' in line)
- if after == before and all(line.startswith(NOTE) for line in report):
- print(f'canonicalize {path} already canonical')
- for line in report:
- print(line)
- continue
- if args.dry_run:
- print(render_diff(before, after, path.name), end='')
- elif after != before:
- # Raw write: `after` carries the file's own line endings (the
- # document preserves them), and translating here would normalize
- # every ending in a file we promised to touch surgically.
- apply.raise_on_error(apply.write(path, after))
- # "changes", not "restored": with --elide-defaults a change can be a
- # deletion, and a count that lies about its own direction is worse than
- # no count.
- changes = sum(1 for line in report if 'UNRESOLVED' not in line
- and not line.startswith(NOTE))
- print(f'canonicalize {path} {changes} change(s), '
- f'{sum(1 for line in report if "UNRESOLVED" in line)} unresolved'
- f'{" (dry run)" if args.dry_run else ""}')
- for line in report:
- print(line)
- return EXIT_FINDINGS if unresolved or refused else EXIT_OK
diff --git a/src/godot_devkit/godot/write/scene_edit.py b/src/godot_devkit/godot/write/scene_edit.py
index 14305c8a..fefc44ae 100644
--- a/src/godot_devkit/godot/write/scene_edit.py
+++ b/src/godot_devkit/godot/write/scene_edit.py
@@ -1,50 +1,24 @@
-"""scene_edit.py — surgical write verbs for .tscn/.tres.
+"""scene_edit.py — the narrow scene writer: `scene set` and `scene add`.
godot-devkit scene set
godot-devkit scene set --resource
godot-devkit scene set --sub-resource
godot-devkit scene set --new-sub-resource [key=value ...]
- godot-devkit scene rename
godot-devkit scene add [--script res://x.gd]
[--tile-set res://x.tres] [--z N] [--group G ...]
godot-devkit scene add --instance res://x.tscn
- godot-devkit scene rm [--force]
- godot-devkit scene reparent
- godot-devkit scene connect [--flags N]
- godot-devkit scene disconnect [--flags N]
- godot-devkit scene new --root [--script res://x.gd] [--name N]
- godot-devkit scene new --inherits res://base.tscn [--name N]
-
-Every verb addresses nodes by PATH — the scene root is `.`, its child is `Name`,
-deeper is `Parent/Name`. That is the address `.tscn` itself uses in `parent=`,
-and the address `godot-devkit scene --paths` prints: read output is write input.
-The same contract addresses the resource plane: `--sub-resource` takes the id
-`godot-devkit scene --props` prints, verbatim; `--resource` is the one
-`[resource]` body a .tres has.
-
-The point is that these put ZERO file content into the caller's context. Changing
-one property in a scene carrying 100k tokens of packed tile bytes costs one
-command and one line of output instead of a full read and a rewrite.
-
-Two guarantees make that safe rather than merely cheap:
- * Untouched lines are never rewritten — the document keeps the file's bytes and
- replaces only the spans it was asked about (`tscn_document`).
- * A verb that cannot express the result truthfully REFUSES. `rename` in
- particular re-resolves every NodePath against the node that owns it, and
- raises rather than emit a path that points somewhere new — the failure a
- blanket `s/Sandbox/Vertical room/g` made silently.
-
-`--dry-run` prints the unified diff instead of writing; every verb is idempotent,
-so running one twice touches nothing the second time. `rm` is the deliberate
-half-exception: a path that resolves nothing is REFUSED (a typo must not read as
-success), and `rm --force` restores the exit-0 no-op for scripted re-runs.
-
-`new` writes a whole scene: a fresh header uid minted the way the engine
-mints one and checked against every uid the project already claims, and a
-root that is typed (`--root`) or inherits a scene (`--inherits`). The root is
-named `--name`, else the file stem in PascalCase (`--root`) or the base
-scene's root name (`--inherits`). A file that already holds that same root is
-`unchanged`; any other existing file is refused.
+
+Godot writes scenes; these two verbs exist for the case its headless save
+gets wrong: an inherited scene with overrides or local materials, where a
+load-and-save drops shader parameters and tile overrides. Each edits only
+its own lines.
+
+Nodes are addressed by PATH — the scene root is `.`, its child is `Name`,
+deeper is `Parent/Name`, as `godot-devkit scene --paths` prints. `--sub-resource`
+takes the id `godot-devkit scene --props` prints; `--resource` is the one
+`[resource]` body a .tres has. Untouched lines are never rewritten; a verb that
+cannot express the result truthfully REFUSES. `--dry-run` prints the unified
+diff instead of writing; running a verb twice touches nothing the second time.
`set --new-sub-resource` makes a `[sub_resource]` — of an engine type, or a
`Resource` carrying a res:// script — with the `key=value` properties given
@@ -64,23 +38,18 @@
from godot_devkit.core.project import repo_root
from godot_devkit.godot.format.tscn import (EXT_RESOURCE_ONLY, Section,
- TscnError, join_path, split_path)
-from godot_devkit.godot.format.tscn_document import (TscnDocument,
- mint_unique_id)
-from godot_devkit.godot.index.uid_codec import mint
-from godot_devkit.godot.index.uid_index import (RES_PREFIX, UidIndex,
- project_uids)
+ TscnError, join_path)
+from godot_devkit.godot.format.tscn_document import TscnDocument
+from godot_devkit.godot.index.uid_index import RES_PREFIX, UidIndex
from godot_devkit.godot.write import (file_exists, load_scene_or_refuse,
render_diff)
-VERBS = ('set', 'rename', 'add', 'rm', 'reparent', 'connect', 'disconnect',
- 'new')
+VERBS = ('set', 'add')
UNCHANGED = 'unchanged'
EXIT_OK = 0
EXIT_REFUSED = 1
EXIT_USAGE = 2
PROJECT_FILE = 'project.godot'
-NO_FLAGS = '0'
TILEMAP_LAYER = 'TileMapLayer'
TILE_SET_TYPE = 'TileSet'
TILE_SET_PROP = 'tile_set'
@@ -94,8 +63,6 @@
PROP_KEY = re.compile(r'^[A-Za-z_][A-Za-z0-9_/:]*$')
GROUPS_ATTR = re.compile(r'\bgroups=\[([^\]]*)\]')
GROUP_NAME = re.compile(r'"((?:[^"\\]|\\.)*)"')
-STEM_WORDS = re.compile(r'[^A-Za-z0-9]+')
-SCENE_HEADER = '[gd_scene format=4 uid="{uid}"]'
def _project_root(scene_path: Path) -> Path:
@@ -205,18 +172,6 @@ def _do_set_new_sub_resource(doc: TscnDocument, args) -> str:
return 'added'
-def _do_rename(doc: TscnDocument, args) -> str:
- if not doc.has_node(args.node_path):
- renamed = split_path(args.node_path)[:-1] + [args.new_name]
- if doc.has_node('/'.join(renamed) or '.'):
- return UNCHANGED # already renamed
- node = doc.node(args.node_path)
- if node.attrs.get('name') == args.new_name:
- return UNCHANGED
- doc.rename_node(args.node_path, args.new_name)
- return 'renamed'
-
-
def _instanced_path(doc: TscnDocument, node: Section) -> str | None:
"""The res:// path an instance node's `instance=ExtResource(...)` names."""
match = EXT_RESOURCE_ONLY.match(node.attrs.get('instance', ''))
@@ -309,197 +264,7 @@ def _refuse_bad_instance_target(doc: TscnDocument, res_path: str) -> None:
f'save it once in the editor to give it a uid')
-def _do_rm(doc: TscnDocument, args) -> str:
- # A path that resolves nothing is REFUSED, not 'unchanged': with no node
- # there is no evidence the removal ever happened, so a typo'd path would be
- # indistinguishable from success. `--force` opts back into treating a
- # missing node as already removed, for callers that re-run scripted edits.
- if not doc.has_node(args.node_path):
- if args.force:
- return UNCHANGED
- raise TscnError(f'no node at path {args.node_path!r} — nothing to remove '
- f'(--force treats a missing node as already removed)')
- doc.remove_node(args.node_path)
- return 'removed'
-
-
-def _do_reparent(doc: TscnDocument, args) -> str:
- segments = split_path(args.node_path)
- if not segments:
- raise TscnError('cannot reparent the scene root')
- target = _child_path(doc, args.new_parent, segments[-1])
- if doc.has_node(target) and not doc.has_node(args.node_path):
- return UNCHANGED
- if doc.has_node(args.node_path) and doc.node_path(doc.node(args.node_path)) == tuple(
- split_path(target)):
- return UNCHANGED
- doc.reparent_node(args.node_path, args.new_parent)
- return 'reparented'
-
-
-def _canonical_node_attr(doc: TscnDocument, path: str) -> str:
- """A node path as `.tscn` itself spells it in from=/to= — the root is `.`
- even when addressed by its own name, so idempotence survives either
- spelling."""
- return join_path(list(doc.node_path(doc.node(path))))
-
-
-def _conn_flags(section: Section) -> str | None:
- """A connection's flags attr, `None` when absent-or-zero (Godot omits 0)."""
- flags = section.attrs.get('flags')
- return None if flags in (None, NO_FLAGS) else flags
-
-
-def _describe_conn(section: Section) -> str:
- flags = _conn_flags(section)
- return (f'{section.attrs.get("signal", "?")} '
- f'{section.attrs.get("from", "?")} -> {section.attrs.get("to", "?")}'
- f'.{section.attrs.get("method", "?")}'
- + (f' flags={flags}' if flags is not None else ''))
-
-
-def _matching_connections(doc: TscnDocument, signal_name: str, from_attr: str,
- to_attr: str, method: str) -> list[Section]:
- return [c for c in doc.connections()
- if c.attrs.get('signal') == signal_name
- and c.attrs.get('from') == from_attr
- and c.attrs.get('to') == to_attr
- and c.attrs.get('method') == method]
-
-
-def _wanted_flags(args) -> str | None:
- return None if not args.flags else str(args.flags)
-
-
-def _do_connect(doc: TscnDocument, args) -> str:
- from_attr = _canonical_node_attr(doc, args.from_path) # refuses no-node
- to_attr = _canonical_node_attr(doc, args.to_path)
- wanted = _wanted_flags(args)
- existing = _matching_connections(doc, args.signal, from_attr, to_attr,
- args.method)
- if any(_conn_flags(c) == wanted for c in existing):
- return UNCHANGED
- if existing:
- have = ', '.join(_conn_flags(c) or NO_FLAGS for c in existing)
- raise TscnError(f'{args.signal!r} already connects {from_attr} -> '
- f'{to_attr}.{args.method} with flags={have} — '
- f'disconnect that one first')
- doc.add_connection(args.signal, from_attr, to_attr, args.method, wanted)
- return 'connected'
-
-
-def _do_disconnect(doc: TscnDocument, args) -> str:
- # A stale connection may name a node that no longer exists — that is a
- # reason to remove it, not a reason to refuse — so paths canonicalize
- # only when they still resolve, and match as written otherwise.
- from_attr = (_canonical_node_attr(doc, args.from_path)
- if doc.has_node(args.from_path) else args.from_path)
- to_attr = (_canonical_node_attr(doc, args.to_path)
- if doc.has_node(args.to_path) else args.to_path)
- matches = _matching_connections(doc, args.signal, from_attr, to_attr,
- args.method)
- if args.flags is not None:
- wanted = _wanted_flags(args)
- matches = [c for c in matches if _conn_flags(c) == wanted]
- if not matches:
- known = '; '.join(_describe_conn(c) for c in doc.connections()) or '(none)'
- raise TscnError(f'no connection matches {args.signal!r} {from_attr} -> '
- f'{to_attr}.{args.method} — this file has: {known}')
- if len(matches) > 1:
- have = '; '.join(_describe_conn(c) for c in matches)
- raise TscnError(f'{len(matches)} connections match ({have}) — '
- f'pass --flags N to name exactly one')
- doc.remove_connection(matches[0])
- return 'disconnected'
-
-
-def _stem_name(path: Path) -> str:
- """`base_room.tscn` -> `BaseRoom`: the inverse of the editor's file naming."""
- name = ''.join(word[:1].upper() + word[1:]
- for word in STEM_WORDS.split(path.stem) if word)
- if not name:
- raise TscnError(f'cannot name a root from {path.name!r} — pass --name')
- return name
-
-
-def _base_root_name(doc: TscnDocument, res_path: str) -> str:
- base = TscnDocument.load(_project_root(doc.path) / res_path[len(RES_PREFIX):])
- if base.root is None:
- raise TscnError(f'{res_path} has no root node to inherit')
- return base.root.attrs.get('name', '')
-
-
-def _same_new_scene(doc: TscnDocument, args) -> bool:
- """An existing file IS the requested new scene: same root, same base or
- type, same script — so a retried `new` is a no-op, not a refusal."""
- root = doc.root
- if root is None or (args.name is not None and root.attrs.get('name') != args.name):
- return False
- if args.inherits is not None:
- return _instanced_path(doc, root) == args.inherits
- script = root.prop('script')
- match = EXT_RESOURCE_ONLY.match(script.value.strip()) if script else None
- ext = doc.ext_resources().get(match.group(1)) if match else None
- return (root.attrs.get('type') == args.root
- and (ext.attrs.get('path') if ext else None) == args.script)
-
-
-def _new_scene(path: Path, args) -> TscnDocument:
- """The whole new file, built through the same document surgery the other
- verbs use, so its layout is the one they keep."""
- root = _project_root(path)
- uid = mint(project_uids(root))
- doc = TscnDocument(SCENE_HEADER.format(uid=uid) + '\n', path,
- uid_resolver=uid_resolver(path))
- if args.inherits is not None:
- _refuse_bad_instance_target(doc, args.inherits)
- name = args.name or _base_root_name(doc, args.inherits)
- ref = doc.ext_ref(args.inherits, 'PackedScene')
- doc.append_block([f'[node name="{name}" instance={ref}]'])
- return doc
- if not TYPE_NAME.match(args.root):
- raise TscnError(f'--root {args.root!r} is not a type name')
- name = args.name or _stem_name(path)
- doc.append_block([f'[node name="{name}" type="{args.root}" '
- f'unique_id={mint_unique_id(".", set())}]'])
- if args.script is not None:
- ref = doc.ext_ref(args.script, SCRIPT_TYPE) # before `root`: it moves the lines
- doc.set_section_prop(doc.root, 'script', ref)
- return doc
-
-
-def _main_new(args) -> int:
- path = Path(args.file)
- if file_exists(path):
- before = load_scene_or_refuse(path)
- if before is None:
- return EXIT_REFUSED
- if _same_new_scene(TscnDocument(before, path), args):
- print(f'new {path} {UNCHANGED}')
- return EXIT_OK
- print(f'REFUSED {path}: the file exists and is not this scene — '
- f'`new` never overwrites')
- return EXIT_REFUSED
- try:
- doc = _new_scene(path, args)
- except TscnError as err:
- print(f'REFUSED {path}: {err}')
- return EXIT_REFUSED
- if args.dry_run:
- print(render_diff('', doc.text, path.name), end='')
- else:
- doc.save()
- uid = next(s.attrs.get('uid') for s in doc.sections if s.kind == 'gd_scene')
- print(f'new {path} created ({uid}, {len(doc.text.splitlines())} line(s)'
- f'{", dry run" if args.dry_run else ""})')
- for note in doc.notes:
- print(f' {note}')
- return EXIT_OK
-
-
-HANDLERS = {'set': _do_set, 'rename': _do_rename, 'add': _do_add,
- 'rm': _do_rm, 'reparent': _do_reparent,
- 'connect': _do_connect, 'disconnect': _do_disconnect}
+HANDLERS = {'set': _do_set, 'add': _do_add}
def _build_parser() -> argparse.ArgumentParser:
@@ -536,7 +301,6 @@ def add_verb(name: str, *fields: str) -> argparse.ArgumentParser:
help=' [key=value ...]: make a '
'[sub_resource] (values are Godot literals) and point '
'the property at it, in place of ')
- add_verb('rename', 'node_path', 'new_name')
adder = add_verb('add', 'parent_path', 'name')
adder.add_argument('type', nargs='?',
help='the node type (omit with --instance)')
@@ -551,23 +315,6 @@ def add_verb(name: str, *fields: str) -> argparse.ArgumentParser:
adder.add_argument('--z', type=int, metavar='N', help='the node\'s z_index')
adder.add_argument('--group', action='append', metavar='G',
help='add the node to group G (repeatable)')
- add_verb('rm', 'node_path').add_argument(
- '--force', action='store_true',
- help='treat a node that does not exist as already removed (exit 0) '
- 'instead of refusing')
- add_verb('reparent', 'node_path', 'new_parent')
- maker = add_verb('new')
- maker.add_argument('--root', metavar='TYPE', help='the root node\'s type')
- maker.add_argument('--inherits', metavar='RES_PATH',
- help='make an inherited scene of this res:// scene')
- maker.add_argument('--script', help='res:// script for a --root root')
- maker.add_argument('--name', help='the root\'s name (default: the file stem '
- 'in PascalCase, or the base scene\'s root)')
- for name in ('connect', 'disconnect'):
- add_verb(name, 'signal', 'from_path', 'to_path', 'method').add_argument(
- '--flags', type=int, metavar='N',
- help='Godot connect flags (deferred=1, persist=2, one-shot=4); '
- 'on disconnect, names exactly one of several matches')
return parser
@@ -587,13 +334,6 @@ def _check_usage(parser: argparse.ArgumentParser, args) -> None:
'--resource, or --sub-resource ')
if (args.value is None) == (args.new_sub_resource is None):
parser.error('set takes exactly one of or --new-sub-resource')
- if args.verb == 'new':
- if (args.root is None) == (args.inherits is None):
- parser.error('new takes exactly one of --root or '
- '--inherits ')
- if args.inherits is not None and args.script is not None:
- parser.error('--script cannot combine with --inherits — the base '
- 'scene owns its root\'s script')
if args.verb == 'add':
if (args.type is None) == (args.instance is None):
parser.error('add takes exactly one of or '
@@ -613,8 +353,6 @@ def main(argv: list[str]) -> int:
parser = _build_parser()
args = parser.parse_args(argv)
_check_usage(parser, args)
- if args.verb == 'new':
- return _main_new(args)
path = Path(args.file)
if not file_exists(path):
print(f'godot-devkit scene {args.verb}: no such file: {path}')
diff --git a/src/godot_devkit/godot/write/tiles_paint.py b/src/godot_devkit/godot/write/tiles_paint.py
deleted file mode 100644
index 53ea61ef..00000000
--- a/src/godot_devkit/godot/write/tiles_paint.py
+++ /dev/null
@@ -1,233 +0,0 @@
-"""tiles_paint.py — paint and erase cells of a TileMapLayer, in place.
-
- godot-devkit tiles paint --layer NAME (--region X0,Y0,X1,Y1 | --at X,Y ...)
- (--tile SRC/AX,AY[/ALT] | --atlas-map MAP.json --source SRC)
- godot-devkit tiles erase --layer NAME (--region X0,Y0,X1,Y1 | --at X,Y ...)
-
-The cells are a rectangle (`--region`, inclusive) or a list (`--at`, repeat it;
-one `--at` sets one cell). The brush is one tile (`--tile`), or an AUTOTILE
-atlas map (`--atlas-map` + `--source`): each painted cell gets the map's slot
-for its filled 4-neighbours and its material phase (`format/atlas_map.py`),
-and the layer's existing same-source neighbours whose neighbour mask the
-paint changes are RE-SLOTTED in the same edit. Painting the same cells twice
-is a no-op.
-
-Painting a wall, a floor slab, or a lid is the one scene edit that has no
-hand form: the grid is a single base64 property, so the alternative is opening
-the editor or writing a throwaway decode/encode script — which is exactly what
-kept happening.
-
-The surgery is the point. Only that ONE property's line is rewritten; every
-other byte of the file — comments, spacing, the other layers, the rest of the
-scene — is carried through verbatim by `TscnDocument`, and the cells that
-survive keep their position in the stream so the encoded value changes as
-little as the edit does. A run that changes no cell writes nothing and says
-`unchanged`, which makes both verbs idempotent by construction.
-
-Refusals, all decided before anything is written: an unknown or ambiguous
-`--layer`, a malformed `--tile`/`--region`/`--at`, a coordinate the format
-cannot carry, an atlas map that is malformed or has no slot for a cell, and a
-`tile_map_data` value that does not decode (re-encoding a partial
-read would silently delete the tail of somebody's map).
-"""
-from __future__ import annotations
-
-import argparse
-from pathlib import Path
-
-from godot_devkit.godot.format import atlas_map
-from godot_devkit.godot.format.tilemap import (
- COORD_SPEC,
- REGION_SPEC,
- TILE_SPEC,
- Tile,
- TileMapData,
- TileMapError,
- bounds,
- decode_or_empty,
- encode,
- glue_signed_values,
- parse_coord,
- parse_region,
- parse_tile,
-)
-from godot_devkit.godot.format.tscn import (
- TILE_MAP_DATA_PROP,
- Section,
- TscnError,
- find_tilemap_layer,
- node_own_path,
-)
-from godot_devkit.godot.format.tscn_document import TscnDocument
-from godot_devkit.godot.write import (file_exists, load_scene_or_refuse,
- render_diff)
-
-VERBS = ('paint', 'erase')
-PAINT, ERASE = VERBS
-UNCHANGED = 'unchanged'
-TILE_SET_PROP = 'tile_set'
-EXIT_OK = 0
-EXIT_REFUSED = 1
-EXIT_USAGE = 2
-INDENT = ' '
-Cells = dict[tuple[int, int], Tile]
-
-
-class Outcome:
- """What a run did, in the numbers the caller needs to trust it."""
-
- def __init__(self, added: int = 0, replaced: int = 0, erased: int = 0) -> None:
- self.added = added
- self.replaced = replaced
- self.erased = erased
-
- @property
- def changed(self) -> bool:
- return bool(self.added or self.replaced or self.erased)
-
- def __str__(self) -> str:
- return (f'{self.added} added, {self.replaced} replaced, '
- f'{self.erased} erased')
-
-
-def apply_paint(cells: Cells, wanted: Cells) -> tuple[Cells, Outcome]:
- """Set every cell in `wanted`, replacing whatever was there.
-
- Surviving cells keep their ORDER in the stream and newcomers are appended
- in `wanted`'s order: the encoding is a function of the content, not of the
- order the edits happened to arrive in, so the same command twice produces
- the same bytes.
- """
- outcome = Outcome()
- updated = dict(cells)
- for coord, tile in wanted.items():
- existing = updated.get(coord)
- if existing == tile:
- continue # already this tile — not a change
- if existing is None:
- outcome.added += 1
- else:
- outcome.replaced += 1
- updated[coord] = tile
- return updated, outcome
-
-
-def apply_erase(cells: Cells, targets: list[tuple[int, int]]) -> tuple[Cells, Outcome]:
- """Delete every cell in `targets`; the rest keep their order."""
- doomed = set(targets)
- survivors = {coord: tile for coord, tile in cells.items() if coord not in doomed}
- return survivors, Outcome(erased=len(cells) - len(survivors))
-
-
-def _targets(args) -> tuple[list[tuple[int, int]], str]:
- """The cells a run addresses, and how to name them in the report."""
- if args.region is not None:
- region = parse_region(args.region)
- return list(region.coords()), f'in {region}'
- coords = list(dict.fromkeys(parse_coord(spec) for spec in args.at))
- return coords, f'at {len(coords)} cell(s)'
-
-
-def _brush(args, cells: Cells, targets: list[tuple[int, int]]) -> Cells:
- """What each target cell (and each re-slotted neighbour) should hold."""
- if args.tile is not None:
- tile = parse_tile(args.tile)
- return {coord: tile for coord in targets}
- amap = atlas_map.load(args.atlas_map)
- return atlas_map.autotile(cells, targets, args.source, amap)
-
-
-def _write_layer(doc: TscnDocument, layer: Section, data: TileMapData) -> None:
- """Replace only the layer's `tile_map_data` assignment, or add it where
- the saver writes it: above `tile_set`, which follows it in ClassDB order."""
- doc.set_section_prop(layer, TILE_MAP_DATA_PROP, encode(data),
- before=(TILE_SET_PROP,))
-
-
-def _summary(cells: Cells) -> str:
- if not cells:
- return '0 cells'
- min_x, max_x, min_y, max_y = bounds(cells)
- return f'{len(cells)} cells, x[{min_x}..{max_x}] y[{min_y}..{max_y}]'
-
-
-def _build_parser() -> argparse.ArgumentParser:
- parser = argparse.ArgumentParser(
- prog='godot-devkit tiles', description=__doc__,
- formatter_class=argparse.RawDescriptionHelpFormatter)
- subs = parser.add_subparsers(dest='verb', required=True)
- for verb in VERBS:
- sub = subs.add_parser(verb)
- sub.add_argument('file')
- sub.add_argument('--layer', required=True,
- help='the layer by node name or full node path')
- cells = sub.add_mutually_exclusive_group(required=True)
- cells.add_argument('--region', metavar=REGION_SPEC,
- help='the inclusive rectangle to fill or clear')
- cells.add_argument('--at', action='append', metavar=COORD_SPEC,
- help='one cell; repeat for a list of cells')
- if verb == PAINT:
- brush = sub.add_mutually_exclusive_group(required=True)
- brush.add_argument('--tile', metavar=TILE_SPEC,
- help='the one tile to paint every cell with')
- brush.add_argument('--atlas-map', dest='atlas_map', metavar='MAP.json',
- help='autotile through this atlas map (needs '
- '--source); existing same-source neighbors '
- 'whose mask changes are re-slotted too')
- sub.add_argument('--source', type=int, metavar='SRC',
- help='the TileSet source id the atlas map paints')
- sub.add_argument('--dry-run', action='store_true',
- help='print the unified diff instead of writing')
- return parser
-
-
-def main(argv: list[str]) -> int:
- parser = _build_parser()
- # `--region -2,-2,1,1` is an ordinary rectangle in the upper-left quadrant,
- # and argparse before 3.14 reads it as an option. See `glue_signed_values`.
- args = parser.parse_args(glue_signed_values(argv))
- if args.verb == PAINT and (args.atlas_map is None) != (args.source is None):
- parser.error('--atlas-map and --source go together, and only with each other')
- path = Path(args.file)
- if not file_exists(path):
- print(f'godot-devkit tiles {args.verb}: no such file: {path}')
- return EXIT_USAGE
-
- before = load_scene_or_refuse(path)
- if before is None:
- return EXIT_REFUSED
- doc = TscnDocument(before, path)
- try:
- targets, where = _targets(args)
- layer = find_tilemap_layer(doc.sections, args.layer)
- prop = layer.prop(TILE_MAP_DATA_PROP)
- data = decode_or_empty(prop.value if prop is not None else None)
- if args.verb == PAINT:
- wanted = _brush(args, data.cells, targets)
- cells, outcome = apply_paint(data.cells, wanted)
- reslotted = len(wanted) - len(targets)
- else:
- cells, outcome = apply_erase(data.cells, targets)
- reslotted = 0
- if outcome.changed:
- _write_layer(doc, layer, TileMapData(data.version, cells))
- except (TscnError, TileMapError) as err:
- print(f'REFUSED {path}: {err}')
- return EXIT_REFUSED
-
- label = f'{args.verb} {path} {node_own_path(layer)}'
- if not outcome.changed:
- print(f'{label} {UNCHANGED} ({_summary(cells)})')
- return EXIT_OK
- if args.dry_run:
- print(render_diff(before, doc.text, path.name), end='')
- else:
- doc.save()
- print(f'{label} {outcome} {where}'
- f'{" (dry run)" if args.dry_run else ""}')
- if reslotted:
- print(f'{INDENT}{reslotted} neighbor(s) re-slotted by the atlas map')
- print(f'{INDENT}layer now {_summary(cells)}')
- for note in doc.notes:
- print(f'{INDENT}{note}')
- return EXIT_OK
diff --git a/tests/fixtures/atlas_maps/background.json b/tests/fixtures/atlas_maps/background.json
deleted file mode 100644
index 980ec6a4..00000000
--- a/tests/fixtures/atlas_maps/background.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "columns": 4,
- "material_period": [
- 2,
- 2
- ],
- "entries": [
- {
- "id": "floor_p00",
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 0,
- "x": 0,
- "y": 0
- }
- },
- {
- "id": "floor_p10",
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 1,
- "x": 1,
- "y": 0
- }
- },
- {
- "id": "floor_p01",
- "material_phase": [
- 0,
- 1
- ],
- "atlas_cell": {
- "index": 2,
- "x": 2,
- "y": 0
- }
- },
- {
- "id": "floor_p11",
- "material_phase": [
- 1,
- 1
- ],
- "atlas_cell": {
- "index": 3,
- "x": 3,
- "y": 0
- }
- }
- ]
-}
diff --git a/tests/fixtures/atlas_maps/connect16.json b/tests/fixtures/atlas_maps/connect16.json
deleted file mode 100644
index bda702da..00000000
--- a/tests/fixtures/atlas_maps/connect16.json
+++ /dev/null
@@ -1,425 +0,0 @@
-{
- "columns": 4,
- "material_period": [
- 2,
- 1
- ],
- "entries": [
- {
- "id": "wall_m0_p0",
- "canonical_neighbor_mask": 0,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 0,
- "x": 0,
- "y": 0
- }
- },
- {
- "id": "wall_m2_p0",
- "canonical_neighbor_mask": 2,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 1,
- "x": 1,
- "y": 0
- }
- },
- {
- "id": "wall_m16_p0",
- "canonical_neighbor_mask": 16,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 2,
- "x": 2,
- "y": 0
- }
- },
- {
- "id": "wall_m18_p0",
- "canonical_neighbor_mask": 18,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 3,
- "x": 3,
- "y": 0
- }
- },
- {
- "id": "wall_m64_p0",
- "canonical_neighbor_mask": 64,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 4,
- "x": 0,
- "y": 1
- }
- },
- {
- "id": "wall_m66_p0",
- "canonical_neighbor_mask": 66,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 5,
- "x": 1,
- "y": 1
- }
- },
- {
- "id": "wall_m80_p0",
- "canonical_neighbor_mask": 80,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 6,
- "x": 2,
- "y": 1
- }
- },
- {
- "id": "wall_m82_p0",
- "canonical_neighbor_mask": 82,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 7,
- "x": 3,
- "y": 1
- }
- },
- {
- "id": "wall_m8_p0",
- "canonical_neighbor_mask": 8,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 8,
- "x": 0,
- "y": 2
- }
- },
- {
- "id": "wall_m10_p0",
- "canonical_neighbor_mask": 10,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 9,
- "x": 1,
- "y": 2
- }
- },
- {
- "id": "wall_m24_p0",
- "canonical_neighbor_mask": 24,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 10,
- "x": 2,
- "y": 2
- }
- },
- {
- "id": "wall_m26_p0",
- "canonical_neighbor_mask": 26,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 11,
- "x": 3,
- "y": 2
- }
- },
- {
- "id": "wall_m72_p0",
- "canonical_neighbor_mask": 72,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 12,
- "x": 0,
- "y": 3
- }
- },
- {
- "id": "wall_m74_p0",
- "canonical_neighbor_mask": 74,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 13,
- "x": 1,
- "y": 3
- }
- },
- {
- "id": "wall_m88_p0",
- "canonical_neighbor_mask": 88,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 14,
- "x": 2,
- "y": 3
- }
- },
- {
- "id": "wall_m90_p0",
- "canonical_neighbor_mask": 90,
- "material_phase": [
- 0,
- 0
- ],
- "atlas_cell": {
- "index": 15,
- "x": 3,
- "y": 3
- }
- },
- {
- "id": "wall_m0_p1",
- "canonical_neighbor_mask": 0,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 16,
- "x": 0,
- "y": 4
- }
- },
- {
- "id": "wall_m2_p1",
- "canonical_neighbor_mask": 2,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 17,
- "x": 1,
- "y": 4
- }
- },
- {
- "id": "wall_m16_p1",
- "canonical_neighbor_mask": 16,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 18,
- "x": 2,
- "y": 4
- }
- },
- {
- "id": "wall_m18_p1",
- "canonical_neighbor_mask": 18,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 19,
- "x": 3,
- "y": 4
- }
- },
- {
- "id": "wall_m64_p1",
- "canonical_neighbor_mask": 64,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 20,
- "x": 0,
- "y": 5
- }
- },
- {
- "id": "wall_m66_p1",
- "canonical_neighbor_mask": 66,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 21,
- "x": 1,
- "y": 5
- }
- },
- {
- "id": "wall_m80_p1",
- "canonical_neighbor_mask": 80,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 22,
- "x": 2,
- "y": 5
- }
- },
- {
- "id": "wall_m82_p1",
- "canonical_neighbor_mask": 82,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 23,
- "x": 3,
- "y": 5
- }
- },
- {
- "id": "wall_m8_p1",
- "canonical_neighbor_mask": 8,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 24,
- "x": 0,
- "y": 6
- }
- },
- {
- "id": "wall_m10_p1",
- "canonical_neighbor_mask": 10,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 25,
- "x": 1,
- "y": 6
- }
- },
- {
- "id": "wall_m24_p1",
- "canonical_neighbor_mask": 24,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 26,
- "x": 2,
- "y": 6
- }
- },
- {
- "id": "wall_m26_p1",
- "canonical_neighbor_mask": 26,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 27,
- "x": 3,
- "y": 6
- }
- },
- {
- "id": "wall_m72_p1",
- "canonical_neighbor_mask": 72,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 28,
- "x": 0,
- "y": 7
- }
- },
- {
- "id": "wall_m74_p1",
- "canonical_neighbor_mask": 74,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 29,
- "x": 1,
- "y": 7
- }
- },
- {
- "id": "wall_m88_p1",
- "canonical_neighbor_mask": 88,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 30,
- "x": 2,
- "y": 7
- }
- },
- {
- "id": "wall_m90_p1",
- "canonical_neighbor_mask": 90,
- "material_phase": [
- 1,
- 0
- ],
- "atlas_cell": {
- "index": 31,
- "x": 3,
- "y": 7
- }
- }
- ]
-}
diff --git a/tests/fixtures/canonical_repo/data/clean.tres b/tests/fixtures/canonical_repo/data/clean.tres
deleted file mode 100644
index 23eddf43..00000000
--- a/tests/fixtures/canonical_repo/data/clean.tres
+++ /dev/null
@@ -1,13 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://dcanonclean"]
-
-[ext_resource type="Script" uid="uid://dcanonitem" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-price = 12.0
-scale = Vector2(1.5, 2)
-ratios = Array[float]([1.0, 0.25])
-count = 3
-notes = [0.1, "x"]
-weight = 0.3
-tags = Array[StringName]([&"a"])
diff --git a/tests/fixtures/canonical_repo/data/drifted.tres b/tests/fixtures/canonical_repo/data/drifted.tres
deleted file mode 100644
index e2880e2f..00000000
--- a/tests/fixtures/canonical_repo/data/drifted.tres
+++ /dev/null
@@ -1,39 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://dcanondrifted"]
-
-[ext_resource type="Script" uid="uid://dcanonitem" path="res://systems/item.gd" id="1_item"]
-
-; Why this item exists. An editor save deletes this line; the respell must not.
-[sub_resource type="Resource" id="Child"]
-script = ExtResource("1_item")
-weight = 3.0
-price = 2.50
-
-[sub_resource type="Resource" id="Commented"]
-script = ExtResource("1_item")
-weight = 2.0
-; a note about the price below, which a reorder would re-attach
-price = 1.5
-
-[sub_resource type="Resource" id="Named"]
-script = ExtResource("1_item")
-price = 4.0
-resource_name = "named"
-
-[sub_resource type="Gradient" id="Ramp"]
-offsets = PackedFloat32Array(0.0, 0.50, 1)
-colors = PackedColorArray(1, 1, 1, 1.0, 0, 0, 0, 1)
-
-[resource]
-script = ExtResource("1_item")
-price = 12.50
-scale = Vector2(1.50, 2.0)
-ratios = [1, 0.250,
-0.5]
-children = [SubResource("Child"), null]
-icons = []
-modes = [0, 1]
-count = 3
-notes = [0.10, "x;y", {"k": 2.50}]
-guarded = 1.50
-weight = 0.30 ; the inline comment rides along with its value
-tags = [&"a", &"b"]
diff --git a/tests/fixtures/canonical_repo/project.godot b/tests/fixtures/canonical_repo/project.godot
deleted file mode 100644
index 46b056b2..00000000
--- a/tests/fixtures/canonical_repo/project.godot
+++ /dev/null
@@ -1,5 +0,0 @@
-config_version=5
-
-[application]
-
-config/name="canonical fixture"
diff --git a/tests/fixtures/canonical_repo/systems/base_item.gd b/tests/fixtures/canonical_repo/systems/base_item.gd
deleted file mode 100644
index 7cbceca1..00000000
--- a/tests/fixtures/canonical_repo/systems/base_item.gd
+++ /dev/null
@@ -1,5 +0,0 @@
-extends Resource
-
-## Declared on the base: the saver writes these AFTER the subclass's own.
-@export var weight: float = 1.0
-@export var tags: Array[StringName] = []
diff --git a/tests/fixtures/canonical_repo/systems/item.gd b/tests/fixtures/canonical_repo/systems/item.gd
deleted file mode 100644
index 315801d2..00000000
--- a/tests/fixtures/canonical_repo/systems/item.gd
+++ /dev/null
@@ -1,19 +0,0 @@
-class_name Item
-extends "res://systems/base_item.gd"
-
-enum Mode { IDLE, BUSY }
-
-@export var price: float
-@export var scale: Vector2 = Vector2.ONE
-@export var ratios: Array[float] = []
-@export var children: Array[Item] = []
-@export var icons: Array[Texture2D] = []
-## An enum element type: the saver's spelling of it is not knowable by parse.
-@export var modes: Array[Mode] = []
-@export var count: int
-@export var notes: Array = []
-
-## The saver writes what the GETTER returns — never respelled.
-@export var guarded: float = 0.0:
- set(value):
- guarded = maxf(value, 0.0)
diff --git a/tests/fixtures/defaults_repo/data/clean.tres b/tests/fixtures/defaults_repo/data/clean.tres
deleted file mode 100644
index 82602bc0..00000000
--- a/tests/fixtures/defaults_repo/data/clean.tres
+++ /dev/null
@@ -1,9 +0,0 @@
-[gd_resource type="Resource" script_class="Rule" format=3 uid="uid://ddefaultscln"]
-
-[ext_resource type="Script" uid="uid://ddefaultsrule" path="res://systems/rule.gd" id="1_rule"]
-
-[resource]
-script = ExtResource("1_rule")
-trigger = 2
-priority = 5
-label = "loud"
diff --git a/tests/fixtures/defaults_repo/data/redundant.tres b/tests/fixtures/defaults_repo/data/redundant.tres
deleted file mode 100644
index 73a6a0ce..00000000
--- a/tests/fixtures/defaults_repo/data/redundant.tres
+++ /dev/null
@@ -1,35 +0,0 @@
-[gd_resource type="Resource" script_class="Rule" format=3 uid="uid://ddefaultsred"]
-
-[ext_resource type="Script" uid="uid://ddefaultsrule" path="res://systems/rule.gd" id="1_rule"]
-
-; This comment records WHY the rule exists. Godot's writer deletes it on any
-; re-save; the elision pass must not.
-[sub_resource type="Resource" id="Nested"]
-script = ExtResource("1_rule")
-trigger = 0
-priority = 10
-label = "nested"
-
-[sub_resource type="Curve" id="EngineCurve"]
-_limits = [0.0, 1.0, 0.0, 1.0]
-point_count = 0
-
-[resource]
-script = ExtResource("1_rule")
-trigger = 0
-kind = 7
-owner_id = -1
-tag = &"none"
-speed = 300.0
-label = "unnamed"
-offset = Vector2(0, 0)
-extent = Rect2(0, 0, 4, 4)
-untouched = 0
-members = Array[Resource]([])
-lookup = {}
-payload = null
-guarded = 0
-computed = 3
-enabled = true
-priority = 99
-trigger_note = 1
diff --git a/tests/fixtures/defaults_repo/project.godot b/tests/fixtures/defaults_repo/project.godot
deleted file mode 100644
index 905541be..00000000
--- a/tests/fixtures/defaults_repo/project.godot
+++ /dev/null
@@ -1,5 +0,0 @@
-config_version=5
-
-[application]
-
-config/name="defaults fixture"
diff --git a/tests/fixtures/defaults_repo/systems/base_rule.gd b/tests/fixtures/defaults_repo/systems/base_rule.gd
deleted file mode 100644
index 1d54ea2e..00000000
--- a/tests/fixtures/defaults_repo/systems/base_rule.gd
+++ /dev/null
@@ -1,5 +0,0 @@
-extends Resource
-
-## Exports on the base are inherited by the subclass and must resolve the same.
-@export var priority: int = 10
-@export var enabled: bool = true
diff --git a/tests/fixtures/defaults_repo/systems/base_rule.gd.uid b/tests/fixtures/defaults_repo/systems/base_rule.gd.uid
deleted file mode 100644
index e6d055ab..00000000
--- a/tests/fixtures/defaults_repo/systems/base_rule.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://ddefaultsbase
\ No newline at end of file
diff --git a/tests/fixtures/defaults_repo/systems/ids.gd b/tests/fixtures/defaults_repo/systems/ids.gd
deleted file mode 100644
index 34053c63..00000000
--- a/tests/fixtures/defaults_repo/systems/ids.gd
+++ /dev/null
@@ -1,10 +0,0 @@
-extends RefCounted
-
-const INVALID_ID: int = -1
-const DEFAULT_TAG := &"none"
-
-enum Kind {
- FIRST, # a comment INSIDE the braces — folds wrong without care
- SECOND,
- THIRD = 7,
-}
diff --git a/tests/fixtures/defaults_repo/systems/ids.gd.uid b/tests/fixtures/defaults_repo/systems/ids.gd.uid
deleted file mode 100644
index 0890b0c8..00000000
--- a/tests/fixtures/defaults_repo/systems/ids.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://ddefaultsids
\ No newline at end of file
diff --git a/tests/fixtures/defaults_repo/systems/rule.gd b/tests/fixtures/defaults_repo/systems/rule.gd
deleted file mode 100644
index 9733ee91..00000000
--- a/tests/fixtures/defaults_repo/systems/rule.gd
+++ /dev/null
@@ -1,31 +0,0 @@
-extends "res://systems/base_rule.gd"
-
-const IdsClass = preload("res://systems/ids.gd")
-const SPEED := 300.0
-
-enum Trigger {
- ALL_DOWN,
- OBJECTIVE,
- SELF_EXIT,
-}
-
-@export var trigger: Trigger = Trigger.ALL_DOWN
-@export var kind: int = IdsClass.Kind.THIRD
-@export var owner_id: int = IdsClass.INVALID_ID
-@export var tag: StringName = IdsClass.DEFAULT_TAG
-@export var speed: float = SPEED
-@export var label: String = "unnamed"
-@export var offset: Vector2 = Vector2.ZERO
-@export var extent: Rect2 = Rect2(0, 0, 4, 4)
-@export var untouched: int
-@export var members: Array[Resource] = []
-@export var lookup: Dictionary = {}
-@export var payload: Resource
-
-## An accessor means the STORED value need not be the assigned one — never elide.
-@export var guarded: int = 0:
- set(value):
- guarded = maxi(value, 0)
-
-## A default the closed value language cannot evaluate — never elide.
-@export var computed: int = int(SPEED / 100.0)
diff --git a/tests/fixtures/defaults_repo/systems/rule.gd.uid b/tests/fixtures/defaults_repo/systems/rule.gd.uid
deleted file mode 100644
index beff572a..00000000
--- a/tests/fixtures/defaults_repo/systems/rule.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://ddefaultsrule
\ No newline at end of file
diff --git a/tests/fixtures/editor_parity/art/a.tres b/tests/fixtures/editor_parity/art/a.tres
deleted file mode 100644
index 02c28138..00000000
--- a/tests/fixtures/editor_parity/art/a.tres
+++ /dev/null
@@ -1,4 +0,0 @@
-[gd_resource type="PlaceholderTexture2D" format=3 uid="uid://dsa25yf8bm506"]
-
-[resource]
-size = Vector2(8, 8)
diff --git a/tests/fixtures/editor_parity/art/b.tres b/tests/fixtures/editor_parity/art/b.tres
deleted file mode 100644
index ed6a4775..00000000
--- a/tests/fixtures/editor_parity/art/b.tres
+++ /dev/null
@@ -1,4 +0,0 @@
-[gd_resource type="PlaceholderTexture2D" format=3 uid="uid://db33bbpsfdrpf"]
-
-[resource]
-size = Vector2(8, 8)
diff --git a/tests/fixtures/editor_parity/art/c.tres b/tests/fixtures/editor_parity/art/c.tres
deleted file mode 100644
index 3866bf93..00000000
--- a/tests/fixtures/editor_parity/art/c.tres
+++ /dev/null
@@ -1,4 +0,0 @@
-[gd_resource type="PlaceholderTexture2D" format=3 uid="uid://uxcx25nlq3p4"]
-
-[resource]
-size = Vector2(8, 8)
diff --git a/tests/fixtures/editor_parity/art/d.tres b/tests/fixtures/editor_parity/art/d.tres
deleted file mode 100644
index 12967a16..00000000
--- a/tests/fixtures/editor_parity/art/d.tres
+++ /dev/null
@@ -1,4 +0,0 @@
-[gd_resource type="PlaceholderTexture2D" format=3 uid="uid://iu1k0uj4kbbm"]
-
-[resource]
-size = Vector2(8, 8)
diff --git a/tests/fixtures/editor_parity/art/e.tres b/tests/fixtures/editor_parity/art/e.tres
deleted file mode 100644
index be291ca1..00000000
--- a/tests/fixtures/editor_parity/art/e.tres
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgapeitem"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-price = 1.0
diff --git a/tests/fixtures/editor_parity/art/many.gdshader b/tests/fixtures/editor_parity/art/many.gdshader
deleted file mode 100644
index a315cd23..00000000
--- a/tests/fixtures/editor_parity/art/many.gdshader
+++ /dev/null
@@ -1,17 +0,0 @@
-shader_type canvas_item;
-
-// a comment with uniform float fake = 1.0;
-uniform int count = 3;
-uniform bool on = true;
-uniform vec2 offset = vec2(1.0, 0.5);
-uniform vec3 axis = vec3(0.0, 1.0, 0.0);
-uniform vec4 plain4 = vec4(0.25, 0.5, 0.75, 1.0);
-uniform vec3 rgb : source_color = vec3(1.0, 0.5, 0.25);
-uniform float tenth = 0.1;
-uniform float ranged : hint_range(0.0, 2.0) = 1.0;
-uniform float bare;
-uniform ivec2 cells = ivec2(2, 3);
-instance uniform float per_inst = 2.0;
-group_uniforms extra;
-uniform float grouped = 0.5;
-group_uniforms;
diff --git a/tests/fixtures/editor_parity/art/many.gdshader.uid b/tests/fixtures/editor_parity/art/many.gdshader.uid
deleted file mode 100644
index 1fd20cfe..00000000
--- a/tests/fixtures/editor_parity/art/many.gdshader.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://dpd25i52pluyj
diff --git a/tests/fixtures/editor_parity/art/tint.gdshader b/tests/fixtures/editor_parity/art/tint.gdshader
deleted file mode 100644
index fe6fb440..00000000
--- a/tests/fixtures/editor_parity/art/tint.gdshader
+++ /dev/null
@@ -1,5 +0,0 @@
-shader_type canvas_item;
-
-uniform vec4 tint : source_color = vec4(1.0, 0.5, 0.25, 1.0);
-uniform float strength = 0.75;
-uniform sampler2D mask;
diff --git a/tests/fixtures/editor_parity/art/tint.gdshader.uid b/tests/fixtures/editor_parity/art/tint.gdshader.uid
deleted file mode 100644
index 0104fa60..00000000
--- a/tests/fixtures/editor_parity/art/tint.gdshader.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://6pffobc4ic2a
diff --git a/tests/fixtures/editor_parity/editor/g01_order.tres b/tests/fixtures/editor_parity/editor/g01_order.tres
deleted file mode 100644
index 335c60ce..00000000
--- a/tests/fixtures/editor_parity/editor/g01_order.tres
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap01order"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-price = 3.0
-count = 4
-weight = 2.0
-label = "x"
diff --git a/tests/fixtures/editor_parity/editor/g02_ext.tres b/tests/fixtures/editor_parity/editor/g02_ext.tres
deleted file mode 100644
index fa204bfa..00000000
--- a/tests/fixtures/editor_parity/editor/g02_ext.tres
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap02ext"]
-
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="2_a"]
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="9_item"]
-[ext_resource type="Texture2D" uid="uid://db33bbpsfdrpf" path="res://art/b.tres" id="10_b"]
-[ext_resource type="Texture2D" uid="uid://uxcx25nlq3p4" path="res://art/c.tres" id="b_c"]
-
-[resource]
-script = ExtResource("9_item")
-parts = [ExtResource("10_b"), ExtResource("b_c"), ExtResource("2_a")]
diff --git a/tests/fixtures/editor_parity/editor/g03_tool.tres b/tests/fixtures/editor_parity/editor/g03_tool.tres
deleted file mode 100644
index 5ced8afb..00000000
--- a/tests/fixtures/editor_parity/editor/g03_tool.tres
+++ /dev/null
@@ -1,8 +0,0 @@
-[gd_resource type="Resource" script_class="Tooled" format=3 uid="uid://bgap03tool"]
-
-[ext_resource type="Texture2D" uid="uid://iu1k0uj4kbbm" path="res://art/d.tres" id="1_6r0cn"]
-[ext_resource type="Script" uid="uid://b4ou5v4nq3ek7" path="res://systems/tooled.gd" id="1_tool"]
-
-[resource]
-script = ExtResource("1_tool")
-amount = 2
diff --git a/tests/fixtures/editor_parity/editor/g04_class.tres b/tests/fixtures/editor_parity/editor/g04_class.tres
deleted file mode 100644
index 92ce2969..00000000
--- a/tests/fixtures/editor_parity/editor/g04_class.tres
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap04class"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-price = 5.0
diff --git a/tests/fixtures/editor_parity/editor/g04b_noclass.tres b/tests/fixtures/editor_parity/editor/g04b_noclass.tres
deleted file mode 100644
index d98fd4b9..00000000
--- a/tests/fixtures/editor_parity/editor/g04b_noclass.tres
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_resource type="Resource" format=3 uid="uid://bgap04noclass"]
-
-[ext_resource type="Script" uid="uid://fidnkceuvtda" path="res://systems/plain.gd" id="1_plain"]
-
-[resource]
-script = ExtResource("1_plain")
-amount = 3
diff --git a/tests/fixtures/editor_parity/editor/g05_array.tres b/tests/fixtures/editor_parity/editor/g05_array.tres
deleted file mode 100644
index 4f58ea00..00000000
--- a/tests/fixtures/editor_parity/editor/g05_array.tres
+++ /dev/null
@@ -1,9 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap05array"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="2_a"]
-[ext_resource type="Texture2D" uid="uid://db33bbpsfdrpf" path="res://art/b.tres" id="3_b"]
-
-[resource]
-script = ExtResource("1_item")
-parts = [ExtResource("2_a"), ExtResource("3_b")]
diff --git a/tests/fixtures/editor_parity/editor/g06_gradient.tres b/tests/fixtures/editor_parity/editor/g06_gradient.tres
deleted file mode 100644
index 78671d7c..00000000
--- a/tests/fixtures/editor_parity/editor/g06_gradient.tres
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_resource type="GradientTexture2D" format=3 uid="uid://bgap06grad"]
-
-[sub_resource type="Gradient" id="Gradient_1"]
-colors = PackedColorArray(1, 0, 0, 1, 0, 0, 1, 1)
-
-[resource]
-gradient = SubResource("Gradient_1")
diff --git a/tests/fixtures/editor_parity/editor/g07_shader.tres b/tests/fixtures/editor_parity/editor/g07_shader.tres
deleted file mode 100644
index 10484c49..00000000
--- a/tests/fixtures/editor_parity/editor/g07_shader.tres
+++ /dev/null
@@ -1,8 +0,0 @@
-[gd_resource type="ShaderMaterial" format=3 uid="uid://bgap07shader"]
-
-[ext_resource type="Shader" uid="uid://6pffobc4ic2a" path="res://art/tint.gdshader" id="1_tint"]
-
-[resource]
-shader = ExtResource("1_tint")
-shader_parameter/tint = Color(1, 0.5, 0.25, 1)
-shader_parameter/strength = 0.75
diff --git a/tests/fixtures/editor_parity/editor/g07b_shader_types.tres b/tests/fixtures/editor_parity/editor/g07b_shader_types.tres
deleted file mode 100644
index adfce315..00000000
--- a/tests/fixtures/editor_parity/editor/g07b_shader_types.tres
+++ /dev/null
@@ -1,17 +0,0 @@
-[gd_resource type="ShaderMaterial" format=3 uid="uid://bgaprmany"]
-
-[ext_resource type="Shader" uid="uid://dpd25i52pluyj" path="res://art/many.gdshader" id="1_many"]
-
-[resource]
-shader = ExtResource("1_many")
-shader_parameter/count = 3
-shader_parameter/on = true
-shader_parameter/offset = Vector2(1, 0.5)
-shader_parameter/axis = Vector3(0, 1, 0)
-shader_parameter/plain4 = Vector4(0.25, 0.5, 0.75, 1)
-shader_parameter/rgb = Color(1, 0.5, 0.25, 1)
-shader_parameter/tenth = 0.1
-shader_parameter/ranged = 1.0
-shader_parameter/bare = 0.0
-shader_parameter/cells = Vector2i(2, 3)
-shader_parameter/grouped = 0.5
diff --git a/tests/fixtures/editor_parity/editor/g08_frames.tres b/tests/fixtures/editor_parity/editor/g08_frames.tres
deleted file mode 100644
index 397f12cc..00000000
--- a/tests/fixtures/editor_parity/editor/g08_frames.tres
+++ /dev/null
@@ -1,42 +0,0 @@
-[gd_resource type="SpriteFrames" format=3 uid="uid://bgap08frames"]
-
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="1_a"]
-
-[sub_resource type="PlaceholderTexture2D" id="Tex_attack"]
-size = Vector2(2, 2)
-
-[sub_resource type="PlaceholderTexture2D" id="Tex_idle"]
-size = Vector2(3, 3)
-
-[sub_resource type="PlaceholderTexture2D" id="Tex_run"]
-size = Vector2(5, 5)
-
-[resource]
-animations = [{
-"frames": [{
-"duration": 2.0,
-"texture": SubResource("Tex_attack")
-}, {
-"duration": 1.0,
-"texture": ExtResource("1_a")
-}],
-"loop": 0,
-"name": &"Attack",
-"speed": 8.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": SubResource("Tex_idle")
-}],
-"loop": 1,
-"name": &"idle",
-"speed": 5.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": SubResource("Tex_run")
-}],
-"loop": 1,
-"name": &"run",
-"speed": 5.0
-}]
diff --git a/tests/fixtures/editor_parity/editor/g09_dict.tres b/tests/fixtures/editor_parity/editor/g09_dict.tres
deleted file mode 100644
index 35029b8f..00000000
--- a/tests/fixtures/editor_parity/editor/g09_dict.tres
+++ /dev/null
@@ -1,22 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap1adict"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-table = {
-1: "one",
-2: "two",
-"10": 6,
-"9": 7,
-"B": 3,
-"_u": 5,
-"a": [{
-"p": 2,
-"q": 1
-}],
-"b": {
-"x": 2,
-"y": 1
-}
-}
diff --git a/tests/fixtures/editor_parity/editor/g10_scene.tscn b/tests/fixtures/editor_parity/editor/g10_scene.tscn
deleted file mode 100644
index 8de789fe..00000000
--- a/tests/fixtures/editor_parity/editor/g10_scene.tscn
+++ /dev/null
@@ -1,24 +0,0 @@
-[gd_scene format=3 uid="uid://bgap10scene"]
-
-[ext_resource type="Script" uid="uid://cys6nchjwr68d" path="res://systems/holder.gd" id="1_hold"]
-
-[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_abcde"]
-size = Vector2(2, 2)
-
-[sub_resource type="PlaceholderTexture2D" id="tex_b"]
-size = Vector2(4, 4)
-
-[sub_resource type="PlaceholderTexture2D" id="tex_c"]
-size = Vector2(6, 6)
-
-[node name="Root" type="Node2D" unique_id=1101]
-script = ExtResource("1_hold")
-
-[node name="First" type="Sprite2D" parent="." unique_id=2202]
-texture = SubResource("PlaceholderTexture2D_abcde")
-
-[node name="Second" type="Sprite2D" parent="." unique_id=3303]
-texture = SubResource("tex_b")
-
-[node name="Third" type="Sprite2D" parent="Second" unique_id=4404]
-texture = SubResource("tex_c")
diff --git a/tests/fixtures/editor_parity/editor/g10b_unique.tscn b/tests/fixtures/editor_parity/editor/g10b_unique.tscn
deleted file mode 100644
index e968e40d..00000000
--- a/tests/fixtures/editor_parity/editor/g10b_unique.tscn
+++ /dev/null
@@ -1,5 +0,0 @@
-[gd_scene format=3 uid="uid://bgap10bunique"]
-
-[node name="Root" type="Node2D" unique_id=248832578]
-
-[node name="Child" type="Node2D" parent="." unique_id=1668447021]
diff --git a/tests/fixtures/editor_parity/editor/g10c_dict_first_use.tres b/tests/fixtures/editor_parity/editor/g10c_dict_first_use.tres
deleted file mode 100644
index 513342c6..00000000
--- a/tests/fixtures/editor_parity/editor/g10c_dict_first_use.tres
+++ /dev/null
@@ -1,17 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgapmdict"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[sub_resource type="PlaceholderTexture2D" id="for_a"]
-size = Vector2(2, 2)
-
-[sub_resource type="PlaceholderTexture2D" id="for_z"]
-size = Vector2(3, 3)
-
-[resource]
-script = ExtResource("1_item")
-table = {
-"a": SubResource("for_a"),
-"z": SubResource("for_z")
-}
-label = "l"
diff --git a/tests/fixtures/editor_parity/editor/g10d_attrs.tscn b/tests/fixtures/editor_parity/editor/g10d_attrs.tscn
deleted file mode 100644
index 24968e50..00000000
--- a/tests/fixtures/editor_parity/editor/g10d_attrs.tscn
+++ /dev/null
@@ -1,9 +0,0 @@
-[gd_scene format=3 uid="uid://bgapqattrs"]
-
-[ext_resource type="Script" uid="uid://dkpjqes0p2snp" path="res://systems/pointer.gd" id="1_ptr"]
-
-[node name="Root" type="Node2D" unique_id=248832578 groups=["g1"]]
-
-[node name="Ptr" type="Node" parent="." unique_id=1722112832 node_paths=PackedStringArray("target") groups=["g2"]]
-script = ExtResource("1_ptr")
-target = NodePath("..")
diff --git a/tests/fixtures/editor_parity/editor/g11_sub_by_name.tres b/tests/fixtures/editor_parity/editor/g11_sub_by_name.tres
deleted file mode 100644
index 7cc4753a..00000000
--- a/tests/fixtures/editor_parity/editor/g11_sub_by_name.tres
+++ /dev/null
@@ -1,26 +0,0 @@
-[gd_resource type="Resource" script_class="Pair" format=3 uid="uid://bgap11subname"]
-
-[ext_resource type="Script" uid="uid://cfm7q2rk6bv5g" path="res://systems/pair.gd" id="1_pair"]
-
-[sub_resource type="Resource" id="A"]
-script = ExtResource("1_pair")
-
-[sub_resource type="Resource" id="M"]
-script = ExtResource("1_pair")
-
-[sub_resource type="Resource" id="Z2"]
-script = ExtResource("1_pair")
-
-[sub_resource type="Resource" id="Z1"]
-script = ExtResource("1_pair")
-
-[sub_resource type="Resource" id="Z"]
-script = ExtResource("1_pair")
-zeta = SubResource("Z1")
-alpha = SubResource("Z2")
-
-[resource]
-script = ExtResource("1_pair")
-zeta = SubResource("Z")
-alpha = SubResource("A")
-mid = SubResource("M")
diff --git a/tests/fixtures/editor_parity/editor/g12_ext_named.tres b/tests/fixtures/editor_parity/editor/g12_ext_named.tres
deleted file mode 100644
index 208969e6..00000000
--- a/tests/fixtures/editor_parity/editor/g12_ext_named.tres
+++ /dev/null
@@ -1,13 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap12extname"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1"]
-[ext_resource type="Shader" uid="uid://dpd25i52pluyj" path="res://art/many.gdshader" id="2"]
-[ext_resource type="Texture2D" uid="uid://db33bbpsfdrpf" path="res://art/b.tres" id="6_hpjp2"]
-[ext_resource type="Resource" uid="uid://bgapeitem" path="res://art/e.tres" id="charms"]
-[ext_resource type="Texture2D" uid="uid://iu1k0uj4kbbm" path="res://art/d.tres" id="charm_roller"]
-[ext_resource type="Shader" uid="uid://6pffobc4ic2a" path="res://art/tint.gdshader" id="gear_bases"]
-[ext_resource type="Texture2D" uid="uid://uxcx25nlq3p4" path="res://art/c.tres" id="gear_roller"]
-
-[resource]
-script = ExtResource("1")
-parts = [ExtResource("2"), ExtResource("6_hpjp2"), ExtResource("charms"), ExtResource("charm_roller"), ExtResource("gear_bases"), ExtResource("gear_roller")]
diff --git a/tests/fixtures/editor_parity/editor/g13_typed_script.tres b/tests/fixtures/editor_parity/editor/g13_typed_script.tres
deleted file mode 100644
index 4553b82c..00000000
--- a/tests/fixtures/editor_parity/editor/g13_typed_script.tres
+++ /dev/null
@@ -1,9 +0,0 @@
-[gd_resource type="Resource" script_class="Roster" format=3 uid="uid://bgap13typed"]
-
-[ext_resource type="Script" uid="uid://dvr2jop37vvbc" path="res://systems/roster.gd" id="1_roster"]
-[ext_resource type="Resource" uid="uid://bgapeitem" path="res://art/e.tres" id="2_e"]
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="3_item"]
-
-[resource]
-script = ExtResource("1_roster")
-items = Array[ExtResource("3_item")]([ExtResource("2_e")])
diff --git a/tests/fixtures/editor_parity/editor/g15_frames_inline.tres b/tests/fixtures/editor_parity/editor/g15_frames_inline.tres
deleted file mode 100644
index 1d148107..00000000
--- a/tests/fixtures/editor_parity/editor/g15_frames_inline.tres
+++ /dev/null
@@ -1,19 +0,0 @@
-[gd_resource type="SpriteFrames" format=3 uid="uid://bgap15inline"]
-
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="1_a"]
-
-[resource]
-animations = [{
-"frames": [],
-"loop": 0,
-"name": &"empty",
-"speed": 4.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": ExtResource("1_a")
-}],
-"loop": 1,
-"name": &"idle",
-"speed": 5.0
-}]
diff --git a/tests/fixtures/editor_parity/hand/g01_order.tres b/tests/fixtures/editor_parity/hand/g01_order.tres
deleted file mode 100644
index 53d9f717..00000000
--- a/tests/fixtures/editor_parity/hand/g01_order.tres
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap01order"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-weight = 2.0
-label = "x"
-price = 3.0
-count = 4
diff --git a/tests/fixtures/editor_parity/hand/g02_ext.tres b/tests/fixtures/editor_parity/hand/g02_ext.tres
deleted file mode 100644
index 555439d2..00000000
--- a/tests/fixtures/editor_parity/hand/g02_ext.tres
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap02ext"]
-
-[ext_resource type="Texture2D" uid="uid://uxcx25nlq3p4" path="res://art/c.tres" id="b_c"]
-
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="2_a"]
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="9_item"]
-
-[ext_resource type="Texture2D" uid="uid://db33bbpsfdrpf" path="res://art/b.tres" id="10_b"]
-
-[resource]
-script = ExtResource("9_item")
-parts = [ExtResource("10_b"), ExtResource("b_c"), ExtResource("2_a")]
diff --git a/tests/fixtures/editor_parity/hand/g03_tool.tres b/tests/fixtures/editor_parity/hand/g03_tool.tres
deleted file mode 100644
index baeeecbe..00000000
--- a/tests/fixtures/editor_parity/hand/g03_tool.tres
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_resource type="Resource" script_class="Tooled" format=3 uid="uid://bgap03tool"]
-
-[ext_resource type="Script" uid="uid://b4ou5v4nq3ek7" path="res://systems/tooled.gd" id="1_tool"]
-
-[resource]
-script = ExtResource("1_tool")
-amount = 2
diff --git a/tests/fixtures/editor_parity/hand/g04_class.tres b/tests/fixtures/editor_parity/hand/g04_class.tres
deleted file mode 100644
index 8bba47a4..00000000
--- a/tests/fixtures/editor_parity/hand/g04_class.tres
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_resource type="Resource" format=3 uid="uid://bgap04class"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-price = 5.0
diff --git a/tests/fixtures/editor_parity/hand/g04b_noclass.tres b/tests/fixtures/editor_parity/hand/g04b_noclass.tres
deleted file mode 100644
index 4a214b49..00000000
--- a/tests/fixtures/editor_parity/hand/g04b_noclass.tres
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_resource type="Resource" script_class="Bogus" format=3 uid="uid://bgap04noclass"]
-
-[ext_resource type="Script" uid="uid://fidnkceuvtda" path="res://systems/plain.gd" id="1_plain"]
-
-[resource]
-script = ExtResource("1_plain")
-amount = 3
diff --git a/tests/fixtures/editor_parity/hand/g05_array.tres b/tests/fixtures/editor_parity/hand/g05_array.tres
deleted file mode 100644
index 34a7d73a..00000000
--- a/tests/fixtures/editor_parity/hand/g05_array.tres
+++ /dev/null
@@ -1,9 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap05array"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="2_a"]
-[ext_resource type="Texture2D" uid="uid://db33bbpsfdrpf" path="res://art/b.tres" id="3_b"]
-
-[resource]
-script = ExtResource("1_item")
-parts = Array[Resource]([ExtResource("2_a"), ExtResource("3_b")])
diff --git a/tests/fixtures/editor_parity/hand/g06_gradient.tres b/tests/fixtures/editor_parity/hand/g06_gradient.tres
deleted file mode 100644
index 8f149ce3..00000000
--- a/tests/fixtures/editor_parity/hand/g06_gradient.tres
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_resource type="GradientTexture2D" format=3 uid="uid://bgap06grad"]
-
-[sub_resource type="Gradient" id="Gradient_1"]
-offsets = PackedFloat32Array(0, 1)
-colors = PackedColorArray(1, 0, 0, 1, 0, 0, 1, 1)
-
-[resource]
-gradient = SubResource("Gradient_1")
-width = 64
-height = 64
diff --git a/tests/fixtures/editor_parity/hand/g07_shader.tres b/tests/fixtures/editor_parity/hand/g07_shader.tres
deleted file mode 100644
index c93f4a7b..00000000
--- a/tests/fixtures/editor_parity/hand/g07_shader.tres
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_resource type="ShaderMaterial" format=3 uid="uid://bgap07shader"]
-
-[ext_resource type="Shader" uid="uid://6pffobc4ic2a" path="res://art/tint.gdshader" id="1_tint"]
-
-[resource]
-shader = ExtResource("1_tint")
diff --git a/tests/fixtures/editor_parity/hand/g07b_shader_types.tres b/tests/fixtures/editor_parity/hand/g07b_shader_types.tres
deleted file mode 100644
index a6aa111c..00000000
--- a/tests/fixtures/editor_parity/hand/g07b_shader_types.tres
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_resource type="ShaderMaterial" format=3 uid="uid://bgaprmany"]
-
-[ext_resource type="Shader" uid="uid://dpd25i52pluyj" path="res://art/many.gdshader" id="1_many"]
-
-[resource]
-shader = ExtResource("1_many")
diff --git a/tests/fixtures/editor_parity/hand/g08_frames.tres b/tests/fixtures/editor_parity/hand/g08_frames.tres
deleted file mode 100644
index b4beede6..00000000
--- a/tests/fixtures/editor_parity/hand/g08_frames.tres
+++ /dev/null
@@ -1,42 +0,0 @@
-[gd_resource type="SpriteFrames" format=3 uid="uid://bgap08frames"]
-
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="1_a"]
-
-[sub_resource type="PlaceholderTexture2D" id="Tex_run"]
-size = Vector2(5, 5)
-
-[sub_resource type="PlaceholderTexture2D" id="Tex_attack"]
-size = Vector2(2, 2)
-
-[sub_resource type="PlaceholderTexture2D" id="Tex_idle"]
-size = Vector2(3, 3)
-
-[resource]
-animations = [{
-"frames": [{
-"duration": 1.0,
-"texture": SubResource("Tex_run")
-}],
-"loop": true,
-"name": &"run",
-"speed": 5.0
-}, {
-"frames": [{
-"duration": 2.0,
-"texture": SubResource("Tex_attack")
-}, {
-"duration": 1.0,
-"texture": ExtResource("1_a")
-}],
-"loop": false,
-"name": &"Attack",
-"speed": 8.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": SubResource("Tex_idle")
-}],
-"loop": true,
-"name": &"idle",
-"speed": 5.0
-}]
diff --git a/tests/fixtures/editor_parity/hand/g09_dict.tres b/tests/fixtures/editor_parity/hand/g09_dict.tres
deleted file mode 100644
index f6374129..00000000
--- a/tests/fixtures/editor_parity/hand/g09_dict.tres
+++ /dev/null
@@ -1,22 +0,0 @@
-[gd_resource type="Resource" script_class="Item" load_steps=2 format=3 uid="uid://bgap1adict"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[resource]
-script = ExtResource("1_item")
-table = {
-"b": {
-"y": 1,
-"x": 2
-},
-"B": 3,
-"a": [{
-"q": 1,
-"p": 2
-}],
-2: "two",
-1: "one",
-"_u": 5,
-"10": 6,
-"9": 7
-}
diff --git a/tests/fixtures/editor_parity/hand/g10_scene.tscn b/tests/fixtures/editor_parity/hand/g10_scene.tscn
deleted file mode 100644
index 1b4b4c3b..00000000
--- a/tests/fixtures/editor_parity/hand/g10_scene.tscn
+++ /dev/null
@@ -1,24 +0,0 @@
-[gd_scene load_steps=5 format=3 uid="uid://bgap10scene"]
-
-[ext_resource type="Script" uid="uid://cys6nchjwr68d" path="res://systems/holder.gd" id="1_hold"]
-
-[sub_resource type="PlaceholderTexture2D" id="tex_c"]
-size = Vector2(6, 6)
-
-[sub_resource type="PlaceholderTexture2D" id="tex_b"]
-size = Vector2(4, 4)
-
-[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_abcde"]
-size = Vector2(2, 2)
-
-[node name="Root" type="Node2D" unique_id=1101]
-script = ExtResource("1_hold")
-
-[node name="First" type="Sprite2D" parent="." unique_id=2202]
-texture = SubResource("PlaceholderTexture2D_abcde")
-
-[node name="Second" type="Sprite2D" parent="." unique_id=3303]
-texture = SubResource("tex_b")
-
-[node name="Third" type="Sprite2D" parent="Second" unique_id=4404]
-texture = SubResource("tex_c")
diff --git a/tests/fixtures/editor_parity/hand/g10b_unique.tscn b/tests/fixtures/editor_parity/hand/g10b_unique.tscn
deleted file mode 100644
index 91e973f0..00000000
--- a/tests/fixtures/editor_parity/hand/g10b_unique.tscn
+++ /dev/null
@@ -1,5 +0,0 @@
-[gd_scene format=3 uid="uid://bgap10bunique"]
-
-[node name="Root" type="Node2D"]
-
-[node name="Child" type="Node2D" parent="."]
diff --git a/tests/fixtures/editor_parity/hand/g10c_dict_first_use.tres b/tests/fixtures/editor_parity/hand/g10c_dict_first_use.tres
deleted file mode 100644
index 37045dbd..00000000
--- a/tests/fixtures/editor_parity/hand/g10c_dict_first_use.tres
+++ /dev/null
@@ -1,17 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgapmdict"]
-
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1_item"]
-
-[sub_resource type="PlaceholderTexture2D" id="for_a"]
-size = Vector2(2, 2)
-
-[sub_resource type="PlaceholderTexture2D" id="for_z"]
-size = Vector2(3, 3)
-
-[resource]
-script = ExtResource("1_item")
-label = "l"
-table = {
-"z": SubResource("for_z"),
-"a": SubResource("for_a")
-}
diff --git a/tests/fixtures/editor_parity/hand/g10d_attrs.tscn b/tests/fixtures/editor_parity/hand/g10d_attrs.tscn
deleted file mode 100644
index d478abe3..00000000
--- a/tests/fixtures/editor_parity/hand/g10d_attrs.tscn
+++ /dev/null
@@ -1,9 +0,0 @@
-[gd_scene format=3 uid="uid://bgapqattrs"]
-
-[ext_resource type="Script" uid="uid://dkpjqes0p2snp" path="res://systems/pointer.gd" id="1_ptr"]
-
-[node name="Root" type="Node2D" groups=["g1"]]
-
-[node name="Ptr" type="Node" parent="." node_paths=PackedStringArray("target") groups=["g2"]]
-script = ExtResource("1_ptr")
-target = NodePath("..")
diff --git a/tests/fixtures/editor_parity/hand/g11_sub_by_name.tres b/tests/fixtures/editor_parity/hand/g11_sub_by_name.tres
deleted file mode 100644
index e013a353..00000000
--- a/tests/fixtures/editor_parity/hand/g11_sub_by_name.tres
+++ /dev/null
@@ -1,26 +0,0 @@
-[gd_resource type="Resource" script_class="Pair" format=3 uid="uid://bgap11subname"]
-
-[ext_resource type="Script" path="res://systems/pair.gd" id="1_pair"]
-
-[sub_resource type="Resource" id="Z1"]
-script = ExtResource("1_pair")
-
-[sub_resource type="Resource" id="Z2"]
-script = ExtResource("1_pair")
-
-[sub_resource type="Resource" id="Z"]
-script = ExtResource("1_pair")
-zeta = SubResource("Z1")
-alpha = SubResource("Z2")
-
-[sub_resource type="Resource" id="A"]
-script = ExtResource("1_pair")
-
-[sub_resource type="Resource" id="M"]
-script = ExtResource("1_pair")
-
-[resource]
-script = ExtResource("1_pair")
-zeta = SubResource("Z")
-alpha = SubResource("A")
-mid = SubResource("M")
diff --git a/tests/fixtures/editor_parity/hand/g12_ext_named.tres b/tests/fixtures/editor_parity/hand/g12_ext_named.tres
deleted file mode 100644
index 1a02faf1..00000000
--- a/tests/fixtures/editor_parity/hand/g12_ext_named.tres
+++ /dev/null
@@ -1,13 +0,0 @@
-[gd_resource type="Resource" script_class="Item" format=3 uid="uid://bgap12extname"]
-
-[ext_resource type="Texture2D" uid="uid://uxcx25nlq3p4" path="res://art/c.tres" id="gear_roller"]
-[ext_resource type="Texture2D" uid="uid://iu1k0uj4kbbm" path="res://art/d.tres" id="charm_roller"]
-[ext_resource type="Texture2D" uid="uid://db33bbpsfdrpf" path="res://art/b.tres" id="6_hpjp2"]
-[ext_resource type="Resource" uid="uid://bgapeitem" path="res://art/e.tres" id="charms"]
-[ext_resource type="Shader" uid="uid://dpd25i52pluyj" path="res://art/many.gdshader" id="2"]
-[ext_resource type="Shader" uid="uid://6pffobc4ic2a" path="res://art/tint.gdshader" id="gear_bases"]
-[ext_resource type="Script" uid="uid://65pb8l8fq6ct" path="res://systems/item.gd" id="1"]
-
-[resource]
-script = ExtResource("1")
-parts = [ExtResource("2"), ExtResource("6_hpjp2"), ExtResource("charms"), ExtResource("charm_roller"), ExtResource("gear_bases"), ExtResource("gear_roller")]
diff --git a/tests/fixtures/editor_parity/hand/g13_typed_script.tres b/tests/fixtures/editor_parity/hand/g13_typed_script.tres
deleted file mode 100644
index 4154c559..00000000
--- a/tests/fixtures/editor_parity/hand/g13_typed_script.tres
+++ /dev/null
@@ -1,8 +0,0 @@
-[gd_resource type="Resource" script_class="Roster" format=3 uid="uid://bgap13typed"]
-
-[ext_resource type="Script" path="res://systems/roster.gd" id="1_roster"]
-[ext_resource type="Resource" path="res://art/e.tres" id="2_e"]
-
-[resource]
-script = ExtResource("1_roster")
-items = [ExtResource("2_e")]
diff --git a/tests/fixtures/editor_parity/hand/g15_frames_inline.tres b/tests/fixtures/editor_parity/hand/g15_frames_inline.tres
deleted file mode 100644
index 52353783..00000000
--- a/tests/fixtures/editor_parity/hand/g15_frames_inline.tres
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_resource type="SpriteFrames" format=3 uid="uid://bgap15inline"]
-
-[ext_resource type="Texture2D" uid="uid://dsa25yf8bm506" path="res://art/a.tres" id="1_a"]
-
-[resource]
-animations = [{"frames": [{"duration": 1.0, "texture": ExtResource("1_a")}], "loop": true, "name": &"idle", "speed": 5.0}, {"frames": [], "loop": false, "name": &"empty", "speed": 4.0}]
diff --git a/tests/fixtures/editor_parity/project.godot b/tests/fixtures/editor_parity/project.godot
deleted file mode 100644
index a17e2b87..00000000
--- a/tests/fixtures/editor_parity/project.godot
+++ /dev/null
@@ -1,6 +0,0 @@
-config_version=5
-
-[application]
-
-config/name="editor_parity"
-config/features=PackedStringArray("4.7")
diff --git a/tests/fixtures/editor_parity/systems/base_item.gd b/tests/fixtures/editor_parity/systems/base_item.gd
deleted file mode 100644
index 61f6f8c6..00000000
--- a/tests/fixtures/editor_parity/systems/base_item.gd
+++ /dev/null
@@ -1,5 +0,0 @@
-class_name BaseItem
-extends Resource
-
-@export var weight: float = 1.0
-@export var label: String = ""
diff --git a/tests/fixtures/editor_parity/systems/base_item.gd.uid b/tests/fixtures/editor_parity/systems/base_item.gd.uid
deleted file mode 100644
index 5d812951..00000000
--- a/tests/fixtures/editor_parity/systems/base_item.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://itfkm07xmmm0
diff --git a/tests/fixtures/editor_parity/systems/holder.gd b/tests/fixtures/editor_parity/systems/holder.gd
deleted file mode 100644
index 5faf604f..00000000
--- a/tests/fixtures/editor_parity/systems/holder.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-extends Node2D
-
-@export var frames: SpriteFrames
diff --git a/tests/fixtures/editor_parity/systems/holder.gd.uid b/tests/fixtures/editor_parity/systems/holder.gd.uid
deleted file mode 100644
index 7826a6e5..00000000
--- a/tests/fixtures/editor_parity/systems/holder.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://cys6nchjwr68d
diff --git a/tests/fixtures/editor_parity/systems/item.gd b/tests/fixtures/editor_parity/systems/item.gd
deleted file mode 100644
index 404bdd9a..00000000
--- a/tests/fixtures/editor_parity/systems/item.gd
+++ /dev/null
@@ -1,7 +0,0 @@
-class_name Item
-extends BaseItem
-
-@export var price: float = 0.0
-@export var count: int = 0
-@export var parts: Array = []
-@export var table: Dictionary = {}
diff --git a/tests/fixtures/editor_parity/systems/item.gd.uid b/tests/fixtures/editor_parity/systems/item.gd.uid
deleted file mode 100644
index 28e2c061..00000000
--- a/tests/fixtures/editor_parity/systems/item.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://65pb8l8fq6ct
diff --git a/tests/fixtures/editor_parity/systems/pair.gd b/tests/fixtures/editor_parity/systems/pair.gd
deleted file mode 100644
index 8bc03bd7..00000000
--- a/tests/fixtures/editor_parity/systems/pair.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-class_name Pair
-extends Resource
-
-@export var zeta: Resource
-@export var alpha: Resource
-@export var mid: Resource
diff --git a/tests/fixtures/editor_parity/systems/pair.gd.uid b/tests/fixtures/editor_parity/systems/pair.gd.uid
deleted file mode 100644
index 9627ddb1..00000000
--- a/tests/fixtures/editor_parity/systems/pair.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://cfm7q2rk6bv5g
diff --git a/tests/fixtures/editor_parity/systems/plain.gd b/tests/fixtures/editor_parity/systems/plain.gd
deleted file mode 100644
index b335a447..00000000
--- a/tests/fixtures/editor_parity/systems/plain.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-extends Resource
-
-@export var amount: int = 0
diff --git a/tests/fixtures/editor_parity/systems/plain.gd.uid b/tests/fixtures/editor_parity/systems/plain.gd.uid
deleted file mode 100644
index e3e1c899..00000000
--- a/tests/fixtures/editor_parity/systems/plain.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://fidnkceuvtda
diff --git a/tests/fixtures/editor_parity/systems/pointer.gd b/tests/fixtures/editor_parity/systems/pointer.gd
deleted file mode 100644
index 3c26171c..00000000
--- a/tests/fixtures/editor_parity/systems/pointer.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-extends Node
-
-@export var target: Node
diff --git a/tests/fixtures/editor_parity/systems/pointer.gd.uid b/tests/fixtures/editor_parity/systems/pointer.gd.uid
deleted file mode 100644
index 2aeafbaf..00000000
--- a/tests/fixtures/editor_parity/systems/pointer.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://dkpjqes0p2snp
diff --git a/tests/fixtures/editor_parity/systems/roster.gd b/tests/fixtures/editor_parity/systems/roster.gd
deleted file mode 100644
index df6336e5..00000000
--- a/tests/fixtures/editor_parity/systems/roster.gd
+++ /dev/null
@@ -1,5 +0,0 @@
-class_name Roster
-extends Resource
-
-@export var items: Array[Item] = []
-@export var title: String = ""
diff --git a/tests/fixtures/editor_parity/systems/roster.gd.uid b/tests/fixtures/editor_parity/systems/roster.gd.uid
deleted file mode 100644
index 8bada009..00000000
--- a/tests/fixtures/editor_parity/systems/roster.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://dvr2jop37vvbc
diff --git a/tests/fixtures/editor_parity/systems/tooled.gd b/tests/fixtures/editor_parity/systems/tooled.gd
deleted file mode 100644
index 333006f8..00000000
--- a/tests/fixtures/editor_parity/systems/tooled.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-@tool
-class_name Tooled
-extends Resource
-
-@export var icon: Texture2D = preload("res://art/d.tres")
-@export var amount: int = 1
diff --git a/tests/fixtures/editor_parity/systems/tooled.gd.uid b/tests/fixtures/editor_parity/systems/tooled.gd.uid
deleted file mode 100644
index 294862c1..00000000
--- a/tests/fixtures/editor_parity/systems/tooled.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://b4ou5v4nq3ek7
diff --git a/tests/fixtures/retarget_repo/project.godot b/tests/fixtures/retarget_repo/project.godot
deleted file mode 100644
index f9d5350d..00000000
--- a/tests/fixtures/retarget_repo/project.godot
+++ /dev/null
@@ -1,5 +0,0 @@
-config_version=5
-
-[application]
-
-config/name="retarget fixture"
diff --git a/tests/fixtures/retarget_repo/scenes/bystander.tscn b/tests/fixtures/retarget_repo/scenes/bystander.tscn
deleted file mode 100644
index 9a5052d1..00000000
--- a/tests/fixtures/retarget_repo/scenes/bystander.tscn
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_scene load_steps=2 format=3 uid="uid://retbys00000"]
-
-[ext_resource type="Script" uid="uid://rbystander0" path="res://scripts/bystander.gd" id="1_b"]
-
-[node name="Bystander" type="Node2D"]
-script = ExtResource("1_b")
diff --git a/tests/fixtures/retarget_repo/scenes/user.tscn b/tests/fixtures/retarget_repo/scenes/user.tscn
deleted file mode 100644
index 88100692..00000000
--- a/tests/fixtures/retarget_repo/scenes/user.tscn
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_scene load_steps=2 format=3 uid="uid://retuser0000"]
-
-[ext_resource type="Script" uid="uid://roldhelper0" path="res://scripts/old_helper.gd" id="1_helper"]
-
-[node name="User" type="Node2D"]
-script = ExtResource("1_helper")
diff --git a/tests/fixtures/retarget_repo/scripts/bystander.gd b/tests/fixtures/retarget_repo/scripts/bystander.gd
deleted file mode 100644
index 61510e14..00000000
--- a/tests/fixtures/retarget_repo/scripts/bystander.gd
+++ /dev/null
@@ -1 +0,0 @@
-extends Node
diff --git a/tests/fixtures/retarget_repo/scripts/new_helper.gd b/tests/fixtures/retarget_repo/scripts/new_helper.gd
deleted file mode 100644
index 61510e14..00000000
--- a/tests/fixtures/retarget_repo/scripts/new_helper.gd
+++ /dev/null
@@ -1 +0,0 @@
-extends Node
diff --git a/tests/fixtures/retarget_repo/systems/consumer.gd b/tests/fixtures/retarget_repo/systems/consumer.gd
deleted file mode 100644
index 23a1df24..00000000
--- a/tests/fixtures/retarget_repo/systems/consumer.gd
+++ /dev/null
@@ -1,7 +0,0 @@
-extends Node
-
-const HELPER := preload("res://scripts/old_helper.gd")
-# preload("res://scripts/old_helper.gd") stays put inside this comment
-var lazy = load("res://scripts/old_helper.gd")
-var mention := "res://scripts/old_helper.gd"
-var backup := "res://scripts/old_helper.gd.bak"
diff --git a/tests/fixtures/test_shape_repo/project.godot b/tests/fixtures/test_shape_repo/project.godot
deleted file mode 100644
index 3e8705cb..00000000
--- a/tests/fixtures/test_shape_repo/project.godot
+++ /dev/null
@@ -1,3 +0,0 @@
-[application]
-
-config/name="test-shape fixture"
diff --git a/tests/fixtures/test_shape_repo/systems/alpha/thing.gd b/tests/fixtures/test_shape_repo/systems/alpha/thing.gd
deleted file mode 100644
index 61510e14..00000000
--- a/tests/fixtures/test_shape_repo/systems/alpha/thing.gd
+++ /dev/null
@@ -1 +0,0 @@
-extends Node
diff --git a/tests/fixtures/test_shape_repo/tests/integration/big_scenario.gd b/tests/fixtures/test_shape_repo/tests/integration/big_scenario.gd
deleted file mode 100644
index c412029a..00000000
--- a/tests/fixtures/test_shape_repo/tests/integration/big_scenario.gd
+++ /dev/null
@@ -1,10 +0,0 @@
-extends RefCounted
-# planted line 1
-# planted line 2
-# planted line 3
-# planted line 4
-# planted line 5
-# planted line 6
-# planted line 7
-# planted line 8
-# planted line 9
diff --git a/tests/fixtures/test_shape_repo/tests/integration/small_scenario.gd b/tests/fixtures/test_shape_repo/tests/integration/small_scenario.gd
deleted file mode 100644
index 7e4e8b46..00000000
--- a/tests/fixtures/test_shape_repo/tests/integration/small_scenario.gd
+++ /dev/null
@@ -1,2 +0,0 @@
-extends RefCounted
-# one use case, asserted once
diff --git a/tests/fixtures/test_shape_repo/tests/integration/support/scenario_base.gd b/tests/fixtures/test_shape_repo/tests/integration/support/scenario_base.gd
deleted file mode 100644
index 2446d75d..00000000
--- a/tests/fixtures/test_shape_repo/tests/integration/support/scenario_base.gd
+++ /dev/null
@@ -1,20 +0,0 @@
-extends RefCounted
-# shared step/await/assert API 1
-# shared step/await/assert API 2
-# shared step/await/assert API 3
-# shared step/await/assert API 4
-# shared step/await/assert API 5
-# shared step/await/assert API 6
-# shared step/await/assert API 7
-# shared step/await/assert API 8
-# shared step/await/assert API 9
-# shared step/await/assert API 10
-# shared step/await/assert API 11
-# shared step/await/assert API 12
-# shared step/await/assert API 13
-# shared step/await/assert API 14
-# shared step/await/assert API 15
-# shared step/await/assert API 16
-# shared step/await/assert API 17
-# shared step/await/assert API 18
-# shared step/await/assert API 19
diff --git a/tests/fixtures/test_shape_repo/tests/unit/contract_test.gd b/tests/fixtures/test_shape_repo/tests/unit/contract_test.gd
deleted file mode 100644
index 45627eb4..00000000
--- a/tests/fixtures/test_shape_repo/tests/unit/contract_test.gd
+++ /dev/null
@@ -1,30 +0,0 @@
-extends RefCounted
-# no-boot assertion 1
-# no-boot assertion 2
-# no-boot assertion 3
-# no-boot assertion 4
-# no-boot assertion 5
-# no-boot assertion 6
-# no-boot assertion 7
-# no-boot assertion 8
-# no-boot assertion 9
-# no-boot assertion 10
-# no-boot assertion 11
-# no-boot assertion 12
-# no-boot assertion 13
-# no-boot assertion 14
-# no-boot assertion 15
-# no-boot assertion 16
-# no-boot assertion 17
-# no-boot assertion 18
-# no-boot assertion 19
-# no-boot assertion 20
-# no-boot assertion 21
-# no-boot assertion 22
-# no-boot assertion 23
-# no-boot assertion 24
-# no-boot assertion 25
-# no-boot assertion 26
-# no-boot assertion 27
-# no-boot assertion 28
-# no-boot assertion 29
diff --git a/tests/fixtures/ui_layout_repo/project.godot b/tests/fixtures/ui_layout_repo/project.godot
deleted file mode 100644
index 4ada0e82..00000000
--- a/tests/fixtures/ui_layout_repo/project.godot
+++ /dev/null
@@ -1,5 +0,0 @@
-config_version=5
-
-[application]
-
-config/name="UiLayoutFixture"
diff --git a/tests/fixtures/ui_layout_repo/scenes/action_bar.tscn b/tests/fixtures/ui_layout_repo/scenes/action_bar.tscn
deleted file mode 100644
index 7be966a6..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/action_bar.tscn
+++ /dev/null
@@ -1,15 +0,0 @@
-[gd_scene format=3]
-
-[ext_resource type="Script" path="res://scripts/action_bar.gd" id="9_script"]
-
-[node name="Bar" type="Control"]
-script = ExtResource("9_script")
-
-[node name="Cancel" type="Button" parent="."]
-ui_role = "cancel"
-
-[node name="Destructive" type="Button" parent="."]
-ui_role = "destructive"
-
-[node name="Primary" type="Button" parent="."]
-ui_role = "primary"
diff --git a/tests/fixtures/ui_layout_repo/scenes/bad_action.tscn b/tests/fixtures/ui_layout_repo/scenes/bad_action.tscn
deleted file mode 100644
index 9871819b..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/bad_action.tscn
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_scene format=3]
-
-[ext_resource type="Script" path="res://scripts/modal.gd" id="9_script"]
-
-[node name="Root" type="Control"]
-script = ExtResource("9_script")
-
-[node name="Save" type="Button" parent="."]
-ui_role = "primary"
-
-[node name="Delete" type="Button" parent="."]
-ui_role = "destructive"
diff --git a/tests/fixtures/ui_layout_repo/scenes/bad_button_in_scroll.tscn b/tests/fixtures/ui_layout_repo/scenes/bad_button_in_scroll.tscn
deleted file mode 100644
index 5b8dd0bf..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/bad_button_in_scroll.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene format=3]
-
-[ext_resource type="Script" path="res://scripts/modal.gd" id="9_script"]
-
-[node name="Root" type="Control"]
-script = ExtResource("9_script")
-
-[node name="Scroll" type="ScrollContainer" parent="."]
-
-[node name="Row" type="CheckBox" parent="Scroll"]
diff --git a/tests/fixtures/ui_layout_repo/scenes/bad_label.tscn b/tests/fixtures/ui_layout_repo/scenes/bad_label.tscn
deleted file mode 100644
index f41699cf..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/bad_label.tscn
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_scene format=3]
-
-[node name="Root" type="Panel"]
-
-[node name="Title" type="Label" parent="."]
-text = "No overflow policy"
diff --git a/tests/fixtures/ui_layout_repo/scenes/base_bad.tscn b/tests/fixtures/ui_layout_repo/scenes/base_bad.tscn
deleted file mode 100644
index 01e0e9f7..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/base_bad.tscn
+++ /dev/null
@@ -1,9 +0,0 @@
-[gd_scene format=3]
-
-[ext_resource type="Script" path="res://scripts/modal.gd" id="9_script"]
-
-[node name="Root" type="Control"]
-script = ExtResource("9_script")
-
-[node name="L" type="Label" parent="."]
-text = "No overflow policy"
diff --git a/tests/fixtures/ui_layout_repo/scenes/cycle_a.tscn b/tests/fixtures/ui_layout_repo/scenes/cycle_a.tscn
deleted file mode 100644
index 1295b6b4..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/cycle_a.tscn
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/cycle_b.tscn" id="1_b"]
-
-[node name="A" type="Control"]
-
-[node name="B" parent="." instance=ExtResource("1_b")]
diff --git a/tests/fixtures/ui_layout_repo/scenes/cycle_b.tscn b/tests/fixtures/ui_layout_repo/scenes/cycle_b.tscn
deleted file mode 100644
index 0e86af0b..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/cycle_b.tscn
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/cycle_a.tscn" id="1_a"]
-
-[node name="B" type="Control"]
-
-[node name="A" parent="." instance=ExtResource("1_a")]
diff --git a/tests/fixtures/ui_layout_repo/scenes/good_modal.tscn b/tests/fixtures/ui_layout_repo/scenes/good_modal.tscn
deleted file mode 100644
index f957e18c..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/good_modal.tscn
+++ /dev/null
@@ -1,17 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/action_bar.tscn" id="1_bar"]
-[ext_resource type="Script" path="res://scripts/modal.gd" id="9_script"]
-
-[node name="Root" type="Control"]
-script = ExtResource("9_script")
-
-[node name="Scroll" type="ScrollContainer" parent="."]
-
-[node name="Body" type="VBoxContainer" parent="Scroll"]
-
-[node name="Text" type="Label" parent="Scroll/Body"]
-autowrap_mode = 3
-text = "Body"
-
-[node name="Bar" parent="." instance=ExtResource("1_bar")]
diff --git a/tests/fixtures/ui_layout_repo/scenes/header.tscn b/tests/fixtures/ui_layout_repo/scenes/header.tscn
deleted file mode 100644
index 17ee5353..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/header.tscn
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_scene format=3]
-
-[node name="Header" type="HBoxContainer"]
-
-[node name="Title" type="Label" parent="."]
-text = "No overflow policy of its own"
diff --git a/tests/fixtures/ui_layout_repo/scenes/host_bare.tscn b/tests/fixtures/ui_layout_repo/scenes/host_bare.tscn
deleted file mode 100644
index a472781c..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/host_bare.tscn
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/stack.tscn" id="1_stack"]
-
-[node name="Root" type="Panel"]
-
-[node name="Stack" parent="." instance=ExtResource("1_stack")]
diff --git a/tests/fixtures/ui_layout_repo/scenes/host_override.tscn b/tests/fixtures/ui_layout_repo/scenes/host_override.tscn
deleted file mode 100644
index 54473051..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/host_override.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/stack.tscn" id="1_stack"]
-
-[node name="Root" type="Panel"]
-
-[node name="Stack" parent="." instance=ExtResource("1_stack")]
-
-[node name="Title" parent="Stack/Header" index="0"]
-text_overrun_behavior = 3
diff --git a/tests/fixtures/ui_layout_repo/scenes/inherited_modal.tscn b/tests/fixtures/ui_layout_repo/scenes/inherited_modal.tscn
deleted file mode 100644
index b49e8202..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/inherited_modal.tscn
+++ /dev/null
@@ -1,12 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/good_modal.tscn" id="1_base"]
-
-[node name="Inherited" instance=ExtResource("1_base")]
-
-[node name="Extra" type="Label" parent="Scroll/Body" index="1"]
-text_overrun_behavior = 3
-text = "More"
-
-[node name="Again" type="Button" parent="Bar" index="3"]
-ui_role = "primary"
diff --git a/tests/fixtures/ui_layout_repo/scenes/kid1.tscn b/tests/fixtures/ui_layout_repo/scenes/kid1.tscn
deleted file mode 100644
index 92f45953..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/kid1.tscn
+++ /dev/null
@@ -1,8 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/base_bad.tscn" id="1_base"]
-
-[node name="Kid" instance=ExtResource("1_base")]
-
-[node name="L" parent="." index="0"]
-autowrap_mode = 3
diff --git a/tests/fixtures/ui_layout_repo/scenes/kid2.tscn b/tests/fixtures/ui_layout_repo/scenes/kid2.tscn
deleted file mode 100644
index 92f45953..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/kid2.tscn
+++ /dev/null
@@ -1,8 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/base_bad.tscn" id="1_base"]
-
-[node name="Kid" instance=ExtResource("1_base")]
-
-[node name="L" parent="." index="0"]
-autowrap_mode = 3
diff --git a/tests/fixtures/ui_layout_repo/scenes/override_bar.tscn b/tests/fixtures/ui_layout_repo/scenes/override_bar.tscn
deleted file mode 100644
index 6eeaf64e..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/override_bar.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/good_modal.tscn" id="1_base"]
-
-[node name="Override" instance=ExtResource("1_base")]
-
-[node name="Bar" parent="." index="1"]
-visible = true
-
-[node name="Again" type="Button" parent="Bar" index="3"]
-ui_role = "primary"
diff --git a/tests/fixtures/ui_layout_repo/scenes/override_base.tscn b/tests/fixtures/ui_layout_repo/scenes/override_base.tscn
deleted file mode 100644
index e1f74c59..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/override_base.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/action_bar.tscn" id="1_bar"]
-[ext_resource type="Script" path="res://scripts/modal.gd" id="9_script"]
-
-[node name="Root" type="Control"]
-script = ExtResource("9_script")
-
-[node name="Help" type="Button" parent="."]
-
-[node name="Bar" parent="." instance=ExtResource("1_bar")]
diff --git a/tests/fixtures/ui_layout_repo/scenes/override_role.tscn b/tests/fixtures/ui_layout_repo/scenes/override_role.tscn
deleted file mode 100644
index 170eca1b..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/override_role.tscn
+++ /dev/null
@@ -1,8 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/override_base.tscn" id="1_base"]
-
-[node name="Override" instance=ExtResource("1_base")]
-
-[node name="Help" parent="." index="0"]
-ui_role = "primary"
diff --git a/tests/fixtures/ui_layout_repo/scenes/script_class_bar.tscn b/tests/fixtures/ui_layout_repo/scenes/script_class_bar.tscn
deleted file mode 100644
index 90fd540c..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/script_class_bar.tscn
+++ /dev/null
@@ -1,16 +0,0 @@
-[gd_scene load_steps=3 format=3]
-
-[ext_resource type="Script" path="res://scripts/modal.gd" id="9_modal"]
-[ext_resource type="Script" path="res://scripts/action_bar.gd" id="9_bar"]
-
-[node name="Root" type="Control"]
-script = ExtResource("9_modal")
-
-[node name="Bar" type="HBoxContainer" parent="."]
-script = ExtResource("9_bar")
-
-[node name="Save" type="Button" parent="Bar"]
-ui_role = "primary"
-
-[node name="Delete" type="Button" parent="."]
-ui_role = "destructive"
diff --git a/tests/fixtures/ui_layout_repo/scenes/stack.tscn b/tests/fixtures/ui_layout_repo/scenes/stack.tscn
deleted file mode 100644
index 7aea24bc..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/stack.tscn
+++ /dev/null
@@ -1,7 +0,0 @@
-[gd_scene load_steps=2 format=3]
-
-[ext_resource type="PackedScene" path="res://scenes/header.tscn" id="1_header"]
-
-[node name="Stack" type="VBoxContainer"]
-
-[node name="Header" parent="." instance=ExtResource("1_header")]
diff --git a/tests/fixtures/ui_layout_repo/scenes/themed_label.tscn b/tests/fixtures/ui_layout_repo/scenes/themed_label.tscn
deleted file mode 100644
index 409950a9..00000000
--- a/tests/fixtures/ui_layout_repo/scenes/themed_label.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene format=3]
-
-[ext_resource type="Script" path="res://scripts/modal.gd" id="9_script"]
-
-[node name="Root" type="Control"]
-script = ExtResource("9_script")
-
-[node name="Title" type="Label" parent="."]
-theme_type_variation = &"HeaderLabel"
-text = "A theme cannot set autowrap"
diff --git a/tests/fixtures/ui_layout_repo/scripts/action_bar.gd b/tests/fixtures/ui_layout_repo/scripts/action_bar.gd
deleted file mode 100644
index 170d4ff0..00000000
--- a/tests/fixtures/ui_layout_repo/scripts/action_bar.gd
+++ /dev/null
@@ -1,2 +0,0 @@
-class_name ActionBar
-extends Control
diff --git a/tests/fixtures/ui_layout_repo/scripts/modal.gd b/tests/fixtures/ui_layout_repo/scripts/modal.gd
deleted file mode 100644
index b71f72d0..00000000
--- a/tests/fixtures/ui_layout_repo/scripts/modal.gd
+++ /dev/null
@@ -1,3 +0,0 @@
-# A modal dialog.
-class_name Modal
-extends Control
diff --git a/tests/test_autoloads_edit.py b/tests/test_autoloads_edit.py
deleted file mode 100644
index e52c45e8..00000000
--- a/tests/test_autoloads_edit.py
+++ /dev/null
@@ -1,173 +0,0 @@
-"""`autoloads add` / `autoloads rm` — the one write verb over `project.godot`.
-
-Five properties, one case each: an `add` lands as exactly one line the census
-then reads (plus the header when the section was absent); `rm` is its exact
-inverse, byte for byte, on LF and CRLF alike; every refusal leaves the file
-byte-identical; a repeat is a no-op; `--dry-run` prints and writes nothing.
-
-Altitude: `main(argv)` over a temp copy of `tests/fixtures/read_repo/`, with
-the repo root pointed at the copy — the verb's own git lookup would be the only
-process in the file, and it is not what is under test.
-"""
-from __future__ import annotations
-
-import contextlib
-import difflib
-import io
-import shutil
-import tempfile
-import unittest
-import unittest.mock
-from pathlib import Path
-
-from support import FIXTURES
-
-from godot_devkit.godot.read import autoloads
-from godot_devkit.godot.write import autoloads_edit
-
-PLAYER = 'res://systems/player.gd'
-SPAWNER = 'res://systems/spawner.gd'
-# Not `Player`: that is the fixture's `class_name`, and an autoload may not
-# shadow one.
-NAME = 'Hero'
-ENTRY = f'{NAME}="*{PLAYER}"'
-
-
-class AutoloadsEdit(unittest.TestCase):
- def setUp(self) -> None:
- tmp = tempfile.TemporaryDirectory()
- self.addCleanup(tmp.cleanup)
- self.root = Path(tmp.name) / 'repo'
- shutil.copytree(FIXTURES / 'read_repo', self.root)
- self.project = self.root / 'project.godot'
- patch = unittest.mock.patch.object(autoloads_edit, 'repo_root', lambda: self.root)
- patch.start()
- self.addCleanup(patch.stop)
-
- def run_verb(self, *argv: str) -> tuple[int, str, str]:
- out, err = io.StringIO(), io.StringIO()
- with contextlib.redirect_stdout(out), contextlib.redirect_stderr(err):
- code = autoloads_edit.main(list(argv))
- return code, out.getvalue(), err.getvalue()
-
- def bytes_(self) -> bytes:
- return self.project.read_bytes()
-
- def variants(self) -> dict[str, bytes]:
- """The fixture as-is, as CRLF, with no `[autoload]` section at all, and
- that last with no final newline."""
- lf = self.bytes_()
- bare = lf.split(b'[autoload]')[0].rstrip(b'\n') + b'\n'
- return {'lf': lf, 'crlf': lf.replace(b'\n', b'\r\n'), 'no section': bare,
- 'no section, no final newline': bare.rstrip(b'\n')}
-
- def test_add_is_one_line_the_census_reads_and_rm_restores_the_bytes(self) -> None:
- for label, before in self.variants().items():
- with self.subTest(label):
- self.project.write_bytes(before)
- self.assertEqual(self.run_verb('add', NAME, PLAYER)[0], 0)
- after = self.bytes_()
- added = [line for line in difflib.ndiff(
- before.decode().splitlines(), after.decode().splitlines())
- if line.startswith(('+ ', '- '))]
- expected = (['+ [autoload]', f'+ {ENTRY}'] if label.startswith('no section')
- else [f'+ {ENTRY}'])
- self.assertEqual([line for line in added if line[2:].strip()],
- expected)
- if label == 'crlf':
- self.assertIn(ENTRY.encode() + b'\r\n', after)
- self.assertNotIn(b'\r\r', after)
- self.assertEqual(autoloads.list_autoloads(self.root)[-1],
- (NAME, 'systems/player.gd'))
- self.assertEqual(self.run_verb('rm', NAME)[0], 0)
- self.assertEqual(self.bytes_(), before)
-
- def test_rm_removes_exactly_that_line(self) -> None:
- before = self.bytes_()
- self.assertEqual(self.run_verb('rm', 'GameManager')[0], 0)
- expected = b''.join(line for line in before.splitlines(keepends=True)
- if not line.startswith(b'GameManager='))
- self.assertEqual(self.bytes_(), expected)
-
- def test_each_refusal_leaves_the_file_byte_identical(self) -> None:
- cases = [
- (('add', 'GameManager', SPAWNER), 1, 'res://autoloads/core/game_manager.gd'),
- (('add', 'Spawner', 'res://systems/missing.gd'), 1, 'does not exist'),
- (('add', '1Spawner', SPAWNER), 1, 'not a valid autoload name'),
- (('add', 'Spawner', 'systems/spawner.gd'), 1, 'not a res:// path'),
- (('add', 'Spawner', 'res://../outside.gd'), 1, 'inside the project'),
- # Declared without `*`: `unchanged` would claim a singleton that
- # does not exist.
- (('add', 'Dormant', SPAWNER), 1, 'declared but disabled'),
- # A second spelling of one file would make the next `add` of the
- # canonical one refuse as a "different path".
- (('add', 'Spawner', 'res://systems//spawner.gd'), 1, SPAWNER),
- (('add', 'Spawner', 'res://systems/./spawner.gd'), 1, SPAWNER),
- (('add', 'Spawner', 'res://autoloads/../systems/spawner.gd'), 1, SPAWNER),
- # Names the editor refuses: an engine class, a project class_name.
- (('add', 'Input', SPAWNER), 1, 'engine class'),
- (('add', 'Player', PLAYER), 1, f'class_name of {PLAYER}'),
- # A wrong-case path: a case-insensitive filesystem finds the file,
- # a case-sensitive export does not. Refused on either, naming the
- # on-disk spelling.
- (('add', 'Spawner', 'res://Systems/Spawner.gd'), 1, SPAWNER),
- ]
- self.project.write_bytes(self.bytes_() + f'Dormant="{SPAWNER}"\n'.encode())
- before = self.bytes_()
- for argv, code, reason in cases:
- with self.subTest(argv=argv):
- got, out, _ = self.run_verb(*argv)
- self.assertEqual((got, self.bytes_()), (code, before))
- self.assertIn('REFUSED', out)
- self.assertIn(reason, out)
- for label, content in (('not utf-8', b'[autoload]\n\nA="*res://\xff.gd"\n'),
- ('missing', None)):
- with self.subTest(label):
- if content is None:
- self.project.unlink()
- else:
- self.project.write_bytes(content)
- got, _, err = self.run_verb('add', 'Spawner', SPAWNER)
- self.assertEqual(got, 2, err)
- self.assertIn('project.godot', err)
- self.assertEqual(self.project.read_bytes() if content else None, content)
-
- def test_the_class_name_scan_sees_what_the_editor_sees(self) -> None:
- # Godot's own rule: a dot-prefixed directory and one holding a
- # `.gdignore` are invisible to the editor; `addons/` is not.
- for where, gdignore, code in (('.claude/worktrees/x', False, 0),
- ('addons/foo', False, 1),
- ('vendor/raw', True, 0)):
- with self.subTest(where):
- name = f'Ghost{code}{int(gdignore)}{len(where)}'
- script = self.root / where / 'ghost.gd'
- script.parent.mkdir(parents=True)
- script.write_text(f'class_name {name}\nextends Node\n',
- encoding='utf-8')
- if gdignore:
- (self.root / where.split('/')[0] / '.gdignore').write_text('')
- got, out, _ = self.run_verb('add', name, SPAWNER, '--dry-run')
- self.assertEqual(got, code, out)
- if code:
- self.assertIn(f'class_name of res://{where}/ghost.gd', out)
-
- def test_the_same_add_or_rm_twice_is_a_no_op(self) -> None:
- for argv in (('add', NAME, PLAYER), ('rm', NAME)):
- with self.subTest(argv=argv):
- self.assertEqual(self.run_verb(*argv)[0], 0)
- settled = self.bytes_()
- code, out, _ = self.run_verb(*argv)
- self.assertEqual((code, self.bytes_()), (0, settled))
- self.assertIn('unchanged', out)
- self.assertIn('not declared', self.run_verb('rm', NAME)[1])
-
- def test_dry_run_prints_the_diff_and_writes_nothing(self) -> None:
- before = self.bytes_()
- code, out, _ = self.run_verb('add', NAME, PLAYER, '--dry-run')
- self.assertEqual((code, self.bytes_()), (0, before))
- self.assertIn(f'+{ENTRY}', out)
- self.assertIn('dry run', out)
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/tests/test_baseline.py b/tests/test_baseline.py
index 32f09686..71582d0f 100644
--- a/tests/test_baseline.py
+++ b/tests/test_baseline.py
@@ -29,8 +29,7 @@
from godot_devkit.core.baseline import Baseline
from godot_devkit.core.config import ConfigError, path_count_table
-from godot_devkit.godot.checks import (defaults, props, rng, tres, tres_comment,
- unit_disk)
+from godot_devkit.godot.checks import props, tres_comment, unit_disk
LOAD_CONFIG = 'godot_devkit.core.config.load_config'
@@ -150,31 +149,11 @@ def test_each_gate_freezes_today_and_fails_a_finding_grown_past_it(self) -> None
lambda text: text + '\nfunc _grown() -> String:\n'
'\treturn "user://grown"\n',
f'DISK-WRITE {user_path}', None),
- (rng, 'rng_repo',
- ['project.godot', 'systems/clean.gd', 'systems/loot.gd'],
- 'rng', 'systems/loot.gd', 2,
- lambda text: text + '\nfunc _grown() -> int:\n\treturn randi()\n',
- 'BARE-RNG systems/loot.gd', None),
- (defaults, 'defaults_repo',
- ['project.godot', 'data/redundant.tres', 'systems/rule.gd',
- 'systems/base_rule.gd', 'systems/ids.gd'],
- 'defaults', 'data/redundant.tres', 15,
- lambda text: text + 'untouched = 0\n',
- 'REDUNDANT data/redundant.tres', None),
(props, 'props_repo',
['project.godot', 'systems/contract.gd', 'scenes/clean.tscn',
'scenes/drift.tscn'],
'props', 'scenes/drift.tscn', 2,
lambda text: text + 'phantom_grown = 1\n',
- 'DEAD scenes/drift.tscn', None),
- # No fixture carries a path-only ref, so the probe makes one:
- # strip the uid from one ref, then — the growth — the other.
- (tres, 'uid_repo',
- ['project.godot', 'systems/rule.gd', 'systems/rule.gd.uid',
- 'scenes/clean.tscn', 'scenes/drifted.tscn'],
- 'tres', 'scenes/drifted.tscn', 1,
- lambda text: text.replace('uid="uid://dstaleuid000" ', '', 1),
- 'PATH-ONLY scenes/drifted.tscn',
- lambda text: text.replace('uid="uid://dcleanscene0" ', '', 1))):
+ 'DEAD scenes/drift.tscn', None)):
with self.subTest(gate=probe[3]):
self._probe(*probe)
diff --git a/tests/test_boundaries.py b/tests/test_boundaries.py
index 6cfa0e4c..d8a57e46 100644
--- a/tests/test_boundaries.py
+++ b/tests/test_boundaries.py
@@ -46,10 +46,9 @@
# crosses a `core/config.py` guard (`str_tuple` & co).
CONFIG_IMPORT_ALLOWLIST = frozenset((
'core/config.py', 'cli.py',
- 'godot/checks/addon.py', 'godot/checks/canonical.py', 'godot/checks/roster.py',
- 'godot/checks/defaults.py', 'godot/checks/patterns.py', 'godot/checks/props.py', 'godot/checks/rng.py',
- 'godot/checks/test_shape.py', 'godot/checks/tres.py', 'godot/checks/tres_comment.py',
- 'godot/checks/ui_layout.py', 'godot/checks/uid.py', 'godot/checks/unit_disk.py', 'godot/checks/warnings.py',
+ 'godot/checks/addon.py', 'godot/checks/roster.py', 'godot/checks/patterns.py',
+ 'godot/checks/props.py', 'godot/checks/tres_comment.py', 'godot/checks/uid.py',
+ 'godot/checks/unit_disk.py',
'godot/install.py',
'godot/read/autoloads.py', 'godot/read/orphans.py', 'godot/read/refs.py',
'godot/read/stats.py', 'godot/read/ui_fit_plan.py', 'godot/read/fit_sweep_plan.py', 'godot/write/pot.py',
diff --git a/tests/test_canonicalize.py b/tests/test_canonicalize.py
deleted file mode 100644
index cdd2da13..00000000
--- a/tests/test_canonicalize.py
+++ /dev/null
@@ -1,324 +0,0 @@
-"""Tier 3 — restoring what `PackedScene.pack()` + `ResourceSaver.save()` drop.
-
-Each case degrades a fixture the way `save()` does and checks that canonicalize
-puts back exactly what was lost — anything the tool invents rather than derives
-shows up as a diff. The same proof at SCALE, over scrubbed real-world scenes, is
-`tests/fixtures/corpus/` in test_tscn_roundtrip.py.
-"""
-from __future__ import annotations
-
-import re
-import unittest
-from types import SimpleNamespace
-
-from support import run_check, temp_repo
-
-from godot_devkit.godot.write import scene_canonicalize
-
-EDITABLE_SECTION = re.compile(r'^\[editable path="([^"]*)"\]', re.M)
-
-
-def canonicalize_in_repo(*argv: str) -> tuple[int, str]:
- return run_check(SimpleNamespace(run=scene_canonicalize.main), argv=list(argv))
-
-
-class RestoresWhatPackDrops(unittest.TestCase):
- def test_restores_all_three_losses_idempotently_keeping_crlf_endings(self) -> None:
- # On a CRLF copy of the fixture: canonicalize restores what pack()
- # dropped — it does not get to normalize every line ending in the
- # file on the way through.
- with temp_repo('canon_repo') as root:
- scene = root / 'scenes/packed.tscn'
- scene.write_bytes(scene.read_text(encoding='utf-8').replace('\n', '\r\n').encode())
- code, out = canonicalize_in_repo('scenes/packed.tscn')
- raw = scene.read_bytes()
- again_code, again_out = canonicalize_in_repo('scenes/packed.tscn')
- twice = scene.read_bytes()
- self.assertEqual(code, scene_canonicalize.EXIT_OK, out)
- text = raw.decode('utf-8')
- # 1. uid-in-refs, from the .gd sidecar and from the .tscn's own header
- self.assertIn('uid="uid://dcanonlogic" path="res://systems/logic.gd"', text)
- self.assertIn('uid="uid://dcanonpanel" path="res://scenes/panel.tscn"', text)
- # 2. the file's own header uid, recovered from what already references it
- self.assertIn('[gd_scene load_steps=3 format=3 uid="uid://dcanonpacked"]', text)
- # 3. index= — without it this override reloads as a NEW SIBLING. Footer
- # is the SECOND child of panel.tscn's root: counted, never guessed.
- self.assertIn('[node name="Footer" parent="Panel" index="1"]', text)
- self.assertNotIn('index="0"', text)
- # There is no fourth: `[editable]` is authored state, not a pack() loss
- # — packed.tscn overrides panel.tscn's Footer, which is an override and
- # not an editable instance, and Godot writes exactly this file without
- # a marker (see EditableMarkersAreAuthoredNotDerived).
- self.assertEqual(EDITABLE_SECTION.findall(text), [], text)
- self.assertNotIn('EDITABLE', out, out)
- self.assertNotIn(b'\n', raw.replace(b'\r\n', b''),
- 'restoration minted lone-LF lines in a CRLF file')
- self.assertEqual(twice, raw)
- self.assertIn('already canonical', again_out)
- self.assertEqual(again_code, scene_canonicalize.EXIT_OK)
-
- def test_refuses_a_uid_it_cannot_resolve_and_a_file_that_is_not_utf8(self) -> None:
- # A uid that cannot be derived is left alone and named — inventing one
- # would be worse than the missing ref. Bytes that do not decode are
- # refused, never a traceback.
- with temp_repo('canon_repo') as root:
- scene = root / 'scenes/packed.tscn'
- scene.write_text(scene.read_text(encoding='utf-8').replace(
- 'res://systems/logic.gd', 'res://systems/ghost.gd'), encoding='utf-8')
- code, out = canonicalize_in_repo('scenes/packed.tscn')
- text = scene.read_text(encoding='utf-8')
- scene.write_bytes(b'[gd_scene format=3]\n\xff\xfe not utf-8\n')
- bad_code, bad_out = canonicalize_in_repo('scenes/packed.tscn')
- self.assertEqual(code, scene_canonicalize.EXIT_FINDINGS)
- self.assertIn('UNRESOLVED', out)
- self.assertIn('ghost.gd', out)
- self.assertIn('path="res://systems/ghost.gd"', text)
- self.assertEqual(bad_code, scene_canonicalize.EXIT_FINDINGS)
- self.assertIn('REFUSED', bad_out)
-
-
-# --- [editable] is authored, never derived ------------------------------------
-# 0.24.0/bugs/scene-canonicalize-invents-an-editable-marker. `[editable path=]`
-# records ONE thing: the editor's per-instance "Editable Children" toggle. In
-# the engine (scene/resources/packed_scene.cpp) it is written on pack only from
-# `p_owner->is_editable_instance(p_node)` — the live flag — and on load it is
-# applied LAST, after every node and property already exists, by calling
-# `set_editable_instance(ei, true)`. No override anywhere consults it. So an
-# instance whose children carry overrides is not thereby an editable instance,
-# and deriving the marker from the node tree invents authored state: the next
-# load hands a human a sub-tree the scene never said was editable, and the next
-# editor save writes the marker out for good.
-#
-# The corpus says the same thing without the engine: it holds 21 markers on
-# hosts and 7 scenes whose instance children are overridden with NO marker —
-# the two facts are independent in BOTH directions, which no derivation rule
-# can produce. The invent direction is pinned on packed.tscn above; the
-# opposite direction — and it would be worse — is here: a scene that DOES
-# declare Editable Children, carrying the two degradations `pack()` applies (a
-# ref that lost its uid, an override that lost its `index=`), must come back
-# with both restored and its marker untouched, neither duplicated nor dropped.
-# It keeps its own header uid so the run has nothing unresolved to report.
-
-class EditableMarkersAreAuthoredNotDerived(unittest.TestCase):
- def test_a_declared_marker_survives_a_restoration(self) -> None:
- marked = ('[gd_scene load_steps=2 format=3 uid="uid://dcanonmarked"]\n\n'
- '[ext_resource type="PackedScene"'
- ' path="res://scenes/panel.tscn" id="1_panel"]\n\n'
- '[node name="Marked" type="Node2D"]\n\n'
- '[node name="Panel" parent="."'
- ' instance=ExtResource("1_panel")]\n\n'
- '[node name="Footer" parent="Panel"]\nvisible = false\n\n'
- '[editable path="Panel"]\n')
- with temp_repo('canon_repo') as root:
- (root / 'scenes/marked.tscn').write_text(marked, encoding='utf-8')
- code, out = canonicalize_in_repo('scenes/marked.tscn')
- text = (root / 'scenes/marked.tscn').read_text(encoding='utf-8')
- self.assertEqual(code, scene_canonicalize.EXIT_OK, out)
- self.assertIn('uid="uid://dcanonpanel"', text) # it DID restore
- self.assertIn('index="1"', text)
- self.assertEqual(EDITABLE_SECTION.findall(text), ['Panel'], text)
-
-
-# --- an INHERITED scene's root IS an instancing ancestor ----------------------
-# 0.24.0/bugs/canonicalize-drops-index-on-a-typed-node. An inherited scene's
-# root is written `[node name="X" instance=ExtResource(base)]`, so its children
-# ARE the base's children and an override there is an instance-child override
-# like any other. `_instance_host` walked ancestors down to depth 1 and stopped,
-# so it never reached the root: every override directly under an inherited root
-# lost its `index=` and got a "no instancing ancestor was found" refusal instead
-# of the ordinal the base plainly gives it. Measured on a real hand-authored
-# tree before the fix: 3 such overrides across 2 scenes.
-#
-# The other direction is the trap, and it is the sibling bug's: a node the scene
-# CREATES (`type=` / `instance=`) is not placed by any base, so no ordinal
-# exists to count and writing one invents authored position. Both directions are
-# asserted below.
-SHELL_BASE = ('[gd_scene format=3 uid="uid://dcanonshell"]\n\n'
- '[node name="Shell" type="Control"]\n\n'
- '[node name="Frame" type="Panel" parent="."]\n\n'
- '[node name="Inner" type="Control" parent="."]\n\n'
- '[node name="Paper" type="ColorRect" parent="Inner"]\n\n'
- '[node name="Border" type="Panel" parent="Inner"]\n\n'
- '[node name="Content" type="Control" parent="Inner"]\n')
-# The inherited scene, canonical. Two overrides — one of a base child of the
-# root (Inner is the shell's SECOND child, so 1), one of a base GRANDchild whose
-# only instancing ancestor is the root (Content is the THIRD child of Inner, so
-# 2) — and two nodes this scene creates, which carry no index and must not gain
-# one.
-INHERITED = ('[gd_scene load_steps=2 format=3 uid="uid://dcanoninherit"]\n\n'
- '[ext_resource type="PackedScene" uid="uid://dcanonshell"'
- ' path="res://scenes/shell.tscn" id="1_shell"]\n\n'
- '[node name="Shell" instance=ExtResource("1_shell")]\n\n'
- '[node name="Inner" parent="." index="1"]\nvisible = false\n\n'
- '[node name="Content" parent="Inner" index="2"]\n'
- 'mouse_filter = 2\n\n'
- '[node name="Body" type="VBoxContainer" parent="Inner/Content"]\n\n'
- '[node name="Nested" parent="." instance=ExtResource("1_shell")]\n')
-INDEX_ATTR = re.compile(r' index="\d+"')
-
-
-def strip_indexes(text: str) -> str:
- """The `index=` half of the `save()` degradation, on the node lines."""
- return '\n'.join(INDEX_ATTR.sub('', line) if line.startswith('[node ') else line
- for line in text.split('\n'))
-
-
-def over_shell(scene_text: str, mid: str | None = None) -> tuple[int, str, str]:
- """Canonicalize `scene_text` in a repo whose `res://scenes/shell.tscn` is
- SHELL_BASE — and, given `mid`, whose `res://scenes/mid.tscn` is that text
- -> (exit code, report, the file as it was left)."""
- with temp_repo('canon_repo') as root:
- (root / 'scenes/shell.tscn').write_text(SHELL_BASE, encoding='utf-8')
- if mid is not None:
- (root / 'scenes/mid.tscn').write_text(mid, encoding='utf-8')
- (root / 'scenes/subject.tscn').write_text(scene_text, encoding='utf-8')
- code, out = canonicalize_in_repo('scenes/subject.tscn')
- text = (root / 'scenes/subject.tscn').read_text(encoding='utf-8')
- return code, out, text
-
-
-class AnInheritedRootIsAnInstanceHost(unittest.TestCase):
- def test_the_whole_inherited_scene_round_trips_byte_for_byte(self) -> None:
- # The whole property at unit scale: strip what `save()` drops,
- # restore, and get the committed bytes back — no more and no less.
- # Both overrides get their ordinal counted through the root, and
- # neither created node gains one.
- self.assertNotEqual(strip_indexes(INHERITED), INHERITED)
- code, out, text = over_shell(strip_indexes(INHERITED))
- self.assertEqual(code, scene_canonicalize.EXIT_OK, out)
- self.assertEqual(text, INHERITED)
-
- def test_an_override_the_base_does_not_place_is_refused_not_guessed(self) -> None:
- # A type-less node under an inherited root IS an override — but if the
- # base has no such child there is no ordinal, and the run says so
- # instead of picking one.
- orphan = INHERITED.replace('[node name="Inner" parent="." index="1"]',
- '[node name="Ghost" parent="."]')
- code, out, text = over_shell(strip_indexes(orphan))
- self.assertEqual(code, scene_canonicalize.EXIT_FINDINGS, out)
- self.assertIn('UNRESOLVED', out)
- self.assertIn('Ghost', out)
- self.assertIn('[node name="Ghost" parent="."]\n', text)
-
-
-# --- a base whose OWN root is instanced cannot be counted ----------------------
-# `_instance_host` reaching the root (above) made a whole class of override
-# resolvable — and made a second class RESOLVE WRONG. A `.tscn` holds only the
-# sections that file writes, so when the base's own root carries `instance=`,
-# its base's children are not in it: `child_index` counts the overrides the mid
-# scene declares and returns an ordinal that is too small. Godot reads `index=`
-# as the child's POSITION, so the verb wrote a value that REORDERS the node on
-# every load, printed `1 change(s), 0 unresolved` and exited 0. v0.23.0 refused
-# the same input (its walk stopped short of the root) — a fix that turned a
-# refusal into a wrong answer.
-#
-# `MID` overrides only `Inner`, so counting MID's own sections puts `Inner` at
-# ordinal 0 where the shell plainly places it at 1.
-MID = ('[gd_scene load_steps=2 format=3 uid="uid://dcanonmid"]\n\n'
- '[ext_resource type="PackedScene" uid="uid://dcanonshell"'
- ' path="res://scenes/shell.tscn" id="1_shell"]\n\n'
- '[node name="Shell" instance=ExtResource("1_shell")]\n\n'
- '[node name="Inner" parent="." index="1"]\nvisible = false\n')
-# Inherited from the INHERITED scene. `Inner` is still the shell's second child,
-# so the only correct answer is 1 — and the only correct answer available from
-# mid.tscn alone is "I cannot tell".
-CHAINED = ('[gd_scene load_steps=2 format=3 uid="uid://dcanonchain"]\n\n'
- '[ext_resource type="PackedScene" uid="uid://dcanonmid"'
- ' path="res://scenes/mid.tscn" id="1_mid"]\n\n'
- '[node name="Shell" instance=ExtResource("1_mid")]\n\n'
- '[node name="Inner" parent="." index="1"]\nmodulate = Color(1, 0, 0, 1)\n')
-
-
-class AChainedBaseIsRefusedNotCounted(unittest.TestCase):
- def test_an_override_under_a_chained_base_is_refused_naming_the_chain(self) -> None:
- # The verb's hard rule: it cannot guarantee a correct result, so it
- # refuses, says why, writes nothing and exits non-zero. And the why is
- # the reason that is actually true: `Inner` IS in mid.tscn, so a
- # refusal saying "cannot count Inner in mid.tscn" sends a reader to
- # look for it, find it, and conclude the tool is broken.
- code, out, text = over_shell(strip_indexes(CHAINED), mid=MID)
- self.assertEqual(code, scene_canonicalize.EXIT_FINDINGS, out)
- self.assertIn('UNRESOLVED', out)
- self.assertIn('itself an inherited scene', out)
- self.assertIn('res://scenes/mid.tscn', out)
- self.assertEqual(text, strip_indexes(CHAINED),
- 'a refusal wrote to the file')
-
-
-# --- a node the scene CREATES gains no index, wherever its PARENT came from ---
-# 0.24.0/bugs/index-is-derivable-under-an-instanced-parent proposed keying the
-# restoration off "is this node's PARENT an instanced subtree?" instead of off
-# `type=`/`instance=` on the node itself, on the reading that a created node
-# under an instanced parent is positioned among that base's children and so has
-# a derivable ordinal. The ORDINAL is derivable. Whether the engine writes the
-# attribute is not, and the corpus refuses the rule in both directions:
-#
-# * the EDITOR-WRITTEN half — 194 scenes, all round-tripped through
-# ResourceSaver — has 1008 created nodes and NOT ONE carries an `index=`,
-# including 87 whose parent is a node the base provides. It holds no
-# inherited scene with a written child, so it cannot speak to that case.
-# * the HAND-AUTHORED half — 116 scenes, every one carrying a `;` comment and
-# so never through ResourceSaver — contradicts itself at the one position in
-# dispute: 10 created nodes directly under an inherited root carry an
-# append-correct `index=` and 10 more, same tree, same position, carry none
-# (6 appending into an empty base container, 4 after a 4-child base root).
-# Nothing structural separates the halves.
-#
-# Measured, degrade -> canonicalize over every tracked scene, before it was
-# refused: the rule as filed invents 38 `index=` on the hand-authored tree and
-# 87 on the editor-written one, and takes the latter from 0 round-trip failures
-# to 26. Narrowed to inherited scenes it still invents 4. Each fixture below is
-# one of those shapes, and the ordinal a parent-keyed rule would have written
-# is named beside it. Both measurements are RECORDED here, not re-runnable:
-# nothing in this package reaches outside its own checkout (CLAUDE.md rule 8),
-# and what the fixtures below pin is the resulting BEHAVIOUR.
-#
-# PLAIN_HOST: `Added` hangs off the instance node itself (an append is 2);
-# `Deep` off a base child with 3 children of its own (3); `Slot0/1/2` fill a
-# base container the base leaves empty — the shape a next-free-slot fallback
-# turns into 0, 1, 2, and the shape that made that fallback invent 505
-# attributes across the two trees.
-PLAIN_HOST = ('[gd_scene load_steps=2 format=3 uid="uid://dcanonplain"]\n\n'
- '[ext_resource type="PackedScene" uid="uid://dcanonshell"'
- ' path="res://scenes/shell.tscn" id="1_shell"]\n\n'
- '[node name="Host" type="Node2D"]\n\n'
- '[node name="Shell" parent="." instance=ExtResource("1_shell")]\n\n'
- '[node name="Inner" parent="Shell" index="1"]\nvisible = false\n\n'
- '[node name="Added" type="Label" parent="Shell"]\n\n'
- '[node name="Deep" type="Label" parent="Shell/Inner"]\n\n'
- '[node name="Slot0" type="Label" parent="Shell/Inner/Content"]\n\n'
- '[node name="Slot1" type="Label" parent="Shell/Inner/Content"]\n\n'
- '[node name="Slot2" type="Label" parent="Shell/Inner/Content"]\n')
-# The inherited half. `FirstBody`/`SecondBody` sit exactly where the measured
-# tree splits 10-for/10-against (an append is 2 and 3 — THE disputed position);
-# `Slot` appends into a base container the base leaves empty (0 — no less
-# invented for being the only number available; 6 real scenes, all
-# `Card/Inner/Content/Body` shaped); `Row` hangs off a node this scene created,
-# inside an instanced subtree (one real scene where 2 of 15 siblings carry a
-# hand-typed index).
-INHERITED_CREATES_BODIES = (
- '[gd_scene load_steps=2 format=3 uid="uid://dcanonbodies"]\n\n'
- '[ext_resource type="PackedScene" uid="uid://dcanonshell"'
- ' path="res://scenes/shell.tscn" id="1_shell"]\n\n'
- '[node name="Shell" instance=ExtResource("1_shell")]\n\n'
- '[node name="Inner" parent="." index="1"]\nvisible = false\n\n'
- '[node name="FirstBody" type="VBoxContainer" parent="."]\n\n'
- '[node name="SecondBody" type="VBoxContainer" parent="."]\n\n'
- '[node name="Row" type="Label" parent="FirstBody"]\n\n'
- '[node name="Slot" type="Label" parent="Inner/Content"]\n')
-
-
-class ACreatedNodeGainsNoIndexWhateverItsParentIs(unittest.TestCase):
- """The refusal matrix for the created-node position, as one byte-for-byte
- round trip per fixture: every created node line comes back bare, and the
- one override in each — `Inner`, the base root's SECOND child — comes back
- as `1` under an instance node and under an inherited root alike, which is
- the control that stops the case from passing on a tool that does nothing."""
-
- def test_both_fixtures_round_trip_byte_for_byte(self) -> None:
- for fixture in (PLAIN_HOST, INHERITED_CREATES_BODIES):
- with self.subTest(fixture=fixture.split('\n')[0]):
- self.assertNotEqual(strip_indexes(fixture), fixture)
- code, out, text = over_shell(strip_indexes(fixture))
- self.assertEqual(code, scene_canonicalize.EXIT_OK, out)
- self.assertEqual(text, fixture)
diff --git a/tests/test_check_rng.py b/tests/test_check_rng.py
deleted file mode 100644
index 92996591..00000000
--- a/tests/test_check_rng.py
+++ /dev/null
@@ -1,160 +0,0 @@
-"""Tier 2 — `check rng`, ported from a consumer's shell scan.
-
-The cases are the ones the shell scan planted in its own `--self-test`, plus
-the ones its allowlist file encoded as prose and this gate encodes as config.
-Two properties carry the gate: an owned, seeded generator is NEVER a finding
-(the false positive that would get the gate switched off), and an allowlist
-entry that no longer matches IS one (an allowlist that outlives its violations
-is a place to hide things).
-"""
-import unittest
-
-from support import run_check, temp_repo
-
-from godot_devkit.core.config import ConfigError
-from godot_devkit.godot.checks import rng
-
-CLEAN = ['project.godot', 'systems/clean.gd']
-DIRTY = [*CLEAN, 'systems/loot.gd']
-WHOLE_TREE = [*DIRTY, 'ui/menu.gd']
-SYSTEMS_ONLY = '[rng]\nroots = ["systems"]\n'
-
-
-def _gate(only, config=None):
- """One run of the gate in a throwaway repo holding `only`, under `config`."""
- with temp_repo('rng_repo', only=only) as root:
- if config:
- (root / 'godot-devkit.toml').write_text(config, encoding='utf-8')
- return run_check(rng)
-
-
-class Detects(unittest.TestCase):
- def test_a_bare_draw_is_reported_with_its_enclosing_func(self) -> None:
- code, out = _gate(DIRTY, SYSTEMS_ONLY)
- self.assertEqual(code, 1, out)
- self.assertIn('BARE-RNG systems/loot.gd:4:_shimmer:', out)
- # `randomize()` on an instance: the spelling that LOOKS derived is the
- # one worth catching.
- self.assertIn('BARE-RNG systems/loot.gd:8:_mint:', out)
-
- def test_every_finding_lands_in_one_run_and_roots_narrow_the_scan(self) -> None:
- # Three violations, one run: a gate that reveals the second class only
- # after you fixed the first costs a round trip per class. A file-scope
- # draw reports the file-scope marker; `roots` then drops the file.
- code, out = _gate(WHOLE_TREE)
- self.assertEqual(code, 1)
- self.assertEqual(out.count('BARE-RNG'), 3, out)
- self.assertIn(f'ui/menu.gd:3:{rng.FILE_SCOPE}:', out)
- code, out = _gate(WHOLE_TREE, SYSTEMS_ONLY)
- self.assertEqual(code, 1)
- self.assertNotIn('ui/menu.gd', out)
-
-
-class Spares(unittest.TestCase):
- def test_an_owned_seeded_rng_a_string_and_a_doc_comment_pass(self) -> None:
- code, out = _gate(CLEAN, SYSTEMS_ONLY)
- self.assertEqual(code, 0, out)
- self.assertIn('[check:rng] PASS — 1 script(s)', out)
-
- def test_a_draw_api_declared_under_the_engines_names_is_not_a_draw(self) -> None:
- # #30: the seeded-stream owner exposes `func randf()` & co. The
- # declaration line is no call, and a bare `randf()` in the script that
- # declares it is its OWN method; the same bare call in a script that
- # declares nothing is still the global generator.
- owner = ('var _rng := RandomNumberGenerator.new()\n'
- 'func randf() -> float:\n'
- '\treturn _rng.randf()\n'
- 'static func randi_range(lo: int, hi: int) -> int:\n'
- '\treturn _rng.randi_range(lo, hi)\n'
- 'func coin() -> bool:\n'
- '\treturn randf() < 0.5\n')
- self.assertEqual([str(h) for h in rng.scan_text(owner, 'owner.gd')], [])
- caller = 'func coin() -> bool:\n\treturn randf() < 0.5\n'
- self.assertEqual([str(h) for h in rng.scan_text(caller, 'caller.gd')],
- ['caller.gd:2:coin:return randf() < 0.5'])
- # Shadowing is scoped per class body, both directions: an inner
- # class's `func randi()` shadows nothing outside it, and the script's
- # own `func randf()` shadows nothing inside `class Inner:` — while each
- # body's own call to its own method stays spared.
- inner = ('func randf() -> float:\n'
- '\treturn 0.5\n'
- 'class Inner:\n'
- '\tfunc randi() -> int:\n'
- '\t\treturn 4\n'
- '\tfunc mine() -> int:\n'
- '\t\treturn randi()\n'
- '\tfunc theirs() -> float:\n'
- '\t\treturn randf()\n'
- '\n'
- 'func roll() -> int:\n'
- '\treturn randi() if randf() else 0\n')
- self.assertEqual([str(h) for h in rng.scan_text(inner, 'inner.gd')],
- ['inner.gd:9:theirs:return randf()',
- 'inner.gd:12:roll:return randi() if randf() else 0'])
- # A continuation line at column 0 — inside an open bracket, a `"""`
- # string or after a trailing `\` — is still the class body, so the
- # inner draw stays the GLOBAL one; and a bracket inside that string
- # opens nothing, so the column-0 `func own` does close the body.
- continued = ('func randf() -> float:\n'
- '\treturn 0.5\n'
- 'class Inner:\n'
- '\tvar table = [\n'
- '1, 2,\n'
- ']\n'
- '\tconst DOC = """\n'
- 'note (unclosed\n'
- '"""\n'
- '\tvar total = 1 + \\\n'
- '2\n'
- '\tfunc draw() -> float:\n'
- '\t\treturn randf()\n'
- 'func own() -> float:\n'
- '\treturn randf()\n')
- self.assertEqual([str(h) for h in rng.scan_text(continued, 'c.gd')],
- ['c.gd:13:draw:return randf()'])
-
-
-class TheAllowlist(unittest.TestCase):
- def test_an_entry_silences_only_its_func_and_a_full_list_counts_the_carve_outs(self) -> None:
- # Function granularity is the whole design: a new bare call in a
- # DIFFERENT function of an already-listed file still trips the gate.
- code, out = _gate(DIRTY, SYSTEMS_ONLY + 'allowlist = { "systems/loot.gd:_shimmer" '
- '= "cosmetic pulse phase" }\n')
- self.assertEqual(code, 1, out)
- self.assertNotIn('_shimmer', out)
- self.assertIn('_mint', out)
- code, out = _gate(DIRTY, SYSTEMS_ONLY + 'allowlist = { '
- '"systems/loot.gd:_shimmer" = "cosmetic pulse phase", '
- '"systems/loot.gd:_mint" = "blocked on the run-seed bug" }\n')
- self.assertEqual(code, 0, out)
- self.assertIn('2 allowlisted site(s), each with a reason', out)
-
- def test_an_entry_that_matches_nothing_is_a_finding(self) -> None:
- code, out = _gate(CLEAN, SYSTEMS_ONLY
- + 'allowlist = { "systems/clean.gd:eject" = "gone" }\n')
- self.assertEqual(code, 1, out)
- self.assertIn('STALE systems/clean.gd:eject', out)
-
-
-class RefusesRatherThanGuesses(unittest.TestCase):
- """Exit 2 is a config mistake; exit 1 is drift. A typo must never read as
- a finding, and must never quietly narrow the run either."""
-
- BAD_CONFIG = (
- (SYSTEMS_ONLY + 'allowlist = { "systems/loot.gd:_shimmer" = " " }\n',
- 'has no reason'),
- (SYSTEMS_ONLY + 'allowlist = { "systems/loot.gd" = "x" }\n', 'enclosing func'),
- ('[rng]\nroots = "systems"\n', 'must be a list of strings'),
- )
-
- def test_a_bad_config_value_is_refused_not_read_as_a_finding(self) -> None:
- for body, reason in self.BAD_CONFIG:
- with self.subTest(config=body), self.assertRaises(ConfigError) as caught:
- _gate(DIRTY, body)
- self.assertIn(reason, str(caught.exception))
-
- def test_a_root_holding_no_scripts_fails_loudly(self) -> None:
- code, out = _gate(DIRTY, '[rng]\nroots = ["scenes"]\n')
- self.assertEqual(code, 1, out)
- self.assertIn('no tracked *.gd', out)
- self.assertIn('[rng] roots', out)
diff --git a/tests/test_check_test_shape.py b/tests/test_check_test_shape.py
deleted file mode 100644
index 7cd79a05..00000000
--- a/tests/test_check_test_shape.py
+++ /dev/null
@@ -1,95 +0,0 @@
-"""Focused contract tests for the pure tracked integration-size gate."""
-from __future__ import annotations
-
-import subprocess
-import unittest
-
-from support import run_check, temp_repo
-
-from godot_devkit.core.config import ConfigError
-from godot_devkit.godot.checks import test_shape
-
-BIG = 'tests/integration/big.gd'
-SMALL = 'tests/integration/small.gd'
-UNIT = 'tests/unit/unit.gd'
-SUPPORT = 'tests/integration/support/helper.gd'
-FIVE_LINES = 'extends Node\nfunc a():\n\tpass\nfunc b():\n\tpass\n'
-TWO_LINES = 'extends Node\npass\n'
-
-
-def _gate(config: str, scripts: dict[str, str] | None = None,
- remove: str | None = None) -> tuple[int, str]:
- with temp_repo('test_shape_repo', only=['project.godot']) as root:
- for rel, body in (scripts or {BIG: FIVE_LINES, SMALL: TWO_LINES,
- UNIT: TWO_LINES}).items():
- target = root / rel
- target.parent.mkdir(parents=True, exist_ok=True)
- target.write_text(body, encoding='utf-8')
- subprocess.run(['git', 'add', rel], cwd=root, check=True)
- (root / 'godot-devkit.toml').write_text(config, encoding='utf-8')
- if remove:
- (root / remove).unlink()
- return run_check(test_shape)
-
-
-class TestShape(unittest.TestCase):
- def test_cap_prices_every_tracked_integration_script(self) -> None:
- config = '[test_shape]\ncap = 3\n'
- code, out = _gate(config, {BIG: FIVE_LINES, SMALL: TWO_LINES,
- SUPPORT: FIVE_LINES, UNIT: TWO_LINES})
- self.assertEqual(code, 1, out)
- self.assertIn(f'OVERCAP {BIG} — 5 lines', out)
- self.assertIn(f'OVERCAP {SUPPORT} — 5 lines', out)
- self.assertIn('census: 3 of 3 tracked *.gd', out)
- self.assertIn('tier balance: unit 2 / tests/integration 12', out)
- self.assertIn('FAIL — 2 finding(s) across 3 tracked', out)
-
- def test_ledger_accepts_current_ceiling_and_refuses_growth(self) -> None:
- config = f'[test_shape]\ncap = 3\nledger = {{ "{BIG}" = 5 }}\n'
- code, out = _gate(config)
- self.assertEqual(code, 0, out)
- self.assertIn('PASS — 2 tracked integration script(s)', out)
- code, out = _gate(config, {BIG: FIVE_LINES + 'pass\n', SMALL: TWO_LINES})
- self.assertEqual(code, 1, out)
- self.assertIn(f'GREW {BIG} — 6 lines, ledger ceiling 5', out)
-
- def test_ledger_must_shrink_or_drop_paid_debt(self) -> None:
- code, out = _gate(f'[test_shape]\ncap = 3\nledger = {{ "{BIG}" = 7 }}\n')
- self.assertEqual(code, 1, out)
- self.assertIn(f'SHRUNK {BIG} — 5 lines, ledger ceiling 7', out)
- code, out = _gate(f'[test_shape]\ncap = 5\nledger = {{ "{BIG}" = 5 }}\n')
- self.assertEqual(code, 1, out)
- self.assertIn(f'PAID {BIG}', out)
-
- def test_stale_ledger_and_missing_tracked_file_fail(self) -> None:
- stale = 'tests/integration/gone.gd'
- code, out = _gate(f'[test_shape]\nledger = {{ "{stale}" = 10 }}\n')
- self.assertEqual(code, 1, out)
- self.assertIn(f'STALE {stale}', out)
- code, out = _gate('[test_shape]\n', remove=BIG)
- self.assertEqual(code, 1, out)
- self.assertIn(f'UNREADABLE {BIG}', out)
- self.assertIn('census: 1 of 2 tracked', out)
-
- def test_zero_census_is_a_finding(self) -> None:
- code, out = _gate('[test_shape]\n', {UNIT: TWO_LINES})
- self.assertEqual(code, 1, out)
- self.assertIn('scanned 0 tracked *.gd under tests/integration/', out)
-
- def test_old_keys_refuse_with_migration_and_bad_values_exit_two(self) -> None:
- obsolete = {
- 'scenario_root = "tests/integration"': 'integration_root',
- 'runner = "tools/dev/runners/integration.sh"': 'remove it',
- 'header = true': 'remove it',
- 'header_ledger = ["tests/integration/big.gd"]': 'remove it',
- 'infra = ["helper.gd"]': 'remove it',
- }
- for old, migration in obsolete.items():
- with self.subTest(old=old), self.assertRaises(ConfigError) as caught:
- _gate(f'[test_shape]\n{old}\n')
- self.assertIn(migration, str(caught.exception))
- for bad in ('cap = "3"', 'cap = 0',
- 'integration_root = "../elsewhere"',
- f'ledger = {{ "{BIG}" = true }}'):
- with self.subTest(bad=bad), self.assertRaises(ConfigError):
- _gate(f'[test_shape]\n{bad}\n')
diff --git a/tests/test_check_uid.py b/tests/test_check_uid.py
index afcbe1d0..3cd75405 100644
--- a/tests/test_check_uid.py
+++ b/tests/test_check_uid.py
@@ -21,7 +21,7 @@
from support import REPO_ROOT, run_check, temp_repo
from godot_devkit import cli
-from godot_devkit.godot.checks import roster, tres, uid
+from godot_devkit.godot.checks import roster, uid
CLEAN = ['project.godot', 'systems/rule.gd', 'systems/rule.gd.uid', 'scenes/clean.tscn']
DRIFTED = [*CLEAN, 'scenes/drifted.tscn', 'data/drifted.tres']
@@ -299,33 +299,6 @@ def test_check_uid_censuses_the_gap_and_still_reports_real_drift(self) -> None:
self.assertIn(self.GAP, out)
self.assertIn('across 2 file(s)', out) # the gap is not counted scanned
- def test_check_tres_reports_a_path_only_ref_and_censuses_the_gap(self) -> None:
- """Two claims on one run. The gap is censused instead of crashing, as
- for `check uid`. And the gate's one finding — an `[ext_resource]`
- with a path and no uid — is reported: amended in 0.25.0's probe pass,
- where a `check tres` whose path-only detector had gone blind reddened
- NOTHING in the suite (every tres case asked only for a PASS or a
- census). This is the cheapest tres run, so it carries the finding —
- and, since 0.25.0's review, the ZERO-CENSUS half too: `tres` was the
- one gate of eight whose rule-4 guard was asserted by nothing, so
- disarming `if not checked:` left the whole suite green."""
- with temp_repo('uid_repo', only=DRIFTED) as root:
- (root / 'data/drifted.tres').unlink()
- scene = root / 'scenes/drifted.tscn'
- scene.write_text(scene.read_text(encoding='utf-8').replace(
- 'uid="uid://dcleanscene0" ', '', 1), encoding='utf-8')
- code, out = run_check(tres)
- self.assertEqual(code, 1, out)
- self.assertIn(self.GAP, out)
- self.assertIn('PATH-ONLY scenes/drifted.tscn:6:', out)
- self.assertIn('1 path-only ext_resource ref(s) across 2 file(s)', out)
- # Rule 4's half: a tree holding no .tres/.tscn at all FAILS rather
- # than PASSing over nothing, and says which "0" it means.
- with temp_repo('uid_repo', only=[]):
- empty_code, empty_out = run_check(tres)
- self.assertEqual(empty_code, 1, empty_out)
- self.assertIn('[check:tres] FAIL — scanned 0 of 0 tracked', empty_out)
-
class CliRouting(unittest.TestCase):
"""`--fix` is a contract on ONE gate; anywhere else it must be a loud usage
@@ -336,8 +309,7 @@ class CliRouting(unittest.TestCase):
reddens every one; that is the roster being wrong for the repo, not a
reason to weaken a gate. 4.0 refuses the retired key `[checks] godot` (see `LegacyConfigNames`)."""
- STOCK_GATES = ('warnings', 'props', 'defaults', 'rng', 'tres-comment',
- 'unit-disk')
+ STOCK_GATES = ('props', 'tres-comment', 'unit-disk')
def _check_all(self, root: Path) -> tuple[int, str]:
# A fresh process, so two runs compare bytes and not cache state.
@@ -351,12 +323,12 @@ def test_fix_routes_to_uid_and_is_a_usage_error_anywhere_else(self) -> None:
with temp_repo('uid_repo', only=DRIFTED) as root:
code, out = run_cli('check', 'uid', '--fix')
scene = (root / 'scenes/drifted.tscn').read_text(encoding='utf-8')
- tres_code, tres_out = run_cli('check', 'tres', '--fix')
+ props_code, props_out = run_cli('check', 'props', '--fix')
all_code, _ = run_cli('check', 'all', '--fix')
self.assertEqual(code, 0, out)
self.assertIn(ACTUAL_UID, scene)
- self.assertEqual(tres_code, 2)
- self.assertIn('unexpected argument', tres_out)
+ self.assertEqual(props_code, 2)
+ self.assertIn('unexpected argument', props_out)
self.assertEqual(all_code, 2)
def test_the_stock_roster_is_the_stock_and_a_declared_one_runs_what_it_names(
diff --git a/tests/test_check_warnings.py b/tests/test_check_warnings.py
deleted file mode 100644
index 301fea5a..00000000
--- a/tests/test_check_warnings.py
+++ /dev/null
@@ -1,68 +0,0 @@
-"""Tier 2 — `check warnings`: analyzer warnings held at error level in project.godot."""
-import unittest
-
-from support import run_check, temp_repo
-
-from godot_devkit.core.config import ConfigError
-from godot_devkit.godot.checks import warnings
-
-STOCK = ('unused_variable', 'shadowed_variable', 'unused_signal',
- 'integer_division', 'standalone_expression')
-
-
-def _gate(debug_lines, config=None):
- """One run in a throwaway repo whose project.godot carries `debug_lines` under [debug]."""
- with temp_repo('godot_project', only=['project.godot']) as root:
- head = (root / 'project.godot').read_text(encoding='utf-8').split('[debug]')[0]
- (root / 'project.godot').write_text(head + '[debug]\n\n' + debug_lines, encoding='utf-8')
- if config:
- (root / 'godot-devkit.toml').write_text(config, encoding='utf-8')
- return run_check(warnings)
-
-
-def _lines(names, level=2):
- return ''.join(f'gdscript/warnings/{n}={level}\n' for n in names)
-
-
-class TheWarningsGate(unittest.TestCase):
- def test_every_stock_warning_at_error_level_passes(self) -> None:
- code, out = _gate(_lines(STOCK))
- self.assertEqual(code, 0, out)
- self.assertIn('[check:warnings] PASS', out)
-
- def test_a_missing_or_low_warning_fails_and_prints_the_lines_to_paste(self) -> None:
- code, out = _gate(_lines(STOCK[1:]) + 'gdscript/warnings/unused_variable=1\n')
- self.assertEqual(code, 1, out)
- self.assertIn('unused_variable is 1, want 2', out)
- self.assertIn(' gdscript/warnings/unused_variable=2', out)
- code, out = _gate(_lines(STOCK[1:]))
- self.assertIn('unused_variable is unset', out)
-
- def test_a_key_outside_debug_does_not_count(self) -> None:
- with temp_repo('godot_project', only=['project.godot']) as root:
- (root / 'project.godot').write_text(
- '[other]\n' + _lines(STOCK) + '[debug]\n', encoding='utf-8')
- code, out = run_check(warnings)
- self.assertEqual(code, 1, out)
-
- def test_errors_config_narrows_the_list_and_a_bad_name_is_exit_two(self) -> None:
- code, out = _gate(_lines(['unused_variable']), '[warnings]\nerrors = ["unused_variable"]\n')
- self.assertEqual(code, 0, out)
- with self.assertRaises(ConfigError):
- _gate('', '[warnings]\nerrors = ["Bad Name"]\n')
- with self.assertRaises(ConfigError):
- _gate('', '[warnings]\nerrors = "unused_variable"\n')
- with self.assertRaises(ConfigError):
- _gate('', '[warnings]\nerrors = []\n')
-
- def test_no_project_godot_fails_loudly(self) -> None:
- with temp_repo('godot_project', only=['project.godot']) as root:
- (root / 'project.godot').unlink()
- code, out = run_check(warnings)
- self.assertEqual(code, 1, out)
- self.assertIn('scanned 0', out)
-
- def test_disabled_analyzer_cannot_pass_with_error_levels(self) -> None:
- code, out = _gate('gdscript/warnings/enable=false\n' + _lines(STOCK))
- self.assertEqual(code, 1, out)
- self.assertIn('must not disable the analyzer', out)
diff --git a/tests/test_defaults.py b/tests/test_defaults.py
deleted file mode 100644
index 9324ca90..00000000
--- a/tests/test_defaults.py
+++ /dev/null
@@ -1,153 +0,0 @@
-"""Tier 3 — the `.tres` default-elision flavour of editor churn.
-
-Two writers, two formats: hand-authored `.tres` spell every property out, Godot's
-writer omits any equal to the script's `@export` default. The repo holds one
-form, the editor emits the other, and the file diffs forever.
-
-The bar for the FIXER is higher than "produces the same bytes Godot would". A
-load-and-re-save also reorders properties, respells typed arrays and floats,
-mints `ext_resource` ids and deletes every `;` comment in the file — which is
-why it cannot be run in bulk. This pass is a pure DELETION of lines proven
-redundant, so everything else survives; the tests below are what pins that down.
-"""
-from __future__ import annotations
-
-import unittest
-from types import SimpleNamespace
-
-from support import run_check, temp_repo
-
-from godot_devkit.godot.write import scene_canonicalize
-from godot_devkit.godot.checks import defaults as defaults_check
-from godot_devkit.godot.index.gd_declarations import parse_declaration, parse_enum
-from godot_devkit.godot.index.resource_defaults import literal
-from godot_devkit.godot.format.tscn import parse
-
-REDUNDANT = 'data/redundant.tres'
-# Every assignment in the fixture that IS the declared default.
-EXPECTED_ELISIONS = {
- ('Nested', 'trigger'), ('Nested', 'priority'),
- ('', 'trigger'), ('', 'kind'), ('', 'owner_id'), ('', 'tag'), ('', 'speed'),
- ('', 'label'), ('', 'offset'), ('', 'extent'), ('', 'untouched'),
- ('', 'members'), ('', 'lookup'), ('', 'payload'), ('', 'enabled'),
-}
-# Assignments that must SURVIVE, each for a different reason.
-MUST_SURVIVE = (
- 'guarded = 0', # the export has a setter
- 'computed = 3', # the default is a call, outside the value language
- 'priority = 99', # simply not the default
- 'label = "nested"', # not the default, in a sub_resource
- 'point_count = 0', # an engine sub_resource — no default table for it
- 'trigger_note = 1', # not declared at all; `check props` owns that call
-)
-
-
-def canonicalize_in_repo(*argv: str) -> tuple[int, str]:
- return run_check(SimpleNamespace(run=scene_canonicalize.main), argv=list(argv))
-
-
-def _assignments(path) -> set[tuple[str, str]]:
- # `{(section id, property)}` — the file's assignments, section-aware.
- return {(section.attrs.get('id', ''), entry.key)
- for section in parse(str(path))
- if section.kind in ('resource', 'sub_resource')
- for entry in section.entries if entry.key != 'script'}
-
-
-class DeclarationScanner(unittest.TestCase):
- # The .gd half — the shapes the fixture below cannot reach; every other
- # declaration form is pinned by the fixer's exact elision set.
-
- def test_an_inferred_declaration_and_a_dictionary_default(self) -> None:
- decl = parse_declaration('@export var speed := 300.0')
- self.assertEqual((decl.declared_type, decl.default), (None, '300.0'))
- self.assertEqual(parse_declaration('@export var d: Dictionary = {"a": 1, "b": 2}').default,
- '{"a": 1, "b": 2}')
-
- def test_unevaluable_enum_member_voids_the_whole_table(self) -> None:
- # A partially-known enum mis-resolves every member after the gap.
- self.assertIsNone(parse_enum('enum E { A = SOME_CONST, B }'))
-
-
-class ValueLanguage(unittest.TestCase):
- # Both spellings normalise into it, or neither is compared — and a
- # collision deletes a value as 'redundant' that was not.
-
- def test_equivalent_spellings_agree_distinct_values_differ_and_the_rest_is_refused(
- self) -> None:
- # `5` equals `5.0` (Python `==` is exact) — but past 2**53 two
- # different ints must not normalize to the same float.
- for same in (('0', '0.0'), ('&"a"', '"a"'), ('[]', 'Array[Resource]([])'),
- ('Vector2(0, 0)', 'Vector2.ZERO'), ('0.30', '0.3'), ('5', '5.0')):
- self.assertEqual(literal(same[0]), literal(same[1]), same)
- for a, b in (('0', '1'), ('""', 'null'), ('[]', '{}'), ('false', '0'),
- ('9007199254740993', '9007199254740992')):
- self.assertNotEqual(literal(a), literal(b), (a, b))
- for spelling in ('SubResource("x")', 'ExtResource("1")', 'preload("res://a.gd")',
- '[SubResource("x")]', 'int(SPEED / 100.0)', 'Transform2D(1, 2)'):
- self.assertIsNone(literal(spelling), spelling)
-
-
-class Detector(unittest.TestCase):
- def test_gate_fails_on_the_redundant_fixture(self) -> None:
- with temp_repo('defaults_repo'):
- code, out = run_check(defaults_check)
- self.assertEqual(code, defaults_check.EXIT_FINDINGS, out)
- self.assertIn('REDUNDANT', out)
- self.assertIn('trigger = 0', out)
-
- def test_gate_passes_when_nothing_is_redundant(self) -> None:
- with temp_repo('defaults_repo', only=['data/clean.tres', 'systems/rule.gd',
- 'systems/base_rule.gd', 'systems/ids.gd',
- 'project.godot']):
- code, out = run_check(defaults_check)
- self.assertEqual(code, defaults_check.EXIT_OK, out)
- self.assertIn('PASS', out)
-
- def test_gate_refuses_to_pass_on_an_empty_census(self) -> None:
- # A gate that scanned nothing must say so, not print PASS (rule 4).
- with temp_repo('defaults_repo', only=['project.godot']):
- code, out = run_check(defaults_check)
- self.assertEqual(code, defaults_check.EXIT_FINDINGS, out)
- self.assertIn('scanned 0 files', out)
-
-
-class Fixer(unittest.TestCase):
- def test_elides_exactly_the_redundant_lines_and_nothing_else_and_converges(
- self) -> None:
- # Deletions only — no added line, no rewritten header, no lost
- # comment — and the second run is a no-op that says so.
- with temp_repo('defaults_repo') as root:
- before_set = _assignments(root / REDUNDANT)
- before = (root / REDUNDANT).read_text(encoding='utf-8').split('\n')
- code, out = canonicalize_in_repo('--elide-defaults', REDUNDANT)
- text = (root / REDUNDANT).read_text(encoding='utf-8')
- after_set = _assignments(root / REDUNDANT)
- again_code, again_out = canonicalize_in_repo('--elide-defaults', REDUNDANT)
- twice = (root / REDUNDANT).read_text(encoding='utf-8')
- self.assertEqual(code, scene_canonicalize.EXIT_OK, out)
- self.assertEqual(before_set - after_set, EXPECTED_ELISIONS)
- for survivor in MUST_SURVIVE:
- self.assertIn(survivor, text, survivor)
- after = text.split('\n')
- self.assertEqual(after, [line for line in before if line in after])
- self.assertEqual(len(before) - len(after), len(EXPECTED_ELISIONS))
- for line in before:
- if line.startswith((';', '[', 'script = ')):
- self.assertIn(line, after, line)
- self.assertEqual(twice, text)
- self.assertEqual(again_code, scene_canonicalize.EXIT_OK)
- self.assertIn('already canonical', again_out)
-
- def test_without_the_flag_nothing_is_deleted(self) -> None:
- # The pass is opt-in: it removes lines, so a consumer adopts it by choice.
- with temp_repo('defaults_repo') as root:
- before = (root / REDUNDANT).read_text(encoding='utf-8')
- canonicalize_in_repo(REDUNDANT)
- self.assertEqual((root / REDUNDANT).read_text(encoding='utf-8'), before)
-
-
-# At corpus scale the transform must stay a pure, stable deletion — the write
-# verb runs over a COPY in a throwaway repo, never over a fixture in place.
-# What that proof lost when the live-consumer sweep went is recorded in
-# 0.24.0/bugs/the-smoke-took-fixture-scale-with-it.
diff --git a/tests/test_editor_parity.py b/tests/test_editor_parity.py
deleted file mode 100644
index 3d7d8bfb..00000000
--- a/tests/test_editor_parity.py
+++ /dev/null
@@ -1,161 +0,0 @@
-"""Editor parity — `scene canonicalize --respell --order --elide-defaults` writes what the editor writes.
-
-Each pair under `tests/fixtures/editor_parity/` is a hand-written file (`hand/`)
-and the bytes a windowed Godot 4.7.2 editor wrote when it loaded and saved that
-file (`editor/`), vendored once; nothing here boots Godot. A derivable gap must
-come out byte-identical to the editor form, and `check canonical` must flag the
-hand form and pass the editor form. A gap that needs engine data a parse cannot
-see must come out UNRESOLVED, named, with the file otherwise untouched.
-"""
-from __future__ import annotations
-
-import unittest
-from collections import Counter
-
-from support import FIXTURES
-
-from godot_devkit.godot.checks import canonical
-from godot_devkit.godot.format.tscn import parse
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.godot.index.resource_canonical import CanonicalAnalyzer
-from godot_devkit.godot.index.resource_defaults import DefaultAnalyzer
-from godot_devkit.godot.index.uid_index import UidIndex
-from godot_devkit.godot.format.tscn_document import TscnDocument
-from godot_devkit.godot.write.editor_layout import layout
-from godot_devkit.godot.write.scene_canonicalize import BaseScenes, canonicalize, respell_values
-
-ROOT = FIXTURES / 'editor_parity'
-SCRIPTS = ['systems/base_item.gd', 'systems/item.gd', 'systems/tooled.gd',
- 'systems/plain.gd', 'systems/holder.gd', 'systems/pointer.gd', 'systems/pair.gd', 'systems/roster.gd']
-
-# The gaps canonicalize closes: hand form -> editor form, byte for byte. Two
-# editor forms are the editor's save of canonicalize's OUTPUT, because the
-# editor's own value is not a fixed point: g10b/g10d (the editor mints a random
-# unique_id but keeps any it reads), g10c (a second save re-walks the
-# now-sorted dictionary) and g13 (the editor adds a typed array's script
-# ext_resource under a random id, and keeps any id it reads). There, equality proves an editor save is a no-op.
-DERIVABLE = ('g10b_unique.tscn', 'g10d_attrs.tscn', 'g07_shader.tres', 'g07b_shader_types.tres',
- 'g01_order.tres', 'g02_ext.tres', 'g04_class.tres', 'g04b_noclass.tres',
- 'g05_array.tres', 'g08_frames.tres', 'g09_dict.tres', 'g10_scene.tscn',
- 'g10c_dict_first_use.tres', 'g06_gradient.tres', 'g11_sub_by_name.tres',
- 'g12_ext_named.tres', 'g13_typed_script.tres',
- 'g15_frames_inline.tres')
-ELIDED = ('g06_gradient.tres',)
-
-
-def run(name: str) -> tuple[str, list[str]]:
- scripts = ScriptIndex(ROOT, SCRIPTS)
- return canonicalize(ROOT / 'hand' / name, ROOT, UidIndex(ROOT), BaseScenes(ROOT),
- DefaultAnalyzer(scripts), CanonicalAnalyzer(scripts),
- respell=True, order=True)
-
-
-def drift(folder: str, name: str) -> list[str]:
- analyzer = CanonicalAnalyzer(ScriptIndex(ROOT, SCRIPTS))
- return canonical.findings_of(ROOT, f'{folder}/{name}', analyzer, Counter())
-
-
-def redundant(folder: str, name: str) -> list:
- analyzer = DefaultAnalyzer(ScriptIndex(ROOT, SCRIPTS))
- return analyzer.analyze(parse(str(ROOT / folder / name)), Counter())
-
-
-def editor_bytes(name: str) -> str:
- return (ROOT / 'editor' / name).read_text(encoding='utf-8')
-
-
-class UnderivableGapsAreNamed(unittest.TestCase):
- def test_a_tool_default_is_unresolved_and_the_file_is_untouched(self) -> None:
- # Gap 3: the editor adds an ext_resource under an id it generates at random.
- name = 'g03_tool.tres'
- text, report = run(name)
- self.assertEqual(text, (ROOT / 'hand' / name).read_text(encoding='utf-8'))
- self.assertNotEqual(text, editor_bytes(name))
- unresolved = [line for line in report if 'UNRESOLVED' in line]
- self.assertEqual(len(unresolved), 1, report)
- self.assertIn('@tool default res://art/d.tres', unresolved[0])
-
-
-HEAD = '[gd_resource type="Resource" format=3]\n\n'
-HEAD_ITEM = '[gd_resource type="Resource" script_class="Item" format=3]\n\n'
-ITEM = '[ext_resource type="Script" path="res://systems/item.gd" id="1_item"]\n'
-MATERIAL = ('[gd_resource type="ShaderMaterial" format=3]\n\n'
- '[ext_resource type="Shader" path="res://art/{shader}" id="1"]\n\n'
- '[resource]\nshader = ExtResource("1")\n{extra}')
-# Each input the editor WOULD rewrite but the tool cannot prove: (text, reason).
-REFUSED = {
- 'StringName and int keys': (
- HEAD_ITEM + ITEM + '\n[resource]\nscript = ExtResource("1_item")\n'
- 'table = {&"b": 1, 2: 3}\n', 'mixes StringName and int'),
- 'uneven separators': (
- HEAD_ITEM + ITEM + '\n[resource]\nscript = ExtResource("1_item")\n'
- 'table = {"b": 1, "a": 2,\n"c": 3}\n', 'not separated the same way'),
- 'comment in the ext block': (
- HEAD + '[ext_resource type="Texture2D" path="res://art/b.tres" id="2"]\n'
- '; why\n[ext_resource type="Texture2D" path="res://art/a.tres" id="1"]\n',
- 'ext_resource block holds a comment'),
- 'unreferenced sub_resource': (
- HEAD + '[sub_resource type="Resource" id="b"]\n\n[sub_resource type="Resource" id="a"]'
- '\n\n[resource]\nnext = SubResource("a")\n', 'referenced by nothing'),
- 'two ext_resources for the element script': (
- '[gd_resource type="Resource" script_class="Roster" format=3]\n\n'
- '[ext_resource type="Script" path="res://systems/roster.gd" id="1_roster"]\n'
- '[ext_resource type="Script" path="res://systems/item.gd" id="2_item"]\n'
- '[ext_resource type="Script" path="res://systems/item.gd" id="3_item"]\n'
- '[ext_resource type="Resource" path="res://art/e.tres" id="4_e"]\n\n'
- '[resource]\nscript = ExtResource("1_roster")\nitems = [ExtResource("4_e")]\n',
- 'has several ext_resources'),
- 'container inside a call in animations': (
- '[gd_resource type="SpriteFrames" format=3]\n\n[resource]\nanimations = [{"frames": '
- 'Array[Dictionary]([{"duration": 1.0}]), "loop": true, "name": &"a", "speed": 5.0}]\n',
- 'container inside a call'),
- 'engine property on a material': (MATERIAL.format(shader='tint.gdshader', extra='next_pass = null\n'),
- 'other than shader'),
-}
-
-
-class UnprovableEditsAreRefusedNotGuessed(unittest.TestCase):
- def test_each_refusal_names_its_reason_and_changes_nothing(self) -> None:
- scripts = ScriptIndex(ROOT, SCRIPTS)
- for case, (text, reason) in REFUSED.items():
- with self.subTest(case):
- doc = TscnDocument(text)
- report = respell_values(doc, CanonicalAnalyzer(scripts))
- report += layout(doc, scripts, ROOT)
- unresolved = [line for line in report if 'UNRESOLVED' in line]
- self.assertTrue(any(reason in line for line in unresolved), report)
- self.assertEqual(doc.text, text)
-
-
-class DerivableGapsMatchTheEditor(unittest.TestCase):
- def test_hand_form_canonicalizes_to_the_editor_bytes(self) -> None:
- for name in DERIVABLE:
- with self.subTest(name):
- text, report = run(name)
- self.assertEqual(text, editor_bytes(name))
- self.assertFalse([line for line in report if 'UNRESOLVED' in line])
-
- def test_the_editor_form_is_a_fixed_point(self) -> None:
- scripts = ScriptIndex(ROOT, SCRIPTS)
- for name in DERIVABLE:
- with self.subTest(name):
- text, _ = canonicalize(ROOT / 'editor' / name, ROOT, UidIndex(ROOT),
- BaseScenes(ROOT), DefaultAnalyzer(scripts),
- CanonicalAnalyzer(scripts), respell=True, order=True)
- self.assertEqual(text, editor_bytes(name))
-
- def test_the_gates_flag_the_hand_form_and_pass_the_editor_form(self) -> None:
- # `check canonical` owns spelling, order and layout; `check defaults`
- # owns elision (gap 6). A .tscn is in neither gate's census.
- for name in DERIVABLE:
- if not name.endswith('.tres'):
- continue
- with self.subTest(name):
- gate = redundant if name in ELIDED else drift
- self.assertTrue(gate('hand', name))
- self.assertEqual(drift('editor', name), [])
- self.assertEqual(redundant('editor', name), [])
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/tests/test_fuzz_inputs.py b/tests/test_fuzz_inputs.py
index 36e1d031..01cfa14e 100644
--- a/tests/test_fuzz_inputs.py
+++ b/tests/test_fuzz_inputs.py
@@ -11,7 +11,7 @@
over-long strings) and drives them through the REAL CLI against a scratch
tree, asserting the property the write verbs' docstrings claim:
- VERB REFUSAL TOTALITY (scene / refs --retarget) — for every mangled node
+ VERB REFUSAL TOTALITY (scene set / add) — for every mangled node
path / sub_resource id / res:// path: exit 0 with the edit confined to the
file the command named, or a refusal with the tree byte-identical — never an
exception escaping `cli.main` (the real CLI's traceback), never a write to a
@@ -72,7 +72,6 @@
# covered, so it moves only with a recorded reason.
SEED = 20260830
SCENE_CASES = 320
-RETARGET_CASES = 100
# --- the mangler --------------------------------------------------------------
@@ -257,8 +256,7 @@ def _build_scene(outer: Path, root: Path) -> None:
def _scene_argv(rng: random.Random) -> tuple[str, ...]:
file = _SCENE if rng.random() < 0.8 else _mangle(rng, _FILE_BASES)
np = _mangle(rng, _NODE_BASES)
- kind = rng.choice(('set', 'set', 'sub', 'rm', 'rename', 'add', 'script',
- 'connect'))
+ kind = rng.choice(('set', 'set', 'sub', 'add', 'script'))
if kind == 'set':
value = '"fuzz"' if rng.random() < 0.7 else _mangle(rng, ('true',))
prop = 'text' if rng.random() < 0.7 else _mangle(rng, ('text',))
@@ -266,17 +264,10 @@ def _scene_argv(rng: random.Random) -> tuple[str, ...]:
if kind == 'sub':
return ('scene', 'set', file, '--sub-resource',
_mangle(rng, _SUB_BASES), 'bg_color', '"red"')
- if kind == 'rm':
- return 'scene', 'rm', file, np
- if kind == 'rename':
- return 'scene', 'rename', file, np, _mangle(rng, ('Renamed',))
if kind == 'add':
return 'scene', 'add', file, np, _mangle(rng, ('Fresh',)), 'Node2D'
- if kind == 'script':
- return ('scene', 'add', file, '.', 'Scripted', 'Node2D', '--script',
- _mangle(rng, ('res://systems/logic.gd',)))
- return ('scene', 'connect', file, _mangle(rng, ('pressed',)), np,
- _mangle(rng, _NODE_BASES), 'on_fuzz')
+ return ('scene', 'add', file, '.', 'Scripted', 'Node2D', '--script',
+ _mangle(rng, ('res://systems/logic.gd',)))
def _named_file(argv: tuple[str, ...], root: Path) -> Path | None:
@@ -334,65 +325,6 @@ def test_scene_verbs_refuse_or_edit_only_the_named_file():
+ '\n\n'.join(violations[:8]))
-_OLD = 'res://scripts/old_helper.gd'
-_NEW = 'res://scripts/new_helper.gd'
-_SOURCE_SUFFIXES = ('.tscn', '.tres', '.gd')
-
-
-def _build_retarget(outer: Path, root: Path) -> None:
- shutil.copytree(FIXTURES / 'retarget_repo', root)
- (outer / 'outside.tscn').write_text(
- '[gd_scene load_steps=2 format=3]\n\n'
- f'[ext_resource type="Script" path="{_OLD}" id="1_h"]\n',
- encoding='utf-8')
-
-
-@functools.lru_cache(maxsize=1)
-def _retarget_results() -> tuple[tuple[str, ...], dict]:
- rng = random.Random(SEED + 2)
- violations: list[str] = []
- census: Counter = Counter()
- with _scratch(_build_retarget) as (outer, root):
- base = _snap(outer)
- for _ in range(RETARGET_CASES):
- old = _OLD if rng.random() < 0.4 else _mangle(rng, (_OLD,))
- new = _NEW if rng.random() < 0.4 else _mangle(rng, (_NEW,))
- argv = ('refs', '--retarget', old, new)
- code, out, escaped = _run(argv)
- delta = _delta(base, _snap(outer))
- where = f'{argv!r} -> code={code} delta={delta} out={out[:160]!r}'
- if escaped is not None:
- violations.append(f'TRACEBACK {type(escaped).__name__}: '
- f'{escaped!r} on {where}')
- elif code not in (0, 1, 2):
- violations.append(f'EXIT CODE outside the contract on {where}')
- elif code == 2 and delta:
- violations.append(f'USAGE ERROR WROTE on {where}')
- else:
- # exit 1 with rewrites is contractual here: a skip is loud
- # (exit 1) while provable refs are still rewritten.
- for rel in delta:
- inside = (outer / rel).resolve().is_relative_to(
- root.resolve())
- if not inside or not rel.endswith(_SOURCE_SUFFIXES):
- violations.append(
- f'WROTE OUTSIDE THE SWEEP: {rel} on {where}')
- census['refused'] += 1 if code in (1, 2) and not delta else 0
- census['accepted-write'] += 1 if delta else 0
- for cls in _classes_of(old) | _classes_of(new):
- census[f'class:{cls}'] += 1
- if delta:
- _restore(outer, base)
- return tuple(violations), dict(census)
-
-
-def test_retarget_refuses_or_sweeps_only_source_files_in_repo():
- violations, _ = _retarget_results()
- assert not violations, (
- f'{len(violations)} retarget violations (seed {SEED + 2}):\n\n'
- + '\n\n'.join(violations[:8]))
-
-
# --- the teeth ----------------------------------------------------------------
def test_the_corpus_actually_exercises_every_hostile_class_and_both_verdicts():
"""A fuzz whose corpus is all one answer proves nothing.
@@ -400,21 +332,15 @@ def test_the_corpus_actually_exercises_every_hostile_class_and_both_verdicts():
Two censuses, asserted rather than trusted: the generator must still emit
every hostile input class it advertises, and the runs must contain both
refusals AND accepted writes — a corpus the CLI always refuses would let
- the containment clauses rot unexercised. The class floor is asked of the
- two corpora TOGETHER: the mangler is one generator, and which corpus a
- class lands in is the seed's business, not the property's.
+ the containment clauses rot unexercised.
"""
_, scene = _scene_results()
- _, retarget = _retarget_results()
for cls in ('dot-segment', 'empty-segment', 'backslash', 'glob',
'absolute', 'scheme', 'whitespace', 'newline', 'quote',
'confusable', 'overlong', 'dash'):
- seen = scene.get(f'class:{cls}', 0) + retarget.get(f'class:{cls}', 0)
- assert seen >= 8, (cls, scene, retarget)
+ assert scene.get(f'class:{cls}', 0) >= 8, (cls, scene)
assert scene['refused'] >= 100, scene
assert scene['accepted-write'] >= 5, scene
- assert retarget['refused'] >= 30, retarget
- assert retarget['accepted-write'] >= 3, retarget
def test_overlong_path_arguments_are_refused_across_the_scene_plane():
@@ -423,21 +349,14 @@ def test_overlong_path_arguments_are_refused_across_the_scene_plane():
At the pinned HEAD a file argument longer than NAME_MAX escaped as a raw
OSError (ENAMETOOLONG) out of `Path.is_file` — the scene plane lacked the
exists/OSError guard the pm plane grew for exactly this. Every verb that
- stats a caller-supplied path now refuses instead: the write verbs at
- exit 2 ("no such file"), `refs --retarget` at exit 1 (its missing-target
- refusal), and `scene add --instance` via its instance-target refusal.
+ stats a caller-supplied path now refuses instead: `scene set` at exit 2
+ ("no such file"), and `scene add --instance` via its instance-target refusal.
"""
overlong = 'x' * 300
with _scratch(_build_scene) as (outer, _):
base = _snap(outer)
refusals = (
(('scene', 'set', f'{overlong}.tscn', '.', 'text', '"x"'), 2),
- (('scene', 'rm', f'{overlong}.tscn', 'Inner'), 2),
- (('scene', 'canonicalize', f'{overlong}.tscn'), 2),
- (('tiles', 'paint', f'{overlong}.tscn', '--layer', 'L',
- '--region', '0,0,1,1', '--tile', '0/0,0'), 2),
- (('refs', '--retarget', 'res://scripts/old_helper.gd',
- f'res://{overlong}.gd'), 1),
(('scene', 'add', 'scenes/panel.tscn', '.', 'Inst',
'--instance', f'res://{overlong}.tscn'), 1),
)
diff --git a/tests/test_makefile_gates.py b/tests/test_makefile_gates.py
index fd2e1342..8ff7cced 100644
--- a/tests/test_makefile_gates.py
+++ b/tests/test_makefile_gates.py
@@ -38,7 +38,7 @@
OWN_MAKEFILES = (MAKEFILE, GATES, REPO_ROOT / 'Makefile.tiers')
RUNNERS = REPO_ROOT / 'src' / 'godot_devkit' / 'godot' / 'installables'
RUNNER_CALL = re.compile(r'@bash \$\(GDK_RUNNERS_DIR\)/([a-z_]+\.sh)')
-GODOT_GATES = ('warnings', 'props', 'defaults', 'rng', 'tres-comment', 'unit-disk')
+GODOT_GATES = ('props', 'tres-comment', 'unit-disk')
# Targets this repo's files define that are NOT gates: `import` rebuilds the
# engine's import cache, a tool with an outcome rather than a gate with a
# verdict, `gdk-precommit-retired` and the `gdk-tiers-*` notices are one line
diff --git a/tests/test_read_verbs.py b/tests/test_read_verbs.py
index 30de3d0e..989ecc12 100644
--- a/tests/test_read_verbs.py
+++ b/tests/test_read_verbs.py
@@ -25,6 +25,7 @@
from support import FIXTURES, REPO_ROOT, temp_repo
+from godot_devkit import cli
from godot_devkit.core.project import load_config, repo_root
from godot_devkit.godot import VENDORED_DEFAULT
from godot_devkit.godot.read import autoloads, orphans, refs
@@ -120,6 +121,18 @@ def test_a_bad_section_is_exit_2_not_an_import_crash(self) -> None:
self.assertNotIn('Traceback', done.stderr)
+class RemovedVerbs(unittest.TestCase):
+ def test_a_removed_write_verb_is_exit_2_naming_its_replacement(self) -> None:
+ # A consumer Makefile that still calls a removed verb must stop red,
+ # never run the read verb that shares its command word and pass.
+ for argv in (('refs', '--rename', 'A', 'B'), ('autoloads', 'add', 'A', 'res://a.gd')):
+ err = io.StringIO()
+ with contextlib.redirect_stderr(err):
+ code = cli.main(list(argv))
+ self.assertEqual(code, 2, argv)
+ self.assertIn('removed in 5.0: ', err.getvalue())
+
+
class AutoloadsCensus(unittest.TestCase):
def test_census_groups_by_suffix_and_flags_layout(self) -> None:
self.assertEqual(autoloads.DEFAULT_SUFFIXES, {}) # no stock framework words
diff --git a/tests/test_refs_rename.py b/tests/test_refs_rename.py
deleted file mode 100644
index f576ae8d..00000000
--- a/tests/test_refs_rename.py
+++ /dev/null
@@ -1,198 +0,0 @@
-"""`refs --rename`: a class_name, method, signal or autoload renamed everywhere, or nowhere.
-
-`main(argv)` in-process over temp copies of `tests/fixtures/read_repo/` (and
-one corpus scene). Four properties are load-bearing: every typed hit is
-rewritten and nothing else is (`refs ` afterwards counts what `refs `
-counted before); any blocking site refuses the whole plan, names every site
-and leaves every byte where it was; the same rename twice is a no-op; and a
-corpus scene round-trips byte-identical outside the renamed token.
-"""
-import re
-import types
-import unittest
-
-from support import run_check, temp_repo
-
-from godot_devkit import cli
-from godot_devkit.godot.read import refs
-
-
-def run_cli(*argv):
- # `cli.main(argv)` wearing a check's `run()` face, so `run_check` clears
- # the repo-root/config caches around the cwd change and captures stdout.
- return run_check(types.SimpleNamespace(run=lambda: cli.main(list(argv))))
-
-
-PATH_TITLES = ('preload / load', 'scene resource refs (.tscn/.tres)')
-
-
-def refs_count(symbol, *flags):
- """Every symbol hit `refs ` prints — every bucket but the two that
- match a res:// path, which a rename leaves where they are."""
- _, out = run_check(types.SimpleNamespace(run=lambda: refs.main([symbol, *flags])))
- return sum(int(n) for title, n in re.findall(r'^## (.*) \((\d+)\)$', out, re.M)
- if title not in PATH_TITLES)
-
-
-def snapshot(root):
- return {p: p.read_bytes() for p in sorted(root.rglob('*'))
- if p.is_file() and '.git' not in p.parts}
-
-
-class RenameRewrites(unittest.TestCase):
- # (old, new, the file a dry run must show, files the rename must not
- # touch, what it must print, files added first) — a `[connection] method=` plus its handler's
- # definition; an autoload's `project.godot` key plus a use; a class_name
- # with its bare uses, whose scene's `[node name="Player"]`, `$Player` and
- # `res://systems/player.gd` are a node and a path, not the class — and a
- # use under tests/, which a rename never leaves behind (`10%Player` is
- # modulo, not a unique-node sigil).
- RENAMES = (
- ('_on_button_pressed', '_on_button_clicked', 'scenes/main.tscn', (), (), {}),
- ('DataRegistry', 'Registry', 'project.godot', (), (), {}),
- ('Player', 'Hero', 'systems/spawner.gd', ('scenes/main.tscn',),
- (' PATH scenes/main.tscn res://systems/player.gd — left as is; '
- 'git mv + refs --retarget if the file should follow',),
- {'tests/unit/test_player.gd': 'extends Node\n\nvar made := Player.new()\n'
- 'var cap := 10%Player.MAX\n'}),
- )
-
- def test_every_typed_hit_is_rewritten_once_and_a_retry_is_a_no_op(self) -> None:
- for old, new, shown, untouched, printed, extra in self.RENAMES:
- with self.subTest(old=old), temp_repo('read_repo') as root:
- for rel, text in extra.items():
- (root / rel).parent.mkdir(parents=True, exist_ok=True)
- (root / rel).write_text(text, encoding='utf-8')
- counted = refs_count(old, '--tests')
- before = snapshot(root)
- code, dry = run_cli('refs', '--rename', old, new, '--dry-run')
- self.assertEqual((code, snapshot(root)), (0, before), dry)
- self.assertIn(f'+++ b/{shown}', dry)
- code, out = run_cli('refs', '--rename', old, new)
- after = snapshot(root)
- self.assertEqual(code, 0, out)
- # Only the token moved: every file is its old bytes with the
- # name swapped (never a node path), and nothing else changed.
- token = re.compile(rf'(? None:
- old, new = '_on_detector_body_entered', '_on_detector_entered'
- scene = 'systems/hazards/hazard.tscn'
- with temp_repo('corpus/editor_written', only=[scene]) as root:
- (root / 'systems/hazards/hazard.gd').write_text(
- f'extends Area2D\n\n\nfunc {old}(body: Node2D) -> void:\n\tpass\n',
- encoding='utf-8')
- before = (root / scene).read_bytes()
- code, out = run_cli('refs', '--rename', old, new)
- after = (root / scene).read_bytes()
- self.assertEqual(code, 0, out)
- self.assertEqual(after, before.replace(f'method="{old}"'.encode(),
- f'method="{new}"'.encode()))
- changed = [a for a, b in zip(before.splitlines(), after.splitlines()) if a != b]
- self.assertEqual(len(changed), 1)
-
-
-class RenameRefuses(unittest.TestCase):
- EXTRA_GD = ('extends Node\n'
- '\n'
- 'var s := "x.hurt(1)"\n' # 3: a claimed token in a string
- 'func go(p) -> void:\n'
- '\tp.call("hurt")\n' # 5: a string that IS the name
- '\tvar cb := hurt\n' # 6: a callable reference, unproven
- '\tself.hurt(wound)\n') # 7: the line carries
- EXTRA_TRES = '[gd_resource type="Resource" format=3]\n\n[resource]\nmethod = &"hurt"\n'
- # A built-in script and a /root NodePath: neither is a [connection] attr,
- # both name the autoload — a rename that skipped them strands it.
- BUILTIN_TSCN = ('[gd_scene load_steps=2 format=3]\n'
- '\n'
- '[sub_resource type="GDScript" id="GDScript_1"]\n'
- 'script/source = "extends Node\n'
- '\n'
- 'func _ready():\n'
- '\tDataRegistry.load_all()\n' # 7: inside script/source
- "\tvar m = ['res://a.gd',DataRegistry]\n" # 8: after a quoted path
- '"\n'
- '\n'
- '[node name="Hud" type="Node"]\n'
- 'script = SubResource("GDScript_1")\n'
- 'registry = NodePath("/root/DataRegistry")\n') # 13
- # An engine name the project ALSO defines: without types, `sfx.play()`,
- # `$Anim.play()` and a Button's `[connection signal="pressed"]` (main.tscn:12)
- # may be the engine's — a rename that rewrote them would break the game.
- PLAY_GD = ('extends Node\n'
- '\n'
- '@onready var sfx: AudioStreamPlayer = $Sfx\n'
- '\n'
- 'func play() -> void:\n'
- '\tsfx.play()\n'
- '\t$Anim.play()\n')
- GHOST_TSCN = ('[gd_scene format=3]\n'
- '\n'
- '[node name="Root" type="Node"]\n'
- '\n'
- '[connection signal="fired" from="." to="." method="_on_ghost"]\n')
-
- # (extra files, old, new, every phrase the refusal must name)
- REFUSALS = (
- ({}, 'died', 'perished', ('systems/player.gd:21', 'systems/player.gd:24',
- 'systems/player.gd:25', 'systems/player.gd:26',
- '4 blocked')),
- ({}, 'GameManager', 'Manager', ('systems/spawner.gd:10 a dynamic hit',)),
- ({'systems/extra.gd': EXTRA_GD, 'data/anim.tres': EXTRA_TRES}, 'hurt', 'wound',
- ('systems/extra.gd:3 inside a string literal', 'systems/extra.gd:5 a string that IS',
- 'systems/extra.gd:6 an occurrence no typed arm proves',
- 'systems/extra.gd:7 the line already carries wound',
- 'data/anim.tres:4 a StringName', '5 blocked')),
- ({'scenes/hud.tscn': BUILTIN_TSCN}, 'DataRegistry', 'Registry',
- ('scenes/hud.tscn:7 an occurrence in a scene', 'scenes/hud.tscn:8 an occurrence '
- 'in a scene', 'scenes/hud.tscn:13 an occurrence in a scene', '3 blocked')),
- ({}, 'hurt', 'watch', ('systems/player.gd:20 watch is already defined',)),
- ({'scenes/ghost.tscn': GHOST_TSCN}, '_on_ghost', '_on_spirit',
- ('scenes/ghost.tscn:5 a reference to _on_ghost, which nothing here defines',)),
- ({'systems/jukebox.gd': PLAY_GD}, 'play', 'play_track',
- ('play an engine method', '1 blocked')),
- ({'systems/card.gd': 'extends Node\n\nsignal pressed\n'}, 'pressed', 'clicked',
- ('pressed an engine signal', '1 blocked')),
- ({}, '_ready', '_ready2', ('_ready an engine method',)),
- ({}, 'hurt', 'queue_free', ('queue_free an engine method',)),
- ({}, 'nothing_here', 'anything', ('nothing to rename',)),
- )
-
- def test_each_refusal_names_every_blocking_site_and_writes_nothing(self) -> None:
- for extra, old, new, phrases in self.REFUSALS:
- with self.subTest(old=old, new=new), temp_repo('read_repo') as root:
- for rel, text in extra.items():
- (root / rel).parent.mkdir(parents=True, exist_ok=True)
- (root / rel).write_text(text, encoding='utf-8')
- before = snapshot(root)
- code, out = run_cli('refs', '--rename', old, new)
- self.assertEqual((code, snapshot(root)), (1, before), out)
- self.assertIn('REFUSED', out)
- for phrase in phrases:
- self.assertIn(phrase, out)
-
- def test_a_bad_name_or_a_tests_flag_is_a_usage_error(self) -> None:
- with temp_repo('read_repo'):
- # `--tests` too: a rename always covers tests/, so the flag names nothing.
- # A keyword (`var`, `self`) is no name a symbol can take.
- for argv in (('hurt', '1bad'), ('hurt', 'hurt'), ('res://x.gd', 'y'),
- ('hurt', 'wound', '--tests'), ('hurt', 'var'), ('hurt', 'self')):
- with self.subTest(argv=argv), self.assertRaises(SystemExit) as raised:
- run_cli('refs', '--rename', *argv)
- self.assertEqual(raised.exception.code, 2)
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/tests/test_refs_retarget.py b/tests/test_refs_retarget.py
deleted file mode 100644
index f9c0d2fd..00000000
--- a/tests/test_refs_retarget.py
+++ /dev/null
@@ -1,168 +0,0 @@
-"""Tier 2 — `refs --retarget`: re-point every reference to a moved res:// path.
-
-After a `git mv old.gd new.gd`, every `path="res://old"` ext_resource ref in
-the tree strands. The verb rewrites those byte-surgically, plus exact
-preload()/load() literals in .gd files — and REPORTS (never rewrites) the
-occurrences it cannot prove: comments, substrings, quoted paths outside a
-preload/load call. Three properties are load-bearing: only the asked-about
-bytes change, a second run is a byte-level no-op, and a retarget onto a path
-that does not exist is refused whole.
-"""
-import os
-import re
-import types
-import unittest
-
-from support import run_check, temp_repo
-
-from godot_devkit import cli
-
-OLD = 'res://scripts/old_helper.gd'
-NEW = 'res://scripts/new_helper.gd'
-OLD_ZONE = 'res://systems/spatial_zones/zone.gd'
-NEW_ZONE = 'res://systems/spatial_zones/zone2.gd'
-
-
-def run_cli(*argv):
- # The CLI in-process through `run_check`'s scaffolding (stdout captured,
- # the module caches cleared around the cwd change): `cli.main(argv)`
- # wearing a check's `run()` face. A usage error is argparse's SystemExit,
- # left to propagate for the caller to assert on.
- return run_check(types.SimpleNamespace(run=lambda: cli.main(list(argv))))
-
-
-def census(output):
- """(files scanned, rewritten, skipped) from the verdict line."""
- return tuple(int(g) for g in re.search(
- r'\[refs:retarget\] (\d+) file\(s\) scanned[^,]*, (\d+) rewritten, (\d+) skipped',
- output).groups())
-
-
-def snapshot(root):
- return {p: p.read_bytes() for p in sorted(root.rglob('*')) if p.is_file()}
-
-
-class RetargetRewrites(unittest.TestCase):
- def test_a_dry_run_lists_every_site_then_the_sweep_rewrites_what_it_can_prove(self) -> None:
- # `--dry-run` lists every file+line and writes nothing. The sweep:
- # ext_resource paths and preload/load literals change; the uid attr,
- # its text spelling and every other line of the scene are carried
- # through; a bystander file is byte-identical; a comment, a quoted
- # mention outside a call and a substring are SKIPPED, each with its
- # reason and its line — and skips are findings, exit 1.
- with temp_repo('retarget_repo') as root:
- scene, gd = root / 'scenes/user.tscn', root / 'systems/consumer.gd'
- before = snapshot(root)
- _, dry = run_cli('refs', '--retarget', OLD, NEW, '--dry-run')
- self.assertEqual(before, snapshot(root))
- code, output = run_cli('refs', '--retarget', OLD, NEW)
- after = snapshot(root)
- self.assertEqual(census(dry)[1], 3) # would rewrite
- self.assertIn('dry run', dry)
- self.assertRegex(dry, r'REWRITE\s+scenes/user\.tscn:3')
- self.assertRegex(dry, r'REWRITE\s+systems/consumer\.gd:3')
- self.assertEqual(census(output), (5, 3, 3), output)
- self.assertEqual(code, 1)
- tscn, script = after[scene].decode('utf-8'), after[gd].decode('utf-8')
- self.assertEqual(before[root / 'scenes/bystander.tscn'],
- after[root / 'scenes/bystander.tscn'])
- self.assertIn(f'path="{NEW}"', tscn)
- self.assertNotIn(OLD, tscn)
- self.assertIn('uid="uid://roldhelper0"', tscn)
- changed = [pair for pair in zip(before[scene].decode('utf-8').splitlines(),
- tscn.splitlines()) if pair[0] != pair[1]]
- self.assertEqual(len(changed), 1)
- self.assertEqual(changed[0][0].replace(OLD, NEW), changed[0][1])
- for phrase in (f'preload("{NEW}")', f'load("{NEW}")',
- f'# preload("{OLD}") stays put', # comment intact
- f'var mention := "{OLD}"', # not a preload
- f'var backup := "{OLD}.bak"'): # substring
- self.assertIn(phrase, script)
- for reason in ('comment', 'outside a preload/load', 'substring'):
- self.assertIn(reason, output)
- for line in output.splitlines():
- if 'SKIPPED' in line:
- self.assertRegex(line, r'consumer\.gd:\d+')
-
- @unittest.skipIf(os.geteuid() == 0, 'root ignores permission bits')
- def test_an_unreadable_file_is_skipped_not_a_traceback(self) -> None:
- # v0.16.0 release review: only UnicodeDecodeError was caught, so a
- # permission error mid-sweep stranded a partial rewrite behind a
- # stack trace with no census. The contract is skip-and-continue.
- with temp_repo('retarget_repo') as root:
- locked = root / 'scenes/user.tscn'
- locked.chmod(0o000)
- try:
- code, output = run_cli('refs', '--retarget', OLD, NEW)
- finally:
- locked.chmod(0o644) # before the tempdir teardown
- gd = (root / 'systems/consumer.gd').read_text(encoding='utf-8')
- self.assertEqual(code, 1, output) # skips exit 1
- self.assertIn(f'preload("{NEW}")', gd) # sweep went on
- self.assertRegex(output, r'SKIPPED scenes/user\.tscn unreadable')
- _, rewritten, skipped = census(output)
- self.assertGreater(rewritten, 0)
- # consumer.gd's three deliberate skip sites, plus the locked file.
- self.assertEqual(skipped, 4)
-
- def test_crlf_endings_survive_and_a_second_run_is_a_byte_level_no_op(self) -> None:
- with temp_repo('retarget_repo') as root:
- scene = root / 'scenes/user.tscn'
- crlf = scene.read_text(encoding='utf-8').replace('\n', '\r\n').encode()
- scene.write_bytes(crlf)
- run_cli('refs', '--retarget', OLD, NEW)
- raw = scene.read_bytes()
- once = snapshot(root)
- _, output = run_cli('refs', '--retarget', OLD, NEW)
- self.assertEqual(once, snapshot(root))
- self.assertEqual(census(output)[1], 0) # nothing left to rewrite
- self.assertNotIn(b'\n', raw.replace(b'\r\n', b''))
- changed = [pair for pair in zip(crlf.split(b'\r\n'), raw.split(b'\r\n'))
- if pair[0] != pair[1]]
- self.assertEqual(len(changed), 1)
-
- def test_a_missing_target_is_refused_whole_and_usage_errors_exit_2(self) -> None:
- with temp_repo('retarget_repo') as root:
- for argv in ((OLD,), # one path
- ('scripts/old.gd', NEW), # not res://
- (OLD, OLD)): # retarget onto itself
- with self.assertRaises(SystemExit) as usage:
- run_cli('refs', '--retarget', *argv)
- self.assertEqual(usage.exception.code, 2, argv)
- # (The refusal run below also clears the caches a usage exit
- # left behind, so nothing stale outlives this repo.)
- before = snapshot(root)
- code, output = run_cli('refs', '--retarget', OLD, 'res://scripts/ghost.gd')
- self.assertEqual(before, snapshot(root))
- self.assertEqual(code, 1)
- self.assertIn('REFUSED', output)
-
- def test_only_the_referencing_lines_change_across_the_corpus(self) -> None:
- # The realistic bed: a moved script referenced by several real scenes
- # of the editor-written corpus slice. A clean retarget — nothing
- # skipped — exits 0 with its census.
- needle = f'path="{OLD_ZONE}"'
- with temp_repo('corpus/editor_written') as root:
- (root / 'project.godot').write_text('config_version=5\n', encoding='utf-8')
- (root / 'systems/spatial_zones').mkdir(parents=True)
- (root / 'systems/spatial_zones/zone2.gd').write_text('extends Node\n', encoding='utf-8')
- before = {p.relative_to(root): p.read_bytes() for p in sorted(root.rglob('*'))
- if p.suffix in ('.tscn', '.tres', '.gd')}
- expected = sum(text.decode('utf-8').count(needle) for text in before.values())
- self.assertGreaterEqual(expected, 3, 'corpus lost its zone.gd refs')
- code, output = run_cli('refs', '--retarget', OLD_ZONE, NEW_ZONE)
- after = {rel: (root / rel).read_bytes() for rel in before}
- self.assertEqual(census(output)[1:], (expected, 0), output)
- self.assertEqual(code, 0)
- for rel, text in before.items():
- if needle.encode() not in text:
- self.assertEqual(text, after[rel], f'{rel} was not asked about')
- else:
- changed = [pair for pair in zip(text.split(b'\n'), after[rel].split(b'\n'))
- if pair[0] != pair[1]]
- self.assertEqual(len(changed), text.decode('utf-8').count(needle),
- f'{rel} changed off-target lines')
- for old_line, new_line in changed:
- self.assertEqual(
- old_line.replace(OLD_ZONE.encode(), NEW_ZONE.encode()),
- new_line, f'{rel} rewrote more than the path attr')
diff --git a/tests/test_runners_installable.py b/tests/test_runners_installable.py
index df46f80b..619c54c1 100644
--- a/tests/test_runners_installable.py
+++ b/tests/test_runners_installable.py
@@ -1012,7 +1012,7 @@ def read_config(toml: str) -> dict[str, str]:
('[roster]\nchecks = ["uid"]\n', 'is safe to delete once it does'),
# The stock roster leaves `uid` out (opt-in since 4.0), and so does any roster not naming it.
('', '`[roster] checks` leaves `uid` out'),
- ('[roster]\nchecks = ["tres"]\n', '`[roster] checks` leaves `uid` out'),
+ ('[roster]\nchecks = ["props"]\n', '`[roster] checks` leaves `uid` out'),
])
def test_a_retired_destination_is_kept_and_named(tmp_path, toml, says):
"""uid-guard.yml is the consumer's file after the write: a run leaves it
@@ -1034,13 +1034,10 @@ def test_a_retired_destination_is_kept_and_named(tmp_path, toml, says):
assert guard.read_text(encoding='utf-8') == 'name: UID Guard\n'
-@pytest.mark.parametrize('toml, safe', [('', True), ('[roster]\nchecks = ["uid"]\n', False)])
-def test_a_stale_warnings_runner_is_kept_and_named_retired(tmp_path, toml, safe):
- """warnings.sh became `check warnings`: the old runner is no longer written,
- never deleted, and named on every run that finds it."""
+def test_a_stale_warnings_runner_is_kept_and_named_retired(tmp_path):
+ """warnings.sh retired in 4.0: the old runner is no longer written, never
+ deleted, and named on every run that finds it."""
with consumer_repo(tmp_path) as root:
- if toml:
- (root / 'godot-devkit.toml').write_text(toml, encoding='utf-8')
old = root / 'tools/dev/runners/warnings.sh'
old.parent.mkdir(parents=True)
old.write_text('echo old\n', encoding='utf-8')
@@ -1048,7 +1045,7 @@ def test_a_stale_warnings_runner_is_kept_and_named_retired(tmp_path, toml, safe)
assert code == 0, out + err
line = next(l for l in out.splitlines()
if l.startswith('[install] retired: tools/dev/runners/warnings.sh'))
- assert '`check warnings`' in line and ('safe to delete' in line) is safe, line
+ assert 'Project Settings' in line and 'safe to delete' in line, line
assert old.read_text(encoding='utf-8') == 'echo old\n'
diff --git a/tests/test_scene_edit.py b/tests/test_scene_edit.py
index 6c8deb04..7d2df65d 100644
--- a/tests/test_scene_edit.py
+++ b/tests/test_scene_edit.py
@@ -1,4 +1,4 @@
-"""Tier 2 — the surgical write verbs.
+"""Tier 2 — the narrow scene writer, `scene set` and `scene add`.
Three properties are load-bearing: the verbs touch ONLY what they were asked
to (measured as changed lines), they are idempotent, and they REFUSE rather
@@ -25,7 +25,6 @@
from godot_devkit.godot.format.tscn import TscnError
from godot_devkit.godot.format.tscn_document import TscnDocument
from godot_devkit.godot.index import uid_codec
-from godot_devkit.godot.index.uid_index import project_uids
SINK = FIXTURES / 'kitchen_sink.tscn'
DASH_TRES = FIXTURES / 'corpus/editor_written/data/abilities/dash/standard_t1.tres'
@@ -77,40 +76,6 @@ def second_run_is_a_no_op(self, *argv: str) -> None:
self.assertEqual(Path(argv[1]).read_bytes(), once)
-class RenameRewritesReferences(VerbCase):
- """The verb's whole reason to exist: a blanket sed rewrote
- NodePath("Sandbox/TileRoomContract") while renaming prose and broke a
- scenario. Rename resolves paths; it does not text-match."""
-
- def test_rewrites_every_reference_and_nothing_else(self) -> None:
- """`wall_layer` is an EXPORT name and `node_paths=` lists export names —
- neither is a path, and neither may move when the node does. An
- Animation's tracks live in a sub_resource with no path of its own and
- resolve against the AnimationPlayer's `root_node`; a rename that
- misses them breaks the animation silently. `--dry-run` (one mechanism
- in `main`, shared by every verb) writes nothing."""
- before = self.text()
- self.run_verb('rename', str(self.scene), 'WallLayer', 'Walls', '--dry-run')
- self.assertEqual(self.text(), before)
- self.run_verb('rename', str(self.scene), 'WallLayer', 'Walls')
- text = self.text()
- for kept in ('wall_layer = NodePath("../Walls")',
- 'target = NodePath("../../Walls")',
- 'tracks/0/path = NodePath("Walls:modulate")',
- 'node_paths=PackedStringArray("wall_layer")',
- '; The contract wires the layers by NodePath'):
- self.assertIn(kept, text)
- self.assertNotIn('WallLayer', text)
- self.assertEqual(len(self.changed_lines(before)), 4)
- self.second_run_is_a_no_op('rename', str(self.scene), 'WallLayer', 'Walls')
- self.run_verb('rename', str(self.scene), 'Nested', 'Container')
- self.assertIn('[node name="Deep" type="Marker2D" parent="Container"]', self.text())
-
- def test_refuses_a_name_collision(self) -> None:
- self.refused('rename', str(self.scene), 'Nested', 'WallLayer')
- self.assertNotIn('name="WallLayer" type="Node2D"', self.text())
-
-
class SetProperty(VerbCase):
def test_replaces_a_value_in_place_keeping_an_inline_comment(self) -> None:
before = self.text()
@@ -133,7 +98,7 @@ def test_refuses_an_unknown_node(self) -> None:
self.refused('set', str(self.scene), 'Nope', 'x', '1')
-class AddRemoveReparent(VerbCase):
+class AddNode(VerbCase):
def test_add_places_the_node_after_the_parent_subtree(self) -> None:
self.run_verb('add', str(self.scene), 'Nested', 'Extra', 'Sprite2D')
text = self.text()
@@ -143,29 +108,6 @@ def test_add_places_the_node_after_the_parent_subtree(self) -> None:
# Same name, different type: not a re-run, a shadowing — refused.
self.refused('add', str(self.scene), 'Nested', 'Extra', 'Node2D')
- def test_rm_takes_descendants_connections_markers_and_orphaned_resources(self) -> None:
- self.run_verb('rm', str(self.scene), 'Panel')
- text = self.text()
- for gone in ('name="Panel"', 'name="Inner"', '[connection', '[editable',
- 'panel.tscn'):
- self.assertNotIn(gone, text)
- self.assertIn('load_steps=7', text) # 8 -> 7, one resource fewer
- # `rm` of a path that resolves nothing REFUSES (exit 1): with no node
- # there is no evidence a removal ever happened, so a typo'd path must
- # not read as success. `--force` opts back into the exit-0 no-op.
- self.refused('rm', str(self.scene), 'Panel')
- self.second_run_is_a_no_op('rm', str(self.scene), 'Panel', '--force')
-
- def test_reparent_moves_the_subtree_and_fixes_its_nodepaths(self) -> None:
- self.run_verb('reparent', str(self.scene), 'Nested/Deep', '.')
- text = self.text()
- self.assertIn('[node name="Deep" type="Marker2D" parent="."]', text)
- # One `..` fewer now that the node sits one level higher.
- self.assertIn('target = NodePath("../WallLayer")', text)
- self.second_run_is_a_no_op('reparent', str(self.scene), 'Nested/Deep', '.')
- self.refused('reparent', str(self.scene), 'Nested', 'Nested/Deep')
-
-
class MainMechanics(VerbCase):
"""What `main` does for every verb before and after the handler."""
@@ -199,10 +141,7 @@ def test_each_exactly_one_usage_rule_exits_2(self) -> None:
'--script', 'res://systems/logic.gd'),
('set', str(self.scene), 'Sandbox', 'x', '1', '--new-sub-resource', 'Resource'),
('set', str(self.scene), 'Sandbox', 'x'),
- ('add', str(self.scene), '.', 'X', 'Node2D', '--tile-set', 'res://t.tres'),
- ('new', str(self.tmp / 'n.tscn')),
- ('new', str(self.tmp / 'n.tscn'), '--inherits', 'res://a.tscn',
- '--script', 'res://b.gd')):
+ ('add', str(self.scene), '.', 'X', 'Node2D', '--tile-set', 'res://t.tres')):
with self.assertRaises(SystemExit) as bail, \
contextlib.redirect_stderr(io.StringIO()):
self.run_verb(*argv)
@@ -312,146 +251,27 @@ def test_add_instance_adopts_an_identical_existing_instance(self) -> None:
'Packed', '--instance', 'res://scenes/packed.tscn')
-class ConnectDisconnect(VerbCase):
- """`connect` appends a `[connection]` in Godot's serialization position
- (after all nodes); `disconnect` removes exactly the matching one, refusing
- ambiguity."""
-
- NEW_CONN = ('[connection signal="toggled" from="Nested/Deep" '
- 'to="TileRoomContract" method="_on_toggled"]')
-
- def test_connect_appends_in_serialization_position(self) -> None:
- before = self.text()
- self.assertEqual(self.run_verb('connect', str(self.scene), 'toggled', 'Nested/Deep',
- 'TileRoomContract', '_on_toggled'), scene_edit.EXIT_OK)
- text = self.text()
- self.assertIn(self.NEW_CONN, text)
- self.assertLess(text.index('[connection signal="pressed"'),
- text.index(self.NEW_CONN))
- self.assertLess(text.index(self.NEW_CONN), text.index('[editable'))
- self.assertEqual(len(self.changed_lines(before)), 1)
- self.second_run_is_a_no_op('connect', str(self.scene), 'toggled', 'Nested/Deep',
- 'TileRoomContract', '_on_toggled')
- # The root addressed by its own name is written as `.`, as .tscn spells it.
- self.run_verb('connect', str(self.scene), 'ready', 'Sandbox',
- 'TileRoomContract', '_on_ready')
- self.assertIn('[connection signal="ready" from="." to="TileRoomContract" '
- 'method="_on_ready"]', self.text())
-
- def test_first_connection_lands_at_eof_and_disconnect_restores_the_bytes(self) -> None:
- # No stray trailing blank line may survive the disconnect.
- panel = self.copy_of(PANEL_TSCN)
- before = panel.read_bytes()
- self.assertEqual(self.run_verb('connect', str(panel), 'pressed', 'Inner', '.',
- '_on_pressed'), scene_edit.EXIT_OK)
- self.assertTrue(self.text(panel).endswith(
- '[node name="Footer" type="HBoxContainer" parent="."]\n\n'
- '[connection signal="pressed" from="Inner" to="." '
- 'method="_on_pressed"]\n'))
- self.run_verb('disconnect', str(panel), 'pressed', 'Inner', '.', '_on_pressed')
- self.assertEqual(panel.read_bytes(), before)
-
- def test_connect_serializes_flags_and_refuses_a_route_that_differs_only_in_flags(
- self) -> None:
- self.run_verb('connect', str(self.scene), 'toggled', 'Nested/Deep',
- 'TileRoomContract', '_on_toggled')
- self.refused('connect', str(self.scene), 'toggled', 'Nested/Deep',
- 'TileRoomContract', '_on_toggled', '--flags', '3', saying=('flags',))
- self.run_verb('connect', str(self.scene), 'ready', 'Nested/Deep',
- 'TileRoomContract', '_on_ready', '--flags', '3')
- self.assertIn('method="_on_ready" flags=3]', self.text())
-
- def test_disconnect_removes_exactly_the_matching_connection_once(self) -> None:
- hazard = self.copy_of(HAZARD_TSCN)
- before = hazard.read_text(encoding='utf-8')
- self.assertEqual(self.run_verb('disconnect', str(hazard), 'body_entered',
- 'DetectorArea', '.', '_on_detector_body_entered'),
- scene_edit.EXIT_OK)
- after = self.text(hazard)
- self.assertNotIn('_on_detector_body_entered', after)
- self.assertIn('[connection signal="body_exited" from="DetectorArea" to="." '
- 'method="_on_detector_body_exited"]', after)
- self.assertEqual(len(before.splitlines()) - len(after.splitlines()), 1)
- # A second disconnect matches nothing: REFUSED, and not a byte moves.
- self.refused('disconnect', str(hazard), 'body_entered',
- 'DetectorArea', '.', '_on_detector_body_entered')
-
- def test_disconnect_refuses_ambiguity_and_flags_disambiguate(self) -> None:
- hazard = self.copy_of(HAZARD_TSCN)
- with hazard.open('a', encoding='utf-8') as handle:
- handle.write('[connection signal="body_entered" from="DetectorArea" '
- 'to="." method="_on_detector_body_entered" flags=3]\n')
- self.refused('disconnect', str(hazard), 'body_entered',
- 'DetectorArea', '.', '_on_detector_body_entered', saying=('--flags',))
- self.assertEqual(self.run_verb('disconnect', str(hazard), 'body_entered',
- 'DetectorArea', '.', '_on_detector_body_entered',
- '--flags', '3'), scene_edit.EXIT_OK)
- text = self.text(hazard)
- self.assertNotIn('flags=3', text)
- self.assertIn('method="_on_detector_body_entered"]', text)
-
- def test_connect_then_disconnect_restores_the_exact_bytes(self) -> None:
- """Disconnect must not eat the blank separator of the NEXT section
- (the [editable] marker's, here) — a byte it was not asked to touch."""
- before = self.scene.read_bytes()
- self.run_verb('connect', str(self.scene), 'toggled', 'Nested/Deep',
- 'TileRoomContract', '_on_toggled')
- self.run_verb('disconnect', str(self.scene), 'toggled', 'Nested/Deep',
- 'TileRoomContract', '_on_toggled')
- self.assertEqual(self.scene.read_bytes(), before)
-
-
TILE_SET = '[gd_resource type="TileSet" format=3 uid="uid://btilesetfix1"]\n\n[resource]\n'
class WholeScenes(VerbCase):
- """`new`, a TileMapLayer in one `add`, and `set --new-sub-resource`: the
- verbs that build a scene from nothing. Each is exact on its first run, a
+ """A TileMapLayer in one `add`, and `set --new-sub-resource`: the verbs
+ that build structure from nothing. Each is exact on its first run, a
no-op on its second, and a refusal when the file already says otherwise."""
- def test_new_writes_a_canonical_scene_with_a_fresh_uid_and_a_retry_is_a_no_op(self) -> None:
- with temp_repo('canon_repo') as root:
- taken = project_uids(root)
- scene = root / 'rooms/base_room.tscn'
- argv = ('new', str(scene), '--root', 'Node2D', '--script', 'res://systems/logic.gd')
- self.assertEqual(self.run_verb(*argv), scene_edit.EXIT_OK, self.output.getvalue())
- text = self.text(scene)
- self.second_run_is_a_no_op(*argv)
- self.refused('new', str(scene), '--root', 'Node3D', saying=('never overwrites',))
- uid = re.match(r'\[gd_scene format=4 uid="(uid://[a-z0-9]+)"\]\n', text).group(1)
- self.assertEqual(uid_codec.canonical(uid), uid)
- self.assertNotIn(uid_codec.text_to_id(uid), taken)
- self.assertEqual(text.split('\n', 1)[1], (
- '\n[ext_resource type="Script" uid="uid://dcanonlogic" '
- 'path="res://systems/logic.gd" id="1_logic"]\n'
- '\n[node name="BaseRoom" type="Node2D" unique_id=' + text.split('unique_id=')[1]))
- self.assertTrue(text.endswith(']\nscript = ExtResource("1_logic")\n'), text)
-
def test_mint_draws_again_rather_than_reuse_a_claimed_uid(self) -> None:
draws = iter([0, 42, 43])
self.assertEqual(uid_codec.mint({42}, draw=lambda bits: next(draws)),
uid_codec.id_to_text(43))
- def test_new_inherits_takes_the_base_root_name_and_refuses_a_missing_base(self) -> None:
- with temp_repo('canon_repo') as root:
- scene = root / 'rooms/variant.tscn'
- argv = ('new', str(scene), '--inherits', 'res://scenes/panel.tscn')
- self.assertEqual(self.run_verb(*argv), scene_edit.EXIT_OK, self.output.getvalue())
- text = self.text(scene)
- self.second_run_is_a_no_op(*argv)
- self.assertEqual(self.run_verb('new', str(root / 'rooms/ghost.tscn'), '--inherits',
- 'res://scenes/ghost.tscn'), scene_edit.EXIT_REFUSED)
- self.assertFalse((root / 'rooms/ghost.tscn').exists())
- self.assertTrue(text.endswith('\n\n[ext_resource type="PackedScene" uid="uid://dcanonpanel" '
- 'path="res://scenes/panel.tscn" id="1_panel"]\n'
- '\n[node name="Panel" instance=ExtResource("1_panel")]\n'), text)
-
def test_add_makes_a_tile_layer_in_one_command(self) -> None:
with temp_repo('canon_repo') as root:
(root / 'tiles').mkdir()
(root / 'tiles/set.tres').write_text(TILE_SET, encoding='utf-8')
scene = root / 'rooms/room.tscn'
- self.run_verb('new', str(scene), '--root', 'Node2D')
+ scene.parent.mkdir(exist_ok=True)
+ scene.write_text('[gd_scene format=3 uid="uid://croomscene01"]\n\n'
+ '[node name="Room" type="Node2D" unique_id=1]\n', encoding='utf-8')
argv = ('add', str(scene), '.', 'Wall', 'TileMapLayer', '--tile-set',
'res://tiles/set.tres', '--z', '-5', '--group', 'wall', '--group', 'solid')
self.assertEqual(self.run_verb(*argv), scene_edit.EXIT_OK, self.output.getvalue())
diff --git a/tests/test_tiles.py b/tests/test_tiles.py
index 750a6940..cce3ee8e 100644
--- a/tests/test_tiles.py
+++ b/tests/test_tiles.py
@@ -1,17 +1,8 @@
-"""Tier 2 — the `tiles` family: decode a TileMapLayer, and paint one.
+"""Tier 2 — the `tiles` read verb: decode a TileMapLayer without guessing.
-Three properties carry the feature and each has its own case. The CODEC is
-exact (a hand-built byte vector decodes to known cells, and re-encodes to the
-same bytes), the READ side answers without guessing (an undecodable layer is
-reported, an ambiguous layer name is refused), and the WRITE side is surgical:
-only the one `tile_map_data` assignment changes, the file's other bytes —
-including that line's own trailing comment — survive, and a paint that changes
-no cell writes nothing.
-
-Altitude: the layer lookup (`tscn.find_tilemap_layer`) and the argument grammar
-(`tilemap.parse_tile` & co) are ONE function each, shared by the read verb and
-the write verb, so their refusals are proven at function altitude once; each
-verb keeps a single process-level refusal to prove it catches and reports.
+The DECODER is exact (a hand-built byte vector decodes to known cells, and
+each corrupt shape is refused), and the READ side answers without guessing (an
+undecodable layer is reported, an ambiguous layer name is refused).
"""
from __future__ import annotations
@@ -27,42 +18,24 @@
from support import FIXTURES
-from godot_devkit.godot.format import atlas_map, tilemap, tscn, tscn_document
+from godot_devkit.godot.format import tilemap, tscn
from godot_devkit.godot.read import tiles
-from godot_devkit.godot.write import tiles_paint
SCENE = FIXTURES / 'tilemap.tscn'
-CORPUS = FIXTURES / 'corpus'
-CONNECT16 = FIXTURES / 'atlas_maps/connect16.json' # period [2, 1], atlas index = mask slot + 16 * phase x
-BACKGROUND = FIXTURES / 'atlas_maps/background.json' # period [2, 2], no masks
-MASK_SLOTS = (0, 2, 16, 18, 64, 66, 80, 82, 8, 10, 24, 26, 72, 74, 88, 90)
FLOOR = 'FloorLayer'
EMPTY = 'EmptyLayer'
NESTED_WALL = 'Nested/WallLayer'
class Codec(unittest.TestCase):
- """The 12-byte cell layout, proven against bytes built by hand — not against
- this module's own encoder, which would agree with itself while both drift.
- Alongside it, the two functions both verbs share: the argument grammar and
- the layer lookup."""
+ """The 12-byte cell layout, proven against bytes built by hand. Alongside
+ it, the argument grammar and the layer lookup."""
- def test_round_trips_hand_built_bytes(self) -> None:
+ def test_decodes_hand_built_bytes(self) -> None:
raw = struct.pack(' None:
- # Real editor-written grids, not a hand vector: decode then encode must
- # give the exact value back, or a no-op paint is a whole-line diff.
- values = [prop.value for path in sorted(CORPUS.rglob('*.tscn'))
- for section in tscn.parse(str(path))
- for prop in [section.prop(tscn.TILE_MAP_DATA_PROP)] if prop is not None]
- self.assertGreaterEqual(len(values), 6, 'corpus lost its tile layers — the proof checks nothing')
- for value in values:
- self.assertEqual(tilemap.encode(tilemap.decode(value)), value)
def test_refuses_each_corrupt_shape_rather_than_half_reading(self) -> None:
for value in ('PackedInt32Array(1, 2)', # not a PackedByteArray
@@ -70,16 +43,10 @@ def test_refuses_each_corrupt_shape_rather_than_half_reading(self) -> None:
'PackedByteArray("AAAAAAAAAA==")'): # 7 bytes: a header plus 5, not cells
with self.subTest(value=value), self.assertRaises(tilemap.TileMapError):
tilemap.decode(value)
- with self.assertRaises(tilemap.TileMapError): # a cell the format cannot carry
- tilemap.encode(tilemap.TileMapData(0, {(40000, 0): tilemap.Tile(1, 0, 0, 0)}))
def test_the_command_line_grammar_refuses_what_it_would_have_to_guess_at(self) -> None:
self.assertEqual(tilemap.parse_region('3,4,1,2'), tilemap.Region(1, 2, 3, 4))
for parse_spec, spec in (
- (tilemap.parse_tile, '1'), # too few fields
- (tilemap.parse_tile, '1/0'), # atlas coord is not AX,AY
- (tilemap.parse_tile, 'a/0,0'), # not an integer
- (tilemap.parse_tile, '99999/0,0'), # a field the format cannot carry
(tilemap.parse_region, '0,0,1'), # wrong arity
(tilemap.parse_region, '-30000,-30000,30000,30000'), # too large
(tilemap.parse_coord, 'left')): # wrong arity
@@ -122,57 +89,12 @@ def setUp(self) -> None:
self.scene = Path(self.enterContext(tempfile.TemporaryDirectory())) / 'scene.tscn'
shutil.copy2(SCENE, self.scene)
self.path = str(self.scene)
- self.before = self.text()
-
- def text(self) -> str:
- return self.scene.read_text(encoding='utf-8')
def verb(self, main, argv: list[str] | None) -> int:
self.output = io.StringIO()
with contextlib.redirect_stdout(self.output):
return main(argv)
- def cells(self, layer: str) -> dict:
- prop = tscn.find_tilemap_layer(tscn.parse(self.path), layer).prop(tscn.TILE_MAP_DATA_PROP)
- return tilemap.decode_or_empty(prop.value if prop is not None else None).cells
-
-
-def wall(coord: tuple[int, int], mask: int) -> tilemap.Tile:
- """The connect16 fixture's slot for `mask` at `coord`'s phase, on source 3."""
- index = MASK_SLOTS.index(mask) + 16 * (coord[0] % 2)
- return tilemap.Tile(3, index % 4, index // 4)
-
-
-class AtlasMap(unittest.TestCase):
- """The autotile rule at function altitude; the verb's wiring is `Paint`'s."""
-
- def test_a_background_map_slots_by_phase_alone_and_re_slots_nothing(self) -> None:
- amap = atlas_map.load(BACKGROUND)
- held = {(2, 0): tilemap.Tile(7, 0, 0)}
- got = atlas_map.autotile(held, [(-1, 0), (1, 1)], 7, amap)
- self.assertEqual(got, {(-1, 0): tilemap.Tile(7, 1, 0), (1, 1): tilemap.Tile(7, 3, 0)})
-
- def test_refuses_a_map_or_a_paint_it_would_have_to_guess_at(self) -> None:
- good = atlas_map.parse({'material_period': [1, 1], 'entries': [
- {'canonical_neighbor_mask': 0, 'material_phase': [0, 0], 'atlas_cell': {'x': 0, 'y': 0}}]})
- entry = {'canonical_neighbor_mask': 0, 'material_phase': [0, 0], 'atlas_cell': {'x': 0, 'y': 0}}
- for data in ({'material_period': [1, 1], 'entries': []}, # no entries
- {'material_period': [0, 1], 'entries': [entry]}, # empty period
- {'material_period': [1, 1], 'entries': [entry, entry]}, # two slots, one key
- {'material_period': [1, 1], 'entries': [entry, { # mixed kinds
- 'material_phase': [0, 0], 'atlas_cell': {'x': 1, 'y': 0}}]},
- {'material_period': [1, 1], 'entries': [dict(entry, canonical_neighbor_mask=4)]},
- {'material_period': [1, 1], 'entries': [dict(entry, material_phase=[1, 0])]},
- {'columns': 4, 'material_period': [1, 1], 'entries': [
- dict(entry, atlas_cell={'index': 5, 'x': 0, 'y': 0})]}):
- with self.subTest(data=data), self.assertRaises(atlas_map.AtlasMapError):
- atlas_map.parse(data)
- with self.assertRaises(atlas_map.AtlasMapError): # no slot for mask 16
- atlas_map.autotile({}, [(0, 0), (1, 0)], 3, good)
- with self.assertRaises(atlas_map.AtlasMapError): # a neighbour the map does not own
- atlas_map.autotile({(1, 0): tilemap.Tile(3, 9, 9)}, [(0, 0)], 3,
- atlas_map.load(CONNECT16))
-
class Read(Case):
def test_reports_count_bounds_kinds_and_the_edges(self) -> None:
@@ -210,118 +132,3 @@ def test_refuses_a_malformed_region_before_printing_anything(self) -> None:
self.assertEqual(self.verb(tiles.main, [self.path, '--layer', FLOOR, '--region', '0,0,1']),
tiles.EXIT_REFUSED)
self.assertNotIn('cells', self.output.getvalue())
-
-
-class Paint(Case):
- def test_fills_a_never_painted_layer_by_adding_the_property(self) -> None:
- # A region in the upper-left quadrant on purpose: `CELL_STRUCT` signs x
- # and y, and argparse before 3.14 excuses a leading `-` only for a BARE
- # number, so `--region -1,-1,1,0` died with `expected one argument` on
- # 3.11/3.12/3.13 — every Python a consumer's `uvx` selects today.
- self.assertEqual(self.verb(tiles_paint.main, ['paint', self.path, '--layer', EMPTY,
- '--region', '-1,-1,1,0', '--tile', '4/1,2/3']),
- tiles_paint.EXIT_OK, self.output.getvalue())
- self.assertEqual(self.cells(EMPTY), {(x, y): tilemap.Tile(4, 1, 2, 3)
- for y in (-1, 0) for x in (-1, 0, 1)})
- self.assertIn('6 added, 0 replaced, 0 erased', self.output.getvalue())
-
- def test_at_sets_single_cells_and_erase_takes_them_back(self) -> None:
- self.verb(tiles_paint.main, ['paint', self.path, '--layer', EMPTY, '--at', '-3,-3',
- '--at', '4,0', '--tile', '2/1,1'])
- self.assertEqual(self.cells(EMPTY), {(-3, -3): tilemap.Tile(2, 1, 1), (4, 0): tilemap.Tile(2, 1, 1)})
- self.assertIn('2 added, 0 replaced, 0 erased at 2 cell(s)', self.output.getvalue())
- self.verb(tiles_paint.main, ['erase', self.path, '--layer', EMPTY, '--at', '-3,-3'])
- self.assertEqual(self.cells(EMPTY), {(4, 0): tilemap.Tile(2, 1, 1)})
-
- def test_autotile_slots_by_mask_and_phase_re_slots_neighbours_and_repeats_as_a_no_op(self) -> None:
- row = ['paint', self.path, '--layer', EMPTY, '--region', '0,0,2,0',
- '--atlas-map', str(CONNECT16), '--source', '3']
- self.assertEqual(self.verb(tiles_paint.main, row), tiles_paint.EXIT_OK, self.output.getvalue())
- self.assertEqual(self.cells(EMPTY), {(0, 0): wall((0, 0), 16), (1, 0): wall((1, 0), 24),
- (2, 0): wall((2, 0), 8)})
- once = self.text()
- self.verb(tiles_paint.main, row)
- self.assertIn(tiles_paint.UNCHANGED, self.output.getvalue())
- self.assertEqual(self.text(), once)
- # A cell below the middle: it gets UP, and the middle gains DOWN.
- self.verb(tiles_paint.main, ['paint', self.path, '--layer', EMPTY, '--at', '1,1',
- '--atlas-map', str(CONNECT16), '--source', '3'])
- self.assertEqual(self.cells(EMPTY)[(1, 1)], wall((1, 1), 2))
- self.assertEqual(self.cells(EMPTY)[(1, 0)], wall((1, 0), 88))
- self.assertIn('1 neighbor(s) re-slotted', self.output.getvalue())
- self.assertIn('1 added, 1 replaced', self.output.getvalue())
-
- def test_counts_added_and_replaced_separately(self) -> None:
- """(2,1) is a hole in the fixture slab — filling it is an ADD inside a
- region that otherwise replaces, and conflating the two hides that."""
- self.verb(tiles_paint.main, ['paint', self.path, '--layer', FLOOR,
- '--region', '2,1,3,1', '--tile', '5/0,0'])
- self.assertIn('1 added, 1 replaced, 0 erased', self.output.getvalue())
-
- def test_erase_deletes_only_the_region_and_reports_the_new_bounds(self) -> None:
- self.verb(tiles_paint.main, ['erase', self.path, '--layer', FLOOR, '--region', '0,0,3,2'])
- self.assertEqual(self.cells(FLOOR), {(-2, 5): tilemap.Tile(1, 0, 0, 0)})
- self.assertIn('0 added, 0 replaced, 11 erased', self.output.getvalue())
- self.assertIn('layer now 1 cells, x[-2..-2] y[5..5]', self.output.getvalue())
-
- def test_replaces_only_the_region_and_touches_only_that_one_line(self) -> None:
- argv = ['paint', self.path, '--layer', FLOOR, '--region', '0,0,1,1', '--tile', '9/0,0']
- self.verb(tiles_paint.main, argv + ['--dry-run']) # shows the diff, writes nothing
- self.assertIn('--- a/scene.tscn', self.output.getvalue())
- self.assertEqual(self.text(), self.before)
- self.verb(tiles_paint.main, argv)
- cells = self.cells(FLOOR)
- self.assertEqual((cells[(0, 0)], cells[(-2, 5)]), # inside replaced, outside untouched
- (tilemap.Tile(9, 0, 0, 0), tilemap.Tile(1, 0, 0, 0)))
- after = self.text()
- changed = [a for a, b in zip(after.splitlines(), self.before.splitlines()) if a != b]
- self.assertEqual(len(changed), 1, changed) # the other layers' bytes are untouched
- self.assertTrue(changed[0].startswith(tscn.TILE_MAP_DATA_PROP + ' ='), changed)
- self.assertIn('") ; the grid, in one line', changed[0]) # the line's own comment
- # And the file still parses and re-serialises byte-for-byte — the
- # invariant every write verb rests on.
- self.assertEqual(tscn_document.TscnDocument(after, self.scene).text, after)
-
- def test_the_same_paint_twice_writes_nothing_the_second_time(self) -> None:
- argv = ['paint', self.path, '--layer', FLOOR, '--region', '0,0,4,4', '--tile', '9/0,0']
- self.verb(tiles_paint.main, argv)
- once = self.text()
- self.assertEqual(self.verb(tiles_paint.main, argv), tiles_paint.EXIT_OK)
- self.assertIn(tiles_paint.UNCHANGED, self.output.getvalue())
- self.assertEqual(self.text(), once)
-
- def test_a_refusal_is_reported_and_writes_nothing(self) -> None:
- # The lookup's own branches are `Codec`'s; this is the verb catching
- # one and reporting it instead of picking a layer.
- self.assertEqual(self.verb(tiles_paint.main, ['paint', self.path, '--layer', 'WallLayer',
- '--region', '0,0,1,1', '--tile', '1/0,0']),
- tiles_paint.EXIT_REFUSED)
- self.assertIn('ambiguous', self.output.getvalue())
- self.assertEqual(self.text(), self.before)
-
- def test_an_undecodable_layer_is_reported_by_the_read_and_refused_by_the_write(self) -> None:
- # Rule 4's two sins at once: rendering a layer the codec cannot read as
- # "0 cells" is the read-side lie, and re-encoding a partial read would
- # silently delete the tail of the map. The nested wall's one cell,
- # truncated to no longer be whole cells:
- self.scene.write_text(self.before.replace('PackedByteArray("AAAAAAAAAwAAAAAAAAA=")',
- 'PackedByteArray("AAAAAAAA")'), encoding='utf-8')
- self.before = self.text()
- self.assertEqual(self.verb(tiles.main, [self.path, '--layer', NESTED_WALL]), tiles.EXIT_OK)
- self.assertIn('UNREADABLE', self.output.getvalue())
- self.assertNotIn('0 cells', self.output.getvalue())
- self.assertEqual(self.verb(tiles_paint.main, ['paint', self.path, '--layer', NESTED_WALL,
- '--region', '0,0,1,1', '--tile', '1/0,0']),
- tiles_paint.EXIT_REFUSED)
- self.assertEqual(self.text(), self.before)
-
- def test_a_non_utf8_file_is_refused_not_a_traceback(self) -> None:
- self.scene.write_bytes(b'[gd_scene format=3]\n\xff\xfe not utf-8\n')
- self.assertEqual(self.verb(tiles_paint.main, ['paint', self.path, '--layer', FLOOR,
- '--region', '0,0,1,1', '--tile', '1/0,0']),
- tiles_paint.EXIT_REFUSED)
- self.assertIn('REFUSED', self.output.getvalue())
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/tests/test_tres_canonical.py b/tests/test_tres_canonical.py
deleted file mode 100644
index b0919f7b..00000000
--- a/tests/test_tres_canonical.py
+++ /dev/null
@@ -1,188 +0,0 @@
-"""`.tres` spelling and order — `check canonical` and `scene canonicalize --respell --order`.
-
-The two dimensions of editor-save churn `check defaults` leaves out. The bar is
-the fixer's: every edit is a LINE edit a reviewer can read — a token re-spelled
-inside the line it sat on, a property line moved whole — with comments, `uid=`
-and every untouched byte surviving, anything unprovable named and left alone,
-and the second run a no-op. Proven by function call on the committed fixture
-(`tests/fixtures/canonical_repo/`), never a temp tree: nothing here needs git.
-Corpus-scale fidelity rides on the round-trip harness in `test_tscn_roundtrip`.
-"""
-from __future__ import annotations
-
-import contextlib
-import io
-import unittest
-
-from support import FIXTURES
-
-from godot_devkit import cli
-from godot_devkit.godot.checks import canonical, roster
-from godot_devkit.godot.format.tscn_document import TscnDocument
-from godot_devkit.godot.format.value_spelling import (
- COMPONENT_CONTEXT,
- FLOAT_CONTEXT,
- OPAQUE_CONTEXT,
- VARIANT_CONTEXT,
- apply_edits,
- respell,
- scan_value,
-)
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.godot.index.resource_canonical import CanonicalAnalyzer
-from godot_devkit.godot.write.scene_canonicalize import order_properties, respell_values
-
-ROOT = FIXTURES / 'canonical_repo'
-SCRIPTS = ['systems/item.gd', 'systems/base_item.gd']
-DRIFTED = 'data/drifted.tres'
-CLEAN = 'data/clean.tres'
-UNPROVEN = object() # left alone and counted: no edit, no refusal
-
-# The drifted fixture after `--respell --order`: every changed line, keyed by
-# the line it replaces. Anything not here must come through byte-identical.
-EXPECTED_CHANGES = {
- 'price = 2.50': 'weight = 3.0', # Child: moved, and re-spelled
- 'weight = 3.0': 'price = 2.5',
- 'offsets = PackedFloat32Array(0.0, 0.50, 1)': 'offsets = PackedFloat32Array(0, 0.5, 1)',
- 'colors = PackedColorArray(1, 1, 1, 1.0, 0, 0, 0, 1)':
- 'colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)',
- 'weight = 0.30 ; the inline comment rides along with its value':
- 'weight = 0.3 ; the inline comment rides along with its value',
- 'tags = [&"a", &"b"]': 'tags = Array[StringName]([&"a", &"b"])',
- 'price = 12.50': 'price = 12.5',
- 'scale = Vector2(1.50, 2.0)': 'scale = Vector2(1.5, 2)',
- 'ratios = [1, 0.250,': 'ratios = Array[float]([1.0, 0.25,',
- '0.5]': '0.5])',
- 'children = [SubResource("Child"), null]':
- 'children = Array[ExtResource("1_item")]([SubResource("Child"), null])',
- 'icons = []': 'icons = Array[Texture2D]([])',
- 'notes = [0.10, "x;y", {"k": 2.50}]': 'notes = [0.1, "x;y", {"k": 2.5}]',
-}
-# The same drift as the gate counts it: properties, not lines (`ratios` spans
-# two; Child's `weight` only moved), plus each of Child's two misplaced lines.
-RESPELLED_PROPERTIES = 11
-OUT_OF_PLACE = 2
-# Named, not guessed: each for a different reason the saver's output is unknowable.
-EXPECTED_REFUSALS = ('[resource].modes: element type Mode',
- '[resource].guarded: export has a setter/getter',
- '[sub_resource id="Commented"]: section order drifts but a comment')
-
-
-def analyzer() -> CanonicalAnalyzer:
- return CanonicalAnalyzer(ScriptIndex(ROOT, SCRIPTS))
-
-
-def both_passes(text: str) -> tuple[str, list[str]]:
- doc = TscnDocument(text)
- report = respell_values(doc, analyzer())
- report += order_properties(doc, analyzer())
- return doc.text, report
-
-
-class FloatSpelling(unittest.TestCase):
- def test_the_shortest_spelling_per_context_and_a_refusal_for_every_unprovable_one(
- self) -> None:
- # (value, context) -> the saver's text, or None where the tool must refuse.
- cases = {
- ('0.30', VARIANT_CONTEXT): '0.3', ('1.0', VARIANT_CONTEXT): '1.0',
- ('1.0', COMPONENT_CONTEXT): '1', ('-0.0', COMPONENT_CONTEXT): '0',
- ('2', FLOAT_CONTEXT): '2.0', ('2', VARIANT_CONTEXT): '2',
- ('6.2831855', VARIANT_CONTEXT): '6.2831855', # corpus: TAU as a float32
- ('.5', COMPONENT_CONTEXT): '0.5',
- # 32- and 64-bit shortest forms disagree: build-dependent, refused.
- ('0.1234567890', VARIANT_CONTEXT): None,
- ('0.30', OPAQUE_CONTEXT): None, # type unknowable
- # Where a shortest-form writer may use an exponent (and every token
- # spelled in one): left alone and counted, never rewritten or named.
- ('0.00001', VARIANT_CONTEXT): UNPROVEN, ('1e-04', VARIANT_CONTEXT): UNPROVEN,
- ('0.0001', VARIANT_CONTEXT): UNPROVEN, ('100000.0', VARIANT_CONTEXT): UNPROVEN,
- ('1e+05', VARIANT_CONTEXT): UNPROVEN,
- # ...unless no notation writes it: a trailing zero after the point.
- ('0.00050', VARIANT_CONTEXT): None, ('200000.50', FLOAT_CONTEXT): None,
- }
- for (token, context), wanted in cases.items():
- with self.subTest(token=token, context=context):
- text = f'x = {token}'
- tokens, _ = scan_value(text, 2)
- result = respell(tokens, text, context, OPAQUE_CONTEXT)
- if wanted is UNPROVEN:
- self.assertEqual((result.edits, result.refused, result.unverified),
- ([], [], 1))
- elif wanted is None:
- self.assertEqual((result.edits, result.refused), ([], [token]))
- else:
- self.assertEqual(apply_edits(text, result.edits), f'x = {wanted}')
- self.assertEqual(result.refused, [])
-
-
-class RespellAndOrder(unittest.TestCase):
- def test_exactly_the_provable_lines_change_the_rest_is_named_and_a_rerun_is_a_no_op(
- self) -> None:
- before = (ROOT / DRIFTED).read_text(encoding='utf-8')
- after, report = both_passes(before)
- old, new = before.split('\n'), after.split('\n')
- self.assertEqual(len(old), len(new))
- changed = {a: b for a, b in zip(old, new) if a != b}
- self.assertEqual(changed, EXPECTED_CHANGES)
- # Rule 3: comments, headers and every uid= are byte-identical.
- for line in old:
- if line.startswith((';', '[')):
- self.assertIn(line, new, line)
- unresolved = [line for line in report if 'UNRESOLVED' in line]
- self.assertEqual(len(unresolved), len(EXPECTED_REFUSALS), report)
- for needle in EXPECTED_REFUSALS:
- self.assertTrue(any(needle in line for line in unresolved), needle)
- self.assertIn('guarded = 1.50', after)
- self.assertIn('modes = [0, 1]', after)
- again, again_report = both_passes(after)
- self.assertEqual(again, after)
- self.assertEqual([line for line in again_report if 'UNRESOLVED' not in line], [])
-
- def test_a_reorder_moves_whole_property_lines_and_keeps_every_ending(self) -> None:
- # A multi-line value and an inline comment move WITH their property,
- # and the CRLF endings stay where they were.
- text = ('[gd_resource type="Resource" format=3]\r\n\r\n'
- '[ext_resource type="Script" path="res://systems/item.gd" id="1"]\r\n\r\n'
- '[resource]\r\n'
- 'script = ExtResource("1")\r\n'
- 'weight = 3.0\r\n'
- 'price = 2.0 ; kept\r\n'
- 'ratios = Array[float]([1.0,\r\n'
- '2.0])\r\n')
- after, report = both_passes(text)
- self.assertEqual(after, text.replace(
- 'weight = 3.0\r\nprice = 2.0 ; kept\r\nratios = Array[float]([1.0,\r\n2.0])\r\n',
- 'price = 2.0 ; kept\r\nratios = Array[float]([1.0,\r\n2.0])\r\nweight = 3.0\r\n'))
- self.assertEqual(report, [' ORDER [resource]: 3 of 4 properties moved to '
- 'declaration order'])
-
-
-class Gate(unittest.TestCase):
- def run_report(self, files: list[str]) -> tuple[int, str]:
- buffer = io.StringIO()
- with contextlib.redirect_stdout(buffer):
- code = canonical.report(ROOT, files, analyzer())
- return code, buffer.getvalue()
-
- def test_names_every_drift_passes_the_clean_file_and_fails_an_empty_census(self) -> None:
- code, out = self.run_report([DRIFTED, CLEAN])
- self.assertEqual(code, canonical.EXIT_FINDINGS, out)
- drift = [line for line in out.split('\n') if line.startswith(' DRIFT ')]
- # One line per re-spelled property, one per property out of place.
- self.assertEqual(len(drift), RESPELLED_PROPERTIES + OUT_OF_PLACE, out)
- self.assertIn('[sub_resource id="Child"].price — the saver writes it at '
- 'position 2 of 3', out)
- self.assertIn('in 1 of 2 .tres file(s)', out)
- code, out = self.run_report([CLEAN])
- self.assertEqual(code, canonical.EXIT_OK, out)
- self.assertIn('[check:canonical] PASS', out)
- code, out = self.run_report([])
- self.assertEqual(code, canonical.EXIT_FINDINGS, out)
- self.assertIn('scanned 0 files', out)
- # Opt-in: dispatchable and nameable, never in the stock `check all`.
- self.assertNotIn('canonical', roster.KNOWN_GATES)
- self.assertIs(cli._check_module('canonical'), canonical)
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/tests/test_tscn_roundtrip.py b/tests/test_tscn_roundtrip.py
index 78835b2e..66d308a2 100644
--- a/tests/test_tscn_roundtrip.py
+++ b/tests/test_tscn_roundtrip.py
@@ -23,9 +23,6 @@
from godot_devkit.godot.format.tscn import parse_text
from godot_devkit.godot.format.tscn_document import TscnDocument
-from godot_devkit.godot.index.gdscript import ScriptIndex
-from godot_devkit.godot.index.resource_canonical import CanonicalAnalyzer
-from godot_devkit.godot.write.scene_canonicalize import order_properties, respell_values
# Every one of these appears in real consumer scenes and breaks a naive parser.
AWKWARD_CONSTRUCTS = (
@@ -77,10 +74,6 @@ def test_trailing_newline_and_crlf_survive(self) -> None:
# Raising this floor is part of growing the corpus; a shrinking corpus must be
# a loud, deliberate edit here — never a silent glob over fewer files.
CORPUS_FLOOR = 66
-# The corpus carries no scripts, so over it `--respell` can prove only what a
-# constructor settles by itself (`Vector2(1.50, 2.0)`, `PackedFloat32Array`).
-# The floor keeps that proof from going vacuous: lines it must re-spell.
-RESPELL_LINES_FLOOR = 7
# What each slice of the corpus was SELECTED to exercise. A corpus that rots
# into vacuity (files deleted, constructs edited away) fails here, not by
@@ -144,28 +137,10 @@ def test_census_meets_the_floor_from_both_slices_and_covers_the_constructs(self)
'no corpus file carries an inline comment after a value')
def test_every_corpus_file_round_trips_in_memory(self) -> None:
- # And survives `--respell --order`: same line count, no header or
- # comment line touched, and a second pass that changes nothing.
- canonical = CanonicalAnalyzer(ScriptIndex(CORPUS, []))
- respelled = 0
for path in corpus_files():
original = path.read_text(encoding='utf-8')
if TscnDocument(original, path).text != original:
self.fail(f'round trip changed {path.relative_to(CORPUS)}')
- doc = TscnDocument(original, path)
- respell_values(doc, canonical)
- order_properties(doc, canonical)
- before, after = original.split('\n'), doc.text.split('\n')
- self.assertEqual(len(before), len(after), path)
- changed = [line for line, new in zip(before, after) if line != new]
- self.assertEqual([line for line in changed if line.startswith((';', '['))], [])
- respelled += len(changed)
- again = TscnDocument(doc.text, path)
- respell_values(again, canonical)
- order_properties(again, canonical)
- self.assertEqual(again.text, doc.text, path)
- self.assertGreaterEqual(respelled, RESPELL_LINES_FLOOR)
-
MIXED = (b'[gd_scene format=3]\r\n'
b'\n'
diff --git a/tests/test_ui_layout.py b/tests/test_ui_layout.py
deleted file mode 100644
index bf95bbf5..00000000
--- a/tests/test_ui_layout.py
+++ /dev/null
@@ -1,174 +0,0 @@
-"""`check ui-layout`: the three finding kinds, the census, the baseline, the config."""
-import contextlib
-import io
-import subprocess
-import unittest
-
-from support import run_check, temp_repo
-
-from godot_devkit import cli
-from godot_devkit.godot.checks import roster, ui_layout
-
-GOOD = ['project.godot', 'scenes/good_modal.tscn', 'scenes/action_bar.tscn',
- 'scenes/inherited_modal.tscn', 'scripts/action_bar.gd', 'scripts/modal.gd']
-CYCLE = ['scenes/cycle_a.tscn', 'scenes/cycle_b.tscn']
-CONFIG = '''[ui_layout]
-action_bar_types = ["ActionBar"]
-modal_types = ["Modal"]
-panel_types = ["Panel"]
-role_property = "ui_role"
-action_roles = ["primary", "destructive", "cancel"]
-'''
-
-
-def _gate(scenes, extra='', config=CONFIG):
- with temp_repo('ui_layout_repo', only=scenes) as root:
- if config is not None:
- (root / 'godot-devkit.toml').write_text(config + extra, encoding='utf-8')
- subprocess.run(['git', 'add', '-A'], cwd=root, check=True)
- return run_check(ui_layout)
-
-
-def _findings(out):
- return [line for line in out.splitlines()
- if line.startswith(' ') and not line.startswith(' NOT A FINDING')]
-
-
-def _cli(config):
- with temp_repo('ui_layout_repo', only=GOOD) as root:
- (root / 'godot-devkit.toml').write_text(config, encoding='utf-8')
- subprocess.run(['git', 'add', '-A'], cwd=root, check=True)
- from godot_devkit.core.project import load_config, repo_root
- repo_root.cache_clear()
- load_config.cache_clear()
- with contextlib.redirect_stdout(io.StringIO()), \
- contextlib.redirect_stderr(io.StringIO()):
- code = cli.main(['check', 'ui-layout'])
- repo_root.cache_clear()
- load_config.cache_clear()
- return code
-
-
-class UiLayout(unittest.TestCase):
- def test_good_scenes_pass_and_cycles_are_unverified_not_crashes(self) -> None:
- code, out = _gate(GOOD + CYCLE)
- self.assertEqual(code, 0, out)
- self.assertIn('missing or cyclic', out)
-
- def test_each_bad_scene_reports_its_kind(self) -> None:
- for scene, kind in (('bad_action', 'action-outside-bar'),
- ('bad_button_in_scroll', 'button-in-modal-scroll'),
- ('bad_label', 'label-no-overflow')):
- code, out = _gate(GOOD + [f'scenes/{scene}.tscn'])
- self.assertEqual(code, 1, out)
- self.assertIn(f' {kind} scenes/{scene}.tscn : ', out)
- other = {'action-outside-bar', 'button-in-modal-scroll',
- 'label-no-overflow'} - {kind}
- self.assertFalse(any(f' {o} ' in out for o in other), out)
-
- def test_instanced_bar_covers_and_instanced_non_bar_is_judged(self) -> None:
- # inherited_modal.tscn adds a primary Button under the instanced Bar.
- code, out = _gate(GOOD)
- self.assertEqual(code, 0, out)
- with temp_repo('ui_layout_repo', only=GOOD) as root:
- (root / 'godot-devkit.toml').write_text(
- CONFIG.replace('["ActionBar"]', '["Elsewhere"]'), encoding='utf-8')
- subprocess.run(['git', 'add', '-A'], cwd=root, check=True)
- code, out = run_check(ui_layout)
- self.assertEqual(code, 1, out)
- self.assertIn('scenes/good_modal.tscn : Bar/Primary', out)
-
- def test_baseline_holds_then_ratchets(self) -> None:
- scenes = GOOD + ['scenes/bad_action.tscn']
- key = '"scenes/bad_action.tscn"'
- code, out = _gate(scenes, f'baseline = {{ {key} = 2 }}\n')
- self.assertEqual(code, 0, out)
- self.assertIn('BASELINED 2 finding(s) in 1 file(s)', out)
- code, out = _gate(scenes, f'baseline = {{ {key} = 1 }}\n')
- self.assertEqual(code, 1, out)
- self.assertIn('GREW', out)
- code, out = _gate(scenes, f'baseline = {{ {key} = 3 }}\n')
- self.assertEqual(code, 1, out)
- self.assertIn('SHRUNK', out)
-
- def test_zero_file_and_zero_match_census_fail(self) -> None:
- code, out = _gate(GOOD, 'include_prefixes = ["nowhere/"]\n')
- self.assertEqual(code, 1, out)
- self.assertIn('scanned 0 files', out)
- code, out = _gate(GOOD, config=CONFIG.replace('["Modal"]', '["Nope"]')
- .replace('["ActionBar"]', '["Nope"]')
- .replace('["Panel"]', '["Nope"]'))
- self.assertEqual(code, 1, out)
- self.assertIn('no node matched', out)
-
- def test_bad_config_exits_2(self) -> None:
- self.assertEqual(_cli(CONFIG.replace('["primary", "destructive", "cancel"]',
- '"primary"')), 2)
- self.assertEqual(_cli(CONFIG.replace('modal_types = ["Modal"]\n', '')), 2)
-
- def test_unconfigured_passes_and_is_not_in_check_all(self) -> None:
- code, out = _gate(GOOD, config=None)
- self.assertEqual(code, 0, out)
- self.assertIn('no [ui_layout] declared', out)
- with temp_repo('ui_layout_repo', only=['project.godot']):
- self.assertNotIn('ui-layout', roster.all_roster())
- self.assertIn('ui-layout', roster.OPT_IN_GATES)
-
- def test_script_class_names_match_not_only_type(self) -> None:
- # The fixtures spell a real project's shape: type="Control" + script=.
- # Naming only the native type matches nothing; the class_name matches.
- code, out = _gate(GOOD, config=CONFIG.replace('["ActionBar"]', '["Control"]'))
- self.assertEqual(code, 0, out)
-
- def test_override_node_keeps_base_state_and_override_props_are_judged(self) -> None:
- # Setting `visible` on the inherited Bar must not turn its actions into
- # action-outside-bar.
- code, out = _gate(GOOD + ['scenes/override_bar.tscn'])
- self.assertEqual(code, 0, out)
- # A base finding is reported once, in the base file; an inheriting
- # scene whose override fixes it reports nothing.
- kids = ['scripts/modal.gd', 'scenes/base_bad.tscn',
- 'scenes/kid1.tscn', 'scenes/kid2.tscn']
- code, out = _gate(GOOD + kids)
- self.assertEqual(code, 1, out)
- self.assertEqual(out.count('label-no-overflow scenes/'), 1, out)
- self.assertIn('label-no-overflow scenes/base_bad.tscn : L', out)
-
- def test_override_in_inherited_scene_reports_in_the_inheriting_file(self) -> None:
- # override_base.tscn has a Button with no role: clean. override_role.tscn
- # overrides it with a role, so the finding is the inheriting file's alone.
- code, out = _gate(GOOD + ['scenes/override_base.tscn', 'scenes/override_role.tscn'])
- self.assertEqual(code, 1, out)
- self.assertEqual(_findings(out), [
- ' action-outside-bar scenes/override_role.tscn : Help — '
- 'ui_role = "primary" sits in no ActionBar ancestor'])
-
- def test_host_override_on_an_instanced_label_is_merged(self) -> None:
- # host_*.tscn instance stack.tscn, which instances header.tscn's bare
- # Label. host_override sets text_overrun_behavior on it; host_bare does not.
- inner = ['scenes/header.tscn', 'scenes/stack.tscn']
- code, out = _gate(GOOD + inner + ['scenes/host_override.tscn'])
- self.assertEqual(code, 0, out)
- self.assertNotIn('override(s) of a node inside an instanced scene', out)
- code, out = _gate(GOOD + inner + ['scenes/host_bare.tscn'])
- self.assertEqual(code, 1, out)
- self.assertEqual(_findings(out), [
- ' label-no-overflow scenes/host_bare.tscn : Stack/Header/Title — '
- 'sets neither autowrap_mode nor text_overrun_behavior'])
-
- def test_inline_script_class_node_is_a_bar(self) -> None:
- # Bar is type="HBoxContainer" with the ActionBar script, not an instance.
- code, out = _gate(GOOD + ['scenes/script_class_bar.tscn'])
- self.assertEqual(code, 1, out)
- self.assertEqual(_findings(out), [
- ' action-outside-bar scenes/script_class_bar.tscn : Delete — '
- 'ui_role = "destructive" sits in no ActionBar ancestor'])
-
- def test_theme_variation_does_not_cover_a_label(self) -> None:
- code, out = _gate(GOOD + ['scenes/themed_label.tscn'])
- self.assertEqual(code, 1, out)
- self.assertIn('label-no-overflow scenes/themed_label.tscn : Title', out)
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/tools/gen_classdb.py b/tools/gen_classdb.py
index a19a548c..a5b9a800 100755
--- a/tools/gen_classdb.py
+++ b/tools/gen_classdb.py
@@ -16,19 +16,6 @@
appear as a `type=` in a .tscn/.tres); the editor-only and server singletons are
dropped to keep the shipped file small.
-The file also carries the engine's method and signal NAMES (`engine_methods`,
-`engine_signals`, stamped `names_from`): `refs --rename` refuses a name the
-engine also owns, because without types `x.play()` or a Button's
-`[connection signal="pressed"]` may be the engine's. A full regeneration
-writes them from the same dump; to refresh ONLY the names, leaving every other
-key byte-identical:
-
- python3 tools/gen_classdb.py --names-only extension_api.json
-
-The names may come from a NEWER dump than the props. That is the safe
-direction: a name a newer engine adds only adds a refusal (a rename declines
-that it could have made), while a props table from the wrong engine would make
-`check props` pass or fail scenes it should not.
"""
from __future__ import annotations
@@ -39,22 +26,6 @@
OUT = Path(__file__).resolve().parents[1] / 'src' / 'godot_devkit' / 'data' / 'classdb.json'
# A scene/resource file can only instantiate something in these hierarchies.
KEPT_ROOTS = ('Node', 'Resource', 'Object')
-NAMES_ONLY = '--names-only'
-
-
-def engine_names(api: dict) -> dict:
- """Every method name the engine owns — on any class, any builtin type, or a
- utility function — and every class signal name, each sorted and unique."""
- methods = {f['name'] for f in api.get('utility_functions', [])}
- for group in ('classes', 'builtin_classes'):
- for cls in api.get(group, []):
- methods.update(m['name'] for m in cls.get('methods', []))
- signals = {s['name'] for cls in api.get('classes', []) for s in cls.get('signals', [])}
- return {
- 'engine_methods': sorted(methods),
- 'engine_signals': sorted(signals),
- 'names_from': api['header']['version_full_name'],
- }
def write(payload: dict) -> None:
@@ -64,26 +35,10 @@ def write(payload: dict) -> None:
def main(argv: list[str]) -> int:
- names_only = argv[:1] == [NAMES_ONLY]
- if names_only:
- argv = argv[1:]
if len(argv) != 1:
print(__doc__.strip(), file=sys.stderr)
return 2
api = json.loads(Path(argv[0]).read_text(encoding='utf-8'))
- names = engine_names(api)
- if names_only:
- if not OUT.is_file():
- print(f'{OUT}: missing — {NAMES_ONLY} merges into an existing file; '
- f'run a full regeneration first', file=sys.stderr)
- return 2
- payload = json.loads(OUT.read_text(encoding='utf-8'))
- payload.update(names)
- write(payload)
- print(f'{OUT}: {len(names["engine_methods"])} engine methods, '
- f'{len(names["engine_signals"])} engine signals ({names["names_from"]}); '
- f'every other key untouched')
- return 0
classes = {c['name']: c for c in api['classes']}
def roots_to(name: str) -> bool:
@@ -106,13 +61,10 @@ def roots_to(name: str) -> bool:
'godot_version': '{version_major}.{version_minor}.{version_patch}'.format(
**api['header']),
'classes': table,
- **names,
}
write(payload)
props = sum(len(v['props']) for v in table.values())
- print(f'{OUT}: {len(table)} classes, {props} properties, '
- f'{len(names["engine_methods"])} engine methods, '
- f'{len(names["engine_signals"])} engine signals '
+ print(f'{OUT}: {len(table)} classes, {props} properties '
f'(Godot {payload["godot_version"]})')
return 0