getLocalTransformMatrix#

Fully qualified name: usdex::core::getLocalTransformMatrix

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

Get the local transform of a prim at a given time in the form of a 4x4 matrix.

Parameters:
  • prim – The prim to get local transform from.

  • time – Time at which to query the value.

Returns:

Transform value as a 4x4 matrix.