#include <definitions.hpp>
An animation frame. It determines the source rectangle of the sprite, the origin of the rendered sprite and the modulate color of the rendered sprite.
Example usage:
static const Color BLUE
Definition definitions.hpp:62
Definition definitions.hpp:294
Definition definitions.hpp:77
◆ Frame() [1/2]
◆ Frame() [2/2]
◆ load()
template<class Archive >
| void Frame::load |
( |
Archive & |
ar | ) |
|
|
inline |
◆ save()
template<class Archive >
| void Frame::save |
( |
Archive & |
ar | ) |
const |
|
inline |
◆ modulate
◆ origin
| Vector2 Frame::origin = {0.5f, 0.5f} |
◆ rect
The documentation for this struct was generated from the following file: