source: trunk/VUT/OcclusionCullingSceneManager/scripts/OcclusionDemo.overlay @ 29

Revision 29, 3.1 KB checked in by gametools, 20 years ago (diff)
Line 
1Example/OcclusionDemoOverlay
2{
3        zorder 500
4        // Stats block
5        container BorderPanel(Example/Occlusion/OcclusionPanel)
6        {
7                metrics_mode pixels
8                vert_align top
9                left 5
10                top 5
11                width 450
12                height 55
13                material Core/StatsBlockCenter
14                border_size 1 1 1 1
15                border_material Core/StatsBlockBorder
16                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
17                border_top_uv         0.0039 1.0000 0.9961 0.9961
18                border_topright_uv    0.9961 1.0000 1.0000 0.9961
19                border_left_uv        0.0000 0.9961 0.0039 0.0039
20                border_right_uv       0.9961 0.9961 1.0000 0.0039
21                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
22                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
23                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
24
25
26                element TextArea(Example/Occlusion/OcclusionTechnique)
27                {
28                        metrics_mode pixels
29                        left 5
30                        top 5
31                        width 180
32                        height 30
33                        font_name TrebuchetMSBold
34                        char_height 16
35                        caption [O] Algorithm
36                        colour_top 0.5 0.7 0.5
37                        colour_bottom 0.3 0.5 0.3
38                }
39                element TextArea(Example/Occlusion/OcclusionTechniqueInfo)
40                {
41                        metrics_mode pixels
42                        left 155
43                        top 5
44                        width 90
45                        height 30
46                        font_name TrebuchetMSBold
47                        char_height 16
48                        caption :
49                        colour_top 0.5 0.7 0.5
50                        colour_bottom 0.3 0.5 0.3
51                }
52
53                element TextArea(Example/Occlusion/Materials)
54                {
55                        metrics_mode pixels
56                        left 5
57                        top 20
58                        width 90
59                        height 30
60                        font_name TrebuchetMSBold
61                        char_height 16
62                        caption [M] Athene Material
63                        colour_top 0.5 0.7 0.5
64                        colour_bottom 0.3 0.5 0.3
65                }
66                element TextArea(Example/Occlusion/MaterialInfo)
67                {
68                        metrics_mode pixels
69                        left 155
70                        top 20
71                        width 90
72                        height 30
73                        font_name TrebuchetMSBold
74                        char_height 16
75                        caption :
76                        colour_top 0.5 0.7 0.5
77                        colour_bottom 0.3 0.5 0.3
78                }
79                element TextArea(Example/Occlusion/OcclusionInfo)
80                {
81                        metrics_mode pixels
82                        left 5
83                        top 35
84                        width 250
85                        height 30
86                        font_name TrebuchetMSBold
87                        char_height 16
88                        colour_top 0.5 0.7 0.5
89                        colour_bottom 0.3 0.5 0.3
90                }
91        }
92
93        container BorderPanel(Example/Occlusion/OcclusionStatsPanel)
94        {
95                metrics_mode pixels
96                vert_align top
97                horz_align right
98                left -455
99                top 5
100                width 450
101                height 55
102                material Core/StatsBlockCenter
103                border_size 1 1 1 1
104                border_material Core/StatsBlockBorder
105                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
106                border_top_uv         0.0039 1.0000 0.9961 0.9961
107                border_topright_uv    0.9961 1.0000 1.0000 0.9961
108                border_left_uv        0.0000 0.9961 0.0039 0.0039
109                border_right_uv       0.9961 0.9961 1.0000 0.0039
110                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
111                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
112                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
113
114
115                element TextArea(Example/Occlusion/CulledNodes)
116                {
117                        metrics_mode pixels
118                        left 5
119                        top 5
120                        width 180
121                        height 30
122                        font_name TrebuchetMSBold
123                        char_height 16
124                        caption Culled Nodes
125                        colour_top 0.5 0.7 0.5
126                        colour_bottom 0.3 0.5 0.3
127                }       
128        }
129}
Note: See TracBrowser for help on using the repository browser.