mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
17 lines
569 B
Python
17 lines
569 B
Python
####################################################################
|
|
#Dtool_funcToMethod(func, class)
|
|
#del func
|
|
#####################################################################
|
|
# For iterating over children
|
|
def getChildren(self):
|
|
"""Returns a Python list of the egg node's children."""
|
|
result = []
|
|
child = self.getFirstChild()
|
|
while (child != None):
|
|
result.append(child)
|
|
child = self.getNextChild()
|
|
return result
|
|
|
|
Dtool_funcToMethod(getChildren, EggGroupNode)
|
|
del getChildren
|