Dynamic Decals Layer Type: Group
Editor module for the Group layer type. Groups act as folders in the layer stack, allowing layers to be organized hierarchically. Disabling a group hides all its children.
Editor module for the Group layer type. Groups act as folders in the layer stack, allowing layers to be organized hierarchically. Disabling a group hides all its children.
Module Info
| Key | Value |
|---|---|
| File | extensions/editor/dynamicDecals/layerTypes/group.lua |
| logTag | editor_dynamicDecals_layerTypes_group |
| Dependencies | editor_api_dynamicDecals, editor_dynamicDecals_inspector, editor_dynamicDecals_docs |
Public API
| Function | Signature | Description |
|---|---|---|
M.onGui | (guiId) | Empty section GUI stub |
M.registerEditorPreferences | (prefsRegistry) | Stub |
M.editorPreferenceValueChanged | (path, value) | Stub |
M.setup | (tool_in) | Registers inspector GUI (empty), toolbar item (priority 30), and documentation |
Features
- Empty inspector - group layers have no editable properties beyond name/enabled (handled by the generic inspector)
- Toolbar button -
group_workicon that callsapi.addGroup() - Groups can contain any other layer type as children
- Disabling a group effectively hides all nested layers
Usage Example
local api = extensions.editor_api_dynamicDecals
-- Add an empty group to the layer stack
api.addGroup()See Also
- Dynamic Decals Layer Type: Brush Stroke - Related reference
- Dynamic Decals Layer Type: Decal - Related reference
- Dynamic Decals Layer Type: Fill - Related reference
- World Editor Guide - Guide
Dynamic Decals Layer Type: Fill
Editor module for the Fill layer type. Fill layers apply a single solid color across the entire vehicle surface. Provides a modal "Add Fill Layer" window, color palette mapping, inspector GUI, and a t
Dynamic Decals Layer Type: Linked Set
Editor module for the Linked Set layer type. Linked Sets function like groups but allow adding arbitrary properties that can be bulk-applied to all child layers recursively via an "Apply" button.