2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2024-02-21 17:51:08 +00:00
<class name= "WorldEnvironment" inherits= "Node" keywords= "background, sky" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 20:42:36 +00:00
<brief_description >
2018-12-12 11:32:26 +00:00
Default environment properties for the entire scene (post-processing effects, lighting and background settings).
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2019-03-29 22:37:35 +00:00
The [WorldEnvironment] node is used to configure the default [Environment] for the scene.
2021-06-17 22:03:09 +00:00
The parameters defined in the [WorldEnvironment] can be overridden by an [Environment] node set on the current [Camera3D]. Additionally, only one [WorldEnvironment] may be instantiated in a given scene at a time.
2019-03-29 22:37:35 +00:00
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.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
2021-11-15 09:43:07 +00:00
<link title= "Environment and post-processing" > $DOCS_URL/tutorials/3d/environment_and_post_processing.html</link>
2024-03-25 01:20:59 +00:00
<link title= "3D Material Testers Demo" > https://godotengine.org/asset-library/asset/2742</link>
<link title= "Third Person Shooter (TPS) Demo" > https://godotengine.org/asset-library/asset/2710</link>
2017-09-12 20:42:36 +00:00
</tutorials>
<members >
2022-07-31 23:20:24 +00:00
<member name= "camera_attributes" type= "CameraAttributes" setter= "set_camera_attributes" getter= "get_camera_attributes" >
The default [CameraAttributes] resource to use if none set on the [Camera3D].
2020-02-12 08:59:06 +00:00
</member>
2023-08-03 12:10:03 +00:00
<member name= "compositor" type= "Compositor" setter= "set_compositor" getter= "get_compositor" >
The default [Compositor] resource to use if none set on the [Camera3D].
</member>
2019-07-15 18:42:47 +00:00
<member name= "environment" type= "Environment" setter= "set_environment" getter= "get_environment" >
2019-03-29 22:37:35 +00:00
The [Environment] resource used by this [WorldEnvironment], defining the default properties.
2017-09-12 20:42:36 +00:00
</member>
</members>
</class>