A virtual method (also known as virtual function) is declared within
a base class, but implemented only by the derived class. This means the
actual method call depends on the object type during runtime.
GDExtension classes were already able to implement virtual methods
registered in Godot. Since this release, GDExtensions classes can also
register their own virtual methods, which scripts attached to them can
implement.
As a plugin developer, this allows you to expose your own virtual methods
to your users now, in the same way that Godot exposes
_ready()
,
_process()
,
or
_draw()
to you.