ComponentTypeID GetComponentTypeID_Static()
Singleton clipboard for node-graph copy / paste operations.
void PasteNodes(NodeGraph *graph, int graphID, float mousePosX, float mousePosY, bool snapToGrid=false, float snapGridSize=16.0f)
Read the system clipboard, deserialise nodes and create them in the active graph under the current mo...
static NodeGraphClipboard & Get()
Returns the singleton instance.
NodeGraphClipboard()=default
void CopySelectedNodes(NodeGraph *graph, int graphID)
Serialise currently selected nodes to JSON and write to the system clipboard.
static const char * k_ClipPrefix
Prefix that marks Olympe node-graph clipboard payloads.
< Provides AssetID and INVALID_ASSET_ID