public Setup ( float w, float h, Vector2 lowerleftPixel, Vector2 pixeldimensions ) : void | ||
w | float | The width, in local space, of the sprite. |
h | float | The height, in local space, of the sprite. |
lowerleftPixel | Vector2 | The coordinate of the lower-left pixel of the desired sprite on the sprite atlas. |
pixeldimensions | Vector2 | The X and Y dimensions, in pixels, of the sprite. |
return | void |