예제 #1
0
        public override INode Clone()
        {
            INode node = new SpriteDrawGroup();

            CopyTo(node);
            return(node);
        }
예제 #2
0
        protected override void CopyTo(INode node)
        {
            base.CopyTo(node);

            SpriteDrawGroup spriteDrawGroup = (SpriteDrawGroup)node;

            spriteDrawGroup.IsScissorTestEnabled = IsScissorTestEnabled;
            spriteDrawGroup.ScissorRectangle     = ScissorRectangle;
        }