surface/DrawTexturedRectRotated

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Facepunch bot (Talk | contribs)
(Created page with "{{Func |Name=DrawTexturedRectRotated |Parent=surface |Description=Draw a textured rotated rectangle with the given position and dimensions and angle on the screen, using th...")
Newer edit →

Revision as of 17:50, 26 February 2013

 surface.DrawTexturedRectRotated( )

Contents

Description

Draw a textured rotated rectangle with the given position and dimensions and angle on the screen, using the current active texture.

Arguments

number x

The X co-ordinate, representing the center of the cube.

Arguments

number y

The Y co-ordinate, representing the center of the cube.

Arguments

number width

The width of the rectangle.

Arguments

number height

The height of the rectangle.

Arguments

number rotation

The rotation of the rectangle, in degrees.
Personal tools
Navigation