Packages
 In this topic

*Methods

 

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

 


Class Direct3dRMVisualArray

public class Direct3dRMVisualArray implements 
            IDirect3dRMVisualArray
{
  // Methods
  public Direct3dRMVisual getElement(int index);
  public int getSize();
}

Applications use the methods of the Direct3dRMVisualArray class to organize groups of visual objects.

The Direct3dRMVisualArray object is obtained by calling the Direct3dRMFrame.getVisuals method.

Methods

getElement

public Direct3dRMVisual getElement(int index);

Returns one of the Direct3dRMVisual objects associated with the current Direct3dRMVisualArray object.

Return Value:

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

ParameterDescription
index Identifies 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 Direct3dRMVisual objects associated with the current Direct3dRMVisualArray object.

Return Value:

Returns the number of objects.

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