public RemovingComponentVisuals(Components.Component c)
        {
            var a = GraphicsEngine.Renderer;

            fbo = new RenderTarget2D(a.GraphicsDevice, Main.WindowWidth, Main.WindowHeight);
            g   = c.Graphics;
        }
Пример #2
0
 public CSComponent(CSComponent c)
 {
     avalable = c.avalable;
     enabled = c.enabled;
     componentGraphics = c.componentGraphics;
     isFavourite = c.isFavourite;
     drawCount = c.drawCount;
     objType = c.objType;
     IsDragDropPlacement = c.IsDragDropPlacement;
     Name = c.Name;
 }
Пример #3
0
 public CSComponent(CSComponent c)
 {
     avalable            = c.avalable;
     enabled             = c.enabled;
     componentGraphics   = c.componentGraphics;
     isFavourite         = c.isFavourite;
     drawCount           = c.drawCount;
     objType             = c.objType;
     IsDragDropPlacement = c.IsDragDropPlacement;
     Name = c.Name;
 }
 public RemovingComponentVisuals(Components.Component c)
 {
     var a = GraphicsEngine.Renderer;
     fbo = new RenderTarget2D(a.GraphicsDevice, Main.WindowWidth, Main.WindowHeight);
     g = c.Graphics;
 }