Synced
EditorDragDropRenderer.Source
Section titled “EditorDragDropRenderer.Source”
- Publishes managed drag data for the most recently submitted ImGui item.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public static bool Inno.Editor.ImGui.EditorDragDropRenderer.Source(Inno.Editor.Interactions.EditorInteraction interaction, Inno.Editor.Interactions.EditorDragData data, System.Action? drawPreview = null)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”true while the item is an active drag source.