bakeSprite

static void bakeSprite(MutableQuadView quad, int spriteIndex, Sprite sprite, int bakeFlags)

Bakes textures in the provided vertex data, handling UV locking,rotation, interpolation, etc. Textures must not be already baked.

Sources

jvm source
Link copied to clipboard