Module export_info_functions
Expand description
Functions used to translate user-provided arguments into export hints.
You are not supposed to use these functions directly. They are used by the #[export]
macro to generate the correct export hint.
Each function is named the same as the equivalent Godot annotation.
For instance, @export_range
in Godot is fn export_range
here.
Functions§
- Equivalent to
@export_enum
in Godot. - Equivalent to
@export_file
in Godot. - Equivalent to
@export_flags
in Godot. - Equivalent to
@export_global_file
in Godot. - Mark an exported numerical value to use the editor’s range UI.