This is a method of the IDirect3dRMViewport Interface.
public Direct3dViewport getDirect3DViewport();