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

Inherits AZ::EBusTraits.

Public Types

enum class  ExtensionRequestReason { }
 
using BusIdType = GraphId
 

Public Member Functions

virtual void RequestUndoPoint ()=0
 Callback for requesting an Undo Point to be posted.
 
virtual void RequestPushPreventUndoStateUpdate ()=0
 Callback for requesting the incrementation of the value of the ignore undo point tracker.
 
virtual void RequestPopPreventUndoStateUpdate ()=0
 Callback for requesting the decrementation of the value of the ignore undo point tracker.
 
virtual void TriggerUndo ()=0
 Request to trigger an undo.
 
virtual void TriggerRedo ()=0
 Request to trigger a redo.
 
virtual void EnableNodes (const AZStd::unordered_set< NodeId > &)
 
virtual void DisableNodes (const AZStd::unordered_set< NodeId > &)
 
virtual NodePropertyDisplayCreateDataSlotPropertyDisplay ([[maybe_unused]] const AZ::Uuid &dataType, [[maybe_unused]] const NodeId &nodeId, [[maybe_unused]] const SlotId &slotId) const
 Request to create a NodePropertyDisplay class for a particular DataSlot.
 
virtual NodePropertyDisplayCreateDataSlotVariablePropertyDisplay ([[maybe_unused]] const AZ::Uuid &dataType, [[maybe_unused]] const NodeId &nodeId, [[maybe_unused]] const SlotId &slotId) const
 
virtual NodePropertyDisplayCreatePropertySlotPropertyDisplay ([[maybe_unused]] const AZ::Crc32 &propertyId, [[maybe_unused]] const NodeId &nodeId, [[maybe_unused]] const SlotId &slotId) const
 
virtual void DisconnectConnection (const ConnectionId &connectionId)=0
 This is sent when a connection is disconnected.
 
virtual bool CreateConnection (const ConnectionId &connectionId, const Endpoint &sourcePoint, const Endpoint &targetPoint)=0
 This is sent when attempting to create a given connection.
 
virtual bool IsValidConnection (const Endpoint &sourcePoint, const Endpoint &targetPoint) const =0
 This is sent to confirm whether or not a connection can take place.
 
virtual ConnectionValidationTooltip GetConnectionValidityTooltip (const Endpoint &sourcePoint, const Endpoint &targetPoint) const
 This will return the structure needed to display why a connection could not be created between the specified endpoints.
 
virtual AZStd::string GetDataTypeString (const AZ::Uuid &typeId)=0
 Get the Display Type name for the given AZ type.
 
virtual void OnSaveDataDirtied (const AZ::EntityId &savedElement)=0
 
virtual void OnRemoveUnusedNodes ()=0
 
virtual void OnRemoveUnusedElements ()=0
 
virtual bool AllowReset ([[maybe_unused]] const Endpoint &endpoint) const
 
virtual void ResetSlotToDefaultValue (const Endpoint &endpoint)=0
 
virtual void ResetReference ([[maybe_unused]] const Endpoint &endpoint)
 
virtual void ResetProperty ([[maybe_unused]] const NodeId &nodeId, [[maybe_unused]] const AZ::Crc32 &propertyId)
 
virtual void RemoveSlot ([[maybe_unused]] const Endpoint &endpoint)
 
virtual bool IsSlotRemovable ([[maybe_unused]] const Endpoint &endpoint) const
 
virtual bool ConvertSlotToReference ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] bool isNewSlot)
 
virtual bool CanConvertSlotToReference ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] bool isNewSlot)
 
virtual CanHandleMimeEventOutcome CanHandleReferenceMimeEvent ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] const QMimeData *mimeData)
 
virtual bool HandleReferenceMimeEvent ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] const QMimeData *mimeData)
 
virtual bool CanPromoteToVariable ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] bool isNewSlot=false) const
 
virtual bool PromoteToVariableAction ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] bool isNewSlot)
 
virtual bool SynchronizeReferences ([[maybe_unused]] const Endpoint &sourceEndpoint, [[maybe_unused]] const Endpoint &targetEndpoint)
 
virtual bool ConvertSlotToValue ([[maybe_unused]] const Endpoint &endpoint)
 
virtual bool CanConvertSlotToValue ([[maybe_unused]] const Endpoint &endpoint)
 
virtual bool CanConvertSlotAndConnect ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] const Endpoint &synchronizeEndpoint)
 
virtual CanHandleMimeEventOutcome CanHandleValueMimeEvent ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] const QMimeData *mimeData)
 
virtual bool HandleValueMimeEvent ([[maybe_unused]] const Endpoint &endpoint, [[maybe_unused]] const QMimeData *mimeData)
 
virtual SlotId RequestExtension ([[maybe_unused]] const NodeId &nodeId, [[maybe_unused]] const ExtenderId &extenderId, ExtensionRequestReason)
 
virtual void ExtensionCancelled ([[maybe_unused]] const NodeId &nodeId, [[maybe_unused]] const ExtenderId &extenderId)
 
virtual void FinalizeExtension ([[maybe_unused]] const NodeId &nodeId, [[maybe_unused]] const ExtenderId &extenderId)
 
virtual bool ShouldWrapperAcceptDrop ([[maybe_unused]] const NodeId &wrapperNode, [[maybe_unused]] const QMimeData *mimeData) const
 
virtual void AddWrapperDropTarget ([[maybe_unused]] const NodeId &wrapperNode)
 
virtual void RemoveWrapperDropTarget (const NodeId &wrapperNode)
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById
 
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 

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