GE Lua Documentation

Press F to search!

setGroundCoverScale

Definition


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

Callers

@/ui/modules/photomode/photomode.js
      $scope.$watch('photo.settings.GroundCoverScale', function(value) {
        bngApi.engineScript('setGroundCoverScale(' + value + ');')
      })
@/lua/ge/extensions/util/maptiles.lua
  TorqueScriptLua.setVar("$pref::Terrain::lodScale", 0.00001)
  setGroundCoverScale(8)
  flushGroundCoverGrids()
  TorqueScriptLua.setVar("$pref::Terrain::lodScale", originalSettings.lodScale)
  setGroundCoverScale(originalSettings.groundCoverScale)
@/lua/ge/screenshot.lua
    TorqueScriptLua.setVar("$pref::Terrain::lodScale", 0.001) -- 0.75; -- lower is better
    setGroundCoverScale(8) -- 1 -- bigger is better
    flushGroundCoverGrids()
      TorqueScriptLua.setVar("$pref::Terrain::lodScale", M.sc_lodScaleSaved)
      setGroundCoverScale(M.sc_GroundCoverScaleSaved)