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::VariableDockWidget Class Reference

Inherits AzQtComponents::StyledDockWidget, GraphCanvas::AssetEditorNotificationBus::Handler, AzToolsFramework::EditorEvents::Bus::Handler, and VariableAutomationRequestBus::Handler.

Public Slots

void OnCreateVariable (ScriptCanvas::Data::Type varType)
 
void OnCreateNamedVariable (const AZStd::string &variableName, ScriptCanvas::Data::Type varType)
 
void OnSelectionChanged (const AZStd::unordered_set< ScriptCanvas::VariableId > &variableIds)
 
void OnDuplicateVariable (const ScriptCanvas::VariableId &variableId)
 
void OnDeleteVariables (const AZStd::unordered_set< ScriptCanvas::VariableId > &variableIds)
 
void OnHighlightVariables (const AZStd::unordered_set< ScriptCanvas::VariableId > &variableIds)
 
void OnRemoveUnusedVariables ()
 
void OnConfigureVariable (const ScriptCanvas::VariableId &variableId, QPoint position)
 

Signals

void OnVariableSelectionChanged (const AZStd::vector< AZ::EntityId > &variableIds)
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (VariableDockWidget, AZ::SystemAllocator)
 
 VariableDockWidget (QWidget *parent=nullptr)
 
void PopulateVariablePalette (const AZStd::unordered_set< AZ::Uuid > &objectTypes)
 
void OnActiveGraphChanged (const GraphCanvas::GraphId &graphCanvasGraphId) override
 
AZStd::vector< ScriptCanvas::Data::TypeGetPrimitiveTypes () const override
 
AZStd::vector< ScriptCanvas::Data::TypeGetBehaviorContextObjectTypes () const override
 
AZStd::vector< ScriptCanvas::Data::TypeGetMapTypes () const override
 
AZStd::vector< ScriptCanvas::Data::TypeGetArrayTypes () const override
 
bool IsShowingVariablePalette () const override
 
bool IsShowingGraphVariables () const override
 
QPushButton * GetCreateVariableButton () const override
 
QTableView * GetGraphPaletteTableView () const override
 
QTableView * GetVariablePaletteTableView () const override
 
QLineEdit * GetVariablePaletteFilter () const override
 
QLineEdit * GetGraphVariablesFilter () const override
 
void OnEscape () override
 
void focusOutEvent (QFocusEvent *focusEvent) override
 
const ScriptCanvas::ScriptCanvasId & GetActiveScriptCanvasId () const
 
bool IsValidVariableType (const ScriptCanvas::Data::Type &dataType) const
 

Static Public Member Functions

static AZStd::string ConstructDefaultVariableName (AZ::u32 variableCounter)
 
static AZStd::string FindDefaultVariableName (const ScriptCanvas::ScriptCanvasId &scriptCanvasGraphId)
 

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