一键导入
debug-ui-manager
Outlines the DebugUIPlugin architecture and its schema-driven design for safe settings injection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Outlines the DebugUIPlugin architecture and its schema-driven design for safe settings injection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Architectural instructions for the standalone Cascaded Shadow Maps (CSM) Plugin. Explains how CSMShadowNode integrates with the lighting system and WebGPU nodes.
Explains how GrassPlugin maps InstancedMesh pools to QuadTreeLOD chunks, including TSL wind animations and exclusion maps.
Documents PlayerControllerPlugin and InputPlugin, detailing how movement interacts with the procedural terrain.
Explains how PostProcessPlugin intercepts the Three.js pipeline for WebGPU-compatible Bloom and Color Grading.
Covers SkyPlugin and IBLPlugin, explaining procedural sun cycles and dynamic environment map baking.
Details how WaterPlugin generates dynamic, depth-based shoreline foam and TSL normal map blending.
| name | debug-ui-manager |
| description | Outlines the DebugUIPlugin architecture and its schema-driven design for safe settings injection. |
The DebugUIPlugin.ts acts as the central nerve center for developer interaction. It provides a visual overlay to modify internal parameters of all other plugins in real-time.
this.params)The DebugUIPlugin maintains a master dictionary of parameters (ui.params).
this.params is updated.To maintain developer sanity, DebugUIPlugin serializes this.params into localStorage.
Historically, the UI was highly fragile because plugins imperatively injected DOM elements using explicit callbacks (ui.addSlider(..., callback)). If a callback was null or mismatched, it caused catastrophic app failures.
The modern architecture uses Data-Driven Schemas:
getUISchema() method returning a JSON object describing their parameters.DebugUIPlugin acts as a compiler, safely parsing these schemas and instantiating DOM elements.PluginManager loop.DebugUIPlugin for configuration.PluginManager so that its params object is available during the init() phase of the other plugins.