VideoSource
public sealed class VideoSource : ILedSourceSource adapter that routes an existing UnityEngine.Video.VideoPlayer
through a board-resolution RenderTexture for the LED pipeline.
Marks dirty as soon as the player prepares or advances frames.
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”
VideoSource(VideoPlayer)
Section titled “VideoSource(VideoPlayer)”public VideoSource(VideoPlayer player)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
player |
UnityEngine.Video.VideoPlayer |
Methods
Section titled “Methods”
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.