Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UExporter
Description
Export this object to a file. Child classes do not override this, but they do provide an Export() function to do the resource-specific export work.
| Name | ExportToFile |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Exporters/Exporter.h |
| Include Path | #include "Exporters/Exporter.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealExporter.cpp |
static int32 ExportToFile
(
UObject * Object,
UExporter * Exporter,
const TCHAR * Filename,
bool InSelectedOnly,
bool NoReplaceIdentical,
bool Prompt
)
1 if the the object was successfully exported, 0 if a fatal error was encountered during export
Parameters
| Name | Remarks |
|---|---|
| Object | the object to export |
| InExporter | exporter to use for exporting this object. If NULL, attempts to create a valid exporter. |
| Filename | the name of the file to export this object to |
| InSelectedOnly | |
| NoReplaceIdentical | false if we always want to overwrite any existing files, even if they're identical |
| Prompt | true if the user should be prompted to checkout/overwrite the output file if it already exists and is read-only |