Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UExporter |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Exporters/Exporter.h |
| Include Path | #include "Exporters/Exporter.h" |
Syntax
UCLASS (Abstract, Transient, MinimalAPI)
class UExporter : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UExporter
Derived Classes
UExporter derived class hierarchy
- UActorElementsExporterT3D
- UActorExporterT3D
- UExporterFBX
- UAnimSequenceExporterUSD
- UComponentElementsExporterT3D
- UGeometryCacheExporterUSD
- UGLTFExporter
- ULevelExporterLOD
- ULevelExporterOBJ
- ULevelExporterSTL
- ULevelExporterT3D
- ULevelExporterUSD
- ULevelSequenceExporterUsd
- UMaterialExporterUsd
- UModelExporterT3D
- UObjectExporterT3D
- UPolysExporterOBJ
- UPolysExporterT3D
- URenderTargetExporterEXR
- URenderTargetExporterPNG
- USequenceExporterT3D
- USkeletalMeshExporterUsd
- USoundExporterOGG
- USoundExporterWAV
- USoundSurroundExporterWAV
- UStaticMeshExporterOBJ
- UStaticMeshExporterUsd
- UTextBufferExporterTXT
- UTextureCubeExporterHDR
- UTextureExporterGeneric
- UTextureExporterJPEG
- UTextureExporterUEJPEG
- UVectorFieldExporter
- ULidarPointCloudFileIO
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UExporter
(
const FObjectInitializer& ObjectInitializer |
Exporters/Exporter.h |
Structs
| Name | Remarks |
|---|---|
| FExportPackageParams | Export parameters |
| FExportToFileParams |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bEnableDebugBrackets | const bool | (debugging purposes only) | Exporters/Exporter.h |
| CurrentFilename | FString | Exporters/Exporter.h | |
| RegisteredExporters | TSet< TWeakObjectPtr< UExporter > > | The set of registered exporters. | Exporters/Exporter.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bForceFileOperations | uint32 | If true, this will force the exporter code to create a file-based Ar (this can keep large output files from taking too much memory) | Exporters/Exporter.h | |
| bSelectedOnly | uint32 | If true, this will export only the selected objects | Exporters/Exporter.h | |
| bText | uint32 | If true, this will export the data as text | Exporters/Exporter.h |
|
| ExportRootScope | TObjectPtr< class UObject > | The root scope of objects to be exported, only used if PPF_ExportsNotFullyQualfied is set Objects being exported that are contained within ExportRootScope will use just their name instead of a full path | Exporters/Exporter.h |
|
| ExportTask | TObjectPtr< class UAssetExportTask > | Exporters/Exporter.h |
|
|
| FormatDescription | TArray< FString > | Descriptiong of the export format | Exporters/Exporter.h |
|
| FormatExtension | TArray< FString > | File extension to use for this exporter | Exporters/Exporter.h |
|
| PreferredFormatIndex | int32 | Index into FormatExtension/FormatDescription of the preferred export format. | Exporters/Exporter.h | |
| SupportedClass | TSubclassOf< class UObject > | Supported class of this exporter | Exporters/Exporter.h |
|
| TextIndent | int32 | Current indentation of spaces of the exported text | Exporters/Exporter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ExportBinary
(
UObject* Object, |
Export object to binary | Exporters/Exporter.h | |
void ExportObjectInner
(
const FExportObjectInnerContext* Context, |
Single entry point to export an object's subobjects, its components, and its properties | Exporters/Exporter.h | |
virtual void ExportPackageInners
(
FExportPackageParams& ExpPackageParams |
Export Package Inner | Exporters/Exporter.h | |
virtual void ExportPackageObject
(
FExportPackageParams& ExpPackageParams |
Export Package Object | Exporters/Exporter.h | |
virtual bool ExportText
(
const FExportObjectInnerContext* Context, |
Export object to text | Exporters/Exporter.h | |
virtual bool GetBatchMode() |
Return true if the exporter is in batch mode. | Exporters/Exporter.h | |
virtual bool GetCancelBatch() |
Return true if the exporter batch was cancel. | Exporters/Exporter.h | |
virtual int32 GetFileCount
(
UObject* Object |
Number of binary files to export for this object. | Exporters/Exporter.h | |
virtual bool GetShowExportOption() |
Return true if the exporter must show the export options. | Exporters/Exporter.h | |
virtual FString GetUniqueFilename
(
UObject* Object, |
Differentiates the filename for objects with multiple files to export. | Exporters/Exporter.h | |
bool ScriptRunAssetExportTask
(
UAssetExportTask* Task |
Export the given object to file. Overridden by script based exporters. | Exporters/Exporter.h |
|
virtual void SetBatchMode
(
bool InBatchExportMode |
Set the exporter batch mode. | Exporters/Exporter.h | |
virtual void SetCancelBatch
(
bool InCancelBatch |
Set the exporter batch cancel state. | Exporters/Exporter.h | |
virtual void SetShowExportOption
(
bool InShowExportOption |
Set if the exporter should show or hide the export options. | Exporters/Exporter.h | |
virtual bool SupportsObject
(
UObject* Object |
Returns whether this exporter supports the specific object. | Exporters/Exporter.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Serialize
(
FArchive& Ar |
Exporters/Exporter.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EmitBeginObject
(
FOutputDevice& Ar, |
Emits the starting line for a subobject definition. | Exporters/Exporter.h | |
void EmitEndObject
(
FOutputDevice& Ar |
Emits the ending line for a subobject definition. | Exporters/Exporter.h | |
virtual void ExportComponentExtra
(
const FExportObjectInnerContext* Context, |
Allows the Exporter to export any extra information it would like about each instanced object. | Exporters/Exporter.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Export object to an archive | Exporters/Exporter.h | ||
static int32 ExportToFile
(
UObject* Object, |
Export this object to a file. | Exporters/Exporter.h | |
static bool ExportToOutputDevice
(
const FExportObjectInnerContext* Context, |
Export object to a device | Exporters/Exporter.h | |
| Find an exporter for the object and filetype. | Exporters/Exporter.h | ||
static bool IsObjectSelectedForExport
(
const FExportObjectInnerContext* Context, |
Should the given object be considered selected by the current export? | Exporters/Exporter.h | |
static bool RunAssetExportTask
(
UAssetExportTask* Task |
Export the given object to file. | Exporters/Exporter.h |
|
static bool RunAssetExportTasks
(
const TArray< UAssetExportTask* >& ExportTasks |
Export the given objects to files. | Exporters/Exporter.h |
|