RealDocs

UKismetStringLibrary::Conv_IntPointToString

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

Description

Converts an FIntPoint to a string in the form 'X= Y='. Backs the 'To String (IntPoint)' Blueprint conversion node.

Caveats & Gotchas

  • FIntPoint is widely used for screen-space and viewport coordinates (e.g. widget/mouse positions), so this is the node you'll most often see used for UI debug logging rather than gameplay grid math.

Signature

static FString Conv_IntPointToString(FIntPoint InIntPoint)

Parameters

Name Type Description Default
InIntPoint FIntPoint The integer point value to convert.

Return Type

FString

Example

Convert a screen position to string C++
FIntPoint MousePos(640, 360);
FString PosText = UKismetStringLibrary::Conv_IntPointToString(MousePos);
// PosText == "X=640 Y=360"

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.