surface.DrawTexturedRectUV

From GMod Wiki

Jump to: navigation, search
Function
Syntax surface.DrawTexturedRectUV( Number x, Number y, Number rectwidth, Number rectheight, Number texturewidth, Number textureheight )
Where is this used?
Description:
Draws a textured rect with a repeated or partial texture.
Returns: nil
Part of Library: surface
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Surface.DrawTexturedRectUV]Surface.DrawTexturedRectUV [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionDraws a rectangle with a textured center.
Used onNewerClient.png
Code
surface.DrawTexturedRectUV( 0, 0, 100, 100, 25, 25 )
OutputN/A


Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox