unreal.USDPregenContext¶
- class unreal.USDPregenContext(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterchangeUsdContextPregen-aware USD context that overrides asset node UID generation to produce stable, target-remapped UIDs. This causes all instances of the same pregen target to converge to the same node UID, achieving deduplication.
Set as the USD context on SourceData (via the standard “USD” tag) in place of the base UInterchangeUsdContext.
C++ Source:
Plugin: USDPregen
Module: USDPregenInterchange
File: USDPregenContext.h