Microsoft SDK for Java

pick

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.

Syntax

public Direct3dRMPickedArray pick(int x, int y);

Return Value

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

Parameters

x The x-coordinate used for picking.
y The y-coordinate used for picking.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.