Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Normalize this quaternion if it is large enough as compared to the supplied tolerance. If it is too small then set it to the identity quaternion.
| Name | Quat_Normalize |
| 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 (Quat)", ScriptMethod="Normalize"),
Category="Math|Quat")
static UE_void Quat_Normalize
(
FQuat & Q,
float Tolerance
)
Parameters
| Name | Remarks |
|---|---|
| Tolerance | Minimum squared length of quaternion for normalization. |