Navigation
API > API/Plugins > API/Plugins/WorldMetricsCore > API/Plugins/WorldMetricsCore/FWorldMetricCollection
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Add () |
WorldMetricCollection.h | ||
bool Add
(
const TSubclassOf< UWorldMetricInterface >& InMetricClass |
Adds a metric instance of the parameter class unless a metric of the same class already exists. | WorldMetricCollection.h |
Add()
| Name | Add |
| Type | function |
| Header File | /Engine/Plugins/WorldMetrics/Source/WorldMetricsCore/Public/WorldMetricCollection.h |
| Include Path | #include "WorldMetricCollection.h" |
template<typename MetricType>
bool Add()
Add(const TSubclassOf< UWorldMetricInterface > &)
Description
Adds a metric instance of the parameter class unless a metric of the same class already exists.
| Name | Add |
| Type | function |
| Header File | /Engine/Plugins/WorldMetrics/Source/WorldMetricsCore/Public/WorldMetricCollection.h |
| Include Path | #include "WorldMetricCollection.h" |
| Source | /Engine/Plugins/WorldMetrics/Source/WorldMetricsCore/Private/WorldMetricCollection.cpp |
bool Add
(
const TSubclassOf < UWorldMetricInterface > & InMetricClass
)
True if a metric of the parameter metric class is added and false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InMetricClass | The class of the metric to add. |