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

This identifies an object as a "primary" asset that can be searched for by the AssetManager and used in various tools 更多...

#include <PrimaryAssetId.h>

Public 成员函数

void AppendString (FStringBuilderBase &Builder) const
 Appends to the given builder the string version of this identifier in Type:Name format
 
bool ExportTextItem (FString &ValueStr, FPrimaryAssetId const &DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope) const
 UStruct Overrides
 
bool IsValid () const
 Returns true if this is a valid identifier
 
FString ToString () const
 Returns string version of this identifier in Type:Name format
 

静态 Public 成员函数

static FPrimaryAssetId FromString (const FString &String)
 Converts from Type:Name format
 

Public 属性

FName PrimaryAssetName
 An FName describing this asset. 更多...
 
FPrimaryAssetType PrimaryAssetType
 An FName describing the logical type of this object, usually the name of a base UClass. 更多...
 

静态 Public 属性

static COREUOBJECT_API const FName PrimaryAssetTypeTag
 Static names to represent the AssetRegistry tags for the above data
 

详细描述

This identifies an object as a "primary" asset that can be searched for by the AssetManager and used in various tools

类成员变量说明

◆ PrimaryAssetName

FName FPrimaryAssetId::PrimaryAssetName

An FName describing this asset.

This is usually the short name of the object, but could be a full asset path for things like maps, or objects with GetPrimaryId() overridden. "PrimaryAssetType:PrimaryAssetName" should form a unique name across your project.

◆ PrimaryAssetType

FPrimaryAssetType FPrimaryAssetId::PrimaryAssetType

An FName describing the logical type of this object, usually the name of a base UClass.

For example, any Blueprint derived from APawn will have a Primary Asset Type of "Pawn". "PrimaryAssetType:PrimaryAssetName" should form a unique name across your project.


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