#include <CreateElementsActions.h>
Inherits ScriptCanvas::Developer::CompoundAction, and GraphCanvas::SceneNotificationBus::Handler.
|
| 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 |
|
EditorAutomationAction * | GenerateMissingPreconditionAction () override |
|
void | SetupAction () override |
|
void | OnNodeAdded (const AZ::EntityId &nodeId, bool isPaste) override |
|
AZ::EntityId | GetCreatedNodeId () const |
|
ActionReport | GenerateReport () const override |
|
| 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 |
|
| AZ_CLASS_ALLOCATOR (EditorAutomationAction, AZ::SystemAllocator) |
|
bool | IsAtPreconditionLimit () const |
|
virtual bool | IsMissingPrecondition () |
|
void | ResetPreconditionAttempts () |
|
EditorAutomationAction * | GenerationPreconditionActions () |
|
void | SignalActionBegin () |
|
virtual bool | Tick ()=0 |
|
virtual ActionReport | GenerateReport () const |
|
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
◆ 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:
- Gems/ScriptCanvasDeveloper/Code/Editor/Include/ScriptCanvasDeveloperEditor/EditorAutomation/EditorAutomationActions/ScriptCanvasActions/CreateElementsActions.h