Normalize XYZ (Vector 4)

Normalize XYZ (Vector 4)

Windows
MacOS
Linux

Gets a normalized unit copy of the vector, ensuring it is safe to do so based on the length. The W element is ignored and the returned vector has W=0. Returns zero vector if vector length is too small to safely normalize.

Target is Kismet Math Library

Normalize XYZ (Vector 4)
A
Tolerance
0.000100
Return Value

Inputs

A
Vector 4 Structure (by ref)
Tolerance
Float

Minimum squared vector length.

Outputs

Return Value
Vector 4 Structure

A normalized copy if safe, (0,0,0) otherwise.

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