RealDocs

UKismetMathLibrary::IntPoint_Right

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

Description

Returns the constant FIntPoint representing the Right direction (1, 0) in 2D integer grid space.

Caveats & Gotchas

  • Returns (1, 0). If your grid uses a different column/row layout (e.g. row-major with Y as the column), swap axes accordingly.
  • As a BlueprintPure constant with no side effects, it can safely be called repeatedly in tight loops without performance concern.

Signature

static UE_INL_API FIntPoint IntPoint_Right();

Return Type

FIntPoint

Example

Advance one tile to the right C++
FIntPoint TilePos = FIntPoint(2, 4);
TilePos += UKismetMathLibrary::IntPoint_Right(); // TilePos becomes (3, 4)

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.