get_world_transform_matrix

omni.usd.get_world_transform_matrix(prim: Prim, time_code: TimeCode = Usd.TimeCode.Default()) Matrix4d

Gets work transform matrix of specific time code from prim.

Parameters
  • prim (Usd.Prim) – The prim handle.

  • time_code (Usd.TimeCode, optional) – Time code to query. Defaults to Usd.TimeCode.Default().

Returns

World transform matrix.

Return type

Gf.Matrix4d