XMVector4Length 函数 (directxmath.h)
计算 4D 矢量的长度。
语法
XMVECTOR XM_CALLCONV XMVector4Length(
[in] FXMVECTOR V
) noexcept;
参数
[in] V
4D 向量。
返回值
返回向量。 V 的长度将复制到每个组件中。
言论
平台要求
使用适用于 Windows 8 的 Windows SDK Microsoft Visual Studio 2010 或 Microsoft Visual Studio 2012。 支持 Win32 桌面应用、Windows 应用商店应用和 Windows Phone 8 应用。要求
要求 | 价值 |
---|---|
目标平台 | 窗户 |
标头 | directxmath.h (包括 DirectXMath.h) |