Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on April 24, 2013, 02:27:26 AM

Title: Get Set Vertex Colors
Post by: jeanfabre on April 24, 2013, 02:27:26 AM
Hi,

 Following a thread ( http://hutonggames.com/playmakerforum/index.php?topic=3656.msg16864#msg16864), please find some new arrayMaker actions to get and set vertex colors. The set action can be performed every frame so you can actually adjust colors at will.

I will add these into the arrayMaker packages, but I need to do some more examples on other aspect of arrayMaker too, but I did not wanted to post pon this.

It could be made slightly more efficient, but I will also need to improve arrayMaker underlying framework to accept Color32, not just Colors, I guess it will be fine for now.
 
bye,

 Jean
Title: Re: Get Set Vertex Colors
Post by: escpodgames on April 24, 2013, 04:52:49 AM
Thank you so much!
Title: Re: Get Set Vertex Colors
Post by: escpodgames on April 24, 2013, 05:41:54 PM
Hi Jean,

This is great!
It would be AMAZING to be able to store all the current values of an array so there wont need to be a get action processed at runtime or a mesh with the vertex data held in the game. This would mean we could import a model with existing vertex color, store the colors in an array and then delete the model from our game (leaving one version for the game)

Thoughts?