2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 08:08:05 +00:00
<class name= "World" inherits= "Resource" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 20:42:36 +00:00
<brief_description >
Class that has everything pertaining to a world.
</brief_description>
<description >
2022-06-13 13:51:23 +00:00
Class that has everything pertaining to a world. A physics space, a visual scenario, a navigation map and a sound space. Spatial nodes register their resources into the current world.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
2021-11-15 16:11:20 +00:00
<link > $DOCS_URL/tutorials/physics/ray-casting.html</link>
2017-09-12 20:42:36 +00:00
</tutorials>
<methods >
</methods>
<members >
2019-06-29 19:22:15 +00:00
<member name= "direct_space_state" type= "PhysicsDirectSpaceState" setter= "" getter= "get_direct_space_state" >
2020-09-18 09:24:57 +00:00
Direct access to the world's physics 3D space state. Used for querying current and potential collisions.
2018-01-11 22:38:35 +00:00
</member>
2019-07-15 18:42:47 +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>
2019-07-15 18:42:47 +00:00
<member name= "fallback_environment" type= "Environment" setter= "set_fallback_environment" getter= "get_fallback_environment" >
2022-06-17 07:19:31 +00:00
The World's fallback environment will be used if [member environment] fails or is missing.
2017-09-12 20:42:36 +00:00
</member>
2022-06-09 09:39:23 +00:00
<member name= "navigation_map" type= "RID" setter= "" getter= "get_navigation_map" >
The [RID] of this world's navigation map. Used by the [NavigationServer].
</member>
2019-06-29 19:22:15 +00:00
<member name= "scenario" type= "RID" setter= "" getter= "get_scenario" >
2018-01-11 22:38:35 +00:00
The World's visual scenario.
</member>
2019-06-29 19:22:15 +00:00
<member name= "space" type= "RID" setter= "" getter= "get_space" >
2018-01-11 22:38:35 +00:00
The World's physics space.
</member>
2017-09-12 20:42:36 +00:00
</members>
<constants >
</constants>
</class>