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::MathOperatorContract Class Reference

Inherits ScriptCanvas::Contract.

Public Member Functions

 AZ_CLASS_ALLOCATOR (MathOperatorContract, AZ::SystemAllocator)
 
 AZ_RTTI (MathOperatorContract, "{17B1AEA6-B36B-4EE5-83E9-4563CAC79889}", Contract)
 
 MathOperatorContract (AZStd::string_view operatorMethod)
 
void SetSupportedNativeTypes (const AZStd::unordered_set< Data::Type > &nativeTypes)
 
void SetSupportedOperator (AZStd::string_view operatorString)
 
bool HasOperatorFunction () const
 
- 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
 

Protected Attributes

AZStd::string m_supportedOperator
 
AZStd::unordered_set< Data::Typem_supportedNativeTypes
 

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