class_sky.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the Sky.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_Sky:
  5. Sky
  6. ===
  7. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Inherited By:** :ref:`PanoramaSky<class_panoramasky>`, :ref:`ProceduralSky<class_proceduralsky>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. The base class for :ref:`PanoramaSky<class_panoramasky>` and :ref:`ProceduralSky<class_proceduralsky>`.
  13. Member Variables
  14. ----------------
  15. .. _class_Sky_radiance_size:
  16. - :ref:`RadianceSize<enum_sky_radiancesize>` **radiance_size** - The Sky's radiance map size.
  17. The higher the radiance map size, the more detailed the lighting from the Sky will be.
  18. See RADIANCE_SIZE\_\* constants for values. Default size is RADIANCE_SIZE_512.
  19. Enums
  20. -----
  21. .. _enum_Sky_RadianceSize:
  22. enum **RadianceSize**
  23. - **RADIANCE_SIZE_32** = **0** --- Radiance texture size is 32x32 pixels.
  24. - **RADIANCE_SIZE_64** = **1** --- Radiance texture size is 64x64 pixels.
  25. - **RADIANCE_SIZE_128** = **2** --- Radiance texture size is 128x128 pixels.
  26. - **RADIANCE_SIZE_256** = **3** --- Radiance texture size is 256x256 pixels.
  27. - **RADIANCE_SIZE_512** = **4** --- Radiance texture size is 512x512 pixels.
  28. - **RADIANCE_SIZE_1024** = **5** --- Radiance texture size is 1024x1024 pixels.
  29. - **RADIANCE_SIZE_2048** = **6** --- Radiance texture size is 2048x2048 pixels.
  30. - **RADIANCE_SIZE_MAX** = **7** --- Radiance texture size is the largest size it can be.
  31. Description
  32. -----------
  33. The base class for :ref:`PanoramaSky<class_panoramasky>` and :ref:`ProceduralSky<class_proceduralsky>`.