Microsoft DirectX 8.1 (C++) |
Sets a single device transformation-related state.
HRESULT SetTransform( D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX* pMatrix );
If the method succeeds, the return value is D3D_OK.
D3DERR_INVALIDCALL is returned if one of the arguments is invalid.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.
IDirect3DDevice8::GetTransform, IDirect3DDevice8::SetRenderState, D3DTS_WORLD, D3DTS_WORLDn, D3DTS_WORLDMATRIX