GWEN.CreateTextureCentered
Example
Draws a box in the top left corner of the screen using current skins texture.
Output: If using default skin, it will be 32x32 transparent blue box centered inside the 100x100 box.
Used in derma skins to create a rectangle drawing function from an image. The rectangle will not be scaled, but instead it will be drawn in the center of the box.
The texture is taken from SKIN.GwenTexture
when the material
is not supplied.
SKIN.GwenTexture
.Draws a box in the top left corner of the screen using current skins texture.