Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Features
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
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor, to make polymorphism happy. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| IModularFeatures & | Get () |
Static: Access singleton instance | |
| TModularFeature & | GetModularFeature
(
const FName Type |
Queries for a specific feature. | |
| IModularFeature * | GetModularFeatureImplementation
(
const FName Type, |
Queries for a specific modular feature. | |
| int32 | GetModularFeatureImplementationCount
(
const FName Type |
Returns the number of registered implementations of the specified feature type. | |
| TArray< TModularFeature * > | GetModularFeatureImplementations
(
const FName Type |
Queries for one or more implementations of a single feature. | |
| bool | IsModularFeatureAvailable
(
const FName Type |
Checks to see if the specified feature is available | |
| void | Lock modular features for access from another thread | ||
| FOnModularFeatureRegistered & | |||
| FOnModularFeatureUnregistered & | |||
| void | RegisterModularFeature
(
const FName Type, |
Registers a feature. Usually called by plugins to augment or replace existing modular features. | |
| void | Unlock modular features when finished accessing from another thread | ||
| void | UnregisterModularFeature
(
const FName Type, |
Unregisters a feature that was registered earlier on. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnModularFeatureRegistered | Event used to inform clients that a modular feature has been registered. | ||
| FOnModularFeatureUnregistered | Event used to inform clients that a modular feature has been unregistered. | ||
| FScopedLockModularFeatureList |