Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/DecoratorInterfaces
Inheritance Hierarchy
- IDecoratorInterface
- IEvaluate
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/DecoratorInterfaces/IEvaluate.h |
| Include | #include "DecoratorInterfaces/IEvaluate.h" |
Syntax
struct IEvaluate : public UE::AnimNext::IDecoratorInterface
Remarks
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 decorator. It is responsible for forwarding the call to the next decorator that implements this interface on the decorator stack of the node. Once all decorators have had the chance to PreEvaluate, the children of the decorator are queried through the IHierarchy interface. The children will then evaluate and PostEvaluate will then be called afterwards on the original decorator.
The execution context contains what to evaluate.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | PostEvaluate
(
FEvaluateTraversalContext& Context, |
Called after a decorator's children have been evaluated. | |
| void | PreEvaluate
(
FEvaluateTraversalContext& Context, |
Called before a decorator's children are evaluated. |
Overridden from IDecoratorInterface
| Type | Name | Description | |
|---|---|---|---|
| UE::AnimNext::FDecoratorInterfaceUID |
Constants
| Name | Description |
|---|---|
| InterfaceUID | Globally unique UID for this interface |