GWEN.CreateTextureBorder
Example
Draws a bordered box in the top left corner of the screen using current skins texture.
Output: If using default skin, it will be a 100x100px transparent blue box in top left corner with solid blue borders.
This is a utility function that generates a specialized drawing function to render scalable textured borders. This is done with 9-slice scaling. This is used in derma skins to create a bordered rectangle drawing function from an image.
The texture is taken from SKIN.GwenTexture
when the material
argument is not supplied.
SKIN.GwenTexture
.Draws a bordered box in the top left corner of the screen using current skins texture.