Open 3D Engine GraphModel Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <GraphModelBus.h>
Inherits AZ::EBusTraits.
Public Member Functions | |
virtual AZ::Entity * | CreateScene (GraphModel::GraphPtr graph, const GraphCanvas::EditorId editorId)=0 |
Create a scene and a corresponding graph controller. | |
virtual void | RemoveScene (const GraphCanvas::GraphId &sceneId)=0 |
Remove the graph controller for the scene. | |
virtual void | CreateGraphController (const GraphCanvas::GraphId &sceneId, GraphModel::GraphPtr graph)=0 |
Create a new Graph Controller for the given scene. | |
virtual void | DeleteGraphController (const GraphCanvas::GraphId &sceneId)=0 |
Delete the Graph Controller for the given scene. | |
virtual GraphModel::GraphPtr | GetGraph (const GraphCanvas::GraphId &sceneId)=0 |
Retrieve a reference to the Graph object for the specified Graph Controller (if it exists) | |
virtual const GraphModelSerialization & | GetSerializedMappings ()=0 |
virtual void | SetSerializedMappings (const GraphModelSerialization &serialization)=0 |
Static Public Attributes | |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
GraphManagerRequests Create/delete for handling our Graph Controllers
|
pure virtual |
Get/set our serialized mappings of the GraphCanvas nodes/slots that correspond to GraphModel nodes/slots