light.form 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. form formLightSelect
  2. {
  3. layout = LAYOUT_VERTICAL
  4. alignment = ALIGN_TOP_LEFT
  5. style = Empty
  6. container lightingType
  7. {
  8. layout = LAYOUT_VERTICAL
  9. position = 0, 20
  10. width = 230
  11. style = Form
  12. label
  13. {
  14. textAlignment = ALIGN_TOP_HCENTER
  15. text = Type
  16. fontSize = 18
  17. }
  18. radioButton noLighting
  19. {
  20. text = No Light
  21. value = true
  22. }
  23. radioButton directional
  24. {
  25. text = Directional Light
  26. value = false
  27. }
  28. radioButton spot
  29. {
  30. text = Spot Light
  31. value = false
  32. }
  33. radioButton point
  34. {
  35. text = Point Light
  36. value = false
  37. }
  38. }
  39. container lightProperties
  40. {
  41. layout = LAYOUT_VERTICAL
  42. width = 230
  43. style = Form
  44. label
  45. {
  46. textAlignment = ALIGN_TOP_HCENTER
  47. text = Properties
  48. fontSize = 18
  49. }
  50. slider redSlider
  51. {
  52. height = 55
  53. width = 100%
  54. orientation = HORIZONTAL
  55. textAlignment = ALIGN_LEFT
  56. min = 0
  57. max = 1
  58. value = 1.0
  59. text = Red
  60. }
  61. slider greenSlider
  62. {
  63. height = 55
  64. width = 100%
  65. orientation = HORIZONTAL
  66. textAlignment = ALIGN_LEFT
  67. min = 0
  68. max = 1
  69. value = 1.0
  70. text = Green
  71. }
  72. slider blueSlider
  73. {
  74. height = 55
  75. width = 100%
  76. orientation = HORIZONTAL
  77. textAlignment = ALIGN_LEFT
  78. min = 0
  79. max = 1
  80. value = 1.0
  81. text = Blue
  82. }
  83. slider specularSlider
  84. {
  85. height = 55
  86. width = 100%
  87. orientation = HORIZONTAL
  88. textAlignment = ALIGN_LEFT
  89. min = 1
  90. max = 256
  91. value = 64
  92. text = Specular
  93. }
  94. checkbox specularCheckBox
  95. {
  96. text = Enable Specular
  97. value = false
  98. }
  99. checkbox bumpedCheckBox
  100. {
  101. text = Enable BumpMapping
  102. value = false
  103. }
  104. }
  105. }