Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
@GlobalScope¶
Global scope constants and functions.
Description¶
A list of global scope enumerated constants and built-in functions. This is all that resides in the globals, constants regarding error codes, keycodes, property hints, etc.
Singletons are also documented here, since they can be accessed from anywhere.
For the entries related to GDScript which can be accessed in any script see @GDScript.
Informacja
There are notable differences when using this API with C#. See C# API differences to GDScript for more information.
Tutorials¶
Properties¶
Methods¶
angle_difference ( float from, float to ) |
|
bezier_derivative ( float start, float control_1, float control_2, float end, float t ) |
|
bezier_interpolate ( float start, float control_1, float control_2, float end, float t ) |
|
bytes_to_var ( PackedByteArray bytes ) |
|
bytes_to_var_with_objects ( PackedByteArray bytes ) |
|
cubic_interpolate ( float from, float to, float pre, float post, float weight ) |
|
cubic_interpolate_angle ( float from, float to, float pre, float post, float weight ) |
|
cubic_interpolate_angle_in_time ( float from, float to, float pre, float post, float weight, float to_t, float pre_t, float post_t ) |
|
cubic_interpolate_in_time ( float from, float to, float pre, float post, float weight, float to_t, float pre_t, float post_t ) |
|
db_to_linear ( float db ) |
|
deg_to_rad ( float deg ) |
|
error_string ( int error ) |
|
instance_from_id ( int instance_id ) |
|