srcSize property

Vector2 srcSize
final

The size of each rectangle within the image that define each sprite.

For example, if this sprite sheet is a tile map, this would be the tile size. If it's an animation sheet, this would be the frame size.

Implementation

final Vector2 srcSize;