XMVector3IsInfinite 函数 (directxmath.h)

测试 3D 向量的任何组件是正无穷大还是负无穷大。

语法

bool XM_CALLCONV XMVector3IsInfinite(
  [in] FXMVECTOR V
) noexcept;

参数

[in] V

3D 矢量。

返回值

如果 V 的任何组件为正无穷大或负无穷大,则返回 true,否则返回 false。

注解

平台要求

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

要求

要求
目标平台 Windows
标头 directxmath.h (包括 DirectXMath.h)

另请参阅

DirectXMath 库 3D 矢量比较函数