Navigation
API > API/Plugins > API/Plugins/USDExporter
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UExporter
- UMaterialExporterUsd
References
| Module | USDExporter |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/MaterialExporterUSD.h |
| Include | #include "MaterialExporterUSD.h" |
Syntax
UCLASS&40;&41;
class UMaterialExporterUsd : public UExporter
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ExportMaterial
(
const UMaterialInterface& Material, |
Exports a single material with given options to the target filepath as a UsdPreviewSurface USD asset. | |
| bool | ExportMaterialsForStage
(
const TArray< UMaterialInterface* >& Materials, |
Exports the provided materials next to the stage's root layer on disk, replacing usages of unrealMaterials within `Stage_ with references to the exported UsdPreviewMaterial assets. |
Overridden from UExporter
| Type | Name | Description | |
|---|---|---|---|
| bool | ExportBinary
(
UObject* Object, |
Export object to binary |