UnrealUSDWrapper

Choose your operating system:

Windows

macOS

Linux

References

Module

UnrealUSDWrapper

Header

/Engine/Plugins/Importers/USDImporter/Source/UnrealUSDWrapper/Public/UnrealUSDWrapper.h

Include

#include "UnrealUSDWrapper.h"

Syntax

class UnrealUSDWrapper

Functions

Name Description

Public function Static

void

 

ClearDiagnosticDelegate()

Stops listening to error/warning/log messages emitted by USD

Public function Static

void

 

EraseStageFromCache

(
    const UE::FUsdStage& Stage
)

Removes the stage from the stage cache. See UsdStageCache::Erase.

Public function Static

TArray< UE::...

 

GetAllStagesFromCache()

Returns all the stages that are currently opened in the USD utils stage cache, shared between C++ and Python

Public function Static

TArray< FStr...

 

GetAllSupportedFileFormats()

Returns the file extensions the USD SDK supports reading from (e.g. ["usd", "usda", "usdc", etc.])

Public function Static

UE::FUsdStag...

 

NewStage()

Creates a new memory USD root layer, opens it as a new stage and returns that stage

Public function Static

UE::FUsdStag...

 

NewStage

(
    const TCHAR* FilePath
)

Creates a new USD root layer file, opens it as a new stage and returns that stage

Public function Static

UE::FUsdStag...

 

OpenStage

(
    const TCHAR* Identifier,
    EUsdInitialLoadSet InitialLoadSet,
    bool bUseStageCache
)

Opens a file as a root layer of an USD stage, and returns that stage.

Public function Static

void

 

SetupDiagnosticDelegate()

Starts listening to error/warning/log messages emitted by USD

Constants

Name

Description

Delegate