IDirect3DRMViewport::SetProjection

Sets the projection type for a viewport.

HRESULT SetProjection(
D3DRMPROJECTIONTYPE rptType
);

Parameters

rptType

One of the members of the D3DRMPROJECTIONTYPE enumerated type.

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

IDirect3DRMViewport::GetProjection