UKismetMathLibrary::Vector_IsUnit

Determines if vector is normalized / unit (length 1) within specified squared tolerance.

Windows
MacOS
Linux

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

Syntax

static bool Vector_IsUnit
(
    const FVector & A,
    float SquaredLenthTolerance
)

Remarks

Determines if vector is normalized / unit (length 1) within specified squared tolerance.

Returns

true if unit, false 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