Garry's Mod Wiki

Revision Difference

Structures/RenderCaptureData#516792

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