LedDataSourceBase
public abstract class LedDataSourceBase : MonoBehaviour, ILedSourceBase class for data source components that sit alongside a LEDStudio.LedBoardController and automatically feed content into the board. Add one of the concrete subclasses (LedTextDataSource, LedImageDataSource, LedVideoDataSource, LedRenderTextureDataSource, LedTimerDataSource, LedScoreDataSource) to the same GameObject or a child, and it will be discovered automatically — no manual wiring needed.
Properties
Section titled “Properties”
SourceId
Section titled “SourceId”public string SourceId { get; }No description is available for this member.
Returns
System.String — No return description is available.
LayerName
Section titled “LayerName”public string LayerName { get; }No description is available for this member.
Returns
System.String — No return description is available.
Priority
Section titled “Priority”public int Priority { get; }No description is available for this member.
Returns
System.Int32 — No return description is available.
Opacity
Section titled “Opacity”public float Opacity { get; }No description is available for this member.
Returns
System.Single — No return description is available.
FitMode
Section titled “FitMode”public LedFitMode FitMode { get; }No description is available for this member.
Returns
LEDStudio.LedFitMode — No return description is available.
public Rect Zone { get; }No description is available for this member.
Returns
UnityEngine.Rect — No return description is available.
UpdateSchedule
Section titled “UpdateSchedule”public UpdateScheduleSettings UpdateSchedule { get; }No description is available for this member.
Returns
ImpossibleRobert.Common.Timing.UpdateScheduleSettings — No return description is available.
SourceType
Section titled “SourceType”public abstract LedSourceType SourceType { get; }No description is available for this member.
Returns
LEDStudio.LedSourceType — No return description is available.
IsReady
Section titled “IsReady”public abstract bool IsReady { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
IsDirty
Section titled “IsDirty”public abstract bool IsDirty { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
OutputTexture
Section titled “OutputTexture”public abstract Texture OutputTexture { get; }No description is available for this member.
Returns
UnityEngine.Texture — No return description is available.
Methods
Section titled “Methods”
ConfigureRuntimeLayer(string, Rect?, LedFitMode, int, float, string, UpdateScheduleSettings)
Section titled “ConfigureRuntimeLayer(string, Rect?, LedFitMode, int, float, string, UpdateScheduleSettings)”public void ConfigureRuntimeLayer(string sourceId, Rect? zone = null, LedFitMode fitMode = LedFitMode.Fit, int priority = 0, float opacity = 1, string layerName = null, UpdateScheduleSettings updateSchedule = default)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
sourceId |
System.String | |
zone |
System.Nullable{UnityEngine.Rect} | |
fitMode |
LEDStudio.LedFitMode | |
priority |
System.Int32 | |
opacity |
System.Single | |
layerName |
System.String | |
updateSchedule |
ImpossibleRobert.Common.Timing.UpdateScheduleSettings | |
Reset()
Section titled “Reset()”protected virtual void Reset()No description is available for this member.
Prepare(Vector2Int)
Section titled “Prepare(Vector2Int)”public abstract void Prepare(Vector2Int targetResolution)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
targetResolution |
UnityEngine.Vector2Int | |
UpdateSource(in TimeStep)
Section titled “UpdateSource(in TimeStep)”public abstract void UpdateSource(in TimeStep step)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
step |
ImpossibleRobert.Common.Timing.TimeStep | |
MarkClean()
Section titled “MarkClean()”public abstract void MarkClean()No description is available for this member.
GetDirtyRects(List)
Section titled “GetDirtyRects(List)”public virtual void GetDirtyRects(List<RectInt> outRects)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
outRects |
System.Collections.Generic.List{UnityEngine.RectInt} | |
Release()
Section titled “Release()”public virtual void Release()No description is available for this member.
OnEnable()
Section titled “OnEnable()”protected virtual void OnEnable()No description is available for this member.
OnDisable()
Section titled “OnDisable()”protected virtual void OnDisable()No description is available for this member.
OnDestroy()
Section titled “OnDestroy()”protected virtual void OnDestroy()No description is available for this member.
OnValidate()
Section titled “OnValidate()”protected virtual void OnValidate()No description is available for this member.