Microsoft SDK for Java

Direct3dViewport Class Methods

The Direct3dViewport Class contains the following methods:

addLight adds a Direct3dLight light object to the viewport.
clear clears the viewport or a set of rectangles in the viewport to the current background material.
deleteLight deletes a Direct3dLight light object from the viewport.
getBackground retrieves the handle of a material that represents the current viewport background.
getBackgroundDepth retrieves a DirectDraw surface that represents the current background-depth field associated with the viewport.
getViewport retrieves the viewport registers.
nextLight retrieves a light from a Direct3dViewport, according to the specified flags.
setBackground sets the background associated with the viewport.
setBackgroundDepth sets the viewport background depth field.
setViewport sets the viewport registers.

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