Open 3D Engine ScriptCanvasDeveloper 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.
ScriptCanvas::Developer::CreateNodeFromPaletteState Class Reference

#include <CreateElementsStates.h>

Inherits ScriptCanvas::Developer::NamedAutomationState.

Public Types

enum class  CreationType { ScenePosition , Splice }
 

Public Member Functions

 CreateNodeFromPaletteState (GraphCanvas::NodePaletteWidget *paletteWidget, const QString &nodeName, CreationType creationType, AutomationStateModelId creationDataId, AutomationStateModelId outputId="")
 
- Public Member Functions inherited from ScriptCanvas::Developer::NamedAutomationState
 AZ_TYPE_INFO (NamedAutomationState, "{62DD037C-D80F-4B1B-9F3E-9F05400ABA24}")
 
 NamedAutomationState (const char *name)
 
 NamedAutomationState (const AZStd::string &stateName)
 
int GetStateId () const override
 
- Public Member Functions inherited from ScriptCanvas::Developer::EditorAutomationState
 AZ_TYPE_INFO (EditorAutomationState, "{B18A0531-E3C2-4209-8A9E-1B0195C28443}")
 
 AZ_CLASS_ALLOCATOR (EditorAutomationState, AZ::SystemAllocator)
 
void SetStateModel (StateModel *stateModel)
 
template<typename T >
void SetModelData (StateModel::DataKey dataKey, const T &modelData)
 
template<typename T >
const T * GetModelData (StateModel::DataKey dataKey)
 
StateModelGetStateModel () const
 
void SetupStateActions (EditorAutomationActionRunner &actionRunner)
 
void StateActionsComplete ()
 
bool HasErrors () const
 
void ReportError (AZStd::string error)
 
const AZStd::string & GetError () const
 

Protected Member Functions

void OnSetupStateActions (EditorAutomationActionRunner &actionRunner) override
 
void OnStateActionsComplete () override
 
- Protected Member Functions inherited from ScriptCanvas::Developer::NamedAutomationState
void SetStateName (const AZStd::string &stateName)
 
const char * GetStateName () const override
 

Additional Inherited Members

- Static Public Attributes inherited from ScriptCanvas::Developer::EditorAutomationState
static constexpr int EXIT_STATE_ID = (-1)
 

Detailed Description

EditorAutomationState that will create the specified node from the NodePalette either at the specified point, or via splicing


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