Inherits AZ::Component, ConnectionRequestBus::Handler, SceneMemberRequestBus::Handler, AZ::TickBus::Handler, ViewNotificationBus::Handler, NodeNotificationBus::Handler, and GraphCanvas::SceneNotificationBus::Handler.
Inherited by GraphCanvas::DataConnectionComponent.
|
| AZ_COMPONENT (ConnectionComponent, "{14BB1535-3B30-4B1C-8324-D864963FBC76}", AZ::Component) |
|
| ConnectionComponent (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint, bool createModelConnection=true) |
|
void | Activate () override |
|
void | Deactivate () override |
|
void | OnSlotRemovedFromNode (const AZ::EntityId &slotId) override |
|
AZ::EntityId | GetSourceSlotId () const override |
|
AZ::EntityId | GetSourceNodeId () const override |
|
Endpoint | GetSourceEndpoint () const override |
|
QPointF | GetSourcePosition () const override |
|
void | StartSourceMove () override |
|
void | SnapSourceDisplayTo (const Endpoint &sourceEndpoint) override |
|
void | AnimateSourceDisplayTo (const Endpoint &sourceEndpoint, float connectionTime) override |
|
AZ::EntityId | GetTargetSlotId () const override |
|
AZ::EntityId | GetTargetNodeId () const override |
|
Endpoint | GetTargetEndpoint () const override |
|
QPointF | GetTargetPosition () const override |
|
void | StartTargetMove () override |
|
void | SnapTargetDisplayTo (const Endpoint &targetEndpoint) override |
|
void | AnimateTargetDisplayTo (const Endpoint &targetEndpoint, float connectionTime) override |
|
bool | ContainsEndpoint (const Endpoint &endpoint) const override |
|
void | ChainProposalCreation (const QPointF &scenePos, const QPoint &screenPos, AZ::EntityId groupTarget) override |
|
void | SetScene (const AZ::EntityId &sceneId) override |
|
void | ClearScene (const AZ::EntityId &oldSceneId) override |
|
void | SignalMemberSetupComplete () override |
|
AZ::EntityId | GetScene () const override |
|
AZStd::string | GetTooltip () const override |
|
void | SetTooltip (const AZStd::string &tooltip) override |
|
AZStd::any * | GetUserData () override |
|
void | OnTick (float deltaTime, AZ::ScriptTimePoint timePoint) override |
|
void | OnEscape () override |
|
void | OnFocusLost () override |
|
void | OnNodeIsBeingEdited (bool isBeingEditeed) override |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
static AZ::Entity * | CreateBaseConnectionEntity (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint, bool createModelConnection, const AZStd::string &selectorClass) |
|
static AZ::Entity * | CreateGeneralConnection (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint, bool createModelConnection, const AZStd::string &substyle="") |
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
static void | GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent) |
|
static void | GetRequiredServices ([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType &required) |
|
|
enum class | DragContext {
Unknown
, TryConnection
, MoveSource
, MoveTarget
,
Connected
} |
|
enum class | ConnectionMoveResult { DeleteConnection
, ConnectionMove
, NodeCreation
} |
|
|
| ConnectionComponent (const ConnectionComponent &)=delete |
|
const ConnectionComponent & | operator= (const ConnectionComponent &)=delete |
|
void | SetGroupTarget (AZ::EntityId groupTarget) |
|
void | FinalizeMove () |
|
virtual void | OnConnectionMoveStart () |
|
virtual bool | OnConnectionMoveCancelled () |
|
virtual ConnectionMoveResult | OnConnectionMoveComplete (const QPointF &scenePos, const QPoint &screenPos, AZ::EntityId groupTarget) |
|
virtual bool | AllowNodeCreation () const |
|
void | CleanupToast () |
|
void | StartMove () |
|
void | StopMove () |
|
bool | UpdateProposal (Endpoint &activePoint, const Endpoint &proposedEndpoint, AZStd::function< void(const AZ::EntityId &, const AZ::EntityId &)> endpointChangedFunctor) |
|
ConnectionCandidate | FindConnectionCandidateAt (const QPointF &scenePos) const |
|
void | UpdateMovePosition (const QPointF &scenePos) |
|
void | FinalizeMove (const QPointF &scenePos, const QPoint &screenPos, bool chainAddition) |
|
void | DisplayConnectionToolTip (const QPointF &scenePos, const Endpoint &connectionTarget) |
|
|
class | ConnectionEventFilter |
|
The documentation for this class was generated from the following file:
- Gems/GraphCanvas/Code/Source/Components/Connections/ConnectionComponent.h