Share via


XMVector3Length 함수(directxmath.h)

3D 벡터의 길이를 계산합니다.

구문

XMVECTOR XM_CALLCONV XMVector3Length(
  [in] FXMVECTOR V
) noexcept;

매개 변수

[in] V

3D 벡터.

반환 값

벡터를 반환합니다. V의 길이는 각 구성 요소에 복제됩니다.

설명

플랫폼 요구 사항

Windows 8용 Windows SDK를 사용하는 Microsoft Visual Studio 2010 또는 Microsoft Visual Studio 2012. Win32 데스크톱 앱, Windows 스토어 앱 및 Windows Phone 8개 앱에서 지원됩니다.

요구 사항

   
대상 플랫폼 Windows
헤더 directxmath.h(DirectXMath.h 포함)

추가 정보

DirectXMath 라이브러리 3D 벡터 기하학적 함수

XMVector3LengthEst

XMVector3LengthSq