defineXform#
Fully qualified name: usdex::core::defineXform
- pxr::UsdGeomXform usdex::core::defineXform(
- pxr::UsdPrim parent,
- const std::string &name,
- std::optional<const pxr::GfTransform> transform = std::nullopt,
Defines an xform on the stage.
- Parameters:
parent – Prim below which to define the xform
name – Name of the xform
transform – Optional local transform to set
- Returns:
UsdGeomXform schema wrapping the defined UsdPrim. Returns an invalid schema on error.