LedBoardGroup
[ExecuteAlways][AddComponentMenu("LED Studio/LED Board Group")][DisallowMultipleComponent]public sealed class LedBoardGroup : MonoBehaviourSupervisor component for multi-panel LED configurations.
Composes content into a single master RenderTexture at the combined
resolution of all child panels (with gap pixels for bezels), then
slices it and injects each child’s portion via
LEDStudio.LedBoardController.SetGroupOverride(UnityEngine.RenderTexture).
Children retain independent defects, materials, emitter rendering.
Properties
Section titled “Properties”
PanelCount
Section titled “PanelCount”public int PanelCount { get; }Number of discovered child panels.
Returns
System.Int32 — No return description is available.
MasterTexture
Section titled “MasterTexture”public RenderTexture MasterTexture { get; }The combined master RenderTexture (read-only, for editor preview).
Returns
UnityEngine.RenderTexture — No return description is available.
MasterResolution
Section titled “MasterResolution”public Vector2Int MasterResolution { get; }Master resolution including gap pixels.
Returns
UnityEngine.Vector2Int — No return description is available.
GroupLayout
Section titled “GroupLayout”public LedGroupLayout GroupLayout { get; }Current group layout mode.
Returns
LEDStudio.LedGroupLayout — No return description is available.
GridSize
Section titled “GridSize”public Vector2Int GridSize { get; }Current grid size (only meaningful when layout is Grid).
Returns
UnityEngine.Vector2Int — No return description is available.
GapPixels
Section titled “GapPixels”public int GapPixels { get; }Gap pixels between panels.
Returns
System.Int32 — No return description is available.
ChildBoards
Section titled “ChildBoards”public IReadOnlyList<LedBoardController> ChildBoards { get; }Discovered child board controllers (read-only).
Returns
System.Collections.Generic.IReadOnlyList{LEDStudio.LedBoardController} — No return description is available.
SliceUVs
Section titled “SliceUVs”public IReadOnlyList<Rect> SliceUVs { get; }Per-child UV slice rects into the master RT.
Returns
System.Collections.Generic.IReadOnlyList{UnityEngine.Rect} — No return description is available.
Methods
Section titled “Methods”
Rebuild()
Section titled “Rebuild()”public void Rebuild()Full rebuild: discover children, compute master resolution, allocate RTs, setup sources, inject overrides. Safe to call repeatedly (idempotent after cleanup).