XMMatrixIsNaN 函数 (directxmath.h)

测试矩阵的任何元素是否为 NaN。

语法

bool XM_CALLCONV XMMatrixIsNaN(
  [in] FXMMATRIX M
) noexcept;

参数

[in] M

要测试的矩阵。

返回值

如果 M 的任何元素为 NaN,则返回 true,否则返回 false。

备注

平台要求

带有 Windows SDK for Windows 8 的 Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。

要求

   
目标平台 Windows
标头 directxmath.h

另请参阅

DirectXMath 库矩阵函数