Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Proposed 3D Picking API:

Add Method:

MouseEvent Class
   PickResult getPickResult()

getPickResult() will return additional information about the pick if the picked Node is a Shape3D node and the picked Node's pickOnBounds is false. Otherwise it returns null.

Add Class:

/**
 * A container object that contains the result of a pick event
 */
PickResult

    /* Return the intersected Node */
     Node getIntersectedNode()

     /* Return the intersected face of the picked Node*/
     int getIntersectedFace()

     /* Return the intersected point in local coordinate of the picked Node */
    Point3D getIntersectedPoint()

     /* Return the intersected texture coordinates of the picked Node */
     Point2D getIntersectedTexCoord()