defineScope#

Fully qualified name: usdex::core::defineScope

pxr::UsdGeomScope usdex::core::defineScope(
pxr::UsdPrim parent,
const std::string &name,
)#

Defines a scope on the stage.

This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts.

Parameters:
  • parent – Prim below which to define the scope

  • name – Name of the scope

Returns:

UsdGeomScope schema wrapping the defined UsdPrim. Returns an invalid schema on error.