OSDN Git Service

Added javadoc to getChild to explain that its really getDescendant
authorZeroSeparation@gmail.com <ZeroSeparation@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Fri, 22 Mar 2013 22:49:23 +0000 (22:49 +0000)
committerZeroSeparation@gmail.com <ZeroSeparation@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Fri, 22 Mar 2013 22:49:23 +0000 (22:49 +0000)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10498 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

engine/src/core/com/jme3/scene/Node.java

index b3e0b94..a3b8eb8 100644 (file)
@@ -418,7 +418,9 @@ public class Node extends Spatial implements Savable {
 
     /**
      * <code>getChild</code> returns the first child found with exactly the
-     * given name (case sensitive.)
+     * given name (case sensitive.) This method does a depth first recursive
+     * search of all descendants of this node, it will return the first node
+     * found with a matching name.
      * 
      * @param name
      *            the name of the child to retrieve. If null, we'll return null.