UKismetMathLibrary::IntPoint_Zero
#include "Kismet/KismetMathLibrary.h"
Access: public
Specifiers: staticBlueprintPureUFUNCTION
Description
Returns the FIntPoint constant (0, 0). Exposed to Blueprint as the 'Zero' script constant on FIntPoint, providing a clean zero-value without constructing the struct manually.
Caveats & Gotchas
- • In C++ FIntPoint::ZeroValue is the idiomatic constant — calling this function from C++ is unnecessary overhead compared to using the static member directly.
- • Blueprint exposes this via ScriptConstant metadata rather than as a callable function node. It appears as a literal value pin, not a function call, in the Blueprint editor.
Signature
static UE_INL_API FIntPoint IntPoint_Zero(); Return Type
FIntPoint Example
Initialize a 2D grid cursor to the origin C++
FIntPoint CursorPos = UKismetMathLibrary::IntPoint_Zero(); // returns FIntPoint(0, 0)
// In C++, prefer: FIntPoint CursorPos = FIntPoint::ZeroValue; See Also
Tags
Version History
Introduced in: 5.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?