0.2.0-dev Download ZIP
35 lines ·2.0 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="World3D" inherits="Resource" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A resource that holds all components of a 3D world, such as a visual scenario and a physics space. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Class that has everything pertaining to a world: A physics space, a visual scenario, and a sound space. 3D nodes register their resources into the current 3D world. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | <link title="Ray-casting">$DOCS_URL/tutorials/physics/ray-casting.html</link> |
| 11 | </tutorials> |
| 12 | <members> |
| 13 | <member name="camera_attributes" type="CameraAttributes" setter="set_camera_attributes" getter="get_camera_attributes"> |
| 14 | The default [CameraAttributes] resource to use if none set on the [Camera3D]. |
| 15 | </member> |
| 16 | <member name="direct_space_state" type="PhysicsDirectSpaceState3D" setter="" getter="get_direct_space_state"> |
| 17 | Direct access to the world's physics 3D space state. Used for querying current and potential collisions. When using multi-threaded physics, access is limited to [method Node._physics_process] in the main thread. |
| 18 | </member> |
| 19 | <member name="environment" type="Environment" setter="set_environment" getter="get_environment"> |
| 20 | The World3D's [Environment]. |
| 21 | </member> |
| 22 | <member name="fallback_environment" type="Environment" setter="set_fallback_environment" getter="get_fallback_environment"> |
| 23 | The World3D's fallback environment will be used if [member environment] fails or is missing. |
| 24 | </member> |
| 25 | <member name="navigation_map" type="RID" setter="" getter="get_navigation_map"> |
| 26 | The [RID] of this world's navigation map. Used by the [NavigationServer3D]. |
| 27 | </member> |
| 28 | <member name="scenario" type="RID" setter="" getter="get_scenario"> |
| 29 | The World3D's visual scenario. |
| 30 | </member> |
| 31 | <member name="space" type="RID" setter="" getter="get_space"> |
| 32 | The World3D's physics space. |
| 33 | </member> |
| 34 | </members> |
| 35 | </class> |