omni::connect::core::bindMaterial

Defined in omni/connect/core/MaterialAlgo.h

void omni::connect::core::bindMaterial(pxr::UsdPrim prim, const pxr::UsdShadeMaterial &material)

Binds a UsdShadeMaterial to a UsdPrim.

Parameters
  • prim – UsdPrim to bind the material to

  • material – UsdShadeMaterial to bind to the prim