UIToolkitSource
public sealed class UIToolkitSource : ILedSourceSource 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.
Properties
Section titled “Properties”
SourceType
Section titled “SourceType”public LedSourceType SourceType { get; }No description is available for this member.
Returns
LEDStudio.LedSourceType — No return description is available.
IsReady
Section titled “IsReady”public bool IsReady { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
IsDirty
Section titled “IsDirty”public bool IsDirty { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
OutputTexture
Section titled “OutputTexture”public Texture OutputTexture { get; }No description is available for this member.
Returns
UnityEngine.Texture — No return description is available.
TextureTransform
Section titled “TextureTransform”public Rect TextureTransform { get; }No description is available for this member.
Returns
UnityEngine.Rect — No return description is available.
Constructors
Section titled “Constructors”
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 |
Methods
Section titled “Methods”
SetDocument(UIDocument)
Section titled “SetDocument(UIDocument)”public void SetDocument(UIDocument document)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
document |
UnityEngine.UIElements.UIDocument | |
SetPanelSettings(PanelSettings)
Section titled “SetPanelSettings(PanelSettings)”public void SetPanelSettings(PanelSettings panelSettings)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
panelSettings |
UnityEngine.UIElements.PanelSettings | |
SetRenderResolution(Vector2Int)
Section titled “SetRenderResolution(Vector2Int)”public void SetRenderResolution(Vector2Int resolution)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
resolution |
UnityEngine.Vector2Int | |
Prepare(Vector2Int)
Section titled “Prepare(Vector2Int)”public void Prepare(Vector2Int targetResolution)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
targetResolution |
UnityEngine.Vector2Int | |
UpdateSource(in TimeStep)
Section titled “UpdateSource(in TimeStep)”public void UpdateSource(in TimeStep step)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
step |
ImpossibleRobert.Common.Timing.TimeStep | |
MarkClean()
Section titled “MarkClean()”public void MarkClean()No description is available for this member.
GetDirtyRects(List)
Section titled “GetDirtyRects(List)”public void GetDirtyRects(List<RectInt> outRects)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
outRects |
System.Collections.Generic.List{UnityEngine.RectInt} | |
Release()
Section titled “Release()”public void Release()No description is available for this member.