unreal.UsdConversionLibrary

class unreal.UsdConversionLibrary(outer=None, name='None')

Bases: unreal.Object

Wrapped static conversion functions from the UsdUtilities module, so that they can be used via scripting

C++ Source:

  • Plugin: USDImporter

  • Module: USDExporter

  • File: USDConversionBlueprintLibrary.h

classmethod add_payload(referencing_stage_path, referencing_prim_path, target_stage_path)None

Add Payload

Parameters
  • referencing_stage_path (str) –

  • referencing_prim_path (str) –

  • target_stage_path (str) –

classmethod get_actors_to_convert(world)

Get Actors to Convert

Parameters

world (World) –

Returns

Return type

Set(Actor)

classmethod insert_sub_layer(parent_layer_path, sub_layer_path, index=- 1)None

Insert Sub Layer

Parameters
  • parent_layer_path (str) –

  • sub_layer_path (str) –

  • index (int32) –

classmethod make_path_relative_to_layer(anchor_layer_path, path_to_make_relative)str

Make Path Relative to Layer

Parameters
  • anchor_layer_path (str) –

  • path_to_make_relative (str) –

Returns

Return type

str