Packages
 In this topic

*Methods

 

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

 


Class Direct3dRMPickArray

public class Direct3dRMPickArray implements 
            IDirect3dRMPickArray
{
  // Methods
  public Direct3dRMFrameArray getPickFrame(int index, D3dRMPickDesc
        desc);
  public Direct3dRMVisual getPickVisual(int index,
        D3dRMPickDesc desc);
  public int getSize();
}

Applications use the methods of the Direct3dRMPickArray class to organize pick objects.

The Direct3dRMPickArray object is obtained by calling the pick method.

Methods

getPickFrame

public Direct3dRMFrameArray getPickFrame(int index, D3dRMPickDesc desc);

Retrieves a Direct3dRMFrameArray object associated with this object.

Return Value:

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

ParameterDescription
index 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.
desc The D3dRMPickDesc object that receives the pick description.

getPickVisual

public Direct3dRMVisual getPickVisual(int index, D3dRMPickDesc desc);

Returns one of the Direct3dRMVisual objects associated with this object.

Return Value:

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

ParameterDescription
index 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.
desc The D3dRMPickDesc object that receives the pick description.

getSize

public int getSize();

Retrieves the number of Direct3dRMVisual and Direct3dRMFrameArray objects associated with this object.

Return Value:

Returns the number of objects.

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