Module godot.d.udas

Attributes for specifying how Godot-D should register the marked classes, properties, methods, and signals into Godot.

Structs

NameDescription
DefaultValue A UDA for explicitly specifying the default value of a Property.
Method A UDA to mark a method that should be registered into Godot
OnInit A UDA for marking script variables that should be automatically created when the script is created, right before init() is called.
OnReady
Property A UDA to mark a public variable OR accessor methods as a property in Godot.
Rename A UDA to change the Godot name of a method, property, or signal. Useful for overloads, which D supports but Godot does not.
Signal A UDA to mark a signal. The signal should be a static function/delegate variable that defines the signal's arguments.

Enums

NameDescription
RPCMode
Tool A UDA to enable a script class to run in the Godot editor even without the game running. Required for EditorPlugins and other tools used in the editor.