Vector2.NaN Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a vector whose elements are equal to NaN.

C#
public static System.Numerics.Vector2 NaN { get; }

Property Value

A vector whose elements are equal to NaN (that is, it returns the vector Create(float.NaN)).

Applies to

Product Versions
.NET 9, 10