Microsoft SDK for Java

createViewport

This method of the Direct3d Class creates a Direct3dViewport object. The viewport is associated with a Direct3DDevice object by using the addViewport method.

Syntax

public Direct3dViewport createViewport();

Return Value

Returns the Direct3dViewport object if successful; otherwise, returns null.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.