Navigation
API > API/Plugins > API/Plugins/USDUtilities
References
| Module | USDUtilities |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDUtilities/Public/USDConversionUtils.h |
| Include | #include "USDConversionUtils.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/USDUtilities/Private/USDConversionUtils.cpp |
namespace UsdUtils
{
TArray< UE::FSdfPath > UsdUtils&58;&58;PastePrims
&40;
const UE::FUsdPrim & ParentPrim
&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 |
|---|---|
| ParentPrim | Prim that will become parent to the pasted prims |