Started implementing logic behind the timeline UI

This commit is contained in:
SpoinkyNL committed 2020-01-05 22:10:37 +01:00
1 parent e67b44b741
commit 8f438abe49
31 files changed
+501 -408

No files matched your search

@@ -0,0 +1,13 @@
using System;
namespace Artemis.Core.Models.Profile
{
public class Keyframe
{
public Layer Layer { get; set; }
public LayerProperty Property { get; set; }
public TimeSpan Position { get; set; }
public object Value { get; set; }
}
}
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
namespace Artemis.Core.Models.Profile
{
public class LayerProperty
{
internal LayerProperty(Layer layer, LayerProperty parent)
{
Layer = layer;
Parent = parent;
Children = new List<LayerProperty>();
}
public Layer Layer { get; }
public LayerProperty Parent { get; }
public List<LayerProperty> Children { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public Type Type { get; set; }
public object BaseValue { get; set; }
public List<Keyframe> Keyframes { get; set; }
}
}