light data

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
koso
Posts: 27
Joined: Thu May 21, 2009 11:10 am

light data

Post by koso »

wich method i should use to change light's color or radius in real time?(i want do blinking light)
thanks[/u]
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

Still hadn`t used this myself, but probaly those functions will become handy for your flashing light:

Code: Select all

// create your light here

light->setLightData( set what you need here );
light->setRadius( set what you need here );
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
koso
Posts: 27
Joined: Thu May 21, 2009 11:10 am

Post by koso »

thanks
Post Reply