Dynamic Decals - Browser
Central browser window for the dynamic decals tool. Provides a tabbed interface where other modules (Textures, Brushes, Fonts) can register their own tabs. Assets can be dragged and dropped from brows
Central browser window for the dynamic decals tool. Provides a tabbed interface where other modules (Textures, Brushes, Fonts) can register their own tabs. Assets can be dragged and dropped from browser tabs onto decal tool widgets.
Public API
| Function | Signature | Description |
|---|---|---|
M.registerBrowserTab | (name, guiFn, order) | Registers a new tab in the browser (sorted by order) |
M.showWindow | () | Shows the browser window |
M.hideWindow | () | Hides the browser window |
M.isWindowVisible | () → bool | Returns whether browser window is visible |
M.onGui | () | Main GUI callback rendering tab bar |
M.registerEditorPreferences | (prefsRegistry) | Registers editor preferences (stub) |
M.editorPreferenceValueChanged | (path, value) | Preference change callback (stub) |
M.setup | (tool_in) | Initializes module: registers window (800×400), docs section |
Tab Registration
-- Other modules register tabs during setup:
browser.registerBrowserTab("Brushes", brushesTabGuiFn, 30)
browser.registerBrowserTab("Fonts", fontsTabGuiFn, 40)
-- Tabs are sorted by order (ascending)Window
- Name:
dynamicDecalTool_DynDecalBrowserWindow - Title: "Dynamic Decals Tool - Browser"
- Size: 800×400
Dependencies
| Module | Purpose |
|---|---|
editor_api_dynamicDecals | Dynamic decal API reference |
editor_dynamicDecals_textures | Texture data |
editor_dynamicDecals_docs | Documentation registration |
See Also
- Dynamic Decals - Brushes - Related reference
- Dynamic Decals - Camera - Related reference
- Dynamic Decals - Color History - Related reference
- World Editor Guide - Guide
Drive Path Editor - Spline Manager
Core data manager for drive path splines. Handles creation, deletion, splitting, joining, flipping, deep copying, serialization/deserialization, vehicle linking, nav graph caching, and geometry update
Dynamic Decals - Brushes
Brush preset system for the dynamic decals tool. Saves/loads complete brush configurations (textures, colors, blend modes, scale, rotation, SDF, alpha mask, etc.) from `/art/dynamicDecals/brushes/brus