Engine¶
Inherits: Object
Provides access to engine properties.
Description¶
The Engine singleton allows you to query and modify the project's run-time parameters, such as frames per second, time scale, and others.
Properties¶
|
||
|
||
|
||
|
||
|
||
|
Methods¶
get_architecture_name ( ) const |
|
get_author_info ( ) const |
|
get_copyright_info ( ) const |
|
get_donor_info ( ) const |
|
get_frames_drawn ( ) |
|
get_frames_per_second ( ) const |
|
get_license_info ( ) const |
|
get_license_text ( ) const |
|
get_main_loop ( ) const |
|
get_physics_frames ( ) const |
|
get_physics_interpolation_fraction ( ) const |
|
get_process_frames ( ) const |
|
get_script_language ( int index ) const |
|
get_singleton ( StringName name ) const |
|
get_singleton_list ( ) const |
|
get_version_info ( ) const |
|
get_write_movie_path ( ) const |
|
has_singleton ( StringName name ) const |
|
is_editor_hint ( ) const |
|
is_in_physics_frame ( ) const |
|
register_script_language ( ScriptLanguage language ) |
|
void |
register_singleton ( StringName name, Object instance ) |
unregister_script_language ( ScriptLanguage language ) |
|
void |
unregister_singleton ( StringName name ) |
Property Descriptions¶
int max_fps = 0
The maximum number of frames per second that can be rendered. A value of 0
means "no limit". The actual number of frames per second may still be below this value if the CPU or GPU cannot keep up with the project logic and rendering.
Limiting the FPS can be useful to reduce system power consumption, which reduces heat and noise emissions (and improves battery life on mobile devices).