Synced
ImGuiWidget.DragDropTarget
Section titled “ImGuiWidget.DragDropTarget”
- Accepts an unmanaged payload on the most recently submitted item.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.DragDropTarget<TPayload>(string payloadType, out TPayload payload) where TPayload : structType parameters
Section titled “Type parameters”Type parameter TPayload: Unmanaged payload type.
Parameters
Section titled “Parameters”Parameter payloadType: Stable ImGui payload type identifier.
Parameter payload: Delivered payload value.
Returns
Section titled “Returns”true only when a compatible payload is delivered.