Navigation
API > API/Plugins > API/Plugins/USDExporter > API/Plugins/USDExporter/UUsdConversionBlueprintContext
Description
Opens or creates a USD stage using `StageRootLayerPath_ as root layer, creating the root layer if needed. All future conversions will fetch prims and get/set USD data to/from this stage. Note: You must remember to call Cleanup() when done, or else this object will permanently hold a reference to the opened stage!
| Name | SetStageRootLayer |
| 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="Export context")
void SetStageRootLayer
(
FFilePath StageRootLayerPath
)