Navigation
Unreal Engine C++ API Reference > Developer > TraceAnalysis > Trace > IAnalyzer
- IAnalyzer::OnEvent()
- FChaosVDTraceAnalyzer::OnEvent()
References
Module | TraceAnalysis |
Header | /Engine/Source/Developer/TraceAnalysis/Public/Trace/Analyzer.h |
Include | #include "Trace/Analyzer.h" |
virtual bool OnEvent
&40;
uint16 RouteId,
EStyle Style,
const FOnEventContext & Context
&41;
Remarks
For each event subscribed to in OnAnalysisBegin(), the analysis engine will call this method when those events are encountered in a trace log This analyzer is removed from the analysis session if false is returned.
Parameters
Name | Description |
---|---|
RouteId | User-provided identifier given when subscribing to a particular event. |
Style | Indicates the style of event. Note that EventData is undefined if the style is LeaveScope! |
Context | Access to the instance of the subscribed event. |