Navigation
API > API/Plugins > API/Plugins/StateTreeEditorModule > API/Plugins/StateTreeEditorModule/FCompilerManager
Description
Queue the compilation of a dirty state tree asset for later. The public step will be compiled synchronously if it is dirty. The internal step will be compiled when requested by the game or asynchronously. Queuing state tree asset can be disabled with cvar. When disabled, this function behaves like CompileSynchronously.
Can only compile on the game thread or async loading thread.
| Name | QueueForCompilation |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Public/StateTreeCompilerManager.h |
| Include Path | #include "StateTreeCompilerManager.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeEditorModule/Private/StateTreeCompilerManager.cpp |
static void QueueForCompilation
(
TNotNull< UStateTree * > StateTree
)