_removePrims#

Fully qualified name: usd_optimize::_removePrims

void usd_optimize::_removePrims(
RemoveMethod method,
const PXR_NS::UsdStageWeakPtr &usdStage,
const std::vector<PXR_NS::UsdPrim> &removePrims,
const std::vector<PXR_NS::UsdPrim> &visiblePrims = {},
)#

Uses the specified method to remove the prims from the stage.

Parameters:
  • method – How the prims should be removed from the stage

  • usdStage – The Usd stage

  • removePrims – The prims to remove

  • visiblePrims – special argument that is only needed if RemoveMethod::eSetAttribute is used which specifies the prims that are visible so they can have their hidden attribute set to true.