Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph > API/Plugins/AnimNextAnimGraph/TraitInterfaces
Inheritance Hierarchy
- ITraitInterface
- IUpdate
- FRigLogicTrait
References
| Module | AnimNextAnimGraph |
| Header | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitInterfaces/IUpdate.h |
| Include | #include "TraitInterfaces/IUpdate.h" |
Syntax
struct IUpdate : public UE::AnimNext::ITraitInterface
Remarks
This interface is called during the update traversal.
When a node is visited, PreUpdate 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 PreUpdate, the children will then evaluate and PostUpdate will then be called afterwards on the original trait.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnBecomeRelevant
(
FUpdateTraversalContext& Context, |
Called before the first update when a trait stack becomes relevant. | |
| void | PostUpdate
(
FUpdateTraversalContext& Context, |
Called after a traits children have been updated. | |
| void | PreUpdate
(
FUpdateTraversalContext& Context, |
Called before a traits children are updated. |
Overridden from ITraitInterface
| Type | Name | Description | |
|---|---|---|---|
| const FText & | Human readable interface names, in long and short format. | ||
| const FText & | Human readable interface names, in short format (ideally 3 or 4 letters, due to space restrictions in the editor) | ||
| UE::AnimNext::FTraitInterfaceUID |
Constants
| Name | Description |
|---|---|
| InterfaceUID | Globally unique UID for this interface |