struct

MDockSpace::FLiveTearOffHooks

Live tear-off: when Begin is bound and returns true, a drag that escalates out of its well detaches into a host-owned floating window immediately; Update/End then follow the same mouse capture. A host that leaves these unbound keeps the ghost-chip drag with tear-off deferred to release (OnTabDraggedOut). Cancel fires on capture loss mid-drag: drop previews clear and the floating window stays where it is instead of attempting a drop.

Module
Miri
Header
#include "Miri/Docking/MDockSpace.h"
Namespace
Miri

Properties

TypeNameDescription
std::function<bool(const CName&, const MiriVec2&)>Begin
std::function<void(const MiriVec2&)>Update
std::function<void(const MiriVec2&)>End
std::function<void()>Cancel
Generated from Miri/Docking/MDockSpace.h via miri.json · Dec 5, 2026Version 1.1.0