Sunday, August 31, 2008

Selecting Prism objects

It gives courage discover there are people that can get benefit from your bits of work.

Thanks to Turbo, who is using my Prism objects, in his project about the need of allow selection on Prism. Now you can add a set of Prism to a RenderableLayer and use the selection mechanism to now which prism is selected.

The issue is when you are in "selection mode" you can interact with the globe. To avoid this "problem" you need to set the 'setPickEnable' to false in the RenderableLayer where you put the Prisms.

The new code and example can be found here.