Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UScriptStruct
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include | #include "UObject/Class.h" |
Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
void ExportText
&40;
FString & ValueStr,
const void &42; Value,
const void &42; Defaults,
UObject &42; OwnerObject,
int32 PortFlags,
UObject &42; ExportRootScope,
bool bAllowNativeOverride
&41; const
Remarks
Export script struct to a string that can later be imported
Parameters
Name | Description |
---|---|
ValueStr | String to write to |
Value | Actual struct being exported |
Defaults | Default value for this struct, pass nullptr to not use defaults |
OwnerObject | UObject that contains this struct |
PortFlags | EPropertyPortFlags controlling export behavior |
ExportRootScope | The scope to create relative paths from, if the PPF_ExportsNotFullyQualified flag is passed in. If NULL, the package containing the object will be used instead. |
bAllowNativeOverride | If true, will try to run native version of export text on the struct |