GE Lua Documentation

Press F to search!

createScreenshot

Definition


-- @/=[C]:-1
function createScreenshot(...)

Callers

@/lua/ge/screenshot.lua

  createScreenshot(finalPath, format, 1, 1, 0, false, upload, getMetadataJson())
end
  -- log('I','screenshot', "Taking screenshot "..fullFilename.." Format = "..screenshotFormat.." superSampling = "..tostring(superSampling).." tiles = "..tostring(tiles).." overlap = "..tostring(overlap).." downsample = "..tostring(downsample))
  createScreenshot(fullFilename, screenshotFormat, superSampling, tiles, overlap, downsample)
end
@/lua/ge/extensions/trackbuilder/trackBuilder.lua
    if not screenshotTaken and hiddenForScreenshotTimer < 0.5 then
      createScreenshot("trackEditor/"..ffi.string(saveSettings.saveStr))
      screenshotTaken = true