mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Conditions - Refactor layer properties WIP (needed for consistency..)
This commit is contained in:
1 parent
145da2edac
commit
f3898b5500
38 files changed
+809
-1099
No files matched your search
@@ -3,19 +3,18 @@ using Artemis.Core.Utilities;
|
||||
|
||||
namespace Artemis.Core.Models.Profile.LayerProperties
|
||||
{
|
||||
public class LayerPropertyKeyFrame<T>
|
||||
public class LayerPropertyKeyframe<T>
|
||||
{
|
||||
private TimeSpan _position;
|
||||
|
||||
public LayerPropertyKeyFrame(LayerProperty<T> layerProperty, T value, TimeSpan position, Easings.Functions easingFunction)
|
||||
public LayerPropertyKeyframe(T value, TimeSpan position, Easings.Functions easingFunction)
|
||||
{
|
||||
_position = position;
|
||||
Value = value;
|
||||
LayerProperty = layerProperty;
|
||||
EasingFunction = easingFunction;
|
||||
}
|
||||
|
||||
public LayerProperty<T> LayerProperty { get; set; }
|
||||
public GenericLayerProperty<T> LayerProperty { get; internal set; }
|
||||
public T Value { get; set; }
|
||||
|
||||
public TimeSpan Position
|
||||
|
||||
Reference in new issue
Block a user