engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 友元 | 所有成员列表
FAssetIdentifier结构体 参考

Helper struct for FAssetIdentifier (e.g., for the FOnViewAssetIdentifiersInReferenceViewer delegate and Reference Viewer functions). 更多...

#include <AssetData.h>

Public 成员函数

void AppendString (FStringBuilderBase &Builder) const
 Appends to the given builder the string version of this identifier in Package.Object::Name format
 
 FAssetIdentifier (const FPrimaryAssetId &PrimaryAssetId, FName InValueName=NAME_None)
 Construct from a primary asset id
 
 FAssetIdentifier (FName InPackageName, FName InObjectName=NAME_None, FName InValueName=NAME_None)
 Can be implicitly constructed from just the package name
 
FPrimaryAssetId GetPrimaryAssetId () const
 Returns primary asset id for this identifier, if valid
 
bool IsObject () const
 Returns true if this represents an object, true for both package objects and PrimaryAssetId objects
 
bool IsPackage () const
 Returns true if this represents a package
 
bool IsValid () const
 Returns true if this is a valid non-null identifier
 
bool IsValue () const
 Returns true if this represents a specific value
 
FString ToString () const
 Returns string version of this identifier in Package.Object::Name format
 

静态 Public 成员函数

static FAssetIdentifier FromString (const FString &String)
 Converts from Package.Object::Name format
 

Public 属性

FName ObjectName
 Specific object within a package. 更多...
 
FName PackageName
 The name of the package that is depended on, this is always set unless PrimaryAssetType is
 
FPrimaryAssetType PrimaryAssetType
 The primary asset type, if valid the ObjectName is the PrimaryAssetName
 
FName ValueName
 Name of specific value being referenced, if ObjectName specifies a type such as a UStruct
 

友元

FArchive & operator<< (FArchive &Ar, FAssetIdentifier &AssetIdentifier)
 Identifiers may be serialized as part of the registry cache, or in other contexts. 更多...
 

详细描述

Helper struct for FAssetIdentifier (e.g., for the FOnViewAssetIdentifiersInReferenceViewer delegate and Reference Viewer functions).

A structure defining a thing that can be reference by something else in the asset registry. Represents either a package of a primary asset id

友元及相关函数文档

◆ operator<<

FArchive & operator<< ( FArchive &  Ar,
FAssetIdentifier &  AssetIdentifier 
)
friend

Identifiers may be serialized as part of the registry cache, or in other contexts.

If you make changes here you must also change FAssetRegistryVersion

类成员变量说明

◆ ObjectName

FName FAssetIdentifier::ObjectName

Specific object within a package.

If empty, assumed to be the default asset


该结构体的文档由以下文件生成: