public InternalLineDrawer(LineDrawerConfig config) : base(config) { this.config = config; config.Cleared += new EventHandler(Config_Cleared); this.persistentVertices3D = new VertexPositionColor[MaxLineCount * 2]; this.persistentVertices2D = new VertexPositionColor[MaxLineCount * 2]; this.singleFrameVertices2D = new VertexPositionColor[MaxLineCount * 2]; this.singleFrameVertices3D = new VertexPositionColor[MaxLineCount * 2]; CoordinateSpace = Components.CoordinateSpace.ScreenSpace; freeSpots3D = new Queue <int>(); freeSpots2D = new Queue <int>(); }
public InternalLineDrawer(LineDrawerConfig config) : base(config) { _config = config; config.Cleared += Config_Cleared; _persistentVertices3D = new VertexPositionColor[MaxLineCount * 2]; _persistentVertices2D = new VertexPositionColor[MaxLineCount * 2]; _singleFrameVertices2D = new VertexPositionColor[MaxLineCount * 2]; _singleFrameVertices3D = new VertexPositionColor[MaxLineCount * 2]; CoordinateSpace = CoordinateSpace.ScreenSpace; _freeSpots3D = new Queue <int>(); _freeSpots2D = new Queue <int>(); }
public GearsetSettings() { Enabled = true; ShowOverlays = true; #if WINDOWS InspectorConfig = new Components.InspectorConfig(); LoggerConfig = new Components.LoggerConfig(); #endif DataSamplerConfig = new Components.DataSamplerConfig(); PlotterConfig = new Components.PlotterConfig(); TreeViewConfig = new Components.TreeViewConfig(); LabelerConfig = new Components.LabelerConfig(); LineDrawerConfig = new Components.LineDrawerConfig(); AlerterConfig = new Components.AlerterConfig(); #if WINDOWS FinderConfig = new Components.FinderConfig(); #endif // IMPORTANT: // NEW CONFIG INSTANCES SHOULD BE ADDED IN THE LOAD METHOD BELOW. DepthBufferEnabled = true; saveFrequency = 5; }
public GearsetSettings() { Enabled = true; ShowOverlays = true; #if WINDOWS || LINUX || MONOMAC InspectorConfig = new Components.InspectorConfig(); #endif ProfilerConfig = new ProfilerConfig(); DataSamplerConfig = new Components.DataSamplerConfig(); PlotterConfig = new Components.PlotterConfig(); TreeViewConfig = new Components.TreeViewConfig(); LabelerConfig = new Components.LabelerConfig(); LineDrawerConfig = new Components.LineDrawerConfig(); AlerterConfig = new Components.AlerterConfig(); LoggerConfig = new Components.LoggerConfig(); FinderConfig = new Components.FinderConfig(); MemoryMonitorConfig = new MemoryMonitorConfig(); CommandConsoleConfig = new Components.CommandConsoleConfig(); // IMPORTANT: // NEW CONFIG INSTANCES SHOULD BE ADDED IN THE LOAD METHOD BELOW. DepthBufferEnabled = true; saveFrequency = 5; }
public InternalLineDrawer(LineDrawerConfig config) : base(config) { _config = config; config.Cleared += Config_Cleared; _persistentVertices3D = new VertexPositionColor[MaxLineCount * 2]; _persistentVertices2D = new VertexPositionColor[MaxLineCount * 2]; _singleFrameVertices2D = new VertexPositionColor[MaxLineCount * 2]; _singleFrameVertices3D = new VertexPositionColor[MaxLineCount * 2]; CoordinateSpace = CoordinateSpace.ScreenSpace; _freeSpots3D = new Queue<int>(); _freeSpots2D = new Queue<int>(); }
public InternalLineDrawer(LineDrawerConfig config) : this(config, MaxLineCount) { }