Inherits AZ::EBusTraits.
|
virtual bool | AddNode (const AZ::EntityId &)=0 |
| Add a ScriptCanvas Node to the Graph.
|
|
virtual bool | RemoveNode (const AZ::EntityId &nodeId)=0 |
| Remove a ScriptCanvas Node to the Graph.
|
|
virtual bool | AddConnection (const AZ::EntityId &)=0 |
| Add a ScriptCanvas Connection to the Graph.
|
|
virtual bool | RemoveConnection (const AZ::EntityId &nodeId)=0 |
| Remove a ScriptCanvas Connection from the Graph.
|
|
virtual bool | AddDependentAsset (AZ::EntityId nodeId, const AZ::TypeId assetType, const AZ::Data::AssetId assetId)=0 |
| Add an asset dependency to the Graph.
|
|
virtual bool | RemoveDependentAsset (AZ::EntityId nodeId)=0 |
| Remove an asset dependency from the Graph.
|
|
virtual AZStd::vector< AZ::EntityId > | GetNodes () const =0 |
|
virtual AZStd::vector< AZ::EntityId > | GetConnections () const =0 |
|
virtual AZStd::vector< Endpoint > | GetConnectedEndpoints (const Endpoint &firstEndpoint) const =0 |
|
virtual bool | FindConnection (AZ::Entity *&connectionEntity, const Endpoint &firstEndpoint, const Endpoint &otherEndpoint) const =0 |
|
virtual Slot * | FindSlot (const Endpoint &endpoint) const =0 |
|
virtual AZ::Entity * | GetGraphEntity () const =0 |
|
virtual Graph * | GetGraph ()=0 |
| Retrieves the Graph Component directly using the BusId.
|
|
virtual bool | Connect (const AZ::EntityId &sourceNodeId, const SlotId &sourceSlot, const AZ::EntityId &targetNodeId, const SlotId &targetSlot)=0 |
|
virtual bool | Disconnect (const AZ::EntityId &sourceNodeId, const SlotId &sourceSlot, const AZ::EntityId &targetNodeId, const SlotId &targetSlot)=0 |
|
virtual bool | ConnectByEndpoint (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint)=0 |
|
virtual AZ::Outcome< void, AZStd::string > | CanCreateConnectionBetween (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint) const =0 |
|
virtual AZ::Outcome< void, AZStd::string > | CanConnectionExistBetween (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint) const =0 |
|
virtual bool | DisconnectByEndpoint (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint)=0 |
|
virtual bool | DisconnectById (const AZ::EntityId &connectionId)=0 |
|
virtual AZStd::unordered_set< AZ::Entity * > | CopyItems (const AZStd::unordered_set< AZ::Entity * > &entities)=0 |
| Copies any Node and Connection Entities that belong to the graph to a GraphSerializableField.
|
|
virtual void | AddItems (const AZStd::unordered_set< AZ::Entity * > &entities)=0 |
| Adds any Node and Connection Entities to the graph.
|
|
virtual void | RemoveItems (const AZStd::unordered_set< AZ::Entity * > &entities)=0 |
| Removes any Node and Connection Entities that belong to the graph.
|
|
virtual AZStd::unordered_set< AZ::Entity * > | GetItems () const =0 |
| Retrieves any entities that can be be added to graphs.
|
|
virtual bool | AddItem (AZ::Entity *itemEntity)=0 |
| Add item to graph if the item is of the type that can be added to the graph.
|
|
virtual bool | RemoveItem (AZ::Entity *itemEntity)=0 |
| Remove item if it is on the graph.
|
|
virtual GraphData * | GetGraphData ()=0 |
| Retrieves a pointer the GraphData structure stored on the graph.
|
|
virtual const GraphData * | GetGraphDataConst () const =0 |
|
virtual bool | AddGraphData (const GraphData &)=0 |
|
virtual void | RemoveGraphData (const GraphData &)=0 |
|
virtual bool | IsBatchAddingGraphData () const =0 |
|
virtual void | SetIsGraphObserved (bool observed)=0 |
|
virtual bool | IsGraphObserved () const =0 |
|
virtual VariableId | FindAssetVariableIdByRuntimeVariableId (VariableId runtimeId) const =0 |
|
virtual AZ::EntityId | FindAssetNodeIdByRuntimeNodeId (AZ::EntityId editorNode) const =0 |
|
virtual AZ::Data::AssetId | GetAssetId () const =0 |
|
virtual GraphIdentifier | GetGraphIdentifier () const =0 |
|
virtual AZStd::string | GetAssetName () const =0 |
|
virtual Node * | FindNode (AZ::EntityId nodeId) const =0 |
| Looks up the nodeId within the bus handler.
|
|
virtual AZ::EntityId | FindRuntimeNodeIdByAssetNodeId (AZ::EntityId runtimeNode) const =0 |
|
virtual AZ::EntityId | GetRuntimeEntityId () const =0 |
| Returns the entity id of the execution component.
|
|
virtual AZStd::pair< EndpointMapConstIterator, EndpointMapConstIterator > | GetConnectedEndpointIterators (const Endpoint &endpoint) const =0 |
|
virtual bool | IsEndpointConnected (const Endpoint &endpoint) const =0 |
| Returns whether the given endpoint has any connections.
|
|
virtual VariableData * | GetVariableData ()=0 |
| Retrieves VariableData structure which manages variable data for the execution component.
|
|
virtual const VariableData * | GetVariableDataConst () const =0 |
|
virtual const GraphVariableMapping * | GetVariables () const =0 |
| Retrieves a map of variable id to variable name and variable datums pair.
|
|
virtual GraphVariable * | FindVariable (AZStd::string_view varName)=0 |
|
virtual GraphVariable * | FindVariableById (const VariableId &variableId)=0 |
|
virtual void | RefreshVariableReferences (const VariableId &variableId)=0 |
|
These are public graph requests.