getMatrialState depricated

I am going through the HelloStates part of the Starter.pdf and noticed that getMaterialState() is depricated. What is the preferred method in it’s place? I tried finding this in the API with no such luck.

Edit - Looks like getLightState() is also depricated.



It was renamed createMaterialState(), createLightState() and so on.

yeah, make sure you start using the create, I went ahead and removed the get* from CVS.

Great! Thanks guys. Man, much better responses and response time than from those Xith guys. :slight_smile:

I thought I fixed all those in the starter guide… grrrrr