2022-03-15 13:29:32 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2024-09-20 10:03:06 +02:00
<class name= "World3D" inherits= "Resource" >
2022-03-15 13:29:32 +01:00
<brief_description >
Class that has everything pertaining to a world.
</brief_description>
<description >
2022-07-28 22:34:28 +02: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.
2022-03-15 13:29:32 +01:00
</description>
<tutorials >
2023-08-29 22:33:15 +02:00
<link > $DOCS_URL/tutorials/physics/ray-casting.md</link>
2022-03-15 13:29:32 +01:00
</tutorials>
<methods >
</methods>
<members >
<member name= "direct_space_state" type= "PhysicsDirectSpaceState" setter= "" getter= "get_direct_space_state" >
Direct access to the world's physics 3D space state. Used for querying current and potential collisions.
</member>
2022-08-29 17:21:40 +02:00
<member name= "environment" type= "Environment3D" setter= "set_environment" getter= "get_environment" >
The World's [Environment3D].
2022-03-15 13:29:32 +01:00
</member>
2022-08-29 17:21:40 +02:00
<member name= "fallback_environment" type= "Environment3D" setter= "set_fallback_environment" getter= "get_fallback_environment" >
The World's fallback_environment will be used if the World's [Environment3D] fails or is missing.
2022-03-15 13:29:32 +01:00
</member>
2022-07-28 15:04:42 +02: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>
2022-03-15 13:29:32 +01:00
<member name= "scenario" type= "RID" setter= "" getter= "get_scenario" >
The World's visual scenario.
</member>
<member name= "space" type= "RID" setter= "" getter= "get_space" >
The World's physics space.
</member>
2024-03-27 16:12:15 +01:00
<member name= "vertex_lights_3d_map" type= "RID" setter= "" getter= "get_vertex_lights_3d_map" >
The [RID] of this world's vertex light 3d space resource. Used by the [VertexLights3DServer] for static 3D lights. If the vertex lights 3d module is not enabled this will just return an empty RID.
</member>
2022-03-15 13:29:32 +01:00
</members>
<constants >
</constants>
</class>