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.
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.
Module Info
| Key | Value |
|---|---|
| File | extensions/editor/dynamicDecals/layerTypes/linkedSet.lua |
| logTag | editor_dynamicDecals_layerTypes_linkedSet |
| Dependencies | editor_api_dynamicDecals, editor_dynamicDecals_inspector, editor_dynamicDecals_docs, editor_dynamicDecals_widgets |
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, toolbar item (priority 40), and docs |
Inspector Features
- Add Property popup - lists all registered properties grouped by category; prevents duplicates
- Property list - sorted alphabetically, each with delete button and type-appropriate widget
- Apply button - recursively propagates all linked properties to child layers
- Dirty indicator - shows warning when properties have changed but not yet applied
- Supports all API property types: bool, int, float, Point2F, Point3F, Point4F, string, Texture, File, ColorI, and special handling for
decalGradientColoranduseSurfaceNormal
Usage Example
local api = extensions.editor_api_dynamicDecals
-- Add a linked set layer
api.addLinkedSet()
-- Properties are managed through the inspector GUI:
-- 1. Select the linked set layer
-- 2. Click "Add" to add properties (e.g., "color", "decalScale")
-- 3. Edit values
-- 4. Click "Apply" to propagate to all childrenSee 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: 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.
Dynamic Decals Layer Type: Path
Editor module for the Path layer type. Path layers place decals along a curve defined by control points, with linear or Bézier interpolation. Supports text rendering along paths using font files, orie