FVector4::IsUnit3

Check if the vector is of unit length, with specified tolerance.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Vector4.h

Include

#include "Math/Vector4.h"

Syntax

bool IsUnit3
(
    float LengthSquaredTolerance
) const

Remarks

Check if the vector is of unit length, with specified tolerance.

Returns

true if the vector is a unit vector within the specified tolerance.

Parameters

Parameter

Description

LengthSquaredTolerance

Tolerance against squared length.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss