Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeMinimalExecutionContex-
Description
Adds a scheduled tick request. The result of GetNextScheduledTick is affected by the request. This allows a specific task to control when the tree ticks.
A request with a higher priority will supersede all other requests. ex: Task A request a custom time of 1FPS and Task B request a custom time of 2FPS. Both tasks will tick at 1FPS.
| Name | AddScheduledTickRequest |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h |
| Include Path | #include "StateTreeExecutionContext.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeExecutionContext.cpp |
UE::StateTree::FScheduledTickHandle AddScheduledTickRequest
(
FStateTreeScheduledTick ScheduledTick
)