Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Normalize this vector in-place if it is large enough or set it to (0,0,0,0) otherwise. The W element is ignored and the returned vector has W=0.
| Name | Vector4_Normalize3 |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintCallable,
Meta=(DisplayName="Normalize In Place XYZ (Vector4)", ScriptMethod="Normalize3", Keywords="Unit Vector"),
Category="Math|Vector4")
static UE_void Vector4_Normalize3
(
FVector4 & A,
float Tolerance
)
Parameters
| Name | Remarks |
|---|---|
| Tolerance | Minimum squared length of vector for normalization. |