Added javadoc to getChild to explain that its really getDescendant

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10498 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Zer..om 12 years ago
parent 723e3c0e30
commit 75d861eae1
  1. 4
      engine/src/core/com/jme3/scene/Node.java

@ -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.

Loading…
Cancel
Save