public KeyframeAddAction(Layer l, Frameset f, uint targ, IEntityState start, IEntityState end, float interpolation) { LayerIndex = Program.ActiveProject.Layers.IndexOf(l); FramesetIndex = l.Framesets.IndexOf(f); Time = targ; State = start.Interpolate(end, interpolation); }
public LayerRemoveAction(Layer layer) { RemovedLayer = layer; RemovedLayerIndex = Program.ActiveProject.Layers.IndexOf(layer); }
public LayerMoveUpAction(Layer layer) { TargetLayerIndex = Program.ActiveProject.Layers.IndexOf(layer); PrevIndex = Program.ActiveProject.Layers.IndexOf(layer); }
public KeyframeRemoveAction(Layer layer, Frameset frameset, Keyframe frame) { LayerIndex = Program.ActiveProject.Layers.IndexOf(layer); FramesetIndex = layer.Framesets.IndexOf(frameset); RemovedKeyframe = frame; RemovedKeyframeIndex = frameset.Keyframes.IndexOf(RemovedKeyframe); }
public KeyframeMoveAction(Layer layer, Frameset frameset, Keyframe frame, uint time) { LayerIndex = Program.ActiveProject.Layers.IndexOf(layer); FramesetIndex = layer.Framesets.IndexOf(frameset); KeyframeIndex = frameset.Keyframes.IndexOf(frame); TargetKeyframe = frame; OriginalTime = time; NewTime = frame.Time; }
public KeyframeChangeInterpModeAction(Layer l, Frameset f, Keyframe frame, EntityInterpolationMode target) { LayerIndex = Program.ActiveProject.Layers.IndexOf(l); FramesetIndex = l.Framesets.IndexOf(f); KeyframeIndex = f.Keyframes.IndexOf(frame); TargetMode = target; }
public FramesetAddAction(Layer l) { LayerIndex = Program.ActiveProject.Layers.IndexOf(l); PrevSelectedIndex = Program.MainTimeline.selectedTime; }
public FramesetRemoveAction(Layer l, Frameset f) { LayerIndex = Program.ActiveProject.Layers.IndexOf(l); FramesetIndex = l.Framesets.IndexOf(f); RemovedFrameset = f; }
public FramesetMoveAction(Layer l, Frameset f, int startLocation, int endLocation) { LayerIndex = Program.ActiveProject.Layers.IndexOf(l); FramesetIndex = l.Framesets.IndexOf(f); startMoveLocation = startLocation; endMoveLocation = endLocation; }