IModularFeatures::GetModularFeature

Queries for a specific feature.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Features/IModularFeatures.h

Include

#include "Features/IModularFeatures.h"

Syntax

template<typename TModularFeature>
TModularFeature & GetModularFeature
(
    const FName Type
)

Remarks

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!

Returns

The feature.

Parameters

Parameter

Description

Type

The type of feature we're looking for

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss