summaryrefslogtreecommitdiff
path: root/doc/classes/World.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/World.xml')
-rw-r--r--doc/classes/World.xml33
1 files changed, 11 insertions, 22 deletions
diff --git a/doc/classes/World.xml b/doc/classes/World.xml
index 9011d39669..cad286a1ac 100644
--- a/doc/classes/World.xml
+++ b/doc/classes/World.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="World" inherits="Resource" category="Core" version="3.0-beta">
+<class name="World" inherits="Resource" category="Core" version="3.0-stable">
<brief_description>
Class that has everything pertaining to a world.
</brief_description>
@@ -7,39 +7,28 @@
Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Spatial nodes register their resources into the current world.
</description>
<tutorials>
+ http://docs.godotengine.org/en/3.0/tutorials/physics/ray-casting.html
</tutorials>
<demos>
</demos>
<methods>
- <method name="get_direct_space_state">
- <return type="PhysicsDirectSpaceState">
- </return>
- <description>
- Returns the World's physics space.
- </description>
- </method>
- <method name="get_scenario" qualifiers="const">
- <return type="RID">
- </return>
- <description>
- Returns the World's visual scenario.
- </description>
- </method>
- <method name="get_space" qualifiers="const">
- <return type="RID">
- </return>
- <description>
- Returns the World's sound space.
- </description>
- </method>
</methods>
<members>
+ <member name="direct_space_state" type="PhysicsDirectSpaceState" setter="" getter="get_direct_space_state">
+ The World'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 World's [Environment].
</member>
<member name="fallback_environment" type="Environment" setter="set_fallback_environment" getter="get_fallback_environment">
The World's fallback_environment will be used if the World's [Environment] fails or is missing.
</member>
+ <member name="scenario" type="RID" setter="" getter="get_scenario">
+ The World's visual scenario.
+ </member>
+ <member name="space" type="RID" setter="" getter="get_space">
+ The World's physics space.
+ </member>
</members>
<constants>
</constants>