UKismetSystemLibrary::Conv_PrimaryAssetIdToString
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPureBlueprintThreadSafeBlueprintAutocast
Description
Converts a Primary Asset Id to its string form, e.g. "Character:Hero_Warrior". The reverse conversion is not provided because a string cannot be validated as a real Primary Asset Id.
Caveats & Gotchas
- • Exposed to Blueprint as an implicit autocast (the "->" convert node), so it often appears automatically when you wire a Primary Asset Id pin into a string input rather than as an explicit call.
Signature
static FString Conv_PrimaryAssetIdToString(FPrimaryAssetId PrimaryAssetId) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| PrimaryAssetId | FPrimaryAssetId | The Primary Asset Id to convert. | — |
Return Type
FString Example
Log a Primary Asset Id C++
FString IdString = UKismetSystemLibrary::Conv_PrimaryAssetIdToString(AssetId);
UE_LOG(LogTemp, Log, TEXT("AssetId: %s"), *IdString); See Also
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?