ILedBoardConfiguration
public interface ILedBoardConfigurationFocused board-definition and physical-sizing contract.
Methods
Section titled “Methods”
SetProfile(LedBoardProfile)
Section titled “SetProfile(LedBoardProfile)”void SetProfile(LedBoardProfile profile)Applies an authored board profile, or switches to retained inline settings when missing.
Parameters
| Name | Type |
|---|---|
profile |
LEDStudio.LedBoardProfile |
SetInlineBoardSettings(Vector2Int, int, int)
Section titled “SetInlineBoardSettings(Vector2Int, int, int)”void SetInlineBoardSettings(Vector2Int logicalResolution, int cabinetColumns = 4, int cabinetRows = 1)Configures logical resolution and cabinet counts without creating a profile asset.
Parameters
| Name | Type |
|---|---|
logicalResolution |
UnityEngine.Vector2Int |
cabinetColumns |
System.Int32 |
cabinetRows |
System.Int32 |
SetInlineBoardDefinition(BoardDefinition)
Section titled “SetInlineBoardDefinition(BoardDefinition)”void SetInlineBoardDefinition(BoardDefinition definition)Replaces all inline physical and logical board settings from a validated definition.
Parameters
| Name | Type |
|---|---|
definition |
LEDStudio.BoardDefinition |
SetEmitterCount(int, int)
Section titled “SetEmitterCount(int, int)”void SetEmitterCount(int columns, int rows)Changes emitter-grid resolution while preserving the current cabinet layout.
Parameters
| Name | Type |
|---|---|
columns |
System.Int32 |
rows |
System.Int32 |
SetEmitterCount(Vector2Int)
Section titled “SetEmitterCount(Vector2Int)”void SetEmitterCount(Vector2Int emitterCount)Changes emitter-grid resolution while preserving the current cabinet layout.
Parameters
| Name | Type |
|---|---|
emitterCount |
UnityEngine.Vector2Int |
ApplyPhysicalSize()
Section titled “ApplyPhysicalSize()”void ApplyPhysicalSize()Applies the definition’s pitch-derived physical dimensions to the board transform.
Properties
Section titled “Properties”
Profile
Section titled “Profile”LedBoardProfile Profile { get; }Returns
LEDStudio.LedBoardProfile
Definition
Section titled “Definition”BoardDefinition Definition { get; }Returns
LEDStudio.BoardDefinition
EmitterCount
Section titled “EmitterCount”Vector2Int EmitterCount { get; set; }Returns
UnityEngine.Vector2Int
PhysicalSizeMeters
Section titled “PhysicalSizeMeters”Vector2 PhysicalSizeMeters { get; }Returns
UnityEngine.Vector2
PhysicalScale
Section titled “PhysicalScale”Vector3 PhysicalScale { get; }Returns
UnityEngine.Vector3