Artemis Artemis
Artemis Artemis

Search Results for

    Class LayerPropertyKeyframe<T>

    Represents a keyframe on a LayerProperty<T> containing a value and a timestamp

    Inheritance
    object
    CorePropertyChanged
    LayerPropertyKeyframe<T>
    Implements
    ILayerPropertyKeyframe
    Namespace: Artemis.Core
    Assembly: Artemis.Core.dll
    Syntax
    public class LayerPropertyKeyframe<T> : CorePropertyChanged, ILayerPropertyKeyframe
    Type Parameters
    Name Description
    T

    Constructors

    LayerPropertyKeyframe(T, TimeSpan, Functions, LayerProperty<T>)

    Creates a new instance of the LayerPropertyKeyframe<T> class

    Declaration
    public LayerPropertyKeyframe(T value, TimeSpan position, Easings.Functions easingFunction, LayerProperty<T> layerProperty)
    Parameters
    Type Name Description
    T value

    The value of the keyframe

    TimeSpan position

    The position of this keyframe in the timeline

    Easings.Functions easingFunction

    The easing function applied on the value of the keyframe

    LayerProperty<T> layerProperty

    The layer property this keyframe is applied to

    Properties

    EasingFunction

    Gets or sets the easing function applied on the value of the keyframe

    Declaration
    public Easings.Functions EasingFunction { get; set; }
    Property Value
    Type Description
    Easings.Functions

    LayerProperty

    The layer property this keyframe is applied to

    Declaration
    public LayerProperty<T> LayerProperty { get; }
    Property Value
    Type Description
    LayerProperty<T>

    Position

    Gets or sets the position of this keyframe in the timeline

    Declaration
    public TimeSpan Position { get; set; }
    Property Value
    Type Description
    TimeSpan

    UntypedLayerProperty

    Gets an untyped reference to the layer property of this keyframe

    Declaration
    public ILayerProperty UntypedLayerProperty { get; }
    Property Value
    Type Description
    ILayerProperty

    Value

    The value of this keyframe

    Declaration
    public T Value { get; set; }
    Property Value
    Type Description
    T

    Methods

    CreateCopy()

    Creates a copy of this keyframe.

    Note: The copied keyframe is not added to the layer property.

    Declaration
    public ILayerPropertyKeyframe CreateCopy()
    Returns
    Type Description
    ILayerPropertyKeyframe

    The resulting copy

    GetKeyframeEntity()

    Gets the entity this keyframe uses for persistent storage

    Declaration
    public KeyframeEntity GetKeyframeEntity()
    Returns
    Type Description
    KeyframeEntity

    Remove()

    Removes the keyframe from the layer property

    Declaration
    public void Remove()

    Implements

    ILayerPropertyKeyframe
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.