Garry's Mod Wiki

Revision Difference

Structures/TextureData#517046

<cat>struct</cat> <structure> <description>Used for <page>draw.TexturedQuad</page>.</description> <fields>{{StructureField|number|texture|surface.GetTextureID number of the texture to be drawn.</fields>⤶ <fields>⤶ <item name="texture" type="number">surface.GetTextureID number of the texture to be drawn.</item>⤶ <item name="x" type="number">The x Coordinate.</item>⤶ <item name="y" type="number">The y Coordinate.</item>⤶ <item name="w" type="number">The width of the texture.</item>⤶ <item name="h" type="number">The height of the texture.</item>⤶ {{StructureField|table|color|The texture color. See <page>Color</page>.|color_white⤶ </fields>⤶ </structure> ⤶ {{StructureField|number|x|The x Coordinate.}}{{StructureField|number|y|The y Coordinate.}}{{StructureField|number|w|The width of the texture.}}{{StructureField|number|h|The height of the texture.}}{{StructureField|table|color|The texture color. See <page>Color</page>.|color_white}}⤶ ⤶ ⤶ }}