IDirect3DRMFrame2::GetTransform

Retrieves the local transformation of the frame as a 4´4 affine matrix.

HRESULT GetTransform(
D3DRMMATRIX4D rmMatrix
);

Parameters

rmMatrix

A D3DRMMATRIX4D array that will be filled with the frame's transformation. Because this is an array, this value is actually an address.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

See Also

3D Transformations