Platform SDK: DirectX

DirectX7.CopyMatrix

The DirectX7.CopyMatrix method copies the source matrix into the destination matrix.

object.CopyMatrix(mDest As D3DMATRIX, _
    mSrc As D3DMATRIX)

Parameters

object
Object expression that resolves to a DirectX7 object.
mDest
A D3DMATRIX type to contain the copy of the matrix.
mSrc
A D3DMATRIX type that is the source to be copied.

Error Codes

If the method fails, an error is raised and Err.Number is set.