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