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
)
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
)
std::optional< Ptr< GuiNode > > findNodeById(
    const std::vector< Ptr< GuiNode > > & nodes,
    Core::ID id
)

function pasteNodes

cpp
void pasteNodes(
    const Memento & memento
)
void pasteNodes(
    const Memento & memento
)

function plug

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

Updated on 2025-05-31 at 12:55:31 +0000