Navigation
API > API/Plugins > API/Plugins/WorldMetricsCore > API/Plugins/WorldMetricsCore/FWorldMetricCollection
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
MetricType * Get () |
Gets the metric instance from the type parameter class if it has been previously added. | WorldMetricCollection.h | |
UWorldMetricInterface * Get
(
const TSubclassOf< UWorldMetricInterface >& InMetricClass |
Gets the metric instance from the parameter class if it has been previously added. | WorldMetricCollection.h |
Get()
Description
Gets the metric instance from the type parameter class if it has been previously added.
| Name | Get |
| Type | function |
| Header File | /Engine/Plugins/WorldMetrics/Source/WorldMetricsCore/Public/WorldMetricCollection.h |
| Include Path | #include "WorldMetricCollection.h" |
template<typename MetricType>
MetricType * Get() const
A valid pointer to the metric if found, and nullptr otherwise.
Parameters
| Name | Remarks |
|---|---|
| MetricType | The class of the metric to be retrieved. Constrained to be a class derived from UWorldMetricInterface. |
Get(const TSubclassOf< UWorldMetricInterface > &)
Description
Gets the metric instance from the parameter class if it has been previously added.
| Name | Get |
| 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 |
UWorldMetricInterface * Get
(
const TSubclassOf < UWorldMetricInterface > & InMetricClass
) const
A valid pointer to the metric if found, and nullptr otherwise.
Parameters
| Name | Remarks |
|---|---|
| InMetricClass | The class of the metric to be retrieved. |