libgdx / box2dlights

Fork of box2dlights by Kalle Hamalainen
Apache License 2.0
255 stars 82 forks source link

RFE: expose RayNum in Light #56

Closed ghost closed 9 years ago

ghost commented 9 years ago

There is no way from outside to get the RayNum of a Light. Meaning it would completely suffice to have a "int getRayNum()"

Why would you ever need this? I am placing lights with my map editor, in the map editor I want to keep track of how many rays a light has, disable it, make it editable. And for obvious reasons I dont want to save this number myself for each light when its already in there.

rinold commented 9 years ago

Should be available in next build/release :)