Navigation
API > API/Plugins > API/Plugins/WorldMetricsCore > API/Plugins/WorldMetricsCore/FWorldMetricCollection
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Contains () |
Checks if the type parameter metric class has been added. | WorldMetricCollection.h | |
bool Contains
(
const TSubclassOf< UWorldMetricInterface >& InMetricClass |
Checks if the parameter metric class has been added. | WorldMetricCollection.h |
Contains()
Description
Checks if the type parameter metric class has been added.
| Name | Contains |
| Type | function |
| Header File | /Engine/Plugins/WorldMetrics/Source/WorldMetricsCore/Public/WorldMetricCollection.h |
| Include Path | #include "WorldMetricCollection.h" |
template<typename MetricType>
bool Contains() const
True if the parameter metric class is registered and false otherwise.
Parameters
| Name | Remarks |
|---|---|
| MetricType | The UWorldMetricInterface's subclass of the metric to query. |
Contains(const TSubclassOf< UWorldMetricInterface > &)
Description
Checks if the parameter metric class has been added.
| Name | Contains |
| 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 Contains
(
const TSubclassOf < UWorldMetricInterface > & InMetricClass
) const
True if the parameter metric class is registered and false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InMetricClass | The class of the metric to be retrieved. |