2
0

WorldEnvironment.xml 1.3 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="WorldEnvironment" inherits="Node" version="3.2">
  3. <brief_description>
  4. Default environment properties for the entire scene (post-processing effects, lighting and background settings).
  5. </brief_description>
  6. <description>
  7. The [WorldEnvironment] node is used to configure the default [Environment] for the scene.
  8. The parameters defined in the [WorldEnvironment] can be overridden by an [Environment] node set on the current [Camera]. Additionally, only one [WorldEnvironment] may be instanced in a given scene at a time.
  9. 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.
  10. </description>
  11. <tutorials>
  12. <link>https://docs.godotengine.org/en/latest/tutorials/3d/environment_and_post_processing.html</link>
  13. </tutorials>
  14. <methods>
  15. </methods>
  16. <members>
  17. <member name="environment" type="Environment" setter="set_environment" getter="get_environment">
  18. The [Environment] resource used by this [WorldEnvironment], defining the default properties.
  19. </member>
  20. </members>
  21. <constants>
  22. </constants>
  23. </class>