setLocalTransform#
Fully qualified name: usdex::core::setLocalTransform
- bool usdex::core::setLocalTransform(
- pxr::UsdPrim prim,
- 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 a prim from common transform components.
- Parameters:
prim – The prim 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.