Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/IStateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeModule.h |
| Include | #include "StateTreeModule.h" |
bool StartTraces
&40;
int32 & OutTraceId
&41;
Remarks
Creates new tracing connection if necessary and enables StateTree debugging related channels (frame + statetree). If traces are already active we keep track of all channels previously activated to restore them on stop.
Even if it returns false this can still have enabled StateTree related channels, OutTraceId will indicate which trace to use and StopTraces should be called to restore to previous setup. True if a new trace connection was created, false otherwise (already active or not created)
Parameters
| Name | Description |
|---|---|
| OutTraceId | In case a connection is already active this indicates its id, 0 otherwise. |