FUsdSchemaTranslationContext

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TSharedFromThis

FUsdSchemaTranslationContext

References

Module

USDSchemas

Header

/Engine/Plugins/Importers/USDImporter/Source/USDSchemas/Public/USDSchemaTranslator.h

Include

#include "USDSchemaTranslator.h"

Syntax

struct FUsdSchemaTranslationContext : public TSharedFromThis< FUsdSchemaTranslationContext >

Variables

Name Description

Public variable

TStrongObjectPt...

 

AssetCache

Where the translated assets will be stored

Public variable

bool

 

bAllowInterpretingLODs

If true, prims with a "LOD" variant set, and "LOD0", "LOD1", etc.

Public variable

bool

 

bAllowParsingSkeletalAnimations

If true, we will also try creating UAnimSequence skeletal animation assets when parsing SkelRoot prims

Public variable

UsdUtils::FBlen...

 

BlendShapesByPath

Where we place imported blend shapes, if available

Public variable

EUsdDefaultKind

 

KindsToCollapse

Whether to try to combine individual assets and components of the same type on a kind-per-kind basis, like multiple Mesh prims into a single Static Mesh

Public variable

ULevel *

 

Level

Level to spawn actors in

Public variable

TMap< FString, ...

 

MaterialToPrimvarToUVIndex

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

Public variable

int32

 

NaniteTriangleThreshold

If a generated UStaticMesh has at least this many triangles we will attempt to enable Nanite

Public variable

EObjectFlags

 

ObjectFlags

Flags used when creating UObjects

Public variable

USceneComponent...

 

ParentComponent

The parent component when translating children

Public variable

EUsdPurpose

 

PurposesToLoad

We're only allowed to load prims with purposes that match these flags

Public variable

FName

 

RenderContext

The render context to use when translating materials

Public variable

UE::FUsdStage

 

Stage

Pxr::UsdStage we're translating from

Public variable

float

 

Time

The time at which we are translating

Public variable

TArray< TShared...

 

TranslatorTasks

Constructors

Name Description

Public function

FUsdSchemaTranslationContext

(
    const UE::FUsdStage& InStage,
    UUsdAssetCache& InAssetCache
)

Functions

Name Description

Public function

void

 

CompleteTasks()

Public function Const

bool

 

IsValid()