GE Lua Documentation

Press F to search!

getDecalInstanceVecSize

Definition


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

Callers

@/lua/ge/extensions/editor/decalEditor.lua
  grid = {}
  local N = editor.getDecalInstanceVecSize()
  for i = 0, N - 1 do
    local instancesData = {}
    for index=0, editor.getDecalInstanceVecSize() - 1 do
      local inst = editor.getDecalInstance(index)

  for index=0, editor.getDecalInstanceVecSize()-1 do
    local inst = editor.getDecalInstance(index)
  -- Ensure grid up-to-date if decal count changed or flagged dirty
  local N = editor.getDecalInstanceVecSize()
  if gridDirty or N ~= lastDecalCount then
      -- Update the decal instances
      for index=0, editor.getDecalInstanceVecSize() - 1 do
        local inst = editor.getDecalInstance(index)
@/lua/ge/extensions/editor/api/decal.lua
local function deleteDecalTemplate(template)
  for index=0, editor.getDecalInstanceVecSize() - 1 do
    local inst = editor.getDecalInstance(index)

local function getDecalInstanceVecSize()
  return Engine.Render.DecalMgr.getDecalInstanceVecSize()
local function getDecalInstanceVecSize()
  return Engine.Render.DecalMgr.getDecalInstanceVecSize()
end
@/lua/ge/extensions/c2/panelPlugins/tileManager.lua
  if editor and editor.getDecalInstanceVecSize then
    local count = editor.getDecalInstanceVecSize()
    for i = 0, count - 1 do