Navigation
API > API/Plugins > API/Plugins/CustomizableObjectEditor > API/Plugins/CustomizableObjectEditor/FExtensionDataCompilerInterface
Description
Register a new Extension Data compile-time constant that will always be loaded.
This constant will be embedded in the Customizable Object and hence will be loaded in memory as long as the Customizable Object is loaded.
Any UObjects referenced by the provided instanced struct that aren't in an asset package should be created with the return value of GetOuterForAlwaysLoadedObjects as their Outer.
Move the constant data into this function and use the resulting mu::FExtensionData in the mu::Node graph, e.g. set it as the value of a mu::NodeExtensionDataConstant.
As with MakeStreamedExtensionData, the provided instanced struct will be visible to the GC.
| Name | MakeAlwaysLoadedExtensionData |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/CustomizableObjectEditor/Public/MuCOE/ExtensionDataCompilerInterface.h |
| Include Path | #include "MuCOE/ExtensionDataCompilerInterface.h" |
| Source | /Engine/Plugins/Mutable/Source/CustomizableObjectEditor/Private/MuCOE/ExtensionDataCompilerInterface.cpp |
TSharedPtr < const mu::FExtensionData > MakeAlwaysLoadedExtensionData
(
FInstancedStruct && Data
)