Navigation
API > API/Plugins > API/Plugins/USDPregenUObjectStorage
A storage plugin instance is expected to live for a single import. The constructor captures the user's import content folder from UUSDPregenSettings and uses it to place each manifest UAsset in the same content folder as that target's products. Reusing one instance across imports with different content paths would surface stale paths.
| Name | FUsdPregenUObjectStoragePlugin |
| Type | class |
| Header File | /Engine/Plugins/Experimental/USDPregen/Source/USDPregenUObjectStorage/Public/USDPregenUObjectStoragePlugin.h |
| Include Path | #include "USDPregenUObjectStoragePlugin.h" |
Syntax
class FUsdPregenUObjectStoragePlugin : public IStoragePlugin
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| USDPregenUObjectStoragePlugin.h | |||
FUsdPregenUObjectStoragePlugin
(
const FPregenStorageOptions& Options |
USDPregenUObjectStoragePlugin.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContentBasePath | FString | USDPregenUObjectStoragePlugin.h | ||
| PackageSubPathTemplate | FString | ${PLACEHOLDER} template used to build the package sub-path for generated UAssets. | USDPregenUObjectStoragePlugin.h |
Functions
Public
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FManifest DeserializeManifestPayload
(
const FManifestPayload& Payload |
USDPregenUObjectStoragePlugin.h | ||
| USDPregenUObjectStoragePlugin.h | |||
| USDPregenUObjectStoragePlugin.h | |||
virtual FString GetPathForManifest
(
const FTargetUid& TargetUid |
USDPregenUObjectStoragePlugin.h | ||
virtual FManifestLoadResult LoadManifestPayload
(
const FTargetUid& TargetUid |
USDPregenUObjectStoragePlugin.h | ||
virtual FManifestSaveResult PersistManifestPayload
(
const FTargetUid& TargetUid |
USDPregenUObjectStoragePlugin.h | ||
virtual FManifestPayload SerializeManifest
(
const FManifest& Manifest |
USDPregenUObjectStoragePlugin.h | ||
virtual FManifestSaveResult StoreManifestPayload
(
const FTargetUid& TargetUid, |
USDPregenUObjectStoragePlugin.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetPayloadEncoding() |
USDPregenUObjectStoragePlugin.h |