newton.usd.get_scale#

newton.usd.get_scale(prim)[source]#

Extract the scale component from a USD prim’s local transformation.

Parameters:

prim (Prim) – The USD prim to query for scale information.

Returns:

The scale as a Warp vec3.

Return type:

vec3f