ImageSource
public sealed class ImageSource : ILedSourceSource adapter for static image/logo textures. Loads once, caches the reduced variant, and only marks dirty when the source texture reference changes.
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.
Constructors
Section titled “Constructors”
ImageSource(Texture2D)
Section titled “ImageSource(Texture2D)”public ImageSource(Texture2D texture)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
texture |
UnityEngine.Texture2D |
Methods
Section titled “Methods”
SetTexture(Texture2D)
Section titled “SetTexture(Texture2D)”public void SetTexture(Texture2D texture)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
texture |
UnityEngine.Texture2D | |
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.