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.XMVectorSet |
XMVectorSet function (directxmath.h) |
Creates a vector using four floating-point values. |
|
dxmath\xmvectorset.htm |
dxmath |
M:Microsoft.directx_sdk.initialization.XMVectorSet(float,float,float,float) |
12/05/2018 |
Use DirectX..XMVectorSet, XMVectorSet, XMVectorSet method [DirectX Math Support APIs], dxmath.xmvectorset |
directxmath.h |
DirectXMath.h |
Windows |
Use DirectX. |
Windows |
19H1 |
|
|
|
|
|
|
Creates a vector using four floating-point values.
The x component of the vector to return.
The y component of the vector to return.
The z component of the vector to return.
The w component of the vector to return.
An instance XMVECTOR each of whose four components
(x,y,z, and w) is a
floating-point number with the same value as the corresponding input argument to
XMVectorSet
.
The following pseudocode demonstrates the operation of the function:
XMVECTOR V;
float x,y,z,w;
V.x = x;
V.y = y;
V.z = z;
V.w = w;
return V;