feat: bound scene visibility rendering and continuous native input

This commit is contained in:
2026-11-11 00:53:21 +08:00
parent 15fc01542c
commit 32d5da5528
15 changed files with 900 additions and 134 deletions
+10 -1
View File
@@ -54,7 +54,16 @@ It does not publish a page or change revision. Console does not use this endpoin
All execution endpoints share the eight-entry queue. These are in-process bounded
host executions, not a complete untrusted-code sandbox or a process-isolation design.
## Page modes and camera
## Layout, scenes and cameras
Use Page with nested Row / Column / Overlay for finite layout, ScrollView for
scrolling, and CanvasViewport(width,height,Scene2D(...)) for a finite view into
2D world coordinates. Each viewport owns an explicit Camera2D by default;
assigning the same camera shares navigation. Viewport3D provides the analogous
finite view into Scene3D using programmable perspective/orthographic cameras.
See docs/scene-architecture.md and examples/world-ui.endor for the current model.
### Legacy Page compatibility
Page.mode is "window" (default), "vertical", "horizontal" or "canvas".
Window fills the available page viewport. Vertical constrains width and grows