- Documentation
- Client functions
- loadRecording
Function
loadRecording
Loads a recording from a resource AVI (MJPEG) file.
Syntax
element loadRecording(string filePath)Arguments
filePathstring- The file path.
Returns
The recording or false.
Example
local rec = loadRecording("powtorki/ostatnia.avi")
See also
saveRecordingSaves a recording to an AVI file in the resource (overwrites an existing one, likefileCreate).createRecordingPlayerCreates a recording player that is a texture: you draw it like any texture, also in the world withdxDrawMaterialLine3D. The recording can be deleted afterwards; the player keeps its own frames.