get_local_transform_matrix#

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

Gets local 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:

Local transform matrix.

Return type:

Gf.Matrix4d