Garry's Mod Wiki

RenderCaptureData

Description

Used for render.Capture.

Parameters

string format
Format of the capture. Valid formats are:

  • jpeg or jpg
  • png
number x
X coordinate of the capture origin
number y
Y coordinate of the capture origin
number w
Width of the capture
number h
Height of the capture
number quality
The quality of the capture. Affects jpeg only.
boolean alpha
Set to false to capture an image with alpha channel set to fully opaque. Affects png only.

Default: true