The use of this style is almost exactly similar to the native flash.displayColorTransform.
Here's a simple example on how to turn a fuchsia texture to blue.
var image : Image = new Image(Texture.fromColor(256, 256, 0xFF00FF)); image.style = new ColorTransformStyle(0, 0, 1); addChild(image);
Have a look at this comparison demo, as well:
However, please note that currently the DisplayObject alpha will be ignored, you'll need to use exclusively the alpha multiplier of the ColorTransformStyle for now. Regarding the Mesh color property, it will act the same as setting the color property on a ColorTransform (because setting the color on a Starling Mesh will actually applies it to its style)
%gist(30a7308b6384a0290a2cb0566c1f23f4)%
Please use this forum thread