Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/AsyncTreeDifferences.h |
| Include | #include "AsyncTreeDifferences.h" |
Syntax
template<typename InNodeType>
class TAsyncTreeDifferences
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< DiffNodeType > | Head | Head of the main diff tree (note: not for user modification. Tick() will overwrite user changes) | |
| FOnQueueFlushed | OnQueueFlushed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TAsyncTreeDifferences
(
const TAttribute< TArray< ValueType > >& InRootValuesA, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FlushQueue () |
Process all tasks synchronously until all data is up to date. (slow) | |
| void | ForEach
(
ETreeTraverseOrder TraversalOrder, |
Calls Method(DiffNode) on each diff node in the tree. | |
| void | SetDiffSpecification
(
TArgs... Args |
||
| void | Tick
(
float MaxAllottedTimeMs |
Update the differences list over time |
Typedefs
| Name | Description |
|---|---|
| DiffNodeType | |
| FOnQueueFlushed | Every time the update queue is completed this is called (max of once per Tick) |
| ValueType |