Sprite.textureRectOffset

public Vector2 textureRectOffset;

Description

Gets the offset of the rectangle this Sprite uses on its Texture to the original Sprite bounds. If Sprite mesh type is FullRect, offset is zero.


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