Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Exporters > API/Runtime/Engine/Exporters/UExporter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Exporters/Exporter.h |
| Include | #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
)
Remarks
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. 1 if the the object was successfully exported, 0 if a fatal error was encountered during export
Parameters
| Name | Description |
|---|---|
| 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 |