added descriptions for WorldEnvironment node in documentation
(cherry picked from commit 5fdc7ac88a
)
This commit is contained in:
parent
e151b66127
commit
c5db548d2a
@ -47961,20 +47961,24 @@
|
|||||||
</class>
|
</class>
|
||||||
<class name="WorldEnvironment" inherits="Spatial" category="Core">
|
<class name="WorldEnvironment" inherits="Spatial" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
Sets environment properties for the entire scene
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
The [WorldEnvironment] node can be added to a scene in order to set default [Environment] variables for the scene. 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. 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).
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="get_environment" qualifiers="const">
|
<method name="get_environment" qualifiers="const">
|
||||||
<return type="Environment">
|
<return type="Environment">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return the [Environment] currently bound.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_environment">
|
<method name="set_environment">
|
||||||
<argument index="0" name="env" type="Environment">
|
<argument index="0" name="env" type="Environment">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Set the currently bound [Environment] to the one specified.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
@ -48291,3 +48295,4 @@
|
|||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
</doc>
|
</doc>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user