Open 3D Engine ScriptCanvas 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.
ScriptCanvas::Connection Class Reference

Inherits AZ::Component, ConnectionRequestBus::Handler, and GraphNotificationBus::Handler.

Public Member Functions

 AZ_COMPONENT (Connection, "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB}", AZ::Component)
 
 Connection (const ID &fromNode, const SlotId &fromSlot, const ID &toNode, const SlotId &toSlot)
 
 Connection (const Endpoint &fromConnection, const Endpoint &toConnection)
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
bool ContainsEndpoint (const Endpoint &endpoint)
 
const SlotIdGetSourceSlot () const override
 
const SlotIdGetTargetSlot () const override
 
const ID & GetTargetNode () const override
 
const ID & GetSourceNode () const override
 
const EndpointGetTargetEndpoint () const override
 
const EndpointGetSourceEndpoint () const override
 
void OnNodeRemoved (const ID &nodeId) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *reflection)
 
static AZ::Outcome< void, AZStd::string > ValidateEndpoints (const Endpoint &sourceEndpoint, const Endpoint &targetEndpoint)
 
static AZ::Outcome< void, AZStd::string > ValidateConnection (const Slot &sourceSlot, const Slot &targetSlot)
 

Static Protected Member Functions

static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 

Protected Attributes

Endpoint m_sourceEndpoint
 
Endpoint m_targetEndpoint
 

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