Sprite.textureRect

public Rect textureRect;

Description

Get the rectangle this Sprite uses on its Texture. Raises an exception if this Sprite is tightly packed in an atlas.


Did you find this page useful? Please give it a rating: