UKismetMathLibrary::Vector4_IsUnit3

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 Vector4_IsUnit3
(
    const FVector4 & A,
    float SquaredLenthTolerance
)

Remarks

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

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