Truncate (Vector)

Truncate (Vector)

Windows
MacOS
Linux

Rounds A to an integer with truncation towards zero for each element in a vector. (e.g. -1.7 truncated to -1, 2.8 truncated to 2)

Target is Kismet Math Library

Truncate (Vector)
In Vector
X0
Y 0
Z 0
Return Value

Inputs

In Vector
Vector (by ref)

Outputs

Return Value
Int Vector Structure

Rounds A to an integer with truncation towards zero for each element in a vector. (e.g. -1.7 truncated to -1, 2.8 truncated to 2)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss