refactor(M03): extract M2 animation playback

This commit is contained in:
2026-07-18 01:25:54 +04:00
parent 5be36376c2
commit 9b73571dcb
12 changed files with 615 additions and 85 deletions
+4 -1
View File
@@ -172,7 +172,8 @@ versions and prototype lifetimes are unchanged; no rebake is required.
## Extension points
Animation playback policy and native animator cloning remain separate services.
Animation playback policy and native animator field copying now belong to
`M2AnimationPlaybackController`; instance/batch materialization remains loader-owned.
## Capability status
@@ -193,6 +194,7 @@ Animation playback policy and native animator cloning remain separate services.
| Path | Responsibility |
|---|---|
| `src/render/m2/m2_animated_scene_finalizer.gd` | Candidate ownership, traversal, material repair and validation |
| `src/render/m2/m2_animation_playback_controller.gd` | Accepted-instance playback and native animator startup |
| `src/render/m2/m2_animation_load_pipeline_state.gd` | Pending/terminal records before finalization |
| `src/render/m2/m2_prototype_cache_state.gd` | Accepted prototype/static-only outcomes |
| `src/scenes/streaming/streaming_world_loader.gd` | I/O, permits, material source, adoption and logs |
@@ -200,6 +202,7 @@ Animation playback policy and native animator cloning remain separate services.
## Related decisions and references
- [`m2-animation-playback-controller.md`](m2-animation-playback-controller.md)
- [`m2-animation-load-pipeline-state.md`](m2-animation-load-pipeline-state.md)
- [`m2-prototype-cache-state.md`](m2-prototype-cache-state.md)
- [`world-renderer.md`](world-renderer.md)