render.DrawQuadEasy
render.DrawQuadEasy( Vector position, Vector normal, number width, number height, table color, number rotation = 0 )
Description
Draws a quad. Expects material to be set by render.SetMaterial.
This is a rendering function that requires a 3d rendering context.
This means that it will only work in 3d Rendering Hooks.
Arguments
6 number rotation = 0
The rotation of the quad counter-clockwise in degrees around the normal axis. In other words, the quad will always face the same way but this will rotate its corners.
Example
Example usage of this function.
Garry's Mod
Rust
Steamworks
Wiki Help