Open 3D Engine ScriptCanvas Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ScriptCanvas::OverloadContract Class Reference

Inherits ScriptCanvas::Contract.

Public Member Functions

 AZ_CLASS_ALLOCATOR (OverloadContract, AZ::SystemAllocator)
 
 AZ_RTTI (OverloadContract, "{45622160-13C5-46E3-94D9-AE2EAFE6AC64}", Contract)
 
void ConfigureContract (OverloadContractInterface *overloadInterface, size_t index, ConnectionType connectionType)
 
- Public Member Functions inherited from ScriptCanvas::Contract
 AZ_CLASS_ALLOCATOR (Contract, AZ::SystemAllocator)
 
 AZ_RTTI (Contract, "{93846E60-BD7E-438A-B970-5C4AA591CF93}")
 
AZ::Outcome< void, AZStd::string > Evaluate (const Slot &sourceSlot, const Slot &targetSlot) const
 
AZ::Outcome< void, AZStd::string > EvaluateForType (const Data::Type &dataType) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *reflection)
 
- Static Public Member Functions inherited from ScriptCanvas::Contract
static void Reflect (AZ::ReflectContext *reflection)
 

Protected Member Functions

AZ::Outcome< void, AZStd::string > OnEvaluate (const Slot &sourceSlot, const Slot &targetSlot) const override
 
AZ::Outcome< void, AZStd::string > OnEvaluateForType (const Data::Type &dataType) const override
 
virtual AZ::Outcome< void, AZStd::string > OnEvaluate (const Slot &sourceSlot, const Slot &targetSlot) const =0
 
virtual AZ::Outcome< void, AZStd::string > OnEvaluateForType (const Data::Type &dataType) const
 

Protected Attributes

OverloadContractInterfacem_overloadInterface = nullptr
 
size_t m_methodIndex = 0
 
ConnectionType m_connectionType = ConnectionType::Input
 

Member Function Documentation

◆ OnEvaluate()

AZ::Outcome< void, AZStd::string > ScriptCanvas::OverloadContract::OnEvaluate ( const Slot sourceSlot,
const Slot targetSlot 
) const
overrideprotectedvirtual

◆ OnEvaluateForType()

AZ::Outcome< void, AZStd::string > ScriptCanvas::OverloadContract::OnEvaluateForType ( const Data::Type dataType) const
overrideprotectedvirtual

Reimplemented from ScriptCanvas::Contract.


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