UAssetRegistryHelpers

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UAssetRegistryHelpers

References

Module

AssetRegistry

Header

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

Include

#include "AssetRegistryHelpers.h"

Syntax

class UAssetRegistryHelpers : public UObject

Functions

Name Description

Public function Static

FAssetData

 

CreateAssetData

(
    const UObject* InAsset,
    bool bAllowBlueprintClass
)

Creates asset data from a UObject.

Public function Static

UObject *...

 

GetAsset

(
    const FAssetData& InAssetData
)

Returns the asset UObject if it is loaded or loads the asset if it is unloaded then returns the result

Public function Static

TScriptInter...

 

GetAssetRegistry()

Public function Static

UClass *

 

GetClass

(
    const FAssetData& InAssetData
)

Public function Static

FString

 

GetExportTextName

(
    const FAssetData& InAssetData
)

Returns the name for the asset in the form: Class'ObjectPath'

Public function Static

FString

 

GetFullName

(
    const FAssetData& InAssetData
)

Returns the full name for the asset in the form: Class ObjectPath

Public function Static

bool

 

GetTagValue

(
    const FAssetData& InAssetData,
    const FName& InTagName,
    FString& OutTagValue
)

Gets the value associated with the given tag as a string

Public function Static

bool

 

IsAssetLoaded

(
    const FAssetData& InAssetData
)

Returns true if the asset is loaded

Public function Static

bool

 

IsRedirector

(
    const FAssetData& InAssetData
)

Returns true if the this asset is a redirector.

Public function Static

bool

 

IsUAsset

(
    const FAssetData& InAssetData
)

Returns true if this is the primary asset in a package, true for maps and assets but false for secondary objects like class redirectors

Public function Static

bool

 

IsValid

(
    const FAssetData& InAssetData
)

Checks to see if this AssetData refers to an asset or is NULL

Public function Static

FARFilter

 

SetFilterTagsAndValues

(
    const FARFilter& InFilter,
    const TArray< FTagAndValue >& InTa...
)

Populates the FARFilters tags and values map with the passed in tags and values

Public function Static

FSoftObjectP...

 

ToSoftObjectPath

(
    const FAssetData& InAssetData
)

Convert to a SoftObjectPath for loading

Classes

Name

Description

Public struct

FTemporaryCachingModeScope

Enable/disable asset registry caching mode for the duration of the scope

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