MonoGdx.Scene2D.Group.Draw C# (CSharp) Method

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void
        public override void Draw(GdxSpriteBatch spriteBatch, float parentAlpha)
        {
            if (IsTransform)
                ApplyTransform(spriteBatch, ComputeTransform());

            DrawChildren(spriteBatch, parentAlpha);

            if (IsTransform)
                ResetTransform(spriteBatch);
        }