newton.usd.get_transform# newton.usd.get_transform(prim, local=True, invert_rotation=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. invert_rotation (bool) – If True, transpose the rotation matrix before converting to quaternion. Returns: A Warp transform containing the position and rotation extracted from the prim. Return type: transformf