Platform SDK: DirectX

Direct3DDevice7.GetTransform

The Direct3DDevice7.GetTransform method gets a matrix describing a transformation state.

object.GetTransform( _ 
    transformType As CONST_D3DTRANSFORMSTATETYPE, _ 
    matrix As D3DMATRIX)

Parameters

object
Object expression that resolves to a Direct3DDevice7 object.
transformType
Device state variable that is being modified. This parameter can be any of the constants of the CONST_D3DTRANSFORMSTATETYPE enumeration.
matrix
A D3DMATRIX type describing the transformation.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DDERR_INVALIDPARAMS if one of the parameters is invalid.

See Also

Direct3DDevice7.SetTransform