Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/DecoratorInterfaces
Inheritance Hierarchy
- IDecoratorInterface
- IUpdate
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/DecoratorInterfaces/IUpdate.h |
| Include | #include "DecoratorInterfaces/IUpdate.h" |
Syntax
struct IUpdate : public UE::AnimNext::IDecoratorInterface
Remarks
This interface is called during the update traversal.
When a node is visited, PreUpdate 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 PreUpdate, the children will then evaluate and PostUpdate will then be called afterwards on the original decorator.
If this interface is implemented on a node, it is responsible for queuing the children for traversal using the QueueChildrenForTraversal function. If the interface isn't implemented, children are discovered through the IHierarchy interface and traversal propagates to them using the current decorator state.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | PostUpdate
(
FUpdateTraversalContext& Context, |
Called after a decorator's children have been updated. | |
| void | PreUpdate
(
FUpdateTraversalContext& Context, |
Called before a decorator's children are updated. | |
| void | QueueChildrenForTraversal
(
FUpdateTraversalContext& Context, |
Called after PreUpdate to request that children be queued with the provided context. |
Overridden from IDecoratorInterface
| Type | Name | Description | |
|---|---|---|---|
| UE::AnimNext::FDecoratorInterfaceUID |
Constants
| Name | Description |
|---|---|
| InterfaceUID | Globally unique UID for this interface |