Navigation
API > API/Plugins > API/Plugins/USDExporter > API/Plugins/USDExporter/UMaterialExporterUsd
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool ExportMaterial
(
const UMaterialInterface& Material, |
MaterialExporterUSD.h | ||
static bool ExportMaterial
(
const UMaterialInterface& Material, |
Exports a single material with given options to the target filepath as a UsdPreviewSurface USD asset. | MaterialExporterUSD.h |
ExportMaterial(const UMaterialInterface &, const FUsdMaterialBakingOptions &, const FFilePath &, bool, bool, bool)
| Name | ExportMaterial |
| Type | function |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/MaterialExporterUSD.h |
| Include Path | #include "MaterialExporterUSD.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Private/MaterialExporterUSD.cpp |
static bool ExportMaterial
(
const UMaterialInterface & Material,
const FUsdMaterialBakingOptions & Options,
const FFilePath & FilePath,
bool bReplaceIdentical,
bool bReExportIdenticalAssets,
bool bIsAutomated
)
ExportMaterial(const UMaterialInterface &, const FUsdMaterialBakingOptions &, const FUsdMetadataExportOptions &, const FFilePath &, bool, bool, bool)
Description
Exports a single material with given options to the target filepath as a UsdPreviewSurface USD asset.
| Name | ExportMaterial |
| Type | function |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/MaterialExporterUSD.h |
| Include Path | #include "MaterialExporterUSD.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Private/MaterialExporterUSD.cpp |
static bool ExportMaterial
(
const UMaterialInterface & Material,
const FUsdMaterialBakingOptions & Options,
const FUsdMetadataExportOptions & MetadataOptions,
const FFilePath & FilePath,
bool bReplaceIdentical,
bool bReExportIdenticalAssets,
bool bIsAutomated
)
Whether the export was successful or not.
Parameters
| Name | Remarks |
|---|---|
| Material | Material to bake |
| Options | Options to use when baking |
| FilePath | Filepath of the destination file (e.g. "C:/MyFolder/Red.usda") |
| ReplaceIdentical | Whether to overwrite the destination file in case it already exists |
| bReExportIdenticalAssets | Whether to overwrite the destination file even if it already describes an up-to-date version of Material |
| bIsAutomated | Whether the export is being done by a script or not. Just used for analytics |