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::AssetEditorRequests Class Referenceabstract

Inherits AZ::EBusTraits.

Public Types

using BusIdType = EditorId
 

Public Member Functions

virtual void OnSelectionManipulationBegin ()
 
virtual void OnSelectionManipulationEnd ()
 
virtual GraphId CreateNewGraph ()=0
 Request to create a new Graph. Returns the GraphId that represents the newly created Graph.
 
virtual bool ContainsGraph (const GraphId &graphId) const =0
 Returns whether or not this Asset Editor has an opened graph with the specified GraphId.
 
virtual bool CloseGraph (const GraphId &graphId)=0
 Close a specified graph. Returns if the graph was closed.
 
virtual void CustomizeConnectionEntity (AZ::Entity *connectionEntity)
 
virtual void ShowAssetPresetsMenu (ConstructType constructType)
 
virtual ContextMenuAction::SceneReaction ShowSceneContextMenu (const QPoint &screenPoint, const QPointF &scenePoint)
 
virtual ContextMenuAction::SceneReaction ShowSceneContextMenuWithGroup (const QPoint &screenPoint, const QPointF &scenePoint, AZ::EntityId groupTarget)
 
virtual ContextMenuAction::SceneReaction ShowNodeContextMenu (const AZ::EntityId &nodeId, const QPoint &screenPoint, const QPointF &scenePoint)=0
 
virtual ContextMenuAction::SceneReaction ShowCommentContextMenu (const AZ::EntityId &nodeId, const QPoint &screenPoint, const QPointF &scenePoint)=0
 
virtual ContextMenuAction::SceneReaction ShowNodeGroupContextMenu (const AZ::EntityId &groupId, const QPoint &screenPoint, const QPointF &scenePoint)=0
 
virtual ContextMenuAction::SceneReaction ShowCollapsedNodeGroupContextMenu (const AZ::EntityId &nodeId, const QPoint &screenPoint, const QPointF &scenePoint)=0
 
virtual ContextMenuAction::SceneReaction ShowBookmarkContextMenu (const AZ::EntityId &bookmarkId, const QPoint &screenPoint, const QPointF &scenePoint)=0
 
virtual ContextMenuAction::SceneReaction ShowConnectionContextMenu (const AZ::EntityId &connectionId, const QPoint &screenPoint, const QPointF &scenePoint)
 
virtual ContextMenuAction::SceneReaction ShowConnectionContextMenuWithGroup (const AZ::EntityId &connectionId, const QPoint &screenPoint, const QPointF &scenePoint, AZ::EntityId groupTarget)
 
virtual ContextMenuAction::SceneReaction ShowSlotContextMenu (const AZ::EntityId &slotId, const QPoint &screenPoint, const QPointF &scenePoint)=0
 
virtual Endpoint CreateNodeForProposal (const AZ::EntityId &connectionId, const Endpoint &endpoint, const QPointF &scenePosition, const QPoint &screenPosition)
 
virtual Endpoint CreateNodeForProposalWithGroup (const AZ::EntityId &connectionId, const Endpoint &endpoint, const QPointF &scenePosition, const QPoint &screenPosition, AZ::EntityId groupTarget)
 
virtual void OnWrapperNodeActionWidgetClicked (const AZ::EntityId &wrapperNode, const QRect &actionWidgetBoundingRect, const QPointF &scenePosition, const QPoint &screenPosition)=0
 Callback for the Wrapper node action widgets.
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById
 

Member Function Documentation

◆ CreateNodeForProposal()

virtual Endpoint GraphCanvas::AssetEditorRequests::CreateNodeForProposal ( const AZ::EntityId &  connectionId,
const Endpoint endpoint,
const QPointF &  scenePosition,
const QPoint &  screenPosition 
)
inlinevirtual

This is sent when a Connection has no target. Returns the EntityId of the node create, if any.


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