This method of the Direct3dRMViewport Class reconfigures the viewport origin and dimensions.
public void configure(int x, int y, int width, int height);
x | The x-coordinate of the new viewport position. |
y | The y-coordinate of the new viewport position. |
width | The new width of the viewport (in pixels). |
height | The new height of the viewport (in pixels). |
This method carries out no action if x + width or y + height are greater than the width or height of the device, or if any of x, y, width, or height is less than zero.