Garry's Mod Wiki

Revision Difference

Structures/TextureData#516840

<cat>struct</cat> {{Structure⤶ |Description=Used for <page>draw.TexturedQuad</page>.|Fields={{StructureField|number|texture|surface.GetTextureID number of the texture to be drawn.}}{{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}}⤶ <structure>⤶ <description>Used for <page>draw.TexturedQuad</page>.</description>⤶ <fields>{{StructureField|number|texture|surface.GetTextureID number of the texture to be drawn.</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}}⤶ }}