unreal.USDTestingLibrary

class unreal.USDTestingLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Library of functions that can be used via Python scripting to help testing the other USD functionality

C++ Source:

  • Plugin: USDImporter

  • Module: USDTests

  • File: USDTestsBlueprintLibrary.h

classmethod clear_transaction_history() None

Clear Transaction History

classmethod dirty_stage_actor_blueprint(blueprint_derived_stage_actor) None

Dirty Stage Actor Blueprint

Parameters:

blueprint_derived_stage_actor (UsdStageActor) –

classmethod get_subtree_material_slot_count(stage_actor, prim_path) int64

Get Subtree Material Slot Count

Parameters:
Return type:

int64

classmethod get_subtree_vertex_count(stage_actor, prim_path) int64

Get Subtree Vertex Count

Parameters:
Return type:

int64

classmethod recompile_blueprint_stage_actor(blueprint_derived_stage_actor) bool

Recompile Blueprint Stage Actor

Parameters:

blueprint_derived_stage_actor (UsdStageActor) –

Return type:

bool

classmethod set_usd_stage_cpp(stage_actor, new_stage_root_layer) None

Set Usd Stage Cpp

Parameters: