Class reference
World3D
Inherits Resource
A resource that holds all components of a 3D world, such as a visual scenario and a physics space.
Description
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.
Properties
CameraAttributes camera_attributes
CameraAttributes camera_attributesThe default CameraAttributes resource to use if none set on the Camera3D.
PhysicsDirectSpaceState3D direct_space_state
PhysicsDirectSpaceState3D direct_space_stateDirect 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 Node._physics_process() in the main thread.
Environment environment
Environment environmentThe World3D's Environment.
Environment fallback_environment
Environment fallback_environmentThe World3D's fallback environment will be used if environment fails or is missing.
RID navigation_map
RID navigation_mapThe RID of this world's navigation map. Used by the NavigationServer3D.
RID scenario
RID scenarioThe World3D's visual scenario.
RID space
RID spaceThe World3D's physics space.