EventPreviewSpec struct
How an event is drawn, as the object it spawns looks with its parameters.
Public variables
- const char* Metadata
- Path of the metadata, a string that lives as long as the program,
nullptrto draw the event as a box. -
std::
uint32_t Animation - Animation of the metadata (see AnimState).
- bool FlipX
- Whether the sprite is flipped horizontally.
- bool FlipY
- Whether the sprite is flipped vertically.
-
std::
uint8_t QuarterTurns - How many quarter turns clockwise the sprite is drawn rotated by, around its hotspot.
- Vector2f Offset
- Where the hotspot of the sprite is, in pixels from the center of the tile of the event.