Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include | #include "Kismet/KismetMathLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintPure,
Meta=(DisplayName="Is Unit (Vector)", ScriptMethod="IsUnit", Keywords="Unit Vector"),
Category="Math|Vector")
static bool Vector_IsUnit
(
const FVector & A,
float SquaredLenthTolerance
)
Remarks
Determines if vector is normalized / unit (length 1) within specified squared tolerance. true if unit, false otherwise.