Skip to content

LedSourceFactory

ClassLEDStudioLEDStudio
public static class LedSourceFactory

Factory for creating LEDStudio.ILedSource instances from LEDStudio.LedSourceAsset ScriptableObjects.

Asset-backed LED Composition layers use this factory. Live scene-dependent sources are resolved through board input bindings instead.

Source types that return null here (Video, Canvas, Chart) require scene components that cannot be constructed without live scene objects (a VideoPlayer, a Camera, a chart Graphic). Use the matching Led*DataSource component. Chart is provided by the optional ChartGuru asset via its LedChartDataSource component; when that asset is not installed, chart scene layers simply stay blank.

public static ILedSource Create(LedSourceAsset asset)

No description is available for this member.

Parameters

Name Type Description
asset LEDStudio.LedSourceAsset

Returns

LEDStudio.ILedSource — No return description is available.