Skip to content

Workspace::Tools

Functions

Name
Memento *copyNodes(const std::vector< Ptr< GuiNode > > & nodes, float offset =0)
std::optional< Ptr< GuiNode > >findNodeById(const std::vector< Ptr< GuiNode > > & nodes, Core::ID id)
voidpasteNodes(const Memento & memento)
boolplug(Core::ID from, int fromIdx, Core::ID to, int toIdx)

Functions Documentation

function copyNodes

cpp
Memento * copyNodes(
    const std::vector< Ptr< GuiNode > > & nodes,
    float offset =0
)

function findNodeById

cpp
std::optional< Ptr< GuiNode > > findNodeById(
    const std::vector< Ptr< GuiNode > > & nodes,
    Core::ID id
)

function pasteNodes

cpp
void pasteNodes(
    const Memento & memento
)

function plug

cpp
bool plug(
    Core::ID from,
    int fromIdx,
    Core::ID to,
    int toIdx
)

Updated on 2026-09-11 at 21:24:25 +0000