Gems/GraphModel/Code/Source/Integration/NodePalette/GraphCanvasNodePaletteItems.cpp
void AddCommonNodePaletteUtilities(GraphCanvas::GraphCanvasTreeItem* rootItem, const GraphCanvas::EditorId& editorId)
    {
        GraphCanvas::IconDecoratedNodePaletteTreeItem* utilitiesCategory = rootItem->CreateChildNode<GraphCanvas::IconDecoratedNodePaletteTreeItem>("Utilities", editorId);
        utilitiesCategory->SetTitlePalette("UtilityNodeTitlePalette");
        utilitiesCategory->CreateChildNode<CommentNodePaletteTreeItem>("Comment", editorId);
        utilitiesCategory->CreateChildNode<NodeGroupNodePaletteTreeItem>("Node Group", editorId);
    }
/// Add common utilities to a specific Node Palette tree.
Add common utilities to a specific Node Palette tree.
Add common utilities to a specific Node Palette tree .
void AddCommonNodePaletteUtilities(GraphCanvas::GraphCanvasTreeItem* rootItem, const GraphCanvas::EditorId& editorId)
    {
        GraphCanvas::IconDecoratedNodePaletteTreeItem* utilitiesCategory = rootItem->CreateChildNode<GraphCanvas::IconDecoratedNodePaletteTreeItem>("Utilities", editorId);
        utilitiesCategory->SetTitlePalette("UtilityNodeTitlePalette");
        utilitiesCategory->CreateChildNode<CommentNodePaletteTreeItem>("Comment", editorId);
        utilitiesCategory->CreateChildNode<NodeGroupNodePaletteTreeItem>("Node Group", editorId);
    }
void AddCommonNodePaletteUtilities ( GraphCanvas :: GraphCanvasTreeItem * rootItem , const GraphCanvas :: EditorId & editorId ) { GraphCanvas :: IconDecoratedNodePaletteTreeItem * utilitiesCategory = rootItem -> CreateChildNode < GraphCanvas :: IconDecoratedNodePaletteTreeItem > ( " " , editorId ) ; utilitiesCategory -> SetTitlePalette ( " " ) ; utilitiesCategory -> CreateChildNode < CommentNodePaletteTreeItem > ( " " , editorId ) ; utilitiesCategory -> CreateChildNode < NodeGroupNodePaletteTreeItem > ( " " , editorId ) ; }
Add common utilities to a specific Node Palette tree.
Add common utilities to a specific Node Palette tree .