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.
|
#include <ConnectionBus.h>
Inherits AZ::EBusTraits.
Public Types | |
using | BusIdType = AZ::EntityId |
Public Member Functions | |
virtual AZ::EntityId | GetSourceSlotId () const =0 |
Get this connection's source slot ID. | |
virtual AZ::EntityId | GetSourceNodeId () const =0 |
Resolve the node the source slot belongs to. | |
virtual Endpoint | GetSourceEndpoint () const =0 |
Retrieves the source endpoint for this connection. | |
virtual QPointF | GetSourcePosition () const =0 |
Retrieves the source position for this connection. | |
virtual void | StartSourceMove ()=0 |
Begins moving the source of this connection. | |
virtual void | SnapSourceDisplayTo (const Endpoint &endpoint)=0 |
Changes the visual Source of the connection to the specified endpoint. Will not. | |
virtual void | AnimateSourceDisplayTo (const Endpoint &endpoint, float duration)=0 |
virtual AZ::EntityId | GetTargetSlotId () const =0 |
Get this connection's target slot ID. | |
virtual AZ::EntityId | GetTargetNodeId () const =0 |
Resolve the Node the target slot belongs to. | |
virtual Endpoint | GetTargetEndpoint () const =0 |
Retrieves the target endpoint for this connection. | |
virtual QPointF | GetTargetPosition () const =0 |
Retrieves the target position for this connection. | |
virtual void | StartTargetMove ()=0 |
Begins moving the target of this connection. | |
virtual ConnectionEndpoints | GetEndpoints () const |
Retrieves both the endpoitns for the specified connection. | |
Endpoint | FindOtherEndpoint (const Endpoint &endpoint) |
virtual void | SnapTargetDisplayTo (const Endpoint &endpoint)=0 |
Changes the visual target of the connection to the specified endpoint. Will not. | |
virtual void | AnimateTargetDisplayTo (const Endpoint &endpoint, float duration)=0 |
virtual bool | ContainsEndpoint (const Endpoint &endpoint) const =0 |
virtual AZStd::string | GetTooltip () const =0 |
Get this connection's tooltip. | |
virtual void | SetTooltip (const AZStd::string &) |
Set this connection's tooltip. | |
virtual AZStd::any * | GetUserData ()=0 |
Get user data from this connection. | |
virtual void | ChainProposalCreation (const QPointF &scenePos, const QPoint &screenPos, AZ::EntityId groupTarget)=0 |
Static Public Attributes | |
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
ConnectionRequests Requests which are serviced by the GraphCanvas::Connection component.