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

#include <CreateElementsActions.h>

Inherits ScriptCanvas::Developer::CompoundAction, and GraphCanvas::SceneNotificationBus::Handler.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CreateNodeFromContextMenuAction, AZ::SystemAllocator)
 
 AZ_RTTI (CreateNodeFromContextMenuAction, "{0318F9D3-6433-400F-9E29-41B57A8ADB32}", CompoundAction)
 
 CreateNodeFromContextMenuAction (GraphCanvas::GraphId graphId, QString nodeName, QPointF scenePoint)
 
 CreateNodeFromContextMenuAction (GraphCanvas::GraphId graphId, QString nodeName, AZ::EntityId connectionId)
 
bool IsMissingPrecondition () override
 
EditorAutomationActionGenerateMissingPreconditionAction () override
 
void SetupAction () override
 
void OnNodeAdded (const AZ::EntityId &nodeId, bool isPaste) override
 
AZ::EntityId GetCreatedNodeId () const
 
ActionReport GenerateReport () const override
 
- Public Member Functions inherited from ScriptCanvas::Developer::CompoundAction
 AZ_CLASS_ALLOCATOR (CompoundAction, AZ::SystemAllocator)
 
 AZ_RTTI (CompoundAction, "{3F9A5736-111C-4D49-A3D5-BA3484D74F4D}", EditorAutomationAction)
 
void SetupAction () override
 
bool Tick () override
 
void AddAction (EditorAutomationAction *action)
 
ActionReport GenerateReport () const override
 
- Public Member Functions inherited from ScriptCanvas::Developer::EditorAutomationAction
 AZ_CLASS_ALLOCATOR (EditorAutomationAction, AZ::SystemAllocator)
 
bool IsAtPreconditionLimit () const
 
virtual bool IsMissingPrecondition ()
 
void ResetPreconditionAttempts ()
 
EditorAutomationActionGenerationPreconditionActions ()
 
void SignalActionBegin ()
 
virtual bool Tick ()=0
 
virtual ActionReport GenerateReport () const
 

Protected Member Functions

void OnActionsComplete () override
 
- Protected Member Functions inherited from ScriptCanvas::Developer::CompoundAction
void ClearActionQueue ()
 
virtual void OnActionsComplete ()
 
virtual EditorAutomationActionGenerateMissingPreconditionAction ()
 
virtual void SetupAction ()
 

Detailed Description

EditorAutomationAction that will create the specified node at the specified point using the context menu. Can specify a ConnectionId instead of a scene point to use the context menu to splice a node onto the given connection as well

Member Function Documentation

◆ GenerateMissingPreconditionAction()

EditorAutomationAction * ScriptCanvas::Developer::CreateNodeFromContextMenuAction::GenerateMissingPreconditionAction ( )
overridevirtual

◆ GenerateReport()

ActionReport ScriptCanvas::Developer::CreateNodeFromContextMenuAction::GenerateReport ( ) const
overridevirtual

◆ IsMissingPrecondition()

bool ScriptCanvas::Developer::CreateNodeFromContextMenuAction::IsMissingPrecondition ( )
overridevirtual

◆ OnActionsComplete()

void ScriptCanvas::Developer::CreateNodeFromContextMenuAction::OnActionsComplete ( )
overrideprotectedvirtual

◆ SetupAction()

void ScriptCanvas::Developer::CreateNodeFromContextMenuAction::SetupAction ( )
overridevirtual

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