Garry's Mod Wiki

Revision Difference

Structures/RenderCaptureData#552720

<cat>struct</cat>⤶ <structure> <realm>Client</realm> <description>Used for <page>render.Capture</page>.</description> <fields> <item name="format" type="string">Format of the capture. Valid formats are: * `jpeg` or `jpg` * `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> <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>