Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Access all lights's properties from the plugin.  (Read 2160 times)

0 Members and 1 Guest are viewing this topic.

ErV

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 54
  • I regret nothing!
    • View Profile
Access all lights's properties from the plugin.
« on: October 05, 2006, 11:01:52 PM »

Hello, everyone.
I need to access/enumerate all lights(from plugin, maybe script, plugin preferred) in current scene and process their properties (position, color, maybe range - read access only). It looks like i CAN enumerate all objects in scene, but there is no mention about "Light" object in documentation, only Enable/Disable/SetColor functions. So... how actually I can do that? The main thing I need is a light position/range(if exists) read-onlyg access. Are the lights accessible? Or do I have to create some kind of dummy and link/attach some kind of plugin object to it?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Access all lights's properties from the plugin.
« Reply #1 on: October 06, 2006, 07:15:25 AM »

It's not possible at the moment. You can't query components of the hidden scene geometry or their properties.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.036 seconds with 23 queries.