IModularFeatures::GetModularFeatureImplementation

Queries for a specific modular feature.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Features/IModularFeatures.h"

Syntax

IModularFeature * GetModularFeatureImplementation
(
    const FName Type,
    const int32 Index
)

Remarks

Queries for a specific modular feature. Returns NULL if the feature is not available. Does not assert. Usually you should just call GetModularFeature instead, after calling IsModularFeatureAvailable().

Returns

Pointer to the feature interface, or NULL if it's not available right now.

Parameters

Parameter

Description

Type

The type of feature we're looking for

Index

The index of the implementation (there may be multiple implementations of the same feature registered.)

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