setLocalTransform#

Fully qualified name: usdex::core::setLocalTransform

bool usdex::core::setLocalTransform(
pxr::UsdPrim prim,
const pxr::GfMatrix4d &matrix,
pxr::UsdTimeCode time = pxr::UsdTimeCode::Default(),
)#

Set the local transform of a prim from a 4x4 matrix.

Parameters:
  • prim – The prim to set local transform on.

  • matrix – The matrix value to set.

  • time – Time at which to write the value.

Returns:

A bool indicating if the local transform was set.