IModularFeatures

Public interface to all known modular features

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Features/IModularFeatures.h"

Syntax

class IModularFeatures

Remarks

Public interface to all known modular features

Destructors

Name Description

Public function Virtual

~IModularFeatures()

Virtual destructor, to make polymorphism happy.

Functions

Name Description

Public function Static

IModularFeat ...

 

Get()

Static: Access singleton instance

Public function

TModularFeat...

 

GetModularFeature

(
    const FName Type
)

Queries for a specific feature.

Public function

IModularFeat ...

 

GetModularFeatureImplementation

(
    const FName Type,
    const int32 Index
)

Queries for a specific modular feature.

Public function

int32

 

GetModularFeatureImplementationCount

(
    const FName Type
)

Returns the number of registered implementations of the specified feature type.

Public function

TArray < TMod...

 

GetModularFeatureImplementations

(
    const FName Type
)

Queries for one or more implementations of a single feature.

Public function

bool

 

IsModularFeatureAvailable

(
    const FName Type
)

Checks to see if the specified feature is available

Public function

FOnModularFe ...

 

OnModularFeatureRegistered()

Public function

FOnModularFe ...

 

OnModularFeatureUnregistered()

Public function

void

 

RegisterModularFeature

(
    const FName Type,
    IModularFeature * ModularFeatur...
)

Registers a feature. Usually called by plugins to augment or replace existing modular features.

Public function

void

 

UnregisterModularFeature

(
    const FName Type,
    IModularFeature * ModularFeatur...
)

Unregisters a feature that was registered earlier on.

Classes

Name

Description

Public class

FOnModularFeatureRegistered

Event used to inform clients that a modular feature has been registered.

Public class

FOnModularFeatureUnregistered

Event used to inform clients that a modular feature has been unregistered.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback