Skip to content

Latest commit

 

History

History
98 lines (72 loc) · 2.88 KB

nf-directxmath-xmquaternionbarycentricv.md

File metadata and controls

98 lines (72 loc) · 2.88 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:directxmath.XMQuaternionBaryCentricV
XMQuaternionBaryCentricV function (directxmath.h)
Returns a point in barycentric coordinates, using the specified quaternions. (XMQuaternionBaryCentricV)
Use DirectX..XMQuaternionBaryCentricV
XMQuaternionBaryCentricV
XMQuaternionBaryCentricV method [DirectX Math Support APIs]
dxmath.xmquaternionbarycentricv
dxmath\xmquaternionbarycentricv.htm
dxmath
M:Microsoft.directx_sdk.quaternion.XMQuaternionBaryCentricV(XMVECTOR,XMVECTOR,XMVECTOR,XMVECTOR,XMVECTOR)
12/05/2018
Use DirectX..XMQuaternionBaryCentricV, XMQuaternionBaryCentricV, XMQuaternionBaryCentricV method [DirectX Math Support APIs], dxmath.xmquaternionbarycentricv
directxmath.h
Windows
Use DirectX.
Windows
19H1
XMQuaternionBaryCentricV
directxmath/XMQuaternionBaryCentricV
c++
APIRef
kbSyntax
COM
DirectXMath.h
XMQuaternionBaryCentricV

XMQuaternionBaryCentricV function

-description

Returns a point in barycentric coordinates, using the specified quaternions.

-parameters

-param Q0 [in]

First quaternion in the triangle.

-param Q1 [in]

Second quaternion in the triangle.

-param Q2 [in]

Third quaternion in the triangle.

-param F [in]

Weighting factor. All components of this vector must be the same.

-param G [in]

Weighting factor. All components of this vector must be the same.

-returns

Returns a quaternion in barycentric coordinates.

-remarks

The DirectXMath quaternion functions use an XMVECTOR 4-vector to represent quaternions, where the X, Y, and Z components are the vector part and the W component is the scalar part.

This function is identical to XMQuaternionBaryCentric except that F and G are supplied using a 4D vector instead of a float value.

Platform Requirements

Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.

-see-also

DirectXMath Library Quaternion Functions

XMQuaternionBaryCentric