增加导出速度设置
This commit is contained in:
@@ -64,6 +64,7 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
{
|
||||
BackgroundColor = new(_backgroundColor.R, _backgroundColor.G, _backgroundColor.B, _backgroundColor.A),
|
||||
Fps = _fps,
|
||||
Speed = _speed,
|
||||
KeepLast = _keepLast,
|
||||
Format = _format,
|
||||
Codec = _codec,
|
||||
|
||||
@@ -54,6 +54,7 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
{
|
||||
BackgroundColor = new(_backgroundColor.R, _backgroundColor.G, _backgroundColor.B, _backgroundColor.A),
|
||||
Fps = _fps,
|
||||
Speed = _speed,
|
||||
KeepLast = _keepLast,
|
||||
Format = _format,
|
||||
Loop = _loop,
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
{
|
||||
BackgroundColor = new(_backgroundColor.R, _backgroundColor.G, _backgroundColor.B, _backgroundColor.A),
|
||||
Fps = _fps,
|
||||
Speed = _speed,
|
||||
KeepLast = _keepLast
|
||||
};
|
||||
|
||||
|
||||
@@ -16,6 +16,9 @@ namespace SpineViewer.ViewModels.Exporters
|
||||
public uint Fps { get => _fps; set => SetProperty(ref _fps, Math.Max(1, value)); }
|
||||
protected uint _fps = 30;
|
||||
|
||||
public float Speed { get => _speed; set => SetProperty(ref _speed, Math.Clamp(value, 0.001f, 1000f)); }
|
||||
protected float _speed = 1f;
|
||||
|
||||
public bool KeepLast { get => _keepLast; set => SetProperty(ref _keepLast, value); }
|
||||
protected bool _keepLast = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user