In the array of internal nodes, the node at index 0 is the node closest to the Locale. The indices increase along the path to the terminal node, with the node at index length-1 being the node closest to the terminal node. The array of nodes does not contain either the Locale (which is not a node) or the terminal node.
When a SceneGraphPath is returned from the picking or collision methods of Java 3D, it will also contain the value of the LocalToVworld transform of the terminal node that was in effect at the time the pick or collision occurred. Note that ENABLE_PICK_REPORTING and ENABLE_COLLISION_REPORTING are disabled by default. This means that the picking and collision methods will return the minimal SceneGraphPath by default. @see Node#ENABLE_PICK_REPORTING @see Node#ENABLE_COLLISION_REPORTING @see BranchGroup#pickAll @see BranchGroup#pickAllSorted @see BranchGroup#pickClosest @see BranchGroup#pickAny
|
|
|
|