UKismetTextLibrary::Conv_VectorToText
#include "Kismet/KismetTextLibrary.h"
Access: public
Specifiers: staticBlueprintPureBlueprintAutocast
Description
Converts a vector to localized, formatted text in the form 'X= Y= Z='. Backs the 'To Text (Vector)' Blueprint conversion node.
Caveats & Gotchas
- • Unlike Conv_VectorToString, the result is a localizable FText and will re-render if the active culture changes, even though the numeric layout itself doesn't vary by locale.
- • The compact node title '->' means this conversion is usually invisible in the graph — Blueprint inserts it automatically via BlueprintAutocast when you wire a vector pin into a text input.
Signature
static FText Conv_VectorToText(FVector InVec) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InVec | FVector | The vector value to convert. | — |
Return Type
FText Example
Display an actor's location in a widget C++
FVector Location = GetActorLocation();
FText LocationText = UKismetTextLibrary::Conv_VectorToText(Location);
MyTextBlock->SetText(LocationText); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?