Garry's Mod Wiki


This is returned from video.Record.


IVideoWriter:AddFrame( number frameTime, boolean downsample )
Adds the current framebuffer to the video stream.
Ends the video recording and dumps it to disk.
number IVideoWriter:Height()
Returns the height of the video stream.
IVideoWriter:SetRecordSound( boolean record )
Sets whether to record sound or not.
number IVideoWriter:Width()
Returns the width of the video stream.