virtualx-engine/doc/classes/World.xml

37 lines
1.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="World" inherits="Resource" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<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, a navigation map and a sound space. Spatial nodes register their resources into the current world.
</description>
<tutorials>
<link>$DOCS_URL/tutorials/physics/ray-casting.html</link>
</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.
2018-01-11 23:38:35 +01:00
</member>
2019-07-15 20:42:47 +02:00
<member name="environment" type="Environment" setter="set_environment" getter="get_environment">
The World's [Environment].
</member>
2019-07-15 20:42:47 +02:00
<member name="fallback_environment" type="Environment" setter="set_fallback_environment" getter="get_fallback_environment">
2022-06-17 09:19:31 +02:00
The World's fallback environment will be used if [member environment] fails or is missing.
</member>
<member name="navigation_map" type="RID" setter="" getter="get_navigation_map">
The [RID] of this world's navigation map. Used by the [NavigationServer].
</member>
<member name="scenario" type="RID" setter="" getter="get_scenario">
2018-01-11 23:38:35 +01:00
The World's visual scenario.
</member>
<member name="space" type="RID" setter="" getter="get_space">
2018-01-11 23:38:35 +01:00
The World's physics space.
</member>
</members>
<constants>
</constants>
</class>