surface.DrawTexturedRectRotated

From Garry's Mod
Revision as of 17:50, 26 February 2013 by Facepunch bot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 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