Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IModularFeatures
Description
Queries for a specific feature. If multiple implementations of the same feature were registered, this will return the first. Will assert or crash if the specified feature is not available! You should call IsModularFeatureAvailable() first!
| Name | GetModularFeature |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Features/IModularFeatures.h |
| Include Path | #include "Features/IModularFeatures.h" |
template<typename TModularFeature>
TModularFeature & GetModularFeature
(
const FName Type
)
The feature.
Parameters
| Name | Remarks |
|---|---|
| Type | The type of feature we're looking for |