Skip to content

Latest commit

 

History

History
92 lines (69 loc) · 2.35 KB

nf-directxmath-xmmatrixtransformation2d.md

File metadata and controls

92 lines (69 loc) · 2.35 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.XMMatrixTransformation2D
XMMatrixTransformation2D function (directxmath.h)
Builds a 2D transformation matrix in the xy plane.
Use DirectX..XMMatrixTransformation2D
XMMatrixTransformation2D
XMMatrixTransformation2D method [DirectX Math Support APIs]
dxmath.xmmatrixtransformation2d
dxmath\xmmatrixtransformation2d.htm
dxmath
M:Microsoft.directx_sdk.matrix.XMMatrixTransformation2D(XMVECTOR,float,XMVECTOR,XMVECTOR,float,XMVECTOR)
12/05/2018
Use DirectX..XMMatrixTransformation2D, XMMatrixTransformation2D, XMMatrixTransformation2D method [DirectX Math Support APIs], dxmath.xmmatrixtransformation2d
directxmath.h
Windows
Use DirectX.
Windows
19H1
XMMatrixTransformation2D
directxmath/XMMatrixTransformation2D
c++
APIRef
kbSyntax
COM
DirectXMath.h
XMMatrixTransformation2D

XMMatrixTransformation2D function

-description

Builds a 2D transformation matrix in the xy plane.

-parameters

-param ScalingOrigin [in]

2D vector describing the center of the scaling.

-param ScalingOrientation [in]

Scaling rotation factor.

-param Scaling [in]

2D vector containing the scaling factors for the x-axis and y-axis.

-param RotationOrigin [in]

2D vector describing the center of the rotation.

-param Rotation [in]

Angle of rotation, in radians.

-param Translation [in]

2D vector describing the translation.

-returns

Returns the transformation matrix.

-remarks

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 Matrix Functions