Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/IStateTreeModule
Description
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.
| Name | StartTraces |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeModule.h |
| Include Path | #include "StateTreeModule.h" |
bool StartTraces
(
int32 & OutTraceId
)
True if a new trace connection was created, false otherwise (already active or not created)
Parameters
| Name | Remarks |
|---|---|
| OutTraceId | In case a connection is already active this indicates its id, 0 otherwise. |