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 |
Environment | get_fallback_environment ( ) const |
RID | get_scenario ( ) const |
RID | get_space ( ) const |
void | set_environment ( Environment env ) |
void | set_fallback_environment ( Environment env ) |
Member Variables¶
- Environment environment
- Environment fallback_environment
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
- Environment get_fallback_environment ( ) const
- RID get_scenario ( ) const
- RID get_space ( ) const
- void set_environment ( Environment env )
- void set_fallback_environment ( Environment env )