Navigation
API > API/Plugins > API/Plugins/USDTests
Library of functions that can be used via Python scripting to help testing the other USD functionality
| Name | USDTestsBlueprintLibrary |
| Type | class |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/USDTests/Public/USDTestsBlueprintLibrary.h |
| Include Path | #include "USDTestsBlueprintLibrary.h" |
Syntax
UCLASS (Meta=(ScriptName="USDTestingLibrary"))
class USDTestsBlueprintLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → USDTestsBlueprintLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ClearTransactionHistory() |
Clears the editor transaction history (useful to be run before GC, to check for otherwise unreferenced assets) | USDTestsBlueprintLibrary.h |
|
static void DirtyStageActorBlueprint
(
AUsdStageActor* BlueprintDerivedStageActor |
Intentionally dirties the UBlueprint for the given stage actor's generated class. | USDTestsBlueprintLibrary.h |
|
static int64 GetSubtreeMaterialSlotCount
(
AUsdStageActor* StageActor, |
Queries a subtree material slot count using the stage actor's info cache, which is not yet exposed to blueprint. | USDTestsBlueprintLibrary.h |
|
static int64 GetSubtreeVertexCount
(
AUsdStageActor* StageActor, |
Queries a subtree vertex count using the stage actor's info cache, which is not yet exposed to blueprint. | USDTestsBlueprintLibrary.h |
|
static bool RecompileBlueprintStageActor
(
AUsdStageActor* BlueprintDerivedStageActor |
Helps test the effects of blueprint recompilation on the spawned actors and assets when a stage is opened. | USDTestsBlueprintLibrary.h |
|
static void SetUsdStageCpp
(
AUsdStageActor* StageActor, |
Internally opens the provided stage and sets it on the stage actor via C++ | USDTestsBlueprintLibrary.h |
|