Skip to content

Performance

Jared Taylor edited this page Apr 23, 2025 · 4 revisions

Tip

Vigil makes liberal use of TRACE_CPUPROFILER_EVENT_SCOPE so you can get meaningful results from an Unreal Insights Trace

If Vigil needs to be optimized, you can override UVigilComponent::GetMaxVigilScanRate() to throttle the rate that it updates at.

Warning

If you need optimization desperately enough to throttle Vigil then you probably should override in C++ not BP

Note

The scan rate may be lower if the async targeting request has not completed
This can be used to throttle the number of scans per second for performance reasons
Set to 0 to disable throttling

Clone this wiki locally