LedTopologyMeshBuilder
public static class LedTopologyMeshBuilderGenerates a board face with optional rear-body and front-frame housing from topology settings and logical aspect ratio.
Methods
Section titled “Methods”
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
| Name | Type |
|---|---|
topologySettings | LEDStudio.LedTopologySettings |
cabinetGrid | LEDStudio.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
| Name | Type | Description |
|---|---|---|
topologySettings | LEDStudio.LedTopologySettings | |
extrusionSettings | LEDStudio.LedBoardExtrusionSettings | |
physicalScale | UnityEngine.Vector3 | Board dimensions used to keep extrusion depth consistent in world space. |
cabinetGrid | LEDStudio.LedCabinetGrid | |
resolution | UnityEngine.Vector2Int | Logical resolution that positions the cabinet panels. |
Returns
UnityEngine.Mesh: A new mesh owned by the caller.
CreateMesh(LedTopologySettings)
Section titled “CreateMesh(LedTopologySettings)”public static Mesh CreateMesh(LedTopologySettings topologySettings)Creates a front-surface mesh from normalized topology settings without generated housing.
Parameters
| Name | Type |
|---|---|
topologySettings | LEDStudio.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
| Name | Type |
|---|---|
topologySettings | LEDStudio.LedTopologySettings |
extrusionSettings | LEDStudio.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
| Name | Type | Description |
|---|---|---|
topologySettings | LEDStudio.LedTopologySettings | |
extrusionSettings | LEDStudio.LedBoardExtrusionSettings | |
physicalScale | UnityEngine.Vector3 | Board dimensions used to keep extrusion depth consistent in world space. |
Returns
UnityEngine.Mesh: A new mesh owned by the caller.