Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Publishes managed drag data for the most recently submitted ImGui item.

API: engine
Project: Inno.Editor.ImGui

public static bool Inno.Editor.ImGui.EditorDragDropRenderer.Source(Inno.Editor.Interactions.EditorInteraction interaction, Inno.Editor.Interactions.EditorDragData data, System.Action? drawPreview = null)

Parameter interaction: The interaction area and target that produced the drag source.

Parameter data: The managed drag data published by the source.

Parameter drawPreview: An optional callback that draws the native drag preview.

true while the item is an active drag source.