.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_WorldEnvironment: WorldEnvironment ================ **Inherits:** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Sets environment properties for the entire scene Member Functions ---------------- +----------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :ref:`Environment` | :ref:`get_environment` **(** **)** const | +----------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_environment` **(** :ref:`Environment` env **)** | +----------------------------------------+------------------------------------------------------------------------------------------------------------------------+ Description ----------- The :ref:`WorldEnvironment` node can be added to a scene in order to set default :ref:`Environment` variables for the scene. The :ref:`WorldEnvironment` can be overridden by an :ref:`Environment` node set on the current :ref:`Camera`. Additionally, only one :ref:`WorldEnvironment` may be instanced in a given scene at a time. The :ref:`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). Member Function Description --------------------------- .. _class_WorldEnvironment_get_environment: - :ref:`Environment` **get_environment** **(** **)** const Return the :ref:`Environment` currently bound. .. _class_WorldEnvironment_set_environment: - void **set_environment** **(** :ref:`Environment` env **)** Set the currently bound :ref:`Environment` to the one specified.