Navigation
API > API/Plugins > API/Plugins/USDExporter > API/Plugins/USDExporter/UUsdConversionBlueprintContext
Description
Clears any opinions for the 'unreal' render context surface output of MaterialPrim within LayerToAuthorIn. If LayerToAuthorIn is empty it will clear opinions from all layers of the stage's layer stack.
| Name | RemoveUnrealSurfaceOutput |
| Type | function |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/USDConversionBlueprintContext.h |
| Include Path | #include "USDConversionBlueprintContext.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Private/USDConversionBlueprintContext.cpp |
UFUNCTION (BlueprintCallable, Category="Conversion utils")
bool RemoveUnrealSurfaceOutput
(
const FString & PrimPath,
const FFilePath & LayerToAuthorIn
)
Whether we successfully cleared the opinions or not
Parameters
| Name | Remarks |
|---|---|
| Primpath | Path to the prim pxr::UsdShadeMaterial schema to update the 'unreal' surface output of (e.g. "/Root/MyCube/Red") |
| LayerToAuthorIn | Layer to clear the opinions in. Can be the empty string to clear opinions from all layers in the layer stack |