UAssetRegistryHelpers::CreateAssetData

Creates asset data from a [UObject](API\Runtime\CoreUObject\UObject\UObject).

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

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

Include

#include "AssetRegistryHelpers.h"

Source

/Engine/Source/Runtime/AssetRegistry/Private/AssetRegistryHelpers.cpp

Syntax

static FAssetData CreateAssetData
(
    const UObject * InAsset,
    bool bAllowBlueprintClass
)

Remarks

Creates asset data from a UObject.

Parameters

Parameter

Description

InAsset

The asset to create asset data for

bAllowBlueprintClass

By default trying to create asset data for a blueprint class will create one for the UBlueprint instead

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