Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is a loop for all nodes in a scene. There is no differentiation between domains, emitters, objects, daemons, etc.:

 

Code Block
# Mind the leading spaces. Without them you will get syntax errors!
allSceneNodes = scene.getNodes()
for singleNode in allSceneNodes:
	do something with singleNode, e.g. change one or more parameters

...