UKismetStringLibrary::Conv_IntVectorToString
#include "Kismet/KismetStringLibrary.h"
Access: public
Specifiers: staticBlueprintPureBlueprintAutocast
Description
Converts an FIntVector to a string in the form 'X= Y= Z='. Backs the 'To String (IntVector)' Blueprint conversion node.
Caveats & Gotchas
- • FIntVector is commonly used for chunk/cell/voxel coordinates rather than world-space positions — don't confuse its output with Conv_VectorToString's when scanning logs that mix both.
Signature
static FString Conv_IntVectorToString(FIntVector InIntVec) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InIntVec | FIntVector | The integer vector value to convert. | — |
Return Type
FString Example
Convert an int vector to string C++
FIntVector ChunkCoord(3, -1, 0);
FString ChunkText = UKismetStringLibrary::Conv_IntVectorToString(ChunkCoord);
// ChunkText == "X=3 Y=-1 Z=0" Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?