JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
hmi::AnimationDescription Struct Reference

Description d'animation d'un asset : disposition de sa spritesheet et ses clips. More...

#include <AnimationCatalog.h>

Public Attributes

int frameWidth = 0
 Largeur d'une image, en pixels.
int frameHeight = 0
 Hauteur d'une image, en pixels.
core::ClipSet clips
 Clips décrits par le fichier, adressables par nom (core::ClipSet, LOT-46 TACHE-01).

Detailed Description

Description d'animation d'un asset : disposition de sa spritesheet et ses clips.

Donnée pure (EX-NFR-010) : la spritesheet est supposée horizontale (les images se suivent de gauche à droite, un seul rang) — voir AnimationCatalog::frameRegion.

Member Data Documentation

◆ clips

core::ClipSet hmi::AnimationDescription::clips

Clips décrits par le fichier, adressables par nom (core::ClipSet, LOT-46 TACHE-01).

◆ frameHeight

int hmi::AnimationDescription::frameHeight = 0

Hauteur d'une image, en pixels.

◆ frameWidth

int hmi::AnimationDescription::frameWidth = 0

Largeur d'une image, en pixels.


The documentation for this struct was generated from the following file:
  • /home/runner/work/JustAnotherDnDGame/JustAnotherDnDGame/Source/HMI/Graphics/AnimationCatalog.h