Skip to content

cf_sprite_get_slice

Category: sprite
GitHub: cute_sprite.h


Searches for and returns a particular slice. A zero'd out CF_Aabb is returned if no match was found.

CF_Aabb cf_sprite_get_slice(CF_Sprite* sprite, const char* name)

Remarks

Only fetches for slices within the current frame of the current animation.