GE Lua Documentation

Press F to search!

onEnabled

Definition


-- @/lua/ge/client/postFx/fxaa.lua:13
fxaa_PostEffectCallbacks.onEnabled = function()
  -- log('I', 'fxaaPostEffect', 'onEnabled called for fxaaPostEffect')
  local smaa_postfx = scenetree.findObject("SMAA_PostEffect")
  if smaa_postfx then
     smaa_postfx:disable()
  end
  return true
end

Callers