SHA256
Add Segmented Control UI for Output Mode Option
This commit is contained in:
6 files changed
+684
-72
No files matched your search
@@ -11,6 +11,11 @@ namespace ADOFAIRenderer.Data;
|
||||
[SuppressMessage("ReSharper", "RedundantDefaultMemberInitializer")]
|
||||
public class RenderConfig
|
||||
{
|
||||
public enum RenderOutputMode
|
||||
{
|
||||
Video, PNGSequence
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Game frames simulated per second of render time (the game clock advances 1 / RenderFPS seconds per frame).
|
||||
/// Values above <see cref="VideoFPS"/> render extra frames between video frames, which are not captured
|
||||
@@ -43,6 +48,9 @@ public class RenderConfig
|
||||
|
||||
/// <summary>Whether the judgement texts (hit accuracy texts) are shown during the render (scrHitTextManagerPatch). Default false.</summary>
|
||||
public bool ShowJudgementText { get; set; } = false;
|
||||
|
||||
/// <summary>Determines whether to export the rendered output as an encoded video or a PNG image sequence.</summary>
|
||||
public RenderOutputMode OutputMode { get; set; } = RenderOutputMode.Video;
|
||||
|
||||
/// <summary>
|
||||
/// Copies every value of <paramref name="source"/> into this object; the nested configs are copied value by value
|
||||
@@ -57,6 +65,7 @@ public class RenderConfig
|
||||
RenderHeight = source.RenderHeight;
|
||||
DelayAfterEnd = source.DelayAfterEnd;
|
||||
ShowJudgementText = source.ShowJudgementText;
|
||||
OutputMode = source.OutputMode;
|
||||
|
||||
VideoConfig.CopyFrom(source.VideoConfig);
|
||||
AudioConfig.CopyFrom(source.AudioConfig);
|
||||
|
||||
Reference in new issue
Block a user