2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-01-26 16:01:49 +01:00
<class name= "World" inherits= "Resource" version= "3.2" >
2017-09-12 22:42:36 +02: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 >
2020-10-19 15:55:33 +02:00
<link > https://docs.godotengine.org/en/3.2/tutorials/physics/ray-casting.html</link>
2017-09-12 22:42:36 +02:00
</tutorials>
<methods >
</methods>
<members >
2019-06-29 21:22:15 +02:00
<member name= "direct_space_state" type= "PhysicsDirectSpaceState" setter= "" getter= "get_direct_space_state" >
2020-05-12 13:19:16 +02:00
Direct access to the world's physics 3D space state. Used for querying current and potential collisions. Must only be accessed from within [code]_physics_process(delta)[/code].
2018-01-11 23:38:35 +01:00
</member>
2019-07-15 20:42:47 +02:00
<member name= "environment" type= "Environment" setter= "set_environment" getter= "get_environment" >
2017-11-26 20:58:38 +01:00
The World's [Environment].
2017-09-12 22:42:36 +02:00
</member>
2019-07-15 20:42:47 +02:00
<member name= "fallback_environment" type= "Environment" setter= "set_fallback_environment" getter= "get_fallback_environment" >
2017-11-26 20:58:38 +01:00
The World's fallback_environment will be used if the World's [Environment] fails or is missing.
2017-09-12 22:42:36 +02:00
</member>
2019-06-29 21:22:15 +02:00
<member name= "scenario" type= "RID" setter= "" getter= "get_scenario" >
2018-01-11 23:38:35 +01:00
The World's visual scenario.
</member>
2019-06-29 21:22:15 +02:00
<member name= "space" type= "RID" setter= "" getter= "get_space" >
2018-01-11 23:38:35 +01:00
The World's physics space.
</member>
2017-09-12 22:42:36 +02:00
</members>
<constants >
</constants>
</class>