Skip to content

ILedTextRenderBackend

InterfaceLEDStudioLEDStudio
public interface ILedTextRenderBackend

Optional render backend for LEDStudio.TextSource. Implementations can render rich text into a texture while LED Studio keeps source identity, board placement, scrolling, blinking, scheduling, and dirty propagation.

bool IsAvailable { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

bool IsDirty { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

bool RequiresTimeUpdates { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

Texture OutputTexture { get; }

No description is available for this member.

Returns

UnityEngine.Texture — No return description is available.

void SetText(string text, bool treatAsMarkup)

No description is available for this member.

Parameters

Name Type Description
text System.String
treatAsMarkup System.Boolean
void SetColor(Color textColor)

No description is available for this member.

Parameters

Name Type Description
textColor UnityEngine.Color
void SetBackgroundColor(Color backgroundColor)

No description is available for this member.

Parameters

Name Type Description
backgroundColor UnityEngine.Color

SetTextSettings(LedTextSettings, TMP_FontAsset)

Section titled “SetTextSettings(LedTextSettings, TMP_FontAsset)”
void SetTextSettings(LedTextSettings settings, TMP_FontAsset fontAsset)

No description is available for this member.

Parameters

Name Type Description
settings LEDStudio.LedTextSettings
fontAsset TMPro.TMP_FontAsset
void Prepare(Vector2Int targetResolution)

No description is available for this member.

Parameters

Name Type Description
targetResolution UnityEngine.Vector2Int
void UpdateBackend(in TimeStep step)

No description is available for this member.

Parameters

Name Type Description
step ImpossibleRobert.Common.Timing.TimeStep
void MarkClean()

No description is available for this member.

bool TryGetContentBounds(out RectInt bounds)

No description is available for this member.

Parameters

Name Type Description
bounds UnityEngine.RectInt

Returns

System.Boolean — No return description is available.

void Release()

No description is available for this member.