AtlasPart

A part in the texture atlas

Members

Functions

apply
void apply()

Applies the UVs to the part in question

draw
void draw()

Draws the part

size
vec2i size()

Returns the size of the part in pixels

uuid
uint uuid()

UUID of atlas part

Variables

mesh
MeshData mesh;

This part's mesh

packedIn
Atlas* packedIn;

The atlas this part is packed in

part
Part part;

The Inochi2D part this atlas part is attached to

texture
Texture texture;

The texture of the part

Meta