GE Lua Documentation

Press F to search!

getClosestDecal

Definition


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

Callers

@/lua/ge/extensions/editor/gen/region.lua
--    local ndecal = editor.getDecalTemplates():size()
--        lo('?? ndec:'..tostring(out.inconform)) --tostring(Engine.Render.DecalMgr.getSet())) --..tostring(Engine.Render.DecalMgr.getClosestDecal(vec3(0,0,0)))) --..tostring(editor.getDecalInstance(1)))
@/lua/ge/extensions/editor/api/decal.lua

local function getClosestDecal(pos)
  return Engine.Render.DecalMgr.getClosestDecal(pos)
local function getClosestDecal(pos)
  return Engine.Render.DecalMgr.getClosestDecal(pos)
end