unreal.USDTestingLibrary

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

Bases: unreal.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 dirty_stage_actor_blueprint(blueprint_derived_stage_actor) None

Intentionally dirties the UBlueprint for the given stage actor’s generated class. This is useful for testing how the stage actor behaves when going into PIE with a dirty blueprint, as that usually triggers a recompile at the very sensitive PIE transition

Parameters

blueprint_derived_stage_actor (UsdStageActor) –

classmethod recompile_blueprint_stage_actor(blueprint_derived_stage_actor) bool

Helps test the effects of blueprint recompilation on the spawned actors and assets when a stage is opened. Returns whether it compiled successfully or not.

Parameters

blueprint_derived_stage_actor (UsdStageActor) –

Return type

bool