public override void render(AsRenderSupport support, float alpha) { alpha = alpha * this.getAlpha(); int childsCount = getNumChildren(); int i = 0; for (; i < childsCount; ++i) { AsDisplayObject child = mChildren[i]; if(child.getAlpha() != 0.0f && child.getVisible() && child.getScaleX() != 0.0f && child.getScaleY() != 0.0f) { support.pushMatrix(); support.transform(child.getTransform().getMatrix()); child.render(support, alpha); support.popMatrix(); } } }
public override void render(AsRenderSupport support, float alpha) { alpha = (alpha * this.getAlpha()); int numChildren = (int)(mChildren.getLength()); int i = 0; for (; (i < numChildren); ++i) { AsDisplayObject child = mChildren[i]; if(((((child.getAlpha() != 0.0f) && child.getVisible()) && (child.getScaleX() != 0.0f)) && (child.getScaleY() != 0.0f))) { support.pushMatrix(); support.transform(child.getTransform().getMatrix()); child.render(support, alpha); support.popMatrix(); } } }