Crunch.Image

Represents a source image that got packed.

Members

Variables

frameHeight
ushort frameHeight;

Actual size how big texture would be with transparency.

frameWidth
ushort frameWidth;

Actual size how big texture would be with transparency.

frameX
short frameX;

Offset where texture would be with additional transparency. Can be negative.

frameY
short frameY;

Offset where texture would be with additional transparency. Can be negative.

height
ushort height;

Rectangle in the texture where to find this image.

name
string name;

Original name of the source image without extension.

rotated
bool rotated;

True if rotated by 90 degrees (clockwise).

width
ushort width;

Rectangle in the texture where to find this image.

x
ushort x;

Rectangle in the texture where to find this image.

y
ushort y;

Rectangle in the texture where to find this image.

Meta