TVector4::IsUnit3

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Vector4.h"

Syntax

bool IsUnit3
(
    T 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.