mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-02 06:28:48 +00:00
Rework keyframe tracks
This commit is contained in:
1 parent
ad6cc38ed4
commit
a3c36e27b3
14 files changed
+234
-43
No files matched your search
@@ -10,6 +10,7 @@ import com.moulberry.flashback.keyframe.impl.TimelapseKeyframe;
|
||||
import com.moulberry.flashback.keyframe.interpolation.InterpolationType;
|
||||
import com.moulberry.flashback.keyframe.interpolation.SidedInterpolationType;
|
||||
import com.moulberry.flashback.keyframe.types.TimelapseKeyframeType;
|
||||
import imgui.type.ImString;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
@@ -19,6 +20,11 @@ public class KeyframeTrack {
|
||||
public final KeyframeType<?> keyframeType;
|
||||
public TreeMap<Integer, Keyframe> keyframesByTick = new TreeMap<>();
|
||||
public boolean enabled = true;
|
||||
public String customName = null;
|
||||
|
||||
public transient ImString nameEditField = null;
|
||||
public transient boolean forceFocusTrack = false;
|
||||
public transient float animatedOffsetInUi = 0.0f;
|
||||
|
||||
public KeyframeTrack(KeyframeType<?> keyframeType) {
|
||||
this.keyframeType = keyframeType;
|
||||
|
||||
Reference in new issue
Block a user