UBehaviorTreeComponent::EndFrame
#include "BehaviorTree/BehaviorTreeComponent.h"
Access: public
Specifiers: static
Description
Static hook called once per frame to flush accumulated behavior tree search timing into the FramePro/CSV profiler. Not tied to any single component instance.
Caveats & Gotchas
- • Only compiled in non-shipping builds (guarded by #if !UE_BUILD_SHIPPING) — the function doesn't exist at all in Shipping configuration, so don't call it from code that must compile there.
- • This is engine-internal profiling plumbing wired up automatically; user code has no reason to call it directly.
Signature
static void EndFrame() Return Type
void Example
Referencing the profiler hook (informational) C++
#if !UE_BUILD_SHIPPING
UBehaviorTreeComponent::EndFrame();
#endif See Also
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?