Skip to content

LedBoardInput

ClassLEDStudioLEDStudio
public class LedBoardInput : VisualElement

Feeds the LedBoardElement it is placed in. Its name addresses the board's content: LedBoardInput.Text replaces the text of the text source with that Source ID, and LedBoardInput.Texture shows in the image source with that Source ID and in the live input slot of that name. Bind either property to a data source to drive the board from data.

public const string UssClassName = "led-board-input"

USS class of every board input. The board element's style sheet hides inputs.

Returns

System.String

public LedBoardInput()

public string Text { get; set; }

Text for the text source whose Source ID matches this input's name. Null keeps the authored text, while an empty string clears it.

Returns

System.String

public Texture Texture { get; set; }

Texture for the image source whose Source ID matches this input's name and for the live input slot of that name. Null keeps the authored content.

Returns

UnityEngine.Texture

public LedBoardElement Board { get; }

The board element this input feeds, or null while it is outside one.

Returns

LEDStudio.LedBoardElement