Microsoft DirectX 8.0 (C++) |
Builds a matrix that flattens geometry into a plane.
D3DXMATRIX* D3DXMatrixShadow( D3DXMATRIX* pOut, CONST D3DXVECTOR4* pLight, CONST D3DXPLANE* pPlane );
Pointer to a D3DXMATRIX structure that flattens geometry into a plane.
The D3DXMatrixShadow function flattens geometry into a plane, as if casting a shadow from a light.
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXMatrixShadow function can be used as a parameter for another function.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.