GODOT_GENERATED_BODY
Usage
GODOT_CLASS();
class Example : Node {
GODOT_GENERATED_BODY(); // <-- Insert inside the class body
};
This hook macro is used to inject generated code within the godot Object derived class body. Namely it includes the GDCLASS(x, Base) macro, which must not be used elsewhere within the class body.