Garry's Mod Wiki

Revision Difference

Structures/RenderCaptureData#517077

<cat>struct</cat> <structure> <description>Used for <page>render.Capture</page>.</description> <fields> <item name="format" type="string">Format of the capture. Valid formats are: jpeg, png</item> <item name="x" type="number">X coordinate of the capture origin</item> <item name="y" type="number">Y coordinate of the capture origin</item> <item name="w" type="number">Width of the capture</item> <item name="h" type="number">Height of the capture</item> <item name="quality" type="number">The quality of the capture. Affects jpeg only.</item> {{StructureField|boolean|alpha|Set to false to capture an image with alpha channel set to fully opaque. Affects png only.|true <item name="alpha" type="boolean" default="true">Set to false to capture an image with alpha channel set to fully opaque. Affects png only.</item> </fields> </structure> }}