spriteBake

abstract QuadEmitter spriteBake(int spriteIndex, Sprite sprite, int bakeFlags)

Assigns sprite atlas u,v coordinates to this quad for the given sprite.Can handle UV locking, rotation, interpolation, etc. Control this behaviorby passing additive combinations of the BAKE_ flags defined in this interface.Behavior for {@code spriteIndex > 0} is currently undefined.

Sources

jvm source
Link copied to clipboard