Skip to content

VideoSource

ClassLEDStudioLEDStudio
public sealed class VideoSource : ILedSource

Source 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.

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 VideoSource(VideoPlayer player)

No description is available for this member.

Parameters

Name Type Description
player UnityEngine.Video.VideoPlayer

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.