Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
Contains all relevant transient data for an update traversal and wraps the execution context.
| Name | FUpdateTraversalContext |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/TraitInterfaces/IUpdate.h |
| Include Path | #include "TraitInterfaces/IUpdate.h" |
Syntax
struct FUpdateTraversalContext : public UE::UAF::FExecutionContext
Inheritance Hierarchy
- FExecutionContext → FUpdateTraversalContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUpdateTraversalContext() |
Constructs a new traversal context. | TraitInterfaces/IUpdate.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExecutingEntry | Private::FUpdateEntry * | The currently executing entry. | TraitInterfaces/IUpdate.h | |
| FreeBookkeepingEntryStackHead | Private::FUpdateEventBookkeepingEntry * | The head pointer of the free bookkeeping entry stack Entries are allocated from the memstack and are re-used in LIFO since they'll be warmer in the CPU cache | TraitInterfaces/IUpdate.h | |
| FreeEntryStackHead | Private::FUpdateEntry * | The head pointer of the free entry stack Entries are allocated from the memstack and are re-used in LIFO since they'll be warmer in the CPU cache | TraitInterfaces/IUpdate.h | |
| FUpdateTraversalQueue | friend | TraitInterfaces/IUpdate.h | ||
| InputEventList | UE::UAF::FTraitEventList * | The input and output event lists. | TraitInterfaces/IUpdate.h | |
| OutputEventList | UE::UAF::FTraitEventList * | TraitInterfaces/IUpdate.h | ||
| RootParentBookkeepingEntryList | Private::FUpdateEventBookkeepingList * | The root node doesn't have a parent but we need a bookkeeping list regardless. | TraitInterfaces/IUpdate.h | |
| UpdateStackHead | Private::FUpdateEntry * | The head pointer of the update stack This is the traversal execution stack and it contains entries that are pending their pre-update call and entries waiting for post-update to be called | TraitInterfaces/IUpdate.h |
Functions
Public
Overridden from FExecutionContext
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RaiseInputTraitEvent
(
FAnimNextTraitEventPtr Event |
Raises an input trait event The raised event will be seen by every child of the currently updating trait stack Input trait events can only be raised during PreUpdate | TraitInterfaces/IUpdate.h | |
virtual void RaiseOutputTraitEvent
(
FAnimNextTraitEventPtr Event |
Raises an output trait event The raised event will be seen by every parent of the currently updating trait stack | TraitInterfaces/IUpdate.h |