Open 3D Engine ScriptCanvas 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.
ScriptCanvasEditor::GraphItemCommand Class Reference

Inherits AzToolsFramework::UndoSystem::URSequencePoint.

Inherited by ScriptCanvasEditor::GraphItemChangeCommand.

Public Member Functions

 AZ_RTTI (GraphItemCommand, "{94B50FAC-ACAF-4B9B-BA3C-9F3EE36854BA}", AzToolsFramework::UndoSystem::URSequencePoint)
 
 AZ_CLASS_ALLOCATOR (GraphItemCommand, AZ::SystemAllocator)
 
 GraphItemCommand (AZStd::string_view friendlyName)
 
void Undo () override
 
void Redo () override
 
virtual void Capture (EditorGraph *graph, bool captureUndo)
 
bool Changed () const override
 

Protected Member Functions

 GraphItemCommand (const GraphItemCommand &)=delete
 
const GraphItemCommandoperator= (const GraphItemCommand &)=delete
 
virtual void RestoreItem (const AZStd::vector< AZ::u8 > &restoreBuffer)
 

Protected Attributes

AZ::EntityId m_graphCanvasGraphId
 
AZ::EntityId m_scriptCanvasEntityId
 The id of the ScriptCanvas Entity with the Script Canvas Graph and Graph Canvas Scene.
 
ScriptCanvas::ScriptCanvasId m_scriptCanvasId
 
AZStd::vector< AZ::u8 > m_undoState
 
AZStd::vector< AZ::u8 > m_redoState
 

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