This event fires, when the next frame of the sprite is rendered into the SpritePanel.
The event handler receives an argument of type SpriteFrameEventArgs containing data related to this event. The following SpriteFrameEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Frame | Gets the current Frame when the event occured. |
FrameNumber | Gets the Frame Number when the event occured. |
LastFrame | Indicates if it was the last Frame when the event occured. |
You can add this event to the sprite, by double clicking the event in the Event Pane of the property tab in the designer.
Sprite Class | AnimationStudio Namespace