Skip to content

LedBoardExtrusionSettings

StructLEDStudioLEDStudio
public struct LedBoardExtrusionSettings

Configures generated board depth, depth scaling, and which body regions are rendered.

[Tooltip("Generate a simple cabinet body behind the LED face.")]
public bool Enabled

Returns

System.Boolean

[Tooltip("Physical depth of the generated board body in meters.")]
[Min(0.001)]
public float DepthMeters

Returns

System.Single

public LedBoardExtrusionSettings Normalized()

Returns a copy with a positive physical depth suitable for mesh generation.

Returns

LEDStudio.LedBoardExtrusionSettings

public float EffectiveDepthMeters { get; }

Returns

System.Single

public static LedBoardExtrusionSettings Disabled { get; }

Returns

LEDStudio.LedBoardExtrusionSettings

public static LedBoardExtrusionSettings EnabledDefault { get; }

Returns

LEDStudio.LedBoardExtrusionSettings