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.
ScriptCanvas::EditableVariableData Class Reference

#include <VariableData.h>

Public Member Functions

 AZ_TYPE_INFO (EditableVariableData, "{D335AEC5-D118-443D-B85C-FEB17C0B26D6}")
 
 AZ_CLASS_ALLOCATOR (EditableVariableData, AZ::SystemAllocator)
 
AZStd::list< EditableVariableConfiguration > & GetVariables ()
 
const AZStd::list< EditableVariableConfiguration > & GetVariables () const
 
AZ::Outcome< void, AZStd::string > AddVariable (AZStd::string_view varName, const GraphVariable &varDatum)
 
EditableVariableConfigurationFindVariable (AZStd::string_view variableName)
 
EditableVariableConfigurationFindVariable (VariableId variableId)
 
const EditableVariableConfigurationFindVariable (AZStd::string_view variableName) const
 
const EditableVariableConfigurationFindVariable (VariableId variableId) const
 
void Clear ()
 
size_t RemoveVariable (AZStd::string_view variableName)
 
bool RemoveVariable (const VariableId &variableId)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Variable Data structure which uses the VariableNameValuePair struct to provide editor specific UI visualization for the variables within a graph. It stores uses vector instead of a map to maintain the order for that the variable values were added


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