2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-03-31 00:22:57 +08:00
<class name= "World3D" inherits= "Resource" version= "4.0" >
2017-09-13 04:42:36 +08:00
<brief_description >
Class that has everything pertaining to a world.
</brief_description>
<description >
2020-03-31 00:22:57 +08:00
Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Node3D nodes register their resources into the current world.
2017-09-13 04:42:36 +08:00
</description>
<tutorials >
2020-08-05 20:43:40 +08:00
<link title= "Ray-casting" > https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html</link>
2017-09-13 04:42:36 +08:00
</tutorials>
<methods >
</methods>
<members >
2020-02-12 16:59:06 +08:00
<member name= "camera_effects" type= "CameraEffects" setter= "set_camera_effects" getter= "get_camera_effects" >
</member>
2020-03-31 00:22:57 +08:00
<member name= "direct_space_state" type= "PhysicsDirectSpaceState3D" setter= "" getter= "get_direct_space_state" >
2020-09-18 17:07:00 +08:00
Direct access to the world's physics 3D space state. Used for querying current and potential collisions.
2018-01-12 06:38:35 +08:00
</member>
2019-07-16 02:42:47 +08:00
<member name= "environment" type= "Environment" setter= "set_environment" getter= "get_environment" >
2020-03-31 00:22:57 +08:00
The World3D's [Environment].
2017-09-13 04:42:36 +08:00
</member>
2019-07-16 02:42:47 +08:00
<member name= "fallback_environment" type= "Environment" setter= "set_fallback_environment" getter= "get_fallback_environment" >
2020-03-31 00:22:57 +08:00
The World3D's fallback_environment will be used if the World3D's [Environment] fails or is missing.
2017-09-13 04:42:36 +08:00
</member>
2021-03-08 16:47:18 +08:00
<member name= "navigation_map" type= "RID" setter= "" getter= "get_navigation_map" >
The [RID] of this world's navigation map. Used by the [NavigationServer3D].
</member>
2019-06-30 03:22:15 +08:00
<member name= "scenario" type= "RID" setter= "" getter= "get_scenario" >
2020-03-31 00:22:57 +08:00
The World3D's visual scenario.
2018-01-12 06:38:35 +08:00
</member>
2019-06-30 03:22:15 +08:00
<member name= "space" type= "RID" setter= "" getter= "get_space" >
2020-03-31 00:22:57 +08:00
The World3D's physics space.
2018-01-12 06:38:35 +08:00
</member>
2017-09-13 04:42:36 +08:00
</members>
<constants >
</constants>
</class>