Skip to content

LedCanvasDataSource

ClassLEDStudioLEDStudio
[ExecuteAlways]
[AddComponentMenu("LED Studio/Data Sources/Canvas Source")]
public sealed class LedCanvasDataSource : LedDataSourceBase, ILedSource

Feeds uGUI Canvas content into the LED board via a Camera that renders the Canvas to a managed RenderTexture. Assign a Camera that sees the Canvas; the component handles the RenderTexture lifecycle automatically. Place on the same GameObject as LEDStudio.LedBoardController or a child — it will be auto-discovered.

public override LedSourceType SourceType { get; }

No description is available for this member.

Returns

LEDStudio.LedSourceType — No return description is available.

public override bool IsReady { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public override bool IsDirty { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public override Texture OutputTexture { get; }

No description is available for this member.

Returns

UnityEngine.Texture — No return description is available.

public Camera SourceCamera { get; set; }

No description is available for this member.

Returns

UnityEngine.Camera — No return description is available.

public Vector2Int RenderResolution { get; set; }

No description is available for this member.

Returns

UnityEngine.Vector2Int — No return description is available.

public void SetRenderResolution(Vector2Int resolution)

No description is available for this member.

Parameters

Name Type Description
resolution UnityEngine.Vector2Int
public override void Prepare(Vector2Int targetResolution)

No description is available for this member.

Parameters

Name Type Description
targetResolution UnityEngine.Vector2Int
public override void UpdateSource(in TimeStep step)

No description is available for this member.

Parameters

Name Type Description
step ImpossibleRobert.Common.Timing.TimeStep
public override void MarkClean()

No description is available for this member.

public override void Release()

No description is available for this member.