Commit 285fb426 authored by Jan Möbius's avatar Jan Möbius
Browse files

Document object iteration in scripting refs #394

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 63d66604
......@@ -3,6 +3,21 @@
TODO: OpenFlipper Scripting and examples.
\section scripting_iterating
In the scripting system you can also iterate over objects in the scene.
// Get a list of all target triangle meshes in the scene
var list = datacontrol.getTargetObjects(DataType("TriangleMesh"));
// Print the names of all target objects
for( object in list )
\section scripting_datattypes DataTypes
In the scripting system the type DataType is already known. You can do for example
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment