FUsdStageImportContext

Windows
MacOS
Linux

References

Module

USDStageImporter

Header

/Engine/Plugins/Importers/USDImporter/Source/USDStageImporter/Public/USDStageImportContext.h

Include

#include "USDStageImportContext.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FUsdStageImportContext

Variables

Name Description

Public variable UProperty

UUsdAssetCache ...

 

AssetCache

Public variable

bool

 

bIsAutomated

If true, options dialog won't be shown

Public variable

bool

 

bReadFromStageCache

If true, this will try loading the stage from the static stage cache before re-reading the file.

Public variable

bool

 

bStageWasOriginallyOpen

If we're reading from the stage cache and the stage was originally open, it will be left open when the import is completed

Public variable UProperty

FString

 

FilePath

Path of the main usd file to import

Public variable UProperty

UObject *

 

ImportedAsset

Keep track of the last imported object so that we have something valid to return to upstream code that calls the import factories

Public variable

EObjectFlags

 

ImportObjectFlags

Object flags to apply to newly imported objects

Public variable UProperty

UUsdStageImport...

 

ImportOptions

Public variable

FUsdLevelSequen...

 

LevelSequenceHelper

Level sequence that will contain the animation data during the import process

Public variable

TMap< FString, ...

 

MaterialToPrimvarToUVIndex

When parsing materials, we keep track of which primvar we mapped to which UV channel.

Public variable UProperty

FString

 

ObjectName

Name to use when importing a single mesh

Public variable

float

 

OriginalMetersPerUnit

We modify the stage with our meters per unit import option on import.

Public variable

EUsdUpAxis

 

OriginalUpAxis

Public variable UProperty

FString

 

PackagePath

Public variable UProperty

AActor *

 

SceneActor

Spawned actor that contains the imported scene as a child hierarchy

Public variable

UE::FUsdStage

 

Stage

Public variable

UWorld *

 

World

Constructors

Name Description

Public function

FUsdStageImportContext()

Functions

Name Description

Public function

bool

 

Init

(
    const FString& InName,
    const FString& InFilePath,
    const FString& InInitialPackagePat...,
    EObjectFlags InFlags,
    bool bInIsAutomated,
    bool bIsReimport,
    bool bAllowActorImport
)

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