mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
48 lines
1.5 KiB
ReStructuredText
48 lines
1.5 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the World.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_World:
|
|
|
|
World
|
|
=====
|
|
|
|
**Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
Class that has everything pertaining to a world.
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
.. _class_World_direct_space_state:
|
|
|
|
- :ref:`PhysicsDirectSpaceState<class_physicsdirectspacestate>` **direct_space_state** - The World's physics direct space state, used for making various queries. Might be used only during ``_physics_process``.
|
|
|
|
.. _class_World_environment:
|
|
|
|
- :ref:`Environment<class_environment>` **environment** - The World's :ref:`Environment<class_environment>`.
|
|
|
|
.. _class_World_fallback_environment:
|
|
|
|
- :ref:`Environment<class_environment>` **fallback_environment** - The World's fallback_environment will be used if the World's :ref:`Environment<class_environment>` fails or is missing.
|
|
|
|
.. _class_World_scenario:
|
|
|
|
- :ref:`RID<class_rid>` **scenario** - The World's visual scenario.
|
|
|
|
.. _class_World_space:
|
|
|
|
- :ref:`RID<class_rid>` **space** - The World's physics space.
|
|
|
|
|
|
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.
|
|
|