World3D

Inherits: Resource < RefCounted < Object

Class that has everything pertaining to a world.

Description

Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Node3D nodes register their resources into the current world.

Tutorials

Properties

CameraEffects

camera_effects

PhysicsDirectSpaceState3D

direct_space_state

Environment

environment

Environment

fallback_environment

RID

navigation_map

RID

scenario

RID

space

Property Descriptions

Setter

set_camera_effects(value)

Getter

get_camera_effects()


Getter

get_direct_space_state()

Direct access to the world's physics 3D space state. Used for querying current and potential collisions.


Setter

set_environment(value)

Getter

get_environment()

The World3D's Environment.


Setter

set_fallback_environment(value)

Getter

get_fallback_environment()

The World3D's fallback environment will be used if environment fails or is missing.


  • RID navigation_map

Getter

get_navigation_map()

The RID of this world's navigation map. Used by the NavigationServer3D.


Getter

get_scenario()

The World3D's visual scenario.


Getter

get_space()

The World3D's physics space.