SONB
14-04-2006 13:48:36
Hi everybody!
Sorry for a noob question but how can I iterate through a list (i.e. LightList), pick i.e. a light and assign it to my Ogre::Light *light? My app is loading a scene with a light and I want to move it around and change it's properties.
I was playing around with iterator and all but I can't get it working.. Could you post a sample code so I know how to do it right?
Thanx a lot in advance!
SONB
Sorry for a noob question but how can I iterate through a list (i.e. LightList), pick i.e. a light and assign it to my Ogre::Light *light? My app is loading a scene with a light and I want to move it around and change it's properties.
I was playing around with iterator and all but I can't get it working.. Could you post a sample code so I know how to do it right?
Thanx a lot in advance!
SONB