Version: 2019.4
public GlyphRect (int x, int y, int width, int height);
public GlyphRect (Rect rect);

パラメーター

xThe x position of the glyph in the atlas texture.
yThe y position of the glyph in the atlas texture.
widthThe width of the glyph.
heightThe height of the glyph.
rectThe Rect used to construct the new GlyphRect.

説明

Constructor for a new GlyphRect.


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