class_world.rst 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the World.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_World:
  5. World
  6. =====
  7. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Class that has everything pertaining to a world.
  12. Member Variables
  13. ----------------
  14. .. _class_World_direct_space_state:
  15. - :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``.
  16. .. _class_World_environment:
  17. - :ref:`Environment<class_environment>` **environment** - The World's :ref:`Environment<class_environment>`.
  18. .. _class_World_fallback_environment:
  19. - :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.
  20. .. _class_World_scenario:
  21. - :ref:`RID<class_rid>` **scenario** - The World's visual scenario.
  22. .. _class_World_space:
  23. - :ref:`RID<class_rid>` **space** - The World's physics space.
  24. Description
  25. -----------
  26. 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.