FVector2D::ContainsNaN

Utility to check if there are any non-finite values (NaN or Inf) in this vector.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector2D.h"

Syntax

bool ContainsNaN() const

Remarks

Utility to check if there are any non-finite values (NaN or Inf) in this vector.

Returns

true if there are any non-finite values in this vector, 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