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::GraphData Struct Reference

Structure for maintaining GraphData. More...

#include <GraphData.h>

Public Types

using NodeContainer = AZStd::unordered_set< AZ::Entity * >
 
using ConnectionContainer = AZStd::vector< AZ::Entity * >
 
using DependentScriptEvent = AZStd::vector< AZStd::pair< AZ::EntityId, ScriptEvents::ScriptEventsAssetPtr > >
 
using DependentAssets = AZStd::unordered_map< AZ::Data::AssetId, AZStd::pair< AZ::EntityId, AZ::Data::AssetType > >
 

Public Member Functions

 AZ_TYPE_INFO (GraphData, "{ADCB5EB5-8D3F-42ED-8F65-EAB58A82C381}")
 
 AZ_CLASS_ALLOCATOR (GraphData, AZ::SystemAllocator)
 
 GraphData (const GraphData &)=default
 
GraphDataoperator= (const GraphData &)=default
 
 GraphData (GraphData &&)
 
GraphDataoperator= (GraphData &&)
 
void BuildEndpointMap ()
 
void Clear (bool deleteData=false)
 
void LoadDependentAssets ()
 
void OnDeserialized ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static bool VersionConverter (AZ::SerializeContext &context, AZ::SerializeContext::DataElementNode &classElement)
 

Public Attributes

NodeContainer m_nodes
 
ConnectionContainer m_connections
 
DependentScriptEvent m_scriptEventAssets
 
DependentAssets m_dependentAssets
 
AZStd::unordered_multimap< Endpoint, Endpointm_endpointMap
 Endpoint map built at edit time based on active connections.
 

Detailed Description

Structure for maintaining GraphData.


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