Interface IAnimationConfiguration
Allows to configure various aspects of the animation.
Inherited Members
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IAnimationConfiguration : INotifyPropertyChanged
Properties
| Improve this Doc View SourceDelayBetweenFrames
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. |
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. |
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. |