IDirect3DRMViewport::GetCamera

Retrieves the camera for a viewport.

HRESULT GetCamera(
LPDIRECT3DRMFRAME *lpCamera
);

Parameters

lpCamera

Address of a variable that represents the Direct3DRMFrame object representing the camera.

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::SetCamera, Camera