summaryrefslogtreecommitdiff
path: root/doc/classes/World3D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/World3D.xml')
-rw-r--r--doc/classes/World3D.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/classes/World3D.xml b/doc/classes/World3D.xml
new file mode 100644
index 0000000000..4224a2a2c3
--- /dev/null
+++ b/doc/classes/World3D.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="World3D" inherits="Resource" version="4.0">
+ <brief_description>
+ Class that has everything pertaining to a world.
+ </brief_description>
+ <description>
+ Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Node3D nodes register their resources into the current world.
+ </description>
+ <tutorials>
+ <link>https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html</link>
+ </tutorials>
+ <methods>
+ </methods>
+ <members>
+ <member name="camera_effects" type="CameraEffects" setter="set_camera_effects" getter="get_camera_effects">
+ </member>
+ <member name="direct_space_state" type="PhysicsDirectSpaceState3D" setter="" getter="get_direct_space_state">
+ The World3D's physics direct space state, used for making various queries. Might be used only during [code]_physics_process[/code].
+ </member>
+ <member name="environment" type="Environment" setter="set_environment" getter="get_environment">
+ The World3D's [Environment].
+ </member>
+ <member name="fallback_environment" type="Environment" setter="set_fallback_environment" getter="get_fallback_environment">
+ The World3D's fallback_environment will be used if the World3D's [Environment] fails or is missing.
+ </member>
+ <member name="scenario" type="RID" setter="" getter="get_scenario">
+ The World3D's visual scenario.
+ </member>
+ <member name="space" type="RID" setter="" getter="get_space">
+ The World3D's physics space.
+ </member>
+ </members>
+ <constants>
+ </constants>
+</class>