newton.usd.get_transform#
- newton.usd.get_transform(prim, local=True)[source]#
Extract the transform (position and rotation) from a USD Xform prim.
- Parameters:
prim (Prim) – The USD prim to query.
local (bool) – If True, get the local transformation; if False, get the world transformation.
- Returns:
A Warp transform containing the position and rotation extracted from the prim.
- Return type: