This method of the Direct3dRMViewport Class finds a depth-sorted list of objects (and faces, if relevant) that includes the path taken in the hierarchy, from the root down to the frame that contained the object.
public Direct3dRMPickedArray pick(int x, int y);
Returns the Direct3dRMPickedArray object if successful; otherwise, returns null.
x | The x-coordinate used for picking. |
y | The y-coordinate used for picking. |