Module global
Expand description
Godot global enums, constants and utility functions.
See also Godot docs for @GlobalScope
.
§Builtin-related enums
The library ships several additional enums in places where GDScript would use magic numbers. These are co-located with
builtin types, in the godot::builtin
module. The enums are:
- Color:
ColorChannelOrder
- Projection:
ProjectionEye
,ProjectionPlane
- Rectangle:
Side
,Corner
(godot-generated) - Rotation:
EulerOrder
(godot-generated) - Variant:
VariantType
,VariantOperator
- Vector:
Vector2Axis
,Vector3Axis
,Vector4Axis
Macros§
- Pushes an error message to Godot’s built-in debugger and to the OS terminal.
- Prints to the Godot console.
- Prints to the Godot console. Supports BBCode, color and URL tags.
- Logs a script error to Godot’s built-in debugger and to the OS terminal.
- Pushes a warning message to Godot’s built-in debugger and to the OS terminal.
Structs§
- Godot enum name:
MIDIMessage
.
Enums§
- This enum is exhaustive; you should not expect future Godot versions to add new enumerators.
- This enum is exhaustive; you should not expect future Godot versions to add new enumerators.
Functions§
- instance_
from_ id Deprecated - is_
instance_ id_ valid Deprecated - is_
instance_ valid Deprecated