_copyPrim#
Fully qualified name: usd_optimize::_copyPrim
- PXR_NS::UsdPrim usd_optimize::_copyPrim(
- const PXR_NS::UsdPrim &prim,
- const PXR_NS::SdfLayerHandle &targetLayer,
- const PXR_NS::SdfPath &targetPath,
Create a copy of
primattargetPath.- Parameters:
prim – The prim to copy
targetLayer – The layer to create the new prim in
targetPath – The full path and name of the new prim to create