UKismetMathLibrary::IntPoint_Left
#include "Kismet/KismetMathLibrary.h"
Access: public
Specifiers: staticBlueprintPureUFUNCTION
Description
Returns the constant FIntPoint representing the Left direction (-1, 0) in 2D integer grid space.
Caveats & Gotchas
- • Returns (-1, 0) — X is the horizontal axis. Confirm your grid convention maps X to columns before using this directly as an offset.
- • All four cardinal IntPoint constants (Up, Down, Left, Right) use the screen-space convention where Y increases downward.
Signature
static UE_INL_API FIntPoint IntPoint_Left(); Return Type
FIntPoint Example
Step left on a grid C++
FIntPoint TilePos = FIntPoint(5, 3);
TilePos += UKismetMathLibrary::IntPoint_Left(); // TilePos becomes (4, 3) See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?