Version: 2022.2
语言: 中文

Sprite.textureRect

切换到手册
public Rect textureRect ;

描述

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