Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
AnimationClipData Struct Reference

Data structure for defining an animation clip. More...

#include <animation.h>

Public Attributes

char * name
 Name of the animation clip.
 
int startFrameIndex
 Starting frame index in the spritesheet.
 
int endFrameIndex
 Ending frame index in the spritesheet.
 
float frameDuration
 Duration of each frame in seconds.
 
bool looping
 Whether the animation should loop.
 

Detailed Description

Data structure for defining an animation clip.

Member Data Documentation

◆ endFrameIndex

int AnimationClipData::endFrameIndex

Ending frame index in the spritesheet.

◆ frameDuration

float AnimationClipData::frameDuration

Duration of each frame in seconds.

◆ looping

bool AnimationClipData::looping

Whether the animation should loop.

◆ name

char* AnimationClipData::name

Name of the animation clip.

◆ startFrameIndex

int AnimationClipData::startFrameIndex

Starting frame index in the spritesheet.


The documentation for this struct was generated from the following file: