Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
This interface is called during the evaluation traversal. It aims to produce an evaluation program.
When a node is visited, PreEvaluate is first called on its top trait. It is responsible for forwarding the call to the next trait that implements this interface on the trait stack of the node. Once all traits have had the chance to PreEvaluate, the children of the trait are queried through the IHierarchy interface. The children will then evaluate and PostEvaluate will then be called afterwards on the original trait.
The execution context contains what to evaluate.
| Name | IEvaluate |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/TraitInterfaces/IEvaluate.h |
| Include Path | #include "TraitInterfaces/IEvaluate.h" |
Syntax
struct IEvaluate : public UE::UAF::ITraitInterface
Derived Classes
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterfaceUID | UE::UAF::FTraitInterfaceUID | Globally unique UID for this interface | TraitInterfaces/IEvaluate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEvaluate
(
FEvaluateTraversalContext& Context, |
Called after a traits children have been evaluated. | TraitInterfaces/IEvaluate.h | |
virtual void PreEvaluate
(
FEvaluateTraversalContext& Context, |
Called before a traits children are evaluated. | TraitInterfaces/IEvaluate.h |
Overridden from ITraitInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText & GetDisplayName() |
Human readable interface names, in long and short format. | TraitInterfaces/IEvaluate.h | |
virtual const FText & GetDisplayShortName() |
Human readable interface names, in short format (ideally 3 or 4 letters, due to space restrictions in the editor) | TraitInterfaces/IEvaluate.h | |
virtual UE::UAF::FTraitInterfaceUID GetInterfaceUID() |
TraitInterfaces/IEvaluate.h |