Exemplo n.º 1
0
        public override void render(RenderSupport support, float parentAlpha)
        {
            float alpha       = parentAlpha * this.alpha;
            int   numChildren = mChildren.Count;


            for (int i = 0; i < numChildren; ++i)
            {
                DisplayObjectX child = mChildren[i];

                if (child.hasVisibleArea)
                {
                    child.sceneTransform = Transform2X.multiply(mSceneTransform, child.transform);
                    support.blendMode    = child.blendMode;

//                    if (filter)
//                    {
//                        filter.render(child, support, alpha);
//                    }
//                    else
//                    {
                    child.render(support, alpha);
//                    }

                    support.blendMode = blendMode;
                }
            }
        }