Skip to content

LedTopologyMeshBuilder

ClassLEDStudioLEDStudio
public static class LedTopologyMeshBuilder

Generates a board face with optional rear-body and front-frame housing from topology settings and logical aspect ratio.

UsesCabinetCutOut(LedTopologySettings, LedCabinetGrid)

Section titled “UsesCabinetCutOut(LedTopologySettings, LedCabinetGrid)”
public static bool UsesCabinetCutOut(LedTopologySettings topologySettings, LedCabinetGrid cabinetGrid)

True when removed edge panels are cut out of the generated surface instead of showing the backplate.

Parameters

NameType
topologySettingsLEDStudio.LedTopologySettings
cabinetGridLEDStudio.LedCabinetGrid

Returns

System.Boolean

CreateMesh(LedTopologySettings, LedBoardExtrusionSettings, Vector3, LedCabinetGrid, Vector2Int)

Section titled “CreateMesh(LedTopologySettings, LedBoardExtrusionSettings, Vector3, LedCabinetGrid, Vector2Int)”
public static Mesh CreateMesh(LedTopologySettings topologySettings, LedBoardExtrusionSettings extrusionSettings, Vector3 physicalScale, LedCabinetGrid cabinetGrid, Vector2Int resolution)

Creates a board mesh whose supported open topology only covers complete hexagonal cabinet panels when Edge Panels is set to Cut Out. Rear bodies and front frames follow the retained outline.

Parameters

NameTypeDescription
topologySettingsLEDStudio.LedTopologySettings
extrusionSettingsLEDStudio.LedBoardExtrusionSettings
physicalScaleUnityEngine.Vector3Board dimensions used to keep extrusion depth consistent in world space.
cabinetGridLEDStudio.LedCabinetGrid
resolutionUnityEngine.Vector2IntLogical resolution that positions the cabinet panels.

Returns

UnityEngine.Mesh: A new mesh owned by the caller.

public static Mesh CreateMesh(LedTopologySettings topologySettings)

Creates a front-surface mesh from normalized topology settings without generated housing.

Parameters

NameType
topologySettingsLEDStudio.LedTopologySettings

Returns

UnityEngine.Mesh: A new mesh owned by the caller.

CreateMesh(LedTopologySettings, LedBoardExtrusionSettings)

Section titled “CreateMesh(LedTopologySettings, LedBoardExtrusionSettings)”
public static Mesh CreateMesh(LedTopologySettings topologySettings, LedBoardExtrusionSettings extrusionSettings)

Creates a board mesh with optional generated housing using unit physical scale.

Parameters

NameType
topologySettingsLEDStudio.LedTopologySettings
extrusionSettingsLEDStudio.LedBoardExtrusionSettings

Returns

UnityEngine.Mesh: A new mesh owned by the caller.

CreateMesh(LedTopologySettings, LedBoardExtrusionSettings, Vector3)

Section titled “CreateMesh(LedTopologySettings, LedBoardExtrusionSettings, Vector3)”
public static Mesh CreateMesh(LedTopologySettings topologySettings, LedBoardExtrusionSettings extrusionSettings, Vector3 physicalScale)

Creates a board mesh whose front topology and optional generated housing account for the board’s physical scale.

Parameters

NameTypeDescription
topologySettingsLEDStudio.LedTopologySettings
extrusionSettingsLEDStudio.LedBoardExtrusionSettings
physicalScaleUnityEngine.Vector3Board dimensions used to keep extrusion depth consistent in world space.

Returns

UnityEngine.Mesh: A new mesh owned by the caller.