Skip to content

LedCompositionAsset

ClassLEDStudioLEDStudio
public class LedCompositionAsset : ScriptableObject

Reusable layered program that positions, orders, blends, and scales LED sources or named live inputs within normalized board space.

public List<LedCompositionLayer> Layers

Returns

System.Collections.Generic.List{LEDStudio.LedCompositionLayer}

public Vector2Int PreviewResolution

Returns

UnityEngine.Vector2Int

public void AddLayer(LedSourceAsset source, string name = null, string sourceId = null)

Adds a full-zone asset-backed layer with a stable source ID and the next priority.

Parameters

NameType
sourceLEDStudio.LedSourceAsset
nameSystem.String
sourceIdSystem.String
public void AddLiveInputLayer(string inputName, string name = null)

Adds a full-zone layer whose named input can be bound differently on each board.

Parameters

NameType
inputNameSystem.String
nameSystem.String
public void SortLayersByPriority()

Orders layers from lowest to highest priority while preserving equal-priority authoring order.

public LedCompositionAsset()