LedSourceAsset
[CreateAssetMenu(fileName = "NewSource", menuName = "LED Studio/Source Asset", order = 1)]public sealed class LedSourceAsset : ScriptableObjectReusable content definition for image, video, render-texture, text, timer, score, and UI Toolkit sources, including their rendering and refresh settings.
Fields
Section titled “Fields”
SourceType
Section titled “SourceType”[Header("Source Type")][Tooltip("Type of content this reusable source asset provides.")]public LedSourceType SourceTypeReturns
LEDStudio.LedSourceType
ImageTexture
Section titled “ImageTexture”[Header("Content")][Tooltip("Image or logo texture")]public Texture2D ImageTextureReturns
UnityEngine.Texture2D
VideoClip
Section titled “VideoClip”[Tooltip("Video clip for video sources")]public VideoClip VideoClipReturns
UnityEngine.Video.VideoClip
ExternalRenderTexture
Section titled “ExternalRenderTexture”[Tooltip("External RenderTexture input")]public RenderTexture ExternalRenderTextureReturns
UnityEngine.RenderTexture
TextContent
Section titled “TextContent”[Header("Text Content")][Tooltip("Text content (for Text, Timer, Score types)")][TextArea(2, 5)]public string TextContentReturns
System.String
TextColor
Section titled “TextColor”[Tooltip("Text color")]public Color TextColorReturns
UnityEngine.Color
FontAsset
Section titled “FontAsset”[Header("Text Rendering")][Tooltip("TMP font used when Render Mode is Font Texture")]public TMP_FontAsset FontAssetReturns
TMPro.TMP_FontAsset
TextSettings
Section titled “TextSettings”[Tooltip("Text sizing, alignment, wrapping and rasterization settings.")]public LedTextSettings TextSettingsReturns
LEDStudio.LedTextSettings
TextRenderBackendAsset
Section titled “TextRenderBackendAsset”[Tooltip("Optional reusable renderer profile used by external text render modes such as UniText.")]public LedTextRenderBackendAsset TextRenderBackendAssetReturns
LEDStudio.LedTextRenderBackendAsset
AutoScroll
Section titled “AutoScroll”[Header("Text Scrolling")][Tooltip("Automatically scroll text sources.")]public bool AutoScrollReturns
System.Boolean
AlwaysScroll
Section titled “AlwaysScroll”[Tooltip("Scroll even when text fits within the board width.")]public bool AlwaysScrollReturns
System.Boolean
SeamlessWrap
Section titled “SeamlessWrap”[Tooltip("When scrolling text leaves one edge, repeat it at the opposite edge instead of leaving an empty gap.")]public bool SeamlessWrapReturns
System.Boolean
SeamlessWrapPaddingPixels
Section titled “SeamlessWrapPaddingPixels”[Tooltip("Minimum transparent gap in source pixels between seamless text repetitions.")][Range(0, 512)]public float SeamlessWrapPaddingPixelsReturns
System.Single
SeamlessWrapDistribution
Section titled “SeamlessWrapDistribution”[Tooltip("Controls whether seamless text appears once or is evenly repeated across the output width.")]public LedSeamlessWrapDistribution SeamlessWrapDistributionReturns
LEDStudio.LedSeamlessWrapDistribution
ScrollAxis
Section titled “ScrollAxis”[Tooltip("Axis used by automatic scrolling, manual scroll offset, and seamless wrap.")]public LedTextScrollAxis ScrollAxisReturns
LEDStudio.LedTextScrollAxis
ScrollSpeed
Section titled “ScrollSpeed”[Tooltip("Scroll speed in pixels per second. Negative values scroll in the opposite direction.")][Range(-200, 200)]public float ScrollSpeedReturns
System.Single
ScrollOffsetPercent
Section titled “ScrollOffsetPercent”[Tooltip("Initial position along the scrolling path. 0 starts at the beginning, 100 starts at the far end.")][Range(0, 100)]public float ScrollOffsetPercentReturns
System.Single
BlinkSettings
Section titled “BlinkSettings”[Header("Text Blinking")][Tooltip("Timed text blinking settings.")]public LedTextBlinkSettings BlinkSettingsReturns
LEDStudio.LedTextBlinkSettings
InitialSeconds
Section titled “InitialSeconds”[Header("Timer Data (Timer type only)")][Tooltip("Initial countdown time in seconds")][Min(1)]public float InitialSecondsReturns
System.Single
HomeLabel
Section titled “HomeLabel”[Header("Score Data (Score type only)")][Tooltip("Home team label for score sources.")]public string HomeLabelReturns
System.String
AwayLabel
Section titled “AwayLabel”[Tooltip("Away team label for score sources.")]public string AwayLabelReturns
System.String
UIPanelSettings
Section titled “UIPanelSettings”[Header("UI Toolkit Data (UIToolkit type only)")][Tooltip("Panel Settings asset for UI Toolkit rendering")]public PanelSettings UIPanelSettingsReturns
UnityEngine.UIElements.PanelSettings
UIRenderResolution
Section titled “UIRenderResolution”[Tooltip("Resolution at which UI Toolkit renders before the board scales/composes it.")]public Vector2Int UIRenderResolutionReturns
UnityEngine.Vector2Int
UpdateSchedule
Section titled “UpdateSchedule”[Header("Timing")][Tooltip("How this asset source is refreshed when used by a board.")]public UpdateScheduleSettings UpdateScheduleReturns
ImpossibleRobert.Common.Timing.UpdateScheduleSettings
Methods
Section titled “Methods”
GetTextSettings()
Section titled “GetTextSettings()”public LedTextSettings GetTextSettings()Returns text layout settings normalized for use by a runtime source.
Returns
LEDStudio.LedTextSettings
GetBlinkSettings()
Section titled “GetBlinkSettings()”public LedTextBlinkSettings GetBlinkSettings()Returns blink settings normalized for time-based alpha evaluation.
Returns
LEDStudio.LedTextBlinkSettings
GetRecommendedReduction()
Section titled “GetRecommendedReduction()”public LedReductionMode GetRecommendedReduction()Returns the texture reduction mode that best preserves this source type’s content.
Returns
LEDStudio.LedReductionMode
Constructors
Section titled “Constructors”
LedSourceAsset()
Section titled “LedSourceAsset()”public LedSourceAsset()