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.

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.