Spritesheet:image
Returns the love.Image containing the texture data for this spritesheet.
Usage
spritesheet:image()
Returns
| Name | Type | Description |
|---|---|---|
image | love.Image | Image containing the texture data for this spritesheet. |
Examples
local spritesheet = crystal.assets.get("assets/sprites/hero.json");
print(spritesheet:image():getDimensions());