defineXform#
Fully qualified name: usdex::core::defineXform
- pxr::UsdGeomXform usdex::core::defineXform(
- pxr::UsdStagePtr stage,
- const pxr::SdfPath &path,
- const pxr::GfMatrix4d &matrix,
Defines an xform on the stage.
- Parameters:
stage – The stage on which to define the xform
path – The absolute prim path at which to define the xform
matrix – The local transform matrix to set
- Returns:
UsdGeomXform schema wrapping the defined UsdPrim. Returns an invalid schema on error.