Open 3D Engine GraphModel Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphModelIntegration::ModuleNodePaletteItem Class Reference

#include <ModuleNodePaletteItem.h>

Inherits GraphCanvas::DraggableNodePaletteTreeItem.

Public Member Functions

 AZ_CLASS_ALLOCATOR (ModuleNodePaletteItem, AZ::SystemAllocator)
 
 ModuleNodePaletteItem (GraphCanvas::EditorId editorId, AZ::Uuid sourceFileId, AZStd::string_view sourceFilePath)
 
GraphCanvas::GraphCanvasMimeEvent * CreateMimeEvent () const override
 

Protected Attributes

AZStd::string m_sourceFileName
 
AZ::Uuid m_sourceFileId
 

Detailed Description

Provides the interface for instantiating ModuleNodes through the Node Palette. The ModuleNode is based on a module node graph file that defines the inputs, outputs, and behavior of the node.

Constructor & Destructor Documentation

◆ ModuleNodePaletteItem()

GraphModelIntegration::ModuleNodePaletteItem::ModuleNodePaletteItem ( GraphCanvas::EditorId  editorId,
AZ::Uuid  sourceFileId,
AZStd::string_view  sourceFilePath 
)
inline

Constructor

Parameters
editorIdUnique name of the client system editor (ex: AZ_CRC("ShaderCanvas", 0x0a1dff96))
sourceFileIdThe unique id for the module node graph source file.
sourceFilePathThe path to the module node graph source file. This will be used for node naming and debug output.

The documentation for this class was generated from the following file: