mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
25 lines
1.7 KiB
XML
25 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="WorldEnvironment" inherits="Node" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Default environment properties for the entire scene (post-processing effects, lighting and background settings).
|
|
</brief_description>
|
|
<description>
|
|
The [WorldEnvironment] node is used to configure the default [Environment] for the scene.
|
|
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.
|
|
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.
|
|
</description>
|
|
<tutorials>
|
|
<link title="Environment and post-processing">$DOCS_URL/tutorials/3d/environment_and_post_processing.html</link>
|
|
<link title="3D Material Testers Demo">https://godotengine.org/asset-library/asset/123</link>
|
|
<link title="2D HDR Demo">https://godotengine.org/asset-library/asset/110</link>
|
|
<link title="Third Person Shooter Demo">https://godotengine.org/asset-library/asset/678</link>
|
|
</tutorials>
|
|
<members>
|
|
<member name="camera_effects" type="CameraEffects" setter="set_camera_effects" getter="get_camera_effects">
|
|
</member>
|
|
<member name="environment" type="Environment" setter="set_environment" getter="get_environment">
|
|
The [Environment] resource used by this [WorldEnvironment], defining the default properties.
|
|
</member>
|
|
</members>
|
|
</class>
|