Compositor.overlay
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:2k
源码类别:
游戏引擎
开发平台:
Visual C++
- Example/CompositorOverlay
- {
- zorder 500
- // Stats block
- container BorderPanel(Core/CompositorPanel)
- {
- metrics_mode pixels
- vert_align top
- left 5
- top 5
- width 500
- height 55
- material Core/StatsBlockCenter
- border_size 1 1 1 1
- border_material Core/StatsBlockBorder
- border_topleft_uv 0.0000 1.0000 0.0039 0.9961
- border_top_uv 0.0039 1.0000 0.9961 0.9961
- border_topright_uv 0.9961 1.0000 1.0000 0.9961
- border_left_uv 0.0000 0.9961 0.0039 0.0039
- border_right_uv 0.9961 0.9961 1.0000 0.0039
- border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
- border_bottom_uv 0.0039 0.0039 0.9961 0.0000
- border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
- element TextArea(Example/Compositor/Desc)
- {
- metrics_mode pixels
- left 5
- top 5
- width 180
- height 30
- font_name BlueHighway
- char_height 16
- caption Use keys 1-8 to toggle each compositor
- colour_top 0.5 0.7 0.5
- colour_bottom 0.3 0.5 0.3
- }
- element TextArea(Example/Compositor/ActiveLabel)
- {
- metrics_mode pixels
- left 5
- top 20
- width 90
- height 30
- font_name BlueHighway
- char_height 16
- caption Active Compositors:
- colour_top 0.5 0.7 0.5
- colour_bottom 0.3 0.5 0.3
- }
- element TextArea(Example/Compositor/ActiveText)
- {
- metrics_mode pixels
- left 155
- top 20
- width 90
- height 30
- font_name BlueHighway
- char_height 16
- caption Current:
- colour_top 0.5 0.7 0.5
- colour_bottom 0.3 0.5 0.3
- }
- }
- }