//object3D
obj=root.getByType("object3d")
echo  "<object name=$obj.name  type=$obj.type >"
echo  " <entity type=$obj.entity.type>"
 
echo  "  <mesh>$obj.entity.mesh</mesh>"
echo  "  <x>#obj.entity.x</x>"
echo  "  <y>#obj.entity.y</y>"
[obj.entity {x,y}] (echo " <$*.name>$*</$*.name>" )
echo  " </entity>"
[obj {x,y}] (echo " <$*.type>$*.value</$*.type>" )
echo "</object>"



//object2D
obj=root.getByType("object2d")
echo  "<object2D>"
[obj {}] (echo " <$*.type ....></$*.type>" )
echo  "</object2D>"


//object3D2d
dub=root.getByType("object2d3d")	
echo "$dub.name =  $dub.type.create($dub.e3d.sx.value , $dub.e3d.y.value , $dub.e3d.z.value,$dub.e3d.ax.value )

//test
test=root.getByType("test")
echo "TestMngr.addTest('$test.int.value','$test.string')"



[* {}] (echo "<$*.type name=$*.name> $*.value [..] </$*.type>")
 