DirectX SDK |
The Direct3DDevice7.SetTransform method sets a single transformation-related state for the device.
object.SetTransform( _ transformType As CONST_D3DTRANSFORMSTATETYPE, _ matrix As D3DMATRIX)
If the method fails, an error is raised and Err.Number may be set to DDERR_INVALIDPARAMS if one of the parameters is invalid.
For information on trapping errors, see the Visual Basic Error Trapping topic.
Direct3DDevice7.GetTransform, Direct3DDevice7.SetRenderState