Navigation
API > API/Plugins > API/Plugins/USDExporter > API/Plugins/USDExporter/UUsdConversionBlueprintLibrary
References
| Module | USDExporter |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/USDConversionBlueprintLibrary.h |
| Include | #include "USDConversionBlueprintLibrary.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Private/USDConversionBlueprintLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Prim utils"&41;
static TArray< FString > PastePrims
&40;
const FString & StageRootLayer,
const FString & ParentPrimPath
&41;
Remarks
Pastes the prims from the clipboard stage as children of ParentPrim.
The pasted prims may be renamed in order to have valid names for the target location, which is why this function returns the pasted prim paths. This function returns just paths instead of actual prims because USD needs to respond to the notices about the created prim specs before the prims are fully created, which means we wouldn't be able to return the created prims yet, in case this function was called from within an SdfChangeBlock. Paths to the pasted prim specs, after they were added as children of ParentPrim
Parameters
| Name | Description |
|---|---|
| StageRootLayer | Path to the root layer of the stage from which we should fetch the Prims |
| ParentPrimPath | Prim that will become parent to the pasted prims |