cf_sprite_set_opacity¶
Category: sprite
GitHub: cute_sprite.h
Sets the sprite's opacity, a value from 0-1.
void cf_sprite_set_opacity(CF_Sprite* sprite, float opacity) { CF_ASSERT(sprite); sprite->opacity = opacity; }
Category: sprite
GitHub: cute_sprite.h
Sets the sprite's opacity, a value from 0-1.
void cf_sprite_set_opacity(CF_Sprite* sprite, float opacity) { CF_ASSERT(sprite); sprite->opacity = opacity; }