SmApiUsdTessellateBrepArray#

Defined in SM_API_USD/inc/SmApiUsdTessellate.h

SmStatus SmApiUsdTessellateBrepArray(
const pxr::UsdPrim &crBrepArray,
const SmTessellationParams &crParams,
SmBoolean bHealerIsEnabled,
double dBoundaryAngleTolDeg,
std::vector<SmApiUsdTessellatedBrep> &rResults,
)#

Import, tessellate and extract each Brep of a BrepArray prim, one result per member in packed order. Members fail independently; SmApiTessellate keeps partial meshes. Uses a context private to the call, so concurrent calls are safe while the stage is not being modified. Returns an error with one whole-prim result if the prim cannot be read or has no Breps; malformed packed data stops at that member.

Parameters:
  • crBrepArray – [in ]: BrepArray prim

  • crParams – [in ]: tessellation quality controls

  • bHealerIsEnabled – [in ]: run the healer while importing

  • dBoundaryAngleTolDeg – [in ]: edge sampling angle (deg), 0 = none

  • rResults – [out]: one entry per member