XMMatrixIsInfinite 函式 (directxmath.h)

測試矩陣的任何元素是否為正數或負無限大。

語法

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

參數

[in] M

要測試的矩陣。

傳回值

如果 M 的任何元素為正數或負無限大,則傳回 true,否則傳回 false。

備註

平臺需求

Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012 搭配 Windows SDK for Windows 8。 支援 Win32 傳統型應用程式、Windows 市集應用程式和 Windows Phone 8 個應用程式。

規格需求

需求
目標平台 Windows
標頭 directxmath.h

另請參閱

DirectXMath 連結庫矩陣函式