Navigation
API > API/Plugins > API/Plugins/USDExporter
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UUsdConversionBlueprintLibrary
References
| Module | USDExporter |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/USDConversionBlueprintLibrary.h |
| Include | #include "USDConversionBlueprintLibrary.h" |
Syntax
UCLASS (Meta=(ScriptName="UsdConversionLibrary"))
class UUsdConversionBlueprintLibrary : public UBlueprintFunctionLibrary
Remarks
Wrapped static conversion functions from the UsdUtilities module, so that they can be used via scripting
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPayload
(
const FString& ReferencingStagePath, |
||
| void | AddReference
(
const FString& ReferencingStagePath, |
||
| void | |||
| bool | CanExportToLayer
(
const FString& TargetFilePath |
Checks whether we can create a USD Layer with "TargetFilePath" as identifier and export to it | |
| bool | Returns true if we have prims that we can paste within our clipboard stage | ||
| bool | ClearMetadataField
(
UUsdAssetUserData* AssetUserData, |
||
| void | Clears all prims from our clipboard stage | ||
| bool | Copies flattened versions of the input prims onto the clipboard stage. | ||
| bool | Copies flattened versions of the input prims onto the clipboard stage and removes all the prim specs for Prims from their stages. | ||
| TArray< FString > | DuplicatePrims
(
const FString& StageRootLayer, |
Duplicates all provided Prims one-by-one, performing the requested DuplicateType. | |
| FString | GenerateObjectVersionString
(
const UObject* ObjectToExport, |
Generates a unique identifier string that involves ObjectToExport's package's persistent guid, the corresponding file save date and time, and the number of times the package has been dirtied since last being saved. | |
| TSet< AActor * > | GetActorsToConvert
(
UWorld* World |
||
| TArray< FAnalyticsEventAttr > | GetAnalyticsAttributes
(
const ULevelExporterUSDOptions* Options |
Retrieves the analytics attributes to send for the provided options object | |
| AInstancedFoliageActor * | GetInstancedFoliageActorForLevel
(
bool bCreateIfNone, |
Wraps AInstancedFoliageActor::GetInstancedFoliageActorForLevel, and allows retrieving the current AInstancedFoliageActor for a level. | |
| TArray< FTransform > | GetInstanceTransforms
(
AInstancedFoliageActor* Actor, |
Returns the transforms of all instances of a particular UFoliageType on a given level. | |
| TArray< FString > | GetLoadedLevelNames
(
UWorld* World |
Returns the path name (e.g. "/Game/Maps/MyLevel") of levels that are loaded on `World_. | |
| FUsdMetadataValue | GetMetadataField
(
UUsdAssetUserData* AssetUserData, |
||
| int32 | GetNumLevelsToExport
(
UWorld* World, |
Returns how many total Unreal levels (persistent + all sublevels) will be exported if we consider LevelsToIgnore | |
| FString | GetPrimPathForObject
(
const UObject* ActorOrComponent, |
||
| FString | GetSchemaNameForComponent
(
const USceneComponent* Component |
||
| UObject * | GetSource
(
UFoliageType* FoliageType |
Returns the source asset for a UFoliageType. | |
| UUsdAssetUserData * | GetUsdAssetUserData
(
UObject* Object |
Retrieve the first instance of UUsdAssetUserData contained on the Object, if any | |
| TArray< UFoliageType * > | GetUsedFoliageTypes
(
AInstancedFoliageActor* Actor |
Returns all the different types of UFoliageType assets that a particular AInstancedFoliageActor uses. | |
| TArray< FString > | GetVisibleInEditorLevelNames
(
UWorld* World |
Returns the path name (e.g. "/Game/Maps/MyLevel") of levels that checked to be visible in the editor within `World_. | |
| bool | HasMetadataField
(
UUsdAssetUserData* AssetUserData, |
||
| void | InsertSubLayer
(
const FString& ParentLayerPath, |
||
| FString | MakePathRelativeToLayer
(
const FString& AnchorLayerPath, |
||
| TArray< FString > | PastePrims
(
const FString& StageRootLayer, |
Pastes the prims from the clipboard stage as children of ParentPrim. | |
| void | If we used `ReverseSequencerAnimations_ to undo the effect of an opened sequencer before export, this function can be used to re-apply the sequencer state back to the level after the export is complete | ||
| void | RemoveAllPrimSpecs
(
const FString& StageRootLayer, |
Removes all the prim specs for Prim on the given Layer. | |
| void | |||
| void | If we have the Sequencer open with a level sequence animating the level before export, this function can revert any actor or component to its unanimated state | ||
| void | SendAnalytics
(
const TArray< FAnalyticsEventAttr >& Attrs, |
Defer to the USDClasses module to actually send analytics information | |
| bool | SetMetadataField
(
UUsdAssetUserData* AssetUserData, |
Utilities that make it easier to get/set metadata fields without having to manipulate the nested struct instances directly. | |
| bool | SetUsdAssetUserData
(
UObject* Object, |
Sets AssetUserData as the single UUsdAssetUserData on the Object, overwriting an existing one if encountered. | |
| void | StreamInRequiredLevels
(
UWorld* World, |
Fully streams in and displays all levels whose names are not in LevelsToIgnore | |
| void | Streams out/hides sublevels that were streamed in before export | ||
| FString | StringifyAsAssetPath
(
const FString& Value |
||
| FString | StringifyAsAssetPathArray
(
const TArray< FString >& Value |
||
| FString | StringifyAsBool
(
bool Value |
||
| FString | StringifyAsBoolArray
(
const TArray< bool >& Value |
||
| FString | StringifyAsDouble
(
double Value |
||
| FString | StringifyAsDouble2
(
const FVector2D& Value |
||
| FString | StringifyAsDouble2Array
(
const TArray< FVector2D >& Value |
||
| FString | StringifyAsDouble3
(
const FVector& Value |
||
| FString | StringifyAsDouble3Array
(
const TArray< FVector >& Value |
||
| FString | StringifyAsDouble4
(
const FVector4& Value |
||
| FString | StringifyAsDouble4Array
(
const TArray< FVector4 >& Value |
||
| FString | StringifyAsDoubleArray
(
const TArray< double >& Value |
||
| FString | StringifyAsFloat
(
float Value |
||
| FString | StringifyAsFloat2
(
const FVector2D& Value |
||
| FString | StringifyAsFloat2Array
(
const TArray< FVector2D >& Value |
||
| FString | StringifyAsFloat3
(
const FVector& Value |
||
| FString | StringifyAsFloat3Array
(
const TArray< FVector >& Value |
||
| FString | StringifyAsFloat4
(
const FVector4& Value |
||
| FString | StringifyAsFloat4Array
(
const TArray< FVector4 >& Value |
||
| FString | StringifyAsFloatArray
(
const TArray< float >& Value |
||
| FString | StringifyAsHalf
(
float Value |
||
| FString | StringifyAsHalf2
(
const FVector2D& Value |
||
| FString | StringifyAsHalf2Array
(
const TArray< FVector2D >& Value |
||
| FString | StringifyAsHalf3
(
const FVector& Value |
||
| FString | StringifyAsHalf3Array
(
const TArray< FVector >& Value |
||
| FString | StringifyAsHalf4
(
const FVector4& Value |
||
| FString | StringifyAsHalf4Array
(
const TArray< FVector4 >& Value |
||
| FString | StringifyAsHalfArray
(
const TArray< float >& Value |
||
| FString | StringifyAsInt
(
int32 Value |
||
| FString | StringifyAsInt2
(
const FIntPoint& Value |
||
| FString | StringifyAsInt2Array
(
const TArray< FIntPoint >& Value |
||
| FString | StringifyAsInt3
(
const FIntVector& Value |
||
| FString | StringifyAsInt3Array
(
const TArray< FIntVector >& Value |
||
| FString | StringifyAsInt4
(
const FIntVector4& Value |
||
| FString | StringifyAsInt4Array
(
const TArray< FIntVector4 >& Value |
||
| FString | StringifyAsInt64
(
int64 Value |
||
| FString | StringifyAsInt64Array
(
const TArray< int64 >& Value |
||
| FString | StringifyAsIntArray
(
const TArray< int32 >& Value |
||
| FString | StringifyAsListOpTokens
(
const TArray< FString >& Value |
||
| FString | StringifyAsMatrix2d
(
const FMatrix2D& Value |
||
| FString | StringifyAsMatrix2dArray
(
const TArray< FMatrix2D >& Value |
||
| FString | StringifyAsMatrix3d
(
const FMatrix3D& Value |
||
| FString | StringifyAsMatrix3dArray
(
const TArray< FMatrix3D >& Value |
||
| FString | StringifyAsMatrix4d
(
const FMatrix& Value |
||
| FString | StringifyAsMatrix4dArray
(
const TArray< FMatrix >& Value |
||
| FString | StringifyAsQuatd
(
const FQuat& Value |
||
| FString | StringifyAsQuatdArray
(
const TArray< FQuat >& Value |
||
| FString | StringifyAsQuatf
(
const FQuat& Value |
||
| FString | StringifyAsQuatfArray
(
const TArray< FQuat >& Value |
||
| FString | StringifyAsQuath
(
const FQuat& Value |
||
| FString | StringifyAsQuathArray
(
const TArray< FQuat >& Value |
||
| FString | StringifyAsString
(
const FString& Value |
||
| FString | StringifyAsStringArray
(
const TArray< FString >& Value |
||
| FString | StringifyAsTimeCode
(
double Value |
||
| FString | StringifyAsTimeCodeArray
(
const TArray< double >& Value |
||
| FString | StringifyAsToken
(
const FString& Value |
||
| FString | StringifyAsTokenArray
(
const TArray< FString >& Value |
||
| FString | StringifyAsUChar
(
uint8 Value |
||
| FString | StringifyAsUCharArray
(
const TArray< uint8 >& Value |
||
| FString | StringifyAsUInt
(
int32 Value |
||
| FString | StringifyAsUInt64
(
int64 Value |
||
| FString | StringifyAsUInt64Array
(
const TArray< int64 >& Value |
||
| FString | StringifyAsUIntArray
(
const TArray< int32 >& Value |
||
| FString | UnstringifyAsAssetPath
(
const FString& String |
||
| TArray< FString > | UnstringifyAsAssetPathArray
(
const FString& String |
||
| bool | UnstringifyAsBool
(
const FString& String |
||
| TArray< bool > | UnstringifyAsBoolArray
(
const FString& String |
||
| double | UnstringifyAsDouble
(
const FString& String |
||
| FVector2D | UnstringifyAsDouble2
(
const FString& String |
||
| TArray< FVector2D > | UnstringifyAsDouble2Array
(
const FString& String |
||
| FVector | UnstringifyAsDouble3
(
const FString& String |
||
| TArray< FVector > | UnstringifyAsDouble3Array
(
const FString& String |
||
| FVector4 | UnstringifyAsDouble4
(
const FString& String |
||
| TArray< FVector4 > | UnstringifyAsDouble4Array
(
const FString& String |
||
| TArray< double > | UnstringifyAsDoubleArray
(
const FString& String |
||
| float | UnstringifyAsFloat
(
const FString& String |
||
| FVector2D | UnstringifyAsFloat2
(
const FString& String |
||
| TArray< FVector2D > | UnstringifyAsFloat2Array
(
const FString& String |
||
| FVector | UnstringifyAsFloat3
(
const FString& String |
||
| TArray< FVector > | UnstringifyAsFloat3Array
(
const FString& String |
||
| FVector4 | UnstringifyAsFloat4
(
const FString& String |
||
| TArray< FVector4 > | UnstringifyAsFloat4Array
(
const FString& String |
||
| TArray< float > | UnstringifyAsFloatArray
(
const FString& String |
||
| float | UnstringifyAsHalf
(
const FString& String |
||
| FVector2D | UnstringifyAsHalf2
(
const FString& String |
||
| TArray< FVector2D > | UnstringifyAsHalf2Array
(
const FString& String |
||
| FVector | UnstringifyAsHalf3
(
const FString& String |
||
| TArray< FVector > | UnstringifyAsHalf3Array
(
const FString& String |
||
| FVector4 | UnstringifyAsHalf4
(
const FString& String |
||
| TArray< FVector4 > | UnstringifyAsHalf4Array
(
const FString& String |
||
| TArray< float > | UnstringifyAsHalfArray
(
const FString& String |
||
| int32 | UnstringifyAsInt
(
const FString& String |
||
| FIntPoint | UnstringifyAsInt2
(
const FString& String |
||
| TArray< FIntPoint > | UnstringifyAsInt2Array
(
const FString& String |
||
| FIntVector | UnstringifyAsInt3
(
const FString& String |
||
| TArray< FIntVector > | UnstringifyAsInt3Array
(
const FString& String |
||
| FIntVector4 | UnstringifyAsInt4
(
const FString& String |
||
| TArray< FIntVector4 > | UnstringifyAsInt4Array
(
const FString& String |
||
| int64 | UnstringifyAsInt64
(
const FString& String |
||
| TArray< int64 > | UnstringifyAsInt64Array
(
const FString& String |
||
| TArray< int32 > | UnstringifyAsIntArray
(
const FString& String |
||
| TArray< FString > | UnstringifyAsListOpTokens
(
const FString& String |
||
| FMatrix2D | UnstringifyAsMatrix2d
(
const FString& String |
||
| TArray< FMatrix2D > | UnstringifyAsMatrix2dArray
(
const FString& String |
||
| FMatrix3D | UnstringifyAsMatrix3d
(
const FString& String |
||
| TArray< FMatrix3D > | UnstringifyAsMatrix3dArray
(
const FString& String |
||
| FMatrix | UnstringifyAsMatrix4d
(
const FString& String |
||
| TArray< FMatrix > | UnstringifyAsMatrix4dArray
(
const FString& String |
||
| FQuat | UnstringifyAsQuatd
(
const FString& String |
||
| TArray< FQuat > | UnstringifyAsQuatdArray
(
const FString& String |
||
| FQuat | UnstringifyAsQuatf
(
const FString& String |
||
| TArray< FQuat > | UnstringifyAsQuatfArray
(
const FString& String |
||
| FQuat | UnstringifyAsQuath
(
const FString& String |
||
| TArray< FQuat > | UnstringifyAsQuathArray
(
const FString& String |
||
| FString | UnstringifyAsString
(
const FString& String |
||
| TArray< FString > | UnstringifyAsStringArray
(
const FString& String |
||
| double | UnstringifyAsTimeCode
(
const FString& String |
||
| TArray< double > | UnstringifyAsTimeCodeArray
(
const FString& String |
||
| FString | UnstringifyAsToken
(
const FString& String |
||
| TArray< FString > | UnstringifyAsTokenArray
(
const FString& String |
||
| uint8 | UnstringifyAsUChar
(
const FString& String |
||
| TArray< uint8 > | UnstringifyAsUCharArray
(
const FString& String |
||
| int32 | UnstringifyAsUInt
(
const FString& String |
||
| int64 | UnstringifyAsUInt64
(
const FString& String |
||
| TArray< int64 > | UnstringifyAsUInt64Array
(
const FString& String |
||
| TArray< int32 > | UnstringifyAsUIntArray
(
const FString& String |