Dynamic Decals Meshes
Editor module for managing the vehicle shape/mesh path in the Dynamic Decals tool. Provides a section GUI (currently commented out) for selecting a DAE shape file. Marked as experimental.
Editor module for managing the vehicle shape/mesh path in the Dynamic Decals tool. Provides a section GUI (currently commented out) for selecting a DAE shape file. Marked as experimental.
Module Info
| Key | Value |
|---|---|
| File | extensions/editor/dynamicDecals/meshes.lua |
| logTag | editor_dynamicDecals_meshes |
| Dependencies | editor_api_dynamicDecals, editor_dynamicDecals_settings |
Public API
| Function | Signature | Description |
|---|---|---|
M.registerEditorPreferences | (prefsRegistry) | Stub |
M.editorPreferenceValueChanged | (path, value) | Stub |
M.setup | (tool_in) | Initializes module; section registration is commented out |
Internal Functions
| Function | Description |
|---|---|
setShapePath(path) | Sets the decal shape path via API and updates materials |
sectionGui(guiId) | Renders shape path input with folder picker button |
Notes
- The "Meshes (Experimental)" section registration is commented out in
setup() - The section would appear at priority 1050
- Uses
editor_fileDialog.openFilewith DAE file filter - Calls
settings.updateMaterials()after changing the shape path
Usage Example
-- Direct API usage (since the GUI section is disabled):
local api = extensions.editor_api_dynamicDecals
api.setShapePath("/vehicles/etk800/etk800.dae")See Also
- Dynamic Decals - Browser - Related reference
- Dynamic Decals - Brushes - Related reference
- Dynamic Decals - Camera - Related reference
- World Editor Guide - Guide
Dynamic Decals Load/Save
Editor module providing Save and Load functionality for Dynamic Decals projects. Exports/imports the layer stack as `.dyndecals.json` files with overwrite or append loading modes.
Dynamic Decals News
Editor module displaying the Vehicle Livery Creator welcome screen and version changelog. Shows on first launch or when a new version is detected, with a "do not show again" option.