コード例 #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
            };
        }
コード例 #2
0
ファイル: ProfilerConfig.cs プロジェクト: bartwe/Gearset
        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
            };
        }