Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
@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.
참고
There are notable differences when using this API with C#. See C#과 GDScript의 API 차이점 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 ) |
|
hash ( |