public override INode Clone() { INode node = new SpriteDrawGroup(); CopyTo(node); return(node); }
protected override void CopyTo(INode node) { base.CopyTo(node); SpriteDrawGroup spriteDrawGroup = (SpriteDrawGroup)node; spriteDrawGroup.IsScissorTestEnabled = IsScissorTestEnabled; spriteDrawGroup.ScissorRectangle = ScissorRectangle; }