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
|
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
| FName FAssetIdentifier::ObjectName |
Specific object within a package.
If empty, assumed to be the default asset