Show / Hide Table of Contents

    Interface IAnimationConfiguration

    Allows to configure various aspects of the animation.

    Inherited Members
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface IAnimationConfiguration : INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    DelayBetweenFrames

    Gets or sets the delay between each frame. The delay is measured in frames, so if we're running at the expected 60 FPS, a delay of 5 (the default) means each second 12 frames of animation will be shown. Note that each frame can be configured with an additional delay. That delay will be added for this overall delay for that specific frame, so a frame's delay is relative, while this delay can be used as an overall speed for the entire animation.

    Declaration
    int DelayBetweenFrames { get; set; }
    Property Value
    Type Description
    System.Int32

    The delay between frames.

    | Improve this Doc View Source

    Looping

    Allows to configure how the animation cycles (does it run forwards, backwards, does it zig zag?)

    Declaration
    LoopingStyle Looping { get; set; }
    Property Value
    Type Description
    LoopingStyle

    The looping.

    | Improve this Doc View Source

    Loops

    Allows to configure the number of loops the animation will run before completing. 0 for an endless animation.

    Declaration
    int Loops { get; set; }
    Property Value
    Type Description
    System.Int32

    The number of loops.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX