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