World
Inherits: Resource < Reference < Object
Category: Core
Brief Description
Class that has everything pertaining to a world.
Member Functions
PhysicsDirectSpaceState | get_direct_space_state ( ) |
Environment | get_environment ( ) const |
RID | get_scenario ( ) const |
RID | get_sound_space ( ) const |
RID | get_space ( ) const |
void | set_environment ( Environment env ) |
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.
Member Function Description
PhysicsDirectSpaceState get_direct_space_state ( )
Environment get_environment ( ) const
RID get_scenario ( ) const
RID get_sound_space ( ) const
RID get_space ( ) const
void set_environment ( Environment env )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_world.html