setLocalTransform#

Fully qualified name: usdex::core::setLocalTransform

bool usdex::core::setLocalTransform(
const pxr::UsdGeomXformable &xformable,
const pxr::GfVec3d &translation,
const pxr::GfVec3d &pivot,
const pxr::GfVec3f &rotation,
const RotationOrder rotationOrder,
const pxr::GfVec3f &scale,
pxr::UsdTimeCode time = pxr::UsdTimeCode::Default(),
)#

Set the local transform of an xformable from common transform components.

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

  • translation – The translation value to set.

  • pivot – The pivot position value to set.

  • rotation – The rotation value to set in degrees.

  • rotationOrder – The rotation order of the rotation value.

  • scale – The scale value to set.

  • time – Time at which to write the values.

Returns:

True if the transform was set successfully.