Class ToggleLayerPropertyKeyframes<T>
Represents a profile editor command that can be used to enable or disable keyframes on a layer property.
public class ToggleLayerPropertyKeyframes<T> : IProfileEditorCommand
Type Parameters
T
- Inheritance
-
objectToggleLayerPropertyKeyframes<T>
- Implements
Constructors
ToggleLayerPropertyKeyframes(LayerProperty<T>, bool, TimeSpan)
Creates a new instance of the ToggleLayerPropertyKeyframes<T> class.
public ToggleLayerPropertyKeyframes(LayerProperty<T> layerProperty, bool enable, TimeSpan time)
Parameters
layerPropertyLayerProperty<T>enablebooltimeTimeSpan
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()