class_worldenvironment.rst 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the WorldEnvironment.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_WorldEnvironment:
  5. WorldEnvironment
  6. ================
  7. **Inherits:** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Default environment properties for the entire scene (post-processing effects, lightning and background settings).
  12. Member Variables
  13. ----------------
  14. .. _class_WorldEnvironment_environment:
  15. - :ref:`Environment<class_environment>` **environment** - The :ref:`Environment<class_environment>` resource used by this ``WorldEnvironment``, defining the default properties.
  16. Description
  17. -----------
  18. The ``WorldEnvironment`` node is used to configure the default :ref:`Environment<class_environment>` for the scene.
  19. The parameters defined in the ``WorldEnvironment`` can be overridden by an :ref:`Environment<class_environment>` node set on the current :ref:`Camera<class_camera>`. Additionally, only one ``WorldEnvironment`` may be instanced in a given scene at a time.
  20. The ``WorldEnvironment`` allows the user to specify default lighting parameters (e.g. ambient lighting), various post-processing effects (e.g. SSAO, DOF, Tonemapping), and how to draw the background (e.g. solid color, skybox). Usually, these are added in order to improve the realism/color balance of the scene.