Table of Contents

Class ToggleLayerPropertyKeyframes<T>

Namespace
Artemis.UI.Shared.Services.ProfileEditor.Commands
Assembly
Artemis.UI.Shared.dll

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
object
ToggleLayerPropertyKeyframes<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

layerProperty LayerProperty<T>
enable bool
time TimeSpan

Properties

DisplayName

Gets the name of the command

public string DisplayName { get; }

Property Value

string

Methods

Execute()

Executes the command

public void Execute()

Undo()

Undoes the command

public void Undo()