GE Lua Documentation

Press F to search!

BeginDragDropTarget

Definition


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

Callers

@/lua/ge/extensions/editor/dynamicDecals/widgets.lua
  end
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("DynDecalTextureDrapDrop")
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
function M.EndDragDropSource() imgui.EndDragDropSource() end
function M.BeginDragDropTarget() return imgui.BeginDragDropTarget() end
function M.AcceptDragDropPayload(string_type, ImGuiDragDropFlags_flags)
function M.EndDragDropSource() imgui.EndDragDropSource() end
function M.BeginDragDropTarget() return imgui.BeginDragDropTarget() end
function M.AcceptDragDropPayload(string_type, ImGuiDragDropFlags_flags)
@/lua/ge/extensions/editor/materialEditor.lua
local function dragDropTarget(property, layer)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("ASSETDRAGDROP")
local function dragDropTargetCubemapFace(index)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("ASSETDRAGDROP")
@/lua/ge/extensions/flowgraph/manager.lua
function C:dragDropTarget(payloadType)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload(payloadType)
@/lua/ge/extensions/editor/api/assets.lua
local function dragDropTarget(dragDropId)
  if imgui.BeginDragDropTarget() then
    local payload = imgui.AcceptDragDropPayload(dragDropId)
@/lua/ge/extensions/editor/forestEditor.lua

  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("ASSETDRAGDROP")
@/lua/ge/extensions/editor/terrainEditor.lua
local function dragDropTarget(mtlProxy, map, cbData)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload(dragDropId)
@/lua/ge/extensions/editor/dynamicDecals/inspector/utils.lua
  im.Image(img.texId, im.ImVec2(imgWidth, imgHeight), im.ImVec2(0,0), im.ImVec2(1,1), nil, editor.color.beamng.Value)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("DynDecalTextureDrapDrop")
@/lua/ge/extensions/editor/dynamicDecals/layerStack.lua
    im.EndChild()
    if im.BeginDragDropTarget() then
      local payload = im.AcceptDragDropPayload(layerDragDropType)
  if layerLevel < maxLayerDepth then
    if im.BeginDragDropTarget() then
      local payload = im.AcceptDragDropPayload(layerDragDropType)
        im.EndChild()
        if im.BeginDragDropTarget() then
          local payload = im.AcceptDragDropPayload(layerDragDropType)
      im.EndChild()
      if im.BeginDragDropTarget() then
        local payload = im.AcceptDragDropPayload(layerDragDropType)
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
  im.Image(img.texId, im.ImVec2(imgWidth, imgHeight), im.ImVec2(0,0), im.ImVec2(1,1), nil, editor.color.beamng.Value)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("DynDecalTextureDrapDrop")
@/lua/ge/extensions/editor/gen/ui.lua
!!
					if im.BeginDragDropTarget() then
						local payload = im.AcceptDragDropPayload('DynDecalLayerDragDrop')
@/lua/ge/extensions/trackbuilder/trackBuilder.lua
local function dragDropTarget(map)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("TrackBuilderMaterialPayload")
local function dragDropTargetTextureSet()
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("TrackBuilderTextureSetPayload")
local function dragDropTargetGlowMap(map)
  if im.BeginDragDropTarget() then
    local payload = im.AcceptDragDropPayload("TrackBuilderGlowMapPayload")