2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2019-04-01 10:33:56 +00:00
<class name= "World" inherits= "Resource" category= "Core" version= "3.2" >
2017-09-12 20:42:36 +00:00
<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. Spatial nodes register their resources into the current world.
</description>
<tutorials >
2018-11-05 07:46:27 +00:00
<link > https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html</link>
2017-09-12 20:42:36 +00:00
</tutorials>
<methods >
</methods>
<members >
2018-01-11 22:38:35 +00:00
<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>
2017-09-13 06:49:40 +00:00
<member name= "environment" type= "Environment" setter= "set_environment" getter= "get_environment" >
2017-11-26 19:58:38 +00:00
The World's [Environment].
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "fallback_environment" type= "Environment" setter= "set_fallback_environment" getter= "get_fallback_environment" >
2017-11-26 19:58:38 +00:00
The World's fallback_environment will be used if the World's [Environment] fails or is missing.
2017-09-12 20:42:36 +00:00
</member>
2018-01-11 22:38:35 +00:00
<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>
2017-09-12 20:42:36 +00:00
</members>
<constants >
</constants>
</class>