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

Provides a common interface for instantiating InputGraphNode and OutputGraphNode through the Node Palette. More...

#include <InputOutputNodePaletteItem.h>

Inherits GraphCanvas::DraggableNodePaletteTreeItem.

Public Member Functions

 AZ_CLASS_ALLOCATOR (InputOutputNodePaletteItem, AZ::SystemAllocator)
 
 InputOutputNodePaletteItem (AZStd::string_view nodeName, GraphCanvas::EditorId editorId, GraphModel::DataTypePtr dataType)
 
GraphCanvas::GraphCanvasMimeEvent * CreateMimeEvent () const override
 

Protected Attributes

GraphModel::DataTypePtr m_dataType
 

Detailed Description

template<typename NodeType>
class GraphModelIntegration::InputOutputNodePaletteItem< NodeType >

Provides a common interface for instantiating InputGraphNode and OutputGraphNode through the Node Palette.

Constructor & Destructor Documentation

◆ InputOutputNodePaletteItem()

template<typename NodeType >
GraphModelIntegration::InputOutputNodePaletteItem< NodeType >::InputOutputNodePaletteItem ( AZStd::string_view  nodeName,
GraphCanvas::EditorId  editorId,
GraphModel::DataTypePtr  dataType 
)
inline

Constructor

Parameters
nodeNameName of the node that will show up in the Palette
editorIdUnique name of the client system editor (ex: AZ_CRC("ShaderCanvas", 0x0a1dff96))
dataTypeThe type of data that the InputGraphNode or OutputGraphNode will represent

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