IAssetRegistry::InitializeTemporaryAssetRegistryState

Fills in a AssetRegistryState with a copy of the data in the internal cache, overriding some

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h

Include

#include "AssetRegistry/IAssetRegistry.h"

Syntax

void InitializeTemporaryAssetRegistryState
(
    FAssetRegistryState & OutState,
    const FAssetRegistrySerializationOptions & Options,
    bool bRefreshExisting,
    const TMap< FName, FAssetData * > & OverrideData
) const

Remarks

Fills in a AssetRegistryState with a copy of the data in the internal cache, overriding some

Parameters

Parameter

Description

OutState

This will be filled in with a copy of the asset data, platform data, and dependency data

Options

Serialization options that will be used to write this later

bRefreshExisting

If true, will not delete or add packages in OutState and will just update things that already exist

OverrideData

Map of ObjectPath to AssetData. If non empty, it will use this map of AssetData, and will filter Platform/Dependency data to only include this set

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