2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2017-11-24 09:16:52 +01:00
<class name= "World" inherits= "Resource" category= "Core" version= "3.0-beta" >
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 >
</tutorials>
<demos >
</demos>
<methods >
<method name= "get_direct_space_state" >
<return type= "PhysicsDirectSpaceState" >
</return>
<description >
2017-11-26 20:58:38 +01:00
Returns the World's physics space.
2017-09-12 22:42:36 +02:00
</description>
</method>
<method name= "get_scenario" qualifiers= "const" >
<return type= "RID" >
</return>
<description >
2017-11-26 20:58:38 +01:00
Returns the World's visual scenario.
2017-09-12 22:42:36 +02:00
</description>
</method>
<method name= "get_space" qualifiers= "const" >
<return type= "RID" >
</return>
<description >
2017-11-26 20:58:38 +01:00
Returns the World's sound space.
2017-09-12 22:42:36 +02:00
</description>
</method>
</methods>
<members >
2017-09-13 08:49:40 +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>
2017-09-13 08:49:40 +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>
</members>
<constants >
</constants>
</class>