RealDocs

UKismetSystemLibrary::Conv_PrimaryAssetTypeToString

function Engine Blueprint Since unknown
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintPureBlueprintThreadSafeBlueprintAutocast

Description

Converts a Primary Asset Type to its string form. The reverse conversion is not provided because a string cannot be validated as a real Primary Asset Type.

Caveats & Gotchas

  • Exposed to Blueprint as an implicit autocast, so it often appears automatically rather than as an explicit call when wiring a type pin into a string input.

Signature

static FString Conv_PrimaryAssetTypeToString(FPrimaryAssetType PrimaryAssetType)

Parameters

Name Type Description Default
PrimaryAssetType FPrimaryAssetType The Primary Asset Type to convert.

Return Type

FString

Example

Log a Primary Asset Type C++
FString TypeString = UKismetSystemLibrary::Conv_PrimaryAssetTypeToString(FPrimaryAssetType(TEXT("Item")));
UE_LOG(LogTemp, Log, TEXT("Type: %s"), *TypeString);

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.