IDirect3DDevice8::GetTransform
Retrieves a matrix describing a transformation state.
HRESULT GetTransform(
D3DTRANSFORMSTATETYPE State,
D3DMATRIX* pMatrix
);
Parameters
- State
- [in] Device state variable that is being modified. This parameter can be any member of the D3DTRANSFORMSTATETYPE enumerated type, or the D3DTS_WORLDMATRIX macro.
- pMatrix
- [out] Pointer to a D3DMATRIX structure, describing the returned transformation state.
Return Values
If the method succeeds, the return value is D3D_OK.
D3DERR_INVALIDCALL if one of the arguments is invalid.
Requirements
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.
See Also
IDirect3DDevice8::SetTransform