Navigation
API > API/Plugins > API/Plugins/StateGraph > API/Plugins/StateGraph/FStateGraph
References
| Module | StateGraph |
| Header | /Engine/Plugins/Experimental/StateGraph/Source/StateGraph/Public/StateGraph.h |
| Include | #include "StateGraph.h" |
| Source | /Engine/Plugins/Experimental/StateGraph/Source/StateGraph/Private/StateGraph.cpp |
void Run()
Remarks
Run the state graph. This is run automatically when nodes complete to try starting any blocked nodes, so this only needs to be run manually when:
- The state graph has not been run yet (Status = NotStarted).
- The state graph has become blocked, and the blocking condition has been resolved (Status = Blocked).
- A new node has been added to the state graph or dependencies for nodes have changed that may unblock existing nodes.
- The state graph was reset or paused and should be started again.