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

Name Type
source LEDStudio.LedSourceAsset
name System.String
sourceId System.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

Name Type
inputName System.String
name System.String
public void SortLayersByPriority()

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

public LedCompositionAsset()