Open 3D Engine GraphCanvas 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.
GraphCanvas::GraphSerialization Class Reference

#include <GraphCanvasGraphSerialization.h>

Public Member Functions

 AZ_TYPE_INFO (GraphSerialization, "{DB95F1F9-BEEA-499F-A6AD-1492435768F8}")
 
 AZ_CLASS_ALLOCATOR (GraphSerialization, AZ::SystemAllocator)
 
 GraphSerialization (AZStd::string serializationKey)
 
 GraphSerialization (const QByteArray &dataArray)
 
 GraphSerialization (GraphSerialization &&other)
 
GraphSerializationoperator= (GraphSerialization &&other)
 
void Clear ()
 
const AZStd::string & GetSerializationKey () const
 
void SetAveragePosition (const AZ::Vector2 &averagePosition)
 
const AZ::Vector2 & GetAveragePosition () const
 
GraphDataGetGraphData ()
 
const GraphDataGetGraphData () const
 
const AZStd::unordered_multimap< Endpoint, Endpoint > & GetConnectedEndpoints () const
 
void SetConnectedEndpoints (const AZStd::unordered_multimap< Endpoint, Endpoint > &connectionIds)
 
AZStd::unordered_map< AZStd::string, AZStd::any > & GetUserDataMapRef ()
 
const AZStd::unordered_map< AZStd::string, AZStd::any > & GetUserDataMapRef () const
 
AZ::EntityId FindRemappedEntityId (const AZ::EntityId &originalId) const
 
void RegenerateIds ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Class for storing Entities that will be serialized to the Clipboard This class will delete the stored entities in the destructor therefore any entities that should not be owned by this class should be removed before destruction


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