Esempio n. 1
0
        public ProfilerConfig()
        {
            // Defaults
            Top    = 300;
            Left   = 40;
            Width  = 700;
            Height = 340;

            HiddenStreams = new List <string>();

            TimeRulerConfig = new TimeRulerUiViewConfig {
                Position           = new Vector2(3, 3),
                Size               = new Vector2(400, 16),
                Visible            = true,
                VisibleLevelsFlags = 1
            };

            PerformanceGraphConfig = new PerformanceGraphUiViewConfig {
                Position           = new Vector2(3, 20),
                Size               = new Vector2(100, 60),
                Visible            = true,
                SkipFrames         = 0,
                VisibleLevelsFlags = 1 | 2 | 4
            };

            ProfilerSummaryConfig = new ProfilerSummaryUiViewConfig {
                Position           = new Vector2(3, 150),
                Size               = new Vector2(100, 60),
                Visible            = true,
                VisibleLevelsFlags = 1 | 2 | 4
            };
        }
Esempio n. 2
0
        public ProfilerConfig()
        {
            // Defaults
            Top = 300;
            Left = 40;
            Width = 700;
            Height = 340;

            HiddenStreams = new List<string>();

            TimeRulerConfig = new TimeRulerUiViewConfig {
                Position = new Vector2(3, 3),
                Size = new Vector2(400, 16),
                Visible = true,
                VisibleLevelsFlags = 1
            };

            PerformanceGraphConfig = new PerformanceGraphUiViewConfig {
                Position = new Vector2(3, 20),
                Size = new Vector2(100, 60),
                Visible = true,
                SkipFrames = 0,
                VisibleLevelsFlags = 1 | 2 | 4
            };

            ProfilerSummaryConfig = new ProfilerSummaryUiViewConfig {
                Position = new Vector2(3, 150),
                Size = new Vector2(100, 60),
                Visible = true,
                VisibleLevelsFlags = 1 | 2 | 4
            };
        }