Navigation
API > API/Plugins > API/Plugins/CsvMetrics
World actor count metric
This metrics provides a basic actor counter sorting the world's actors into categories. On update it writes the actor counts to CSV if the CSV profiler is available.
| Name | UCsvActorCountMetric |
| Type | class |
| Header File | /Engine/Plugins/WorldMetrics/Source/CsvMetrics/Public/CsvActorCountMetric.h |
| Include Path | #include "CsvActorCountMetric.h" |
Syntax
UCLASS ()
class UCsvActorCountMetric :
public UWorldMetricInterface ,
public IWorldMetricsActorTrackerSubscriber
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWorldMetricInterface → UCsvActorCountMetric
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorClassNameCounter | TMap< FName, int32 > | Map of Actor class names to instance counts | CsvActorCountMetric.h | |
| TotalActorCount | int32 | Count of total actors created | CsvActorCountMetric.h |