Sky.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Sky" inherits="Resource" category="Core" version="3.1">
  3. <brief_description>
  4. The base class for [PanoramaSky] and [ProceduralSky].
  5. </brief_description>
  6. <description>
  7. The base class for [PanoramaSky] and [ProceduralSky].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="radiance_size" type="int" setter="set_radiance_size" getter="get_radiance_size" enum="Sky.RadianceSize">
  17. The Sky's radiance map size.
  18. The higher the radiance map size, the more detailed the lighting from the Sky will be.
  19. See RADIANCE_SIZE_* constants for values. Default size is RADIANCE_SIZE_512.
  20. </member>
  21. </members>
  22. <constants>
  23. <constant name="RADIANCE_SIZE_32" value="0" enum="RadianceSize">
  24. Radiance texture size is 32x32 pixels.
  25. </constant>
  26. <constant name="RADIANCE_SIZE_64" value="1" enum="RadianceSize">
  27. Radiance texture size is 64x64 pixels.
  28. </constant>
  29. <constant name="RADIANCE_SIZE_128" value="2" enum="RadianceSize">
  30. Radiance texture size is 128x128 pixels.
  31. </constant>
  32. <constant name="RADIANCE_SIZE_256" value="3" enum="RadianceSize">
  33. Radiance texture size is 256x256 pixels.
  34. </constant>
  35. <constant name="RADIANCE_SIZE_512" value="4" enum="RadianceSize">
  36. Radiance texture size is 512x512 pixels.
  37. </constant>
  38. <constant name="RADIANCE_SIZE_1024" value="5" enum="RadianceSize">
  39. Radiance texture size is 1024x1024 pixels.
  40. </constant>
  41. <constant name="RADIANCE_SIZE_2048" value="6" enum="RadianceSize">
  42. Radiance texture size is 2048x2048 pixels.
  43. </constant>
  44. <constant name="RADIANCE_SIZE_MAX" value="7" enum="RadianceSize">
  45. Radiance texture size is the largest size it can be.
  46. </constant>
  47. </constants>
  48. </class>