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.
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.
Parameter | Description |
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.
|
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.
Parameter | Description |
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.
|
public int getSize();
Retrieves the number of Direct3dRMVisual and Direct3dRMFrameArray objects associated with this object.
Return Value:
Returns the number of objects.