Garry's Mod Wiki

RenderCaptureData

Description

Used for render.Capture.

Parameters

format [string]

Format of the capture. Valid formats are:

  • jpeg or jpg
  • png

x [number]

X coordinate of the capture origin

y [number]

Y coordinate of the capture origin

w [number]

Width of the capture

h [number]

Height of the capture

quality [number]

The quality of the capture. Affects jpeg only.

alpha [boolean]

Set to false to capture an image with alpha channel set to fully opaque. Affects png only.

Default: true

Page Links


Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 4
Generate Html 7
SaveChanges (1) 10
Render Body 0
Render Sidebar 15