Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
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.
| Name | IUpdate |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/TraitInterfaces/IUpdate.h |
| Include Path | #include "TraitInterfaces/IUpdate.h" |
Syntax
struct IUpdate : public UE::UAF::ITraitInterface
Derived Classes
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterfaceUID | UE::UAF::FTraitInterfaceUID | Globally unique UID for this interface | TraitInterfaces/IUpdate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnBecomeRelevant
(
FUpdateTraversalContext& Context, |
Called before the first update when a trait stack becomes relevant. | TraitInterfaces/IUpdate.h | |
virtual void PostUpdate
(
FUpdateTraversalContext& Context, |
Called after a traits children have been updated. | TraitInterfaces/IUpdate.h | |
virtual void PreUpdate
(
FUpdateTraversalContext& Context, |
Called before a traits children are updated. | TraitInterfaces/IUpdate.h |
Overridden from ITraitInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText & GetDisplayName() |
Human readable interface names, in long and short format. | TraitInterfaces/IUpdate.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/IUpdate.h | |
virtual UE::UAF::FTraitInterfaceUID GetInterfaceUID() |
TraitInterfaces/IUpdate.h |