Skip to content

LedLayoutAsset

ClassLEDStudioLEDStudio
[CreateAssetMenu(fileName = "NewLayout", menuName = "LED Studio/Layout Asset", order = 2)]
public sealed class LedLayoutAsset : ScriptableObject

No description is available for this type.

[Header("Layers")]
[Tooltip("Content layers. Lower Priority draws first (background), higher Priority draws last (foreground).")]
public List<LedLayoutLayer> Layers

No description is available for this member.

Returns

System.Collections.Generic.List{LEDStudio.LedLayoutLayer} — No return description is available.

[Header("Safe Area")]
[Tooltip("Normalized safe area margin from each edge")]
[Range(0, 0.25)]
public float SafeAreaMargin

No description is available for this member.

Returns

System.Single — No return description is available.

[Tooltip("Show safe area overlay in editor preview")]
public bool ShowSafeAreaOverlay

No description is available for this member.

Returns

System.Boolean — No return description is available.

public Rect SafeAreaRect { get; }

No description is available for this member.

Returns

UnityEngine.Rect — No return description is available.

public void AddLayer(LedSourceAsset source, string name = null, string sourceId = null)

No description is available for this member.

Parameters

Name Type Description
source LEDStudio.LedSourceAsset
name System.String
sourceId System.String
public void SortLayersByPriority()

No description is available for this member.