diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-07-20 21:18:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-07-20 21:18:46 +0400 |
commit | e95e2fb43ec1546d3df05a78071269b1d0afb3e7 (patch) | |
tree | 7569e6bfb3d7f8650d2601127929e0b4f9808393 /source/gameengine/PyDoc | |
parent | 433c43932b3b057530465982ddef8be0ee27b673 (diff) |
GameObject functions getChildren() and getChildrenRecursive()
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r-- | source/gameengine/PyDoc/KX_GameObject.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/KX_GameObject.py b/source/gameengine/PyDoc/KX_GameObject.py index 37c188b7f22..8f17cf26f15 100644 --- a/source/gameengine/PyDoc/KX_GameObject.py +++ b/source/gameengine/PyDoc/KX_GameObject.py @@ -214,6 +214,18 @@ class KX_GameObject: """ Removes this objects parent. """ + def getChildren(): + """ + Return a list of immediate children of this object. + @rtype: list + @return: a list of all this objects children. + """ + def getChildrenRecursive(): + """ + Return a list of children of this object, including all their childrens children. + @rtype: list + @return: a list of all this objects children recursivly. + """ def getMesh(mesh): """ Gets the mesh object for this object. |