LedTopologyMeshBuilder
public static class LedTopologyMeshBuilderGenerates a board face and optional six-region extruded body mesh from topology settings and logical aspect ratio.
Methods
Section titled “Methods”
CreateMesh(LedTopologySettings)
Section titled “CreateMesh(LedTopologySettings)”public static Mesh CreateMesh(LedTopologySettings topologySettings)Creates a front-surface mesh from normalized topology settings without board-body extrusion.
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 body extrusion 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 extruded body 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.