UKismetStringLibrary::BuildString_IntVector2
#include "Kismet/KismetStringLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Builds a new string in the form AppendTo+Prefix+InIntVector+Suffix, formatting an FIntVector2 with the standard ToString conversion between the given prefix and suffix.
Caveats & Gotchas
- • FIntVector2 is a less common integer-pair type than FIntPoint; confirm which one your API actually uses before wiring this node, since they won't implicitly convert into each other.
- • AppendTo is not mutated — a new FString is always allocated and returned, matching the other BuildString_ variants.
Signature
static FString BuildString_IntVector2(const FString& AppendTo, const FString& Prefix, FIntVector2 InIntVector, const FString& Suffix) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| AppendTo | const FString& | An existing string to use as the start of the result. | — |
| Prefix | const FString& | A string inserted after AppendTo and before the formatted value. | — |
| InIntVector | FIntVector2 | The 2D integer vector value to format and insert, using FIntVector2::ToString. | — |
| Suffix | const FString& | A string appended to the end of the result. | — |
Return Type
FString Example
Log a 2D grid cell C++
FIntVector2 GridCell(3, 5);
FString CellText = UKismetStringLibrary::BuildString_IntVector2(TEXT(""), TEXT("Cell "), GridCell, TEXT("")); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?