?/TD> |
Microsoft DirectX 9.0 |
Builds a matrix that scales along the x-axis, the y-axis, and the z-axis.
Syntax
D3DXMATRIX *D3DXMatrixScaling(
D3DXMATRIX *pOut, FLOAT sx, FLOAT sy, FLOAT sz );
Parameters
- pOut
- [in, out] Pointer to the D3DXMATRIX structure that is the result of the operation.
- sx
- [in] Scaling factor that is applied along the x-axis.
- sy
- [in] Scaling factor that is applied along the y-axis.
- sz
- [in] Scaling factor that is applied along the z-axis.
Return Value
Pointer to the scaling transformation D3DXMATRIX.
Remarks
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXMatrixScaling function can be used as a parameter for another function.
Function Information
Header d3dx9math.h Import library d3dx9.lib Minimum operating systems Windows 98