Skip to content

UIToolkitSource

ClassLEDStudioLEDStudio
public sealed class UIToolkitSource : ILedSource

Source adapter for UI Toolkit content. Accepts a UnityEngine.UIElements.UIDocument or UnityEngine.UIElements.PanelSettings and creates a managed RenderTexture at a configurable render resolution. World-space documents render through an owned capture document so the user’s document and panel settings are not mutated.

public LedSourceType SourceType { get; }

No description is available for this member.

Returns

LEDStudio.LedSourceType — No return description is available.

public bool IsReady { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public bool IsDirty { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public Texture OutputTexture { get; }

No description is available for this member.

Returns

UnityEngine.Texture — No return description is available.

public Rect TextureTransform { get; }

No description is available for this member.

Returns

UnityEngine.Rect — No return description is available.

UIToolkitSource(PanelSettings, Vector2Int)

Section titled “UIToolkitSource(PanelSettings, Vector2Int)”
public UIToolkitSource(PanelSettings panelSettings, Vector2Int renderResolution = default)

No description is available for this member.

Parameters

Name Type Description
panelSettings UnityEngine.UIElements.PanelSettings
renderResolution UnityEngine.Vector2Int

UIToolkitSource(UIDocument, PanelSettings, Vector2Int)

Section titled “UIToolkitSource(UIDocument, PanelSettings, Vector2Int)”
public UIToolkitSource(UIDocument document, PanelSettings panelSettings, Vector2Int renderResolution = default)

No description is available for this member.

Parameters

Name Type Description
document UnityEngine.UIElements.UIDocument
panelSettings UnityEngine.UIElements.PanelSettings
renderResolution UnityEngine.Vector2Int

public void SetDocument(UIDocument document)

No description is available for this member.

Parameters

Name Type Description
document UnityEngine.UIElements.UIDocument
public void SetPanelSettings(PanelSettings panelSettings)

No description is available for this member.

Parameters

Name Type Description
panelSettings UnityEngine.UIElements.PanelSettings
public void SetRenderResolution(Vector2Int resolution)

No description is available for this member.

Parameters

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

No description is available for this member.

Parameters

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

No description is available for this member.

Parameters

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

No description is available for this member.

public void GetDirtyRects(List<RectInt> outRects)

No description is available for this member.

Parameters

Name Type Description
outRects System.Collections.Generic.List{UnityEngine.RectInt}
public void Release()

No description is available for this member.