Navigation
API > API/Plugins > API/Plugins/CustomizableObject > API/Plugins/CustomizableObject/UCustomizableObjectExtension
Description
Note that the data registered here is completely independent of any Extension Data used in the Customizable Object graph. Even though Extension Data and this Extension Instance Data both use FInstancedStruct to box an extension-defined struct, there's no requirement that they use the same struct type, so they may be completely unrelated.
Note that GetExtensionInstanceData returns the struct by value to ensure memory safety, so the struct should ideally be small and cheap to copy. If you need to reference large data from this struct, consider wrapping it in a UObject or referencing it via a TSharedPtr so that the large data itself isn't being copied.
| Name | GenerateExtensionInstanceData |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObjectExtension.h |
| Include Path | #include "MuCO/CustomizableObjectExtension.h" |
virtual FInstancedStruct GenerateExtensionInstanceData
(
const TArray < FInputPinDataContainer > & InputPinData
) const