setLocalTransform#
Fully qualified name: usdex::core::setLocalTransform
- bool usdex::core::setLocalTransform(
- const pxr::UsdGeomXformable &xformable,
- const pxr::GfVec3d &translation,
- const pxr::GfQuatf &orientation,
- const pxr::GfVec3f &scale = pxr::GfVec3f(1.0f, 1.0f, 1.0f),
- pxr::UsdTimeCode time = pxr::UsdTimeCode::Default(),
Set the local transform of an xformable from common transform components using a quaternion for orientation.
- Parameters:
xformable – The xformable to set local transform on.
translation – The translation value to set.
orientation – The orientation value to set as a quaternion.
scale – The scale value to set - defaults to (1.0, 1.0, 1.0).
time – Time at which to write the values.
- Returns:
True if the transform was set successfully.