UUsdConversionBlueprintContext::SetStageRootLayer

Opens or creates a USD stage using `StageRootLayerPath_ as root layer, creating the root layer if needed.

Windows
MacOS
Linux

References

Module

USDExporter

Header

/Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/USDConversionBlueprintContext.h

Include

#include "USDConversionBlueprintContext.h"

Source

/Engine/Plugins/Importers/USDImporter/Source/USDExporter/Private/USDConversionBlueprintContext.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Export context")
void SetStageRootLayer
(
    FFilePath StageRootLayerPath
)

Remarks

Opens or creates a USD stage using `StageRootLayerPath_ as root layer, creating the root layer if needed. All future conversions will fetch prims and get/set USD data to/from this stage.

You must remember to call Cleanup() when done, or else this object will permanently hold a reference to the opened stage!

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss