Garry's Mod Wiki

Revision Difference

mesh.QuadEasy#561903

<function name="QuadEasy" parent="mesh" type="libraryfunc"> <description>Draws a quad using a position, a normal and the size.</description>⤶ <description>Adds a quad (4 vertices) to the currently built mesh, by using position, normal and sizes. See <page>mesh.Begin</page>.⤶ See also <page>mesh.Quad</page>.</description>⤶ <realm>Client</realm> <args> <arg name="position" type="Vector">The center of the quad.</arg> <arg name="normal" type="Vector">The normal of the quad.</arg> <arg name="sizeX" type="number">X size in pixels.</arg> <arg name="sizeY" type="number">Y size in pixels.</arg> <arg name="color" type="table">The color for the vertices.</arg>⤶ </args> </function>