Navigation
API > API/Plugins > API/Plugins/USDClasses
Describes the different types of "prim duplication" operations we support with UsdUtils::DuplicatePrims
| Name | EUsdDuplicateType |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDDuplicateType.h |
| Include Path | #include "USDDuplicateType.h" |
Syntax
enum EUsdDuplicateType
{
FlattenComposedPrim,
SingleLayerSpecs,
AllLocalLayerSpecs,
}
Values
| Name | Remarks |
|---|---|
| FlattenComposedPrim | Generate a flattened duplicate of the composed prim onto the current edit target |
| SingleLayerSpecs | Duplicate the prim's specs on the current edit target only |
| AllLocalLayerSpecs | Duplicate each of the prim's specs across the entire stage |