World.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="World" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Class that has everything pertaining to a world.
  5. </brief_description>
  6. <description>
  7. 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.
  8. </description>
  9. <tutorials>
  10. <link>$DOCS_URL/tutorials/physics/ray-casting.html</link>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="direct_space_state" type="PhysicsDirectSpaceState" setter="" getter="get_direct_space_state">
  16. Direct access to the world's physics 3D space state. Used for querying current and potential collisions.
  17. </member>
  18. <member name="environment" type="Environment" setter="set_environment" getter="get_environment">
  19. The World's [Environment].
  20. </member>
  21. <member name="fallback_environment" type="Environment" setter="set_fallback_environment" getter="get_fallback_environment">
  22. The World's fallback environment will be used if [member environment] fails or is missing.
  23. </member>
  24. <member name="navigation_map" type="RID" setter="" getter="get_navigation_map">
  25. The [RID] of this world's navigation map. Used by the [NavigationServer].
  26. </member>
  27. <member name="scenario" type="RID" setter="" getter="get_scenario">
  28. The World's visual scenario.
  29. </member>
  30. <member name="space" type="RID" setter="" getter="get_space">
  31. The World's physics space.
  32. </member>
  33. </members>
  34. <constants>
  35. </constants>
  36. </class>