Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Class Direct3dRMViewportArray

public class Direct3dRMViewportArray implements 
            IDirect3dRMViewportArray
{
  // Methods
  public Direct3dRMViewport getElement(int index);
  public int getSize();
}

Applications use the methods of the Direct3dRMViewportArray class to organize viewport objects.

The Direct3dRMViewportArray object is obtained by calling the Direct3dRM.createFrame method.

Methods

getElement

public Direct3dRMViewport getElement(int index);

Retrieves one of the Direct3dRMViewport objects associated with the current Direct3dRMViewportArray object.

Return Value:

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

ParameterDescription
index The identifier of the object to return. The index must be a value in the range of 0 to one less than the number returned by the getSize method.

getSize

public int getSize();

Retrieves the number of Direct3dRMViewport objects associated with the current Direct3dRMViewportArray object.

Return Value:

Returns the number of objects.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.