GE Lua Documentation

Press F to search!

fullDisplay

Definition


-- @/lua/common/extensions/ui/flowgraph/editor.lua:273

local function fullDisplay(value, tpe)
  if value == nil then
    im.Text("nil")
    return
  end
  if tpe == 'color' then
    local clr = im.ImVec4(value[1], value[2], value[3], value[4])
    editor.uiIconImageButton(editor.icons.stop, im.ImVec2(20, 20), clr, nil, clr)
    im.SameLine()
  end
  im.Text(M.fullValueString(value, tpe))
end

Callers

@/lua/ge/extensions/flowgraph/link.lua
  im.TextUnformatted(dumps(self.sourcePin.type))
  ui_flowgraph_editor.fullDisplay(self.sourcePin._value, self.sourcePin.hardCodeType and self.sourcePin.hardCodeType or self.sourcePin.type)
  --im.TextUnformatted(dumps(self.sourcePin._frameLastUsed))